]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
aarch64: thunderx2 memcpy implementation cleanup and streamlining
[thirdparty/glibc.git] / ChangeLog
1 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2
3 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4 and remove redundant code.
5
6 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7
8 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
9 New rule.
10 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
11 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
12 Likewise.
13 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
14 Likewise.
15 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
16 Likewise.
17 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
19 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
20 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
21 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
23 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
25 wcsrchr-power7.
26 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
27 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
28 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29 Remove wcsrchr optimizations.
30 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31
32 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
33 the loop unroll.
34
35 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
36 New rule.
37 * sysdeps/powerpc/power6/wcschr.c: Remove file.
38 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
39 Likewise.
40 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
41 Likewise.
42 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
43 Likewise.
44 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
45 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
46 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
47 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
48 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
49 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
50 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
51 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
52 wcschr-power7.
53 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
54 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
55 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56 Remove wcschr optimizations.
57 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58
59 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
60 the loop unroll.
61
62 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
63 New rule.
64 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
65 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
66 Likewise.
67 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
68 Likewise.
69 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
70 Likewise.
71 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
72 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
73 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
74 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
75 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
76 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
77 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
78 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
79 wcscpy-power7.
80 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
81 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
82 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
83 Remove wcscpy optimizations.
84 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
85
86 * include/loop_unroll.h: New file.
87 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
88 besides generic implementation.
89
90 2019-04-03 DJ Delorie <dj@redhat.com>
91
92 * time/tst-strftime3.c (tm_to_printed): Disable warning about
93 snprintf truncating output.
94
95 2019-04-02 DJ Delorie <dj@redhat.com>
96
97 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
98 warning.
99
100 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
101
102 [BZ #22964]
103 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
104 era.
105 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
106 (mkreftable): Add rules for the new Japanese era and the new dates.
107
108 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
109 Rafal Luzynski <digitalfreak@lingonborough.com>
110
111 * time/tst-strftime2.c (date_t): Explicitly define the type.
112 (dates): Use natural month and year numbers to express a date.
113 (is_before): New function to compare dates.
114 (mkreftable): Minor improvements to simplify maintenance.
115 (do_test): Reflect the changes in dates array.
116
117 [BZ #24293]
118 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
119 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
120 * time/tst-strftime2.c (locales): Likewise.
121 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
122 2010-04-01, and 2011-04-01.
123 (mkreftable): Add rules for the new locales and the new dates.
124
125 2019-04-01 Carlos O'Donell <carlos@redhat.com>
126
127 * localedata/locales/ja_JP: Add comments to era entries.
128
129 2019-04-01 DJ Delorie <dj@redhat.com>
130
131 [BZ #24394]
132 * time/strptime_l.c (%Ey): Fix fencepost error.
133 * time/tst-strftime3.c: New.
134 * time/Makefile (tests): Add tst-strftime3.
135
136 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
137
138 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
139 conditional branch to DIVBYZERO. Fix unwind info.
140 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
141 excb after conditional branch to $powerof2. Add missing unop
142 instructions and .align directives and reorder instructions to
143 match __divqu.
144
145 2019-04-01 Richard Henderson <rth@twiddle.net>
146
147 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
148 Do not redefine.
149 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
150 Do not redefine.
151
152 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
153
154 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
155 $libc_cv_riscv_float_abi in `test' invocation.
156 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
157
158 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
159
160 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
161 asm with builtin.
162 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
163 Likewise.
164 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
165 (_GET_SI_FPSCR): Likewise.
166 (_SET_SI_FPSCR): Likewise.
167
168 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
169
170 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
171 clang 2.8.
172 (signbit): Use builtin for clang 3.3.
173 (isinf): Use builtin for clang 3.7.
174
175 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
176
177 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
178
179 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
180
181 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
182 quote in printf.
183
184 2019-03-25 Mike Crowe <mac@mcrowe.com>
185
186 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
187 pthread_rwlock_timedrdlock with calls to
188 pthread_rwlock_timedwrlock to ensure that the latter is tested
189 too. Use new function name in diagnostic messages too.
190
191 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
192 (do_test) Use libsupport test macros rather than hand-coded
193 conditionals and error messages. Ensure that sem_init returns zero
194 rather than not -1. Use <support/test-driver.c> rather than
195 test-skeleton.c.
196
197 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
198 test macros rather than hand-coded conditionals and error messages.
199 Use <support/test-driver.c> rather than test-skeleton.c.
200
201 2019-03-25 Joseph Myers <joseph@codesourcery.com>
202
203 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
204
205 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
206 (NT_MIPS_MSA): Likewise.
207
208 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
209
210 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
211 * benchtests/README: Update description.
212 * benchtests/bench-timing.h: Default to hp-timing.
213 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
214 HP_TIMING_PRINT): Remove.
215 (HP_TIMING_NOW): Add generic implementation.
216 (hp_timing_t): Change to uint64_t.
217
218 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
219 HP_TIMING_INLINE.
220 * nptl/descr.h: Likewise.
221 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
222 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
223 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
224 Abstract hp-timing usage with RTLD_* macros.
225 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
226 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
227 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
228 HP_TIMING_NONAVAIL): Likewise.
229 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
230 Likewise.
231 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
232 HP_SMALL_TIMING_AVAIL): Likewise.
233 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
234 HP_SMALL_TIMING_AVAIL): Likewise.
235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
236 HP_SMALL_TIMING_AVAIL): Likewise.
237 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
238 HP_SMALL_TIMING_AVAIL): Likewise.
239 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
240 Likewise.
241 * sysdeps/generic/hp-timing-common.h: Update comment with
242 HP_TIMING_AVAIL removal.
243
244 * include/random-bits.h: New file.
245 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
246 (__res_context_mkquery): Remove usage hp-timing usage and replace with
247 random_bits.
248 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
249 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
250 Likewise.
251
252 * include/libc-internal.h (__get_clockfreq): Remove prototype.
253 * rt/Makefile (clock-routines): Remove get_clockfreq.
254 * rt/get_clockfreq.c: Remove file.
255 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
256 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
258 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
259 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
260
261 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
262 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
263 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
264 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
265 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
266
267 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
268 pthread_clock_settime.
269 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
270 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
271 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
272 * elf/rtld.c (_dl_start_final): Likewise.
273 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
274 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
275 Remove.
276 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
277 (_dl_cpuclock_offset): Remove.
278 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
279 cpuclock_offset_ununsed.
280 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
281 cpuclock_offset set.
282 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
283 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
284 * nptl/pthread_clock_gettime.c: Remove file.
285 * nptl/pthread_clock_settime.c: Likewise.
286 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
287 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
288 and CLOCK_PROCESS_CPUTIME_ID support.
289 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
290 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
291 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
292 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
293 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
294 Likewise.
295 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
296
297 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
298
299 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
300 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
301 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
302 New defines.
303 * sysdeps/s390/memmem-arch13.S: New file.
304 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
305 if it is only used as fallback.
306 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
307 * sysdeps/s390/multiarch/ifunc-impl-list.c
308 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
309
310 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
311
312 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
313 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
314 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
315 New defines.
316 * sysdeps/s390/multiarch/ifunc-impl-list.c
317 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
318 * sysdeps/s390/strstr-arch13.S: New file.
319 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
320 if it is only used as fallback.
321 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
322
323 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
324
325 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
326 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
327 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
328 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
329 ifunc selector.
330 * sysdeps/s390/multiarch/ifunc-impl-list.c
331 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
332 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
333 S390_IS_ARCH13_MIE3): New defines.
334
335 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
336
337 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
338 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
339 * sysdeps/s390/configure.ac: Add checks for arch13 support.
340 * sysdeps/s390/configure: Regenerated.
341
342 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
343
344 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
345 Add vxe2, vxp, dflt, sort flags.
346 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
347 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
348 capabilities.
349 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
350 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
351 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
352 HWCAP_S390_DFLT): Define.
353
354 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
355
356 [BZ #24372]
357 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
358 of compiler warning.
359 * locale/programs/ld-collate.c (collate_output): Likewise.
360
361 2019-03-21 DJ Delorie <dj@redhat.com>
362
363 [BZ #24372]
364 * iconv/iconvconfig.c (write_output): Replace floating point math
365 with integer math to avoid imprecise results.
366 * locale/programs/ld-collate.c (collate_output): Likewise.
367
368 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
369
370 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
371 Add HWCAP_S390_VX and HWCAP_S390_VXE.
372
373 2019-03-20 mansayk <6688000@gmail.com>
374
375 [BZ #24296]
376 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
377 (abday): Likewise, but remove the trailing dots.
378
379 2019-03-19 Joseph Myers <joseph@codesourcery.com>
380
381 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
382 macro.
383 (HWCAP_PACA): Likewise.
384 (HWCAP_PACG): Likewise.
385 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
386 Increase to 32.
387 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
388
389 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
390
391 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
392 should be handled.
393
394 2019-03-15 Joseph Myers <joseph@codesourcery.com>
395
396 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
397 version to 5.0.
398 (old_getpagesize): New syscall.
399
400 2019-03-15 Felix Yan <felixonmars@archlinux.org>
401
402 [BZ #24293]
403 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
404 * localedata/locales/cmn_TW (era): Likewise.
405 * localedata/locales/hak_TW (era): Likewise.
406 * localedata/locales/lzh_TW (era): Likewise.
407 * localedata/locales/nan_TW (era): Likewise.
408
409 2019-03-14 Florian Weimer <fweimer@redhat.com>
410
411 Remove obsolete, never-implemented XSI STREAMS declarations.
412 * manual/terminal.texi (Allocation): Remove portability note and
413 adjust example.
414 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
415 _SC_STREAMS.
416 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
417 * sysdeps/unix/inet/Subdirs (streams): Remove.
418 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
419 (conformtest-headers-UNIX98): Likewise.
420 (conformtest-headers-XOPEN2K): Likewise.
421 (conformtest-headers-POSIX2008): Likewise.
422 * posix/compat-streams.c: New file.
423 * posix/Makefile (routines): Add it.
424 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
425 getpmsg, isastream, putmsg, putpmsg.
426 (GLIBC_2.30): New section.
427 * bits/stropts.h: Remove file.
428 * bits/xtitypes.h: Likewise.
429 * conform/data/stropts.h-data: Likewise.
430 * include/stropts.h: Likewise.
431 * include/sys/stropts.h: Likewise.
432 * include/xtitypes.h: Likewise.
433 * streams/Makefile: Likewise.
434 * streams/fattach.c: Likewise.
435 * streams/fdetach.c: Likewise.
436 * streams/getmsg.c: Likewise.
437 * streams/getpmsg.c: Likewise.
438 * streams/isastream.c: Likewise.
439 * streams/putmsg.c: Likewise.
440 * streams/putpmsg.c: Likewise.
441 * streams/stropts.h: Likewise.
442 * streams/sys/stropts.h: Likewise.
443 * sysdeps/ia64/bits/xtitypes.h: Likewise.
444 * sysdeps/s390/bits/xtitypes.h: Likewise.
445 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
446 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
447 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
448 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
449 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
450 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
451 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
452 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
453 * sysdeps/x86/bits/xtitypes.h: Likewise.
454
455 2019-03-14 Florian Weimer <fweimer@redhat.com>
456
457 * nss/tst-nss-files-alias-truncated.c (do_test): Load
458 libnss_files.
459 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
460 but not with libnss_files.
461 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
462
463 2019-03-14 Zack Weinberg <zackw@panix.com>
464
465 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
466 Specify encoding="utf-8" when opening headers to check.
467
468 2019-03-13 Joseph Myers <joseph@codesourcery.com>
469
470 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
471 version to 5.0.
472 (Context.checkout_tar): Handle variable major version for Linux
473 kernel.
474
475 2019-03-13 Florian Weimer <fweimer@redhat.com>
476
477 [BZ #24047]
478 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
479
480 2019-03-13 Zack Weinberg <zackw@panix.com>
481
482 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
483 Move to stdlib.
484 * include/inttypes.h: Adjust to match.
485 * include/stdint.h: New wrapper.
486
487 2019-03-13 Zack Weinberg <zackw@panix.com>
488
489 * scripts/check-obsolete-constructs.py: New test script.
490 * scripts/check-installed-headers.sh: Remove tests for
491 obsolete typedefs, superseded by check-obsolete-constructs.py.
492 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
493 as a special test. Update commentary.
494 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
495 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
496 Update commentary.
497 * posix/sys/types.h (__u_intN_t): Remove.
498 (u_int8_t): Typedef using __uint8_t.
499 (u_int16_t): Typedef using __uint16_t.
500 (u_int32_t): Typedef using __uint32_t.
501 (u_int64_t): Typedef using __uint64_t.
502
503 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
504
505 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
506 call _dl_procinfo.
507 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
508 Ignore types other than AT_HWCAP.
509 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
510 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
511 Likewise.
512 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
513 in the case of falling back to generic output mechanism.
514 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
515 Likewise.
516
517 2019-03-12 Florian Weimer <fweimer@redhat.com>
518
519 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
520
521 2019-03-12 Florian Weimer <fweimer@redhat.com>
522
523 [BZ #24047]
524 resolv: Enable full ICMP errors for UDP DNS sockets
525 * resolv/res_enable_icmp.c: New file.
526 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
527 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
528 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
529 socket.
530
531 2019-03-11 Mao Han <han_mao@c-sky.com>
532
533 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
534 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
535
536 2019-03-11 Mao Han <han_mao@c-sky.com>
537
538 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
539 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
540 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
541
542 2019-03-11 Mao Han <han_mao@c-sky.com>
543
544 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
545 directly.
546 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
547 definition.
548
549 2019-03-11 Mao Han <han_mao@c-sky.com>
550
551 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
552 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
553 in mcontext_t
554
555 2019-03-08 Mike FABIAN <mfabian@redhat.com>
556
557 [BZ #24307]
558 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
559 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
560 Unicode 12.0.0.
561 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
562 * localedata/unicode-gen/PropList.txt: Likewise.
563 * localedata/unicode-gen/UnicodeData.txt: Likewise.
564 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
565 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
566 * localedata/charmaps/UTF-8: Regenerate.
567 * localedata/locales/i18n_ctype: Likewise.
568 * localedata/locales/tr_TR: Likewise.
569 * localedata/locales/translit_circle: Likewise.
570 * localedata/locales/translit_cjk_compat: Likewise.
571 * localedata/locales/translit_combining: Likewise.
572 * localedata/locales/translit_compat: Likewise.
573 * localedata/locales/translit_font: Likewise.
574 * localedata/locales/translit_fraction: Likewise.
575
576 2019-03-07 Joseph Myers <joseph@codesourcery.com>
577
578 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
579 than after operators.
580 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
581 (setitimer_locked): Likewise.
582 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
583 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
584 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
585 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
586 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
587 (PPC_CPU_SUPPORTED): Likewise.
588 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
589 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
590 (stat_overflow): Likewise.
591 (statfs_overflow): Likewise.
592 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
593 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
594 (eq_ttyname_r): Likewise.
595 (run_chroot_tests): Likewise.
596
597 2019-03-07 Florian Weimer <fweimer@redhat.com>
598
599 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
600 header check.
601
602 2019-03-07 Martin Liska <mliska@suse.cz>
603
604 * math/Makefile: Change location where math-vector-fortran.h is
605 installed.
606 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
607 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
608 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
609 * scripts/check-installed-headers.sh: Skip Fortran header files.
610 * scripts/check-wrapper-headers.py: Likewise.
611
612 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
613
614 * nptl/nptl-init.c (__have_futex_clock_realtime,
615 __have_futex_clock_realtime): Remove definition.
616 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
617 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
618 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
619 __ASSUME_FUTEX_CLOCK_REALTIME support.
620 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
622 * sysdeps/unix/sysv/linux/kernel-features.h
623 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
624 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
625 Adjust comment.
626
627 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
628
629 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
630 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
631 __GI___wcscpy and wcscpy.
632
633 2019-03-04 Florian Weimer <fweimer@redhat.com>
634
635 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
636 declaration.
637 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
638 defined.
639
640 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
641
642 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
643 * sysdeps/s390/s390-32/sysdep.h: Likewise.
644
645 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
646
647 [BZ #24162]
648 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
649 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
650
651 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
652
653 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
654 tests.
655 (do_test): Likewise.
656 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
657 (do_test_call_varg): Likewise.
658 (do_test_call_rarg): Likewise.
659 * sysdeps/ieee754/ldbl-opt/Makefile
660 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
661 tst-nldbl-error.
662 ($(objpfx)tst-nldbl-warn.c): New rule.
663 ($(objpfx)tst-nldbl-error.c): Likewise.
664 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
665 New variables.
666
667 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
668
669 [BZ #23984]
670 * include/bits/error-ldbl.h: New file.
671 * include/error.h: Include stdarg.h. Declare internal functions
672 __error_internal and __error_at_line_internal.
673 * misc/Makefile (headers): Add bits/error-ldbl.h.
674 * misc/bits/error-ldbl.h: New file.
675 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
676 avoid the inclusion of bits/error.h.
677 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
678 and __nldbl_error_at_line.
679 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
680 (__nldbl_error, __ndlbl_error_at_line): New functions.
681 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
682 Redirect error and error_at_line.
683 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
685 Likewise.
686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
687 Likewise.
688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
689 Likewise.
690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
691 Likewise.
692 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
693 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
694 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
695
696 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
697
698 [BZ #23984]
699 * include/bits/err-ldbl.h: New file.
700 * include/err.h: Add prototypes for the internal functions:
701 __vwarnx_internal and __vwarn_internal.
702 * misc/Makefile (headers): Add bits/err-ldbl.h.
703 * misc/bits/err-ldbl.h: New file.
704 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
705 defined, i.e.: when -mlong-double-64 is in use.
706 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
707 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
708 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
709 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
710 (VA_CALL): New macro.
711 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
712 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
713 functions.
714 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
715 declare prototypes for the new functions.
716 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
718 Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
720 Likewise.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
722 Likewise.
723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
724 Likewise.
725 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
726 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
727 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
728
729 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
730
731 * sysdeps/ieee754/ldbl-opt/Makefile
732 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
733 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
734 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
735
736 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
737
738 [BZ #23983]
739 * argp/Makefile (headers): Add bits/argp-ldbl.h.
740 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
741 * argp/bits/argp-ldbl.h: New file.
742 * include/argp.h: Include stdarg.h. Add prototypes for internal
743 functions: __argp_error_internal and __argp_failure_internal.
744 * include/bits/argp-ldbl.h: New file.
745 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
746 __nldbl_argp_error and __nldbl_argp_failure.
747 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
748 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
749 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
750 Redirect argp_error and argp_failure calls.
751 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
753 Likewise.
754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
755 Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
757 Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
759 Likewise.
760 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
761 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
762 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
763
764 2019-03-01 Florian Weimer <fweimer@redhat.com>
765
766 [BZ #20419]
767 * elf/tst-big-note-lib.S: Create a syntactically valid note.
768 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
769 code, to avoid creating an ABI tag note.
770 (modules-names-nobuild): Add tst-big-note-lib.
771
772 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
773
774 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
775 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
776
777 2019-03-01 Florian Weimer <fweimer@redhat.com>
778
779 [BZ #20271]
780 * sysdeps/unix/sysv/linux/netlink_assert_response.c
781 (__netlink_assert_response): Add additional missing newlines.
782
783 2019-02-28 Joseph Myers <joseph@codesourcery.com>
784
785 * sysdeps/powerpc/powerpc32/dl-machine.c
786 (__elf_machine_fixup_plt): Use space before '('.
787 (__process_machine_rela): Likewise.
788 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
789 Likewise.
790 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
791 Likewise.
792 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
793 Likewise.
794 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
795 (pattern): Likewise.
796 (delta): Likewise.
797 (check_result): Likewise.
798 (check_excepts): Likewise.
799 (check_op): Likewise.
800 (fail_xr): Likewise.
801 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
802 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
803 (SCNHSZ): Likewise.
804 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
805 Likewise.
806 (ARGS): Likewise.
807 (__makecontext): Likewise.
808 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
809 Likewise.
810
811 2019-02-28 Florian Weimer <fweimer@redhat.com>
812
813 [BZ #23937]
814 elf: Add test with a local IFUNC resolver.
815 * elf/ifuncmain9.c: New file.
816 * elf/ifuncmain9pic.c: Likewise.
817 * elf/ifuncmain9picstatic.c: Likewise.
818 * elf/ifuncmain9pie.c: Likewise.
819 * elf/ifuncmain9static.c: Likewise.
820 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
821 ifuncmain9static, ifuncmain9picstatic.
822 * elf/Makefile [multi-arch && build-shared] (tests-internal):
823 Add ifuncmain9, ifuncmain9pic.
824 * elf/Makefile [multi-arch && build-shared && have-fpie]
825 (ifunc-pie-tests): Add ifuncmain9pie.
826 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
827 (CFLAGS-ifuncmain9picstatic.c): Likewise.
828 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
829
830 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
831
832 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
833 * configure: Regenerated.
834 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
835
836 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
837
838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
839 symbol as __wcspcy instead of wcscpy.
840
841 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
842
843 * include/stdio.h (__renameat2): New hidden prototype.
844 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
845 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
846 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
847 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
848
849 2019-02-27 Joseph Myers <joseph@codesourcery.com>
850
851 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
852 if statement.
853
854 * benchtests/bench-strcpy.c (do_test): Use space before '('.
855 * benchtests/bench-string.h (cmdline_process_function): Likewise.
856 * benchtests/bench-strlen.c (do_test): Likewise.
857 (test_main): Likewise.
858 * catgets/gencat.c (read_old): Likewise.
859 * elf/cache.c (load_aux_cache): Likewise.
860 * iconvdata/bug-iconv8.c (do_test): Likewise.
861 * math/test-tgmath-ret.c (do_test): Likewise.
862 * nis/nis_call.c (rec_dirsearch): Likewise.
863 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
864 * nptl/tst-audit-threads.c (do_test): Likewise.
865 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
866 * nss/nss_test1.c (init): Likewise.
867 * nss/test-netdb.c (test_hosts): Likewise.
868 * posix/execvpe.c (maybe_script_execute): Likewise.
869 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
870 * stdio-common/tst-printf.c (do_test): Likewise.
871 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
872 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
873 * stdlib/qsort.c (STACK_SIZE): Likewise.
874 * stdlib/test-canon.c (do_test): Likewise.
875 * stdlib/tst-swapcontext1.c (do_test): Likewise.
876 * string/memcmp.c (OPSIZ): Likewise.
877 * string/test-strcpy.c (do_test): Likewise.
878 (do_random_tests): Likewise.
879 * string/test-strlen.c (do_test): Likewise.
880 (test_main): Likewise.
881 * string/test-strrchr.c (do_test): Likewise.
882 (do_random_tests): Likewise.
883 * string/tester.c (test_memrchr): Likewise.
884 (test_memchr): Likewise.
885 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
886 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
887 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
888 (read_encoded_value_with_base): Likewise.
889 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
890 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
891 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
892 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
893 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
894 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
895 Likewise.
896 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
897 Likewise.
898 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
899 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
900 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
901 Likewise.
902 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
903 Likewise.
904 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
905 Likewise.
906 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
907 Likewise.
908 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
909 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
910 (FP_XSTATE_MAGIC2_SIZE): Likewise.
911 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
912 * time/test_time.c (main): Likewise.
913
914 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
915
916 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
917
918 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
919 wmemcpy.
920
921 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
922 wmemcpy.
923
924 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
925
926 * include/wchar.h (__wcscpy): New prototype.
927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
928 (__wcscpy): Route internal symbol to generic implementation.
929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
930 Add internal __wcscpy alias.
931 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
932 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
933 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
934 * wcsmbs/wcscpy.c (wcscpy): Add
935 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
936 use generic implementation.
937 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
938
939 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
940 wmemset.
941
942 * sysdeps/m68k/wcpcpy.c: Remove file.
943 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
944
945 2019-02-26 Joseph Myers <joseph@codesourcery.com>
946
947 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
948 than after operators.
949 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
950 * sysdeps/mach/hurd/getcwd.c
951 (__hurd_canonicalize_directory_name_internal): Likewise.
952 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
953 (pthread_mutex_consistent): Likewise.
954 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
955 Likewise.
956 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
957 (__pthread_mutex_transfer_np): Likewise.
958 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
959 (__pthread_mutex_unlock): Likewise.
960 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
961 (mtx_owned_p): Likewise.
962 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
963 (pthread_mutexattr_getrobust): Likewise.
964 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
965 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
966 Likewise.
967 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
968 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
969 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
970 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
971 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
973 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
974 Likewise.
975 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
976 Likewise.
977 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
978 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
979 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
980 (____longjmp_chk): Likewise.
981 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
982 Likewise.
983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
984 (INTERNAL_SYSCALL): Likewise.
985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
986 (INTERNAL_SYSCALL): Likewise.
987 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
988 (__get_clockfreq_via_cpuinfo): Likewise.
989
990 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
991 comments.
992 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
993 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
994 (WORD_COPY_BWD): Likewise.
995 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
997 Likewise.
998 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
999 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1000 comment.
1001 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1002
1003 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1004
1005 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1006 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1007 rather than after operators.
1008 * elf/cache.c (print_cache): Likewise.
1009 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1010 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1011 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1012 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1013 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1014 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1015 (reauth_proc): Likewise.
1016 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1017 (__file_name_split_at): Likewise.
1018 (__directory_name_split_at): Likewise.
1019 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1020 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1021 * iconv/gconv_dl.c (do_print): Likewise.
1022 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1023 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1024 * locale/setlocale.c (new_composite_name): Likewise.
1025 * malloc/memusagestat.c (main): Likewise.
1026 * misc/fstab.c (fstab_convert): Likewise.
1027 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1028 Likewise.
1029 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1030 (getgrent_next_file): Likewise.
1031 (internal_getgrnam_r): Likewise.
1032 (internal_getgrgid_r): Likewise.
1033 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1034 Likewise.
1035 (internal_getgrent_r): Likewise.
1036 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1037 (getpwent_next_nss): Likewise.
1038 (getpwent_next_file): Likewise.
1039 (internal_getpwnam_r): Likewise.
1040 (internal_getpwuid_r): Likewise.
1041 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1042 Likewise.
1043 (getspent_next_nss): Likewise.
1044 (internal_getspnam_r): Likewise.
1045 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1046 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1047 * string/strchr.c (STRCHR): Likewise.
1048 * string/strchrnul.c (STRCHRNUL): Likewise.
1049 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1050 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1051 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1052 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1053 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1054 Likewise.
1055 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1056 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1057 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1058 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1059 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1060 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1061 (open_file): Likewise.
1062 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1063 (pthread_mutexattr_setprotocol): Likewise.
1064 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1065 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1066 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1067 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1068 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1069 Likewise.
1070 (elf_machine_rela): Likewise.
1071 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1072 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1073 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1074 * sysdeps/posix/rename.c (rename): Likewise.
1075 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1076 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1077 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1078 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1079 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1080 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1081 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1084 Likewise.
1085 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1086 * time/tzfile.c (__tzfile_compute): Likewise.
1087
1088 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1089
1090 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1091 rather than after operators.
1092 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1093 * crypt/md5.c (md5_finish_ctx): Likewise.
1094 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1095 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1096 * elf/cache.c (load_aux_cache): Likewise.
1097 * elf/dl-load.c (open_verify): Likewise.
1098 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1099 * elf/readelflib.c (process_elf_file): Likewise.
1100 * elf/rtld.c (dl_main): Likewise.
1101 * elf/sprof.c (generate_call_graph): Likewise.
1102 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1103 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1104 * hurd/dtable.c (reauth_dtable): Likewise.
1105 * hurd/getdport.c (__getdport): Likewise.
1106 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1107 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1108 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1109 Likewise.
1110 * hurd/hurdioctl.c (fioctl): Likewise.
1111 * hurd/hurdselect.c (_hurd_select): Likewise.
1112 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1113 (STOPSIGS): Likewise.
1114 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1115 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1116 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1117 * hurd/msgportdemux.c (msgport_server): Likewise.
1118 * hurd/setauth.c (_hurd_setauth): Likewise.
1119 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1120 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1121 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1122 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1123 * login/tst-utmp.c (do_check): Likewise.
1124 (simulate_login): Likewise.
1125 * mach/lowlevellock.h (lll_lock): Likewise.
1126 (lll_trylock): Likewise.
1127 * math/test-fenv.c (ALL_EXC): Likewise.
1128 * math/test-fenvinline.c (ALL_EXC): Likewise.
1129 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1130 * nis/nis_call.c (__do_niscall3): Likewise.
1131 * nis/nis_callback.c (cb_prog_1): Likewise.
1132 * nis/nis_defaults.c (searchaccess): Likewise.
1133 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1134 * nis/nis_ismember.c (internal_ismember): Likewise.
1135 * nis/nis_local_names.c (nis_local_principal): Likewise.
1136 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1137 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1138 Likewise.
1139 * nis/ypclnt.c (yp_match): Likewise.
1140 (yp_first): Likewise.
1141 (yp_next): Likewise.
1142 (yp_master): Likewise.
1143 (yp_order): Likewise.
1144 * nscd/hstcache.c (cache_addhst): Likewise.
1145 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1146 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1147 (internal_getpwuid_r): Likewise.
1148 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1149 * posix/glob.h (__GLOB_FLAGS): Likewise.
1150 * posix/regcomp.c (peek_token): Likewise.
1151 (peek_token_bracket): Likewise.
1152 (parse_expression): Likewise.
1153 * posix/regexec.c (sift_states_iter_mb): Likewise.
1154 (check_node_accept_bytes): Likewise.
1155 * posix/tst-spawn3.c (do_test): Likewise.
1156 * posix/wordexp-test.c (testit): Likewise.
1157 * posix/wordexp.c (parse_tilde): Likewise.
1158 (exec_comm): Likewise.
1159 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1160 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1161 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1162 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1163 * stdio-common/tst-fileno.c (do_test): Likewise.
1164 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1165 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1166 * stdlib/strtod_l.c (round_and_return): Likewise.
1167 (____STRTOF_INTERNAL): Likewise.
1168 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1169 * string/strcspn.c (STRCSPN): Likewise.
1170 * string/test-memmem.c (simple_memmem): Likewise.
1171 * termios/tcsetattr.c (tcsetattr): Likewise.
1172 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1173 * time/asctime.c (asctime_internal): Likewise.
1174 * time/strptime_l.c (__strptime_internal): Likewise.
1175 * time/sys/time.h (timercmp): Likewise.
1176 * time/tzfile.c (__tzfile_compute): Likewise.
1177
1178 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1179
1180 [BZ #21915]
1181 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1182
1183 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1184
1185 * argp/argp-help.c (__argp_error_internal): New function,
1186 renamed from __argp_error, but that takes a 'mode_flags'
1187 parameter to control the format of long double parameters.
1188 (__argp_error): Converted into a call __argp_error_internal.
1189 (__argp_failure_internal): New function, renamed from
1190 __argp_failure, but that takes a 'mode_flags' parameter.
1191 (__argp_failure): Converted into a call __argp_failure_internal.
1192 * misc/err.c (__vwarnx_internal): New function, renamed from
1193 vwarnx, but that takes a 'mode_flags' parameter.
1194 (vwarnx): Converted into a call to __vwarnx_internal.
1195 (__vwarn_internal): New function, renamed from vwarn, but that
1196 takes a 'mode_flags' parameter.
1197 (vwarn): Converted into a call to __vwarn_internal.
1198 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1199 call to __vfxprintf with 'mode_flags'.
1200 (__error_internal): New function, renamed from error, but that
1201 takes a 'mode_flags' parameter.
1202 (error): Converted into a call to __error_internal.
1203 (__error_at_line_internal): New function, renamed from
1204 error_at_line, but that takes a 'mode_flags' parameter.
1205 (error_at_line): Converted into a call to
1206 __error_at_line_internal.
1207 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1208 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1209 Likewise.
1210
1211 2019-02-20 Martin Liska <mliska@suse.cz>
1212
1213 * math/Makefile: Install math-vector-fortran.h.
1214 * bits/math-vector-fortran.h: New file.
1215 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1216
1217 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1218
1219 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1220 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1221
1222 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1223
1224 * nptl/pthread_mutex_trylock.c: Fix comment.
1225
1226 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1227
1228 * nptl/pthread_tryjoin.c: Fix comment.
1229
1230 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1231
1232 [BZ #24231]
1233 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1234 after R_SPARC_H34 case.
1235
1236 2019-02-18 Florian Weimer <fweimer@redhat.com>
1237
1238 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1239 (getanswer): Do not call Dprintf.
1240 (res_gethostbyname2_context): Likewise.
1241 (res_gethostbyaddr_context): Likewise.
1242
1243 2019-02-18 Florian Weimer <fweimer@redhat.com>
1244
1245 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1246 declaration.
1247 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1248 Remove definitions.
1249 * libio/stdfiles.c: Update comment.
1250 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1251 set _IO_stdin, _IO_stdout, _IO_stderr.
1252 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1253 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1254 inline function.
1255 (_IO_deallocate_file): New inline function.
1256 * libio/iolibio.h (_IO_vprintf): Remove definition.
1257 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1258 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1259 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1260 _IO_legacy_file.
1261 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1262 __builtin_expect. Use _IO_legacy_file.
1263
1264 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1265
1266 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1267 Initialize ctid with a known value and remove update of ctid
1268 after clone.
1269 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1270 as assumed current value of ctid_ptr.
1271
1272 2019-02-16 Florian Weimer <fweimer@redhat.com>
1273
1274 Check that non-sysdeps headers have wrapper headers.
1275 * scripts/check-wrapper-headers.py: New file.
1276 * Makefile (tests-special): Add check-wrapper-headers.out.
1277 (check-wrapper-headers.out): New target.
1278 * Rules (tests-special): Add check-wrapper-headers.out.
1279 (check-wrapper-headers.out): New target.
1280
1281 2019-02-16 Florian Weimer <fweimer@redhat.com>
1282
1283 Add missing header wrappers under include/.
1284 * include/ar.h: New file.
1285 * include/bits/mqueue2.h: Likewise.
1286 * include/bits/stdio.h: Likewise.
1287 * include/bits/stdio2.h: Likewise.
1288 * include/fstab.h: Likewise.
1289 * include/fts.h: Likewise.
1290 * include/lastlog.h: Likewise.
1291 * include/netinet/icmp6.h: Likewise.
1292 * include/netinet/igmp.h: Likewise.
1293 * include/netinet/ip6.h: Likewise.
1294 * include/re_comp.h: Likewise.
1295 * include/regexp.h: Likewise.
1296 * include/rpcsvc/bootparam.h: Likewise.
1297 * include/rpcsvc/yp_prot.h: Likewise.
1298 * include/sys/random.h: Likewise.
1299 * include/sys/stropts.h: Likewise.
1300 * include/sys/ttychars.h: Likewise.
1301 * include/sys/vfs.h: Likewise.
1302 * include/wait.h: Likewise.
1303
1304 2019-02-16 Florian Weimer <fweimer@redhat.com>
1305
1306 * nptl_db/proc_service.h: Move to ...
1307 * sysdeps/nptl/proc_service.h: ... here.
1308 * nptl_db/thread_db.h: Move to ...
1309 * sysdeps/nptl/thread_db.h: ... here.
1310 * nptl/descr.h: Include <thread_db.h>.
1311
1312 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1313
1314 * io/Makefile (tests): Add tst-lockf.
1315 * io/lockf.c (lockf): Use __fcntl and only define for
1316 !__OFF_T_MATCHES_OFF64_T.
1317 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1318 __OFF_T_MATCHES_OFF64_T case.
1319 * io/tst-lockf.c: New file.
1320 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1321 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1322 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1323 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1324 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1326 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1327 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1328 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1329
1330 2019-02-15 Florian Weimer <fweimer@redhat.com>
1331
1332 [BZ #24211]
1333 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1334 pd->result after the thread descriptor has been freed.
1335
1336 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1337
1338 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1339 from function return type.
1340
1341 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1342
1343 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1344
1345 * scripts/test_printers_common.py: Set TERM to a known harmless
1346 value.
1347
1348 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1349
1350 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1351 (xdr_u_int): Likewise.
1352 (xdr_enum): Likewise.
1353 (xdr_bytes): Reword fall-through comment.
1354 (xdr_string): Likewise.
1355
1356 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1357
1358 [BZ #2421]
1359 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1360 (tests): Add tst-join8 tst-join9.
1361 * nptl/lll_timedwait_tid.c: Remove file.
1362 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1363 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1364 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1365 * nptl/pthread_join_common.c (timedwait_tid): New function.
1366 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1367 is set.
1368 * nptl/tst-join5.c (thread_join): New function.
1369 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1370 check.
1371 * nptl/tst-join8.c: New file.
1372 * nptl/tst-join9.c: Likewise.
1373 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1374 lll_futex_timed_wait_cancel): Add generic macros.
1375 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1376 Remove definitions.
1377 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1378 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1379 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1380 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1381 Remove function.
1382 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1385 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1386 (lll_futex_timed_wait_cancel): New macro.
1387
1388 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1389
1390 * benchtests/Makefile: Add malloc-simple benchmark.
1391 * benchtests/bench-malloc-simple.c: New benchmark.
1392
1393 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1394
1395 * benchtests/bench-memmove.c (do_one_test): Remove unused
1396 ORIG_SRC.
1397 (do_test): Adjust.
1398 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1399 ORIG_SRC.
1400 (do_test): Adjust.
1401
1402 2019-01-13 Jim Wilson <jimw@sifive.com>
1403
1404 [BZ #24040]
1405 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1406 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1407 (func): New.
1408 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1409 call func directly.
1410 * nptl/Makefile (tests): Add tst-unwind-thread.
1411 (CFLAGS-tst-unwind-thread.c): Define.
1412 * nptl/tst-unwind-thread.c: New file.
1413 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1414 as undefined.
1415
1416 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1417
1418 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1419 comment wording.
1420 * nis/nis_call.c (__do_niscall3): Likewise.
1421
1422 * catgets/gencat.c (normalize_line): Use braces around empty
1423 'else' body.
1424 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1425 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1426 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1427 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1428 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1429 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1430 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1431 definition.
1432
1433 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1434 execlp returns.
1435
1436 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1437
1438 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1439 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1440 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1441 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1442 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1443 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1444 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1445 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1446 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1447 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1448 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1449 * benchtests/bench-bcopy.c: Delete file.
1450 * benchtests/bench-bzero.c: Likewise.
1451 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1452 (simple_memccpy): Remove.
1453 (generic_memccpy): Add function.
1454 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1455 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1456 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1457 (generic_mempcpy): Add new function.
1458 * benchtests/bench-memset.c (simple_bzero): Remove.
1459 (builtin_bzero): Remove.
1460 (builtin_memset): Remove.
1461 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1462 (generic_rawmemchr): Add new function.
1463
1464 2019-02-12 Florian Weimer <fweimer@redhat.com>
1465
1466 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1467
1468 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1469
1470 [BZ #24122]
1471 * elf/Makefile (tests): Add tst-audit13.
1472 (modules-names): Add tst-audit13mod1.
1473 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1474 rule.
1475 * elf/tst-audit13.c: New file.
1476 * elf/tst-audit13mod1.c: Likewise.
1477
1478 2019-02-12 Florian Weimer <fweimer@redhat.com>
1479
1480 [BZ #24122]
1481 * elf/rtld.c (unload_audit_module): New function.
1482 (report_audit_module_load_error): Likewise.
1483 (load_audit_module): Likewise. Extracted from dl_main. Call
1484 _dl_close if the laversion symbol cannot be found. Use early
1485 returns for error handling. Add malloc error check. Check for a
1486 zero return value from la_version. Remove spurious comment about
1487 static TLS initialization. Remove useless casts.
1488 (notify_audit_modules_of_loaded_object): New function. Extracted
1489 from dl_main.
1490 (load_audit_module): Likewise.
1491 (dl_main): Call load_audit_modules.
1492
1493 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1494
1495 * elf/dl-exception.c (_dl_exception_create_format): Add
1496 fall-through comments.
1497 * elf/ldconfig.c (parse_conf_include): Likewise.
1498 * elf/rtld.c (print_statistics): Likewise.
1499 * locale/programs/charmap.c (parse_charmap): Likewise.
1500 * misc/mntent_r.c (__getmntent_r): Likewise.
1501 * posix/wordexp.c (parse_arith): Likewise.
1502 (parse_backtick): Likewise.
1503 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1504 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1506
1507 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1508
1509 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1510 Use float instead of double.
1511
1512 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1513
1514 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1515
1516 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1517
1518 * sysdeps/powerpc/bits/mathinline.h: Remove.
1519
1520 2019-02-08 Florian Weimer <fweimer@redhat.com>
1521
1522 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1523 * math/bits/math-finite.h: Move to ...
1524 * bits/math-finite.h: ... here.
1525
1526 2019-02-08 Florian Weimer <fweimer@redhat.com>
1527
1528 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1529 * bits/unistd_ext.h: here.
1530
1531 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1532
1533 [BZ #21915]
1534 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1535 * nss/tst-nss-files-hosts-long.c: New file.
1536 * nss/tst-nss-files-hosts-long.root: New directory.
1537 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1538 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1539
1540 2019-02-08 Florian Weimer <fweimer@redhat.com>
1541
1542 * include/bits/unistd_ext.h: Remove file.
1543 * posix/bits/unistd_ext.h: Move to ...
1544 * sysdeps/generic/bits/unistd_ext.h: ... here.
1545
1546 2019-02-08 Florian Weimer <fweimer@redhat.com>
1547
1548 * include/bits/unistd_ext.h: New file.
1549
1550 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1551
1552 * time/tst-strftime2.c: Use array_length macros instead of magic
1553 numbers.
1554
1555 2019-02-08 Florian Weimer <fweimer@redhat.com>
1556
1557 [BZ #24161]
1558 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1559 argument.
1560 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1561 locking if the new do_locking argument is true.
1562 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1563 __run_fork_handlers.
1564
1565 2019-02-08 Florian Weimer <fweimer@redhat.com>
1566
1567 [BZ #6399]
1568 Linux: Add gettid system call wrapper.
1569 * posix/Makefile (headers): Add bits/unistd_ext.h.
1570 * posix/bits/unistd_ext.h: New file.
1571 * posix/unistd.h: Include it.
1572 * manual/process.texi (Process Identification): Document gettid.
1573 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1574 tst-gettid, tst-gettid-kill.
1575 (tst-gettid): Link with $(shared-thread-library).
1576 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1577 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1578 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1579 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1580 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1581 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1582 Add gettid.
1583 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1584 Likewise.
1585 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1586 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1587 Likewise.
1588 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1589 Likewise.
1590 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1591 Likewise.
1592 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1593 Likewise.
1594 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1595 Likewise.
1596 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1597 Likewise.
1598 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1599 Likewise.
1600 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1601 (GLIBC_2.30): Likewise.
1602 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1603 (GLIBC_2.30): Likewise.
1604 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1605 (GLIBC_2.30): Likewise.
1606 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1607 (GLIBC_2.30): Likewise.
1608 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1609 Likewise.
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1611 (GLIBC_2.30): Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1613 (GLIBC_2.30): Likewise.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1615 (GLIBC_2.30): Likewise.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1617 (GLIBC_2.30): Likewise.
1618 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1619 Likewise.
1620 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1621 Likewise.
1622 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1623 Likewise.
1624 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1625 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1626 Likewise.
1627 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1628 Likewise.
1629 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1630 Likewise.
1631 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1632 Likewise.
1633 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1634
1635 2019-02-08 Florian Weimer <fweimer@redhat.com>
1636
1637 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1638 compatibility symbols.
1639
1640 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1641
1642 [BZ #24180]
1643 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1644 Add compiler barriers and comments.
1645
1646 2019-02-07 Florian Weimer <fweimer@redhat.com>
1647
1648 * include/array_length.h (array_length): Do not use a statement
1649 expression and _Static_assert, so that array_length can be used at
1650 file scope and as a constant expression.
1651
1652 2019-02-07 Florian Weimer <fweimer@redhat.com>
1653
1654 * support/xdlfcn.h (xdlmopen): Declare.
1655 * support/xdlmopen.c: New file.
1656 * support/Makefile (libsupport-routines): Add xdlmopen.
1657
1658 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1659
1660 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1661 before return type, without separate inline.
1662 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1663 * elf/dl-tunables.h (tunable_is_name): Likewise.
1664 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1665 (do_set_top_pad): Likewise.
1666 (do_set_mmap_threshold): Likewise.
1667 (do_set_mmaps_max): Likewise.
1668 (do_set_mallopt_check): Likewise.
1669 (do_set_perturb_byte): Likewise.
1670 (do_set_arena_test): Likewise.
1671 (do_set_arena_max): Likewise.
1672 (do_set_tcache_max): Likewise.
1673 (do_set_tcache_count): Likewise.
1674 (do_set_tcache_unsorted_limit): Likewise.
1675 * nis/nis_subr.c (count_dots): Likewise.
1676 * nptl/allocatestack.c (advise_stack_range): Likewise.
1677 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1678 (do_sin): Likewise.
1679 (reduce_sincos): Likewise.
1680 (do_sincos): Likewise.
1681 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1682 (do_set_elision_enable): Likewise.
1683 (TUNABLE_CALLBACK_FNDECL): Likewise.
1684
1685 2019-02-06 Florian Weimer <fweimer@redhat.com>
1686
1687 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1688 (xdlsym): Use dlerror to detect a NULL symbol.
1689
1690 2019-02-06 Florian Weimer <fweimer@redhat.com>
1691
1692 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1693 <stap-probe.h>.
1694 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1695
1696 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1697
1698 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1699
1700 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1701
1702 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1703 __wmemcmp and weak alias to wmemcmp.
1704
1705 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1706
1707 [BZ #23403]
1708 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1709 TLS_TCB_AT_TP tls variant.
1710 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1711 Add alignment checks.
1712 * support/Makefile (libsupport-routines): Add xposix_memalign and
1713 xpthread_setstack.
1714 * support/support.h: Add xposix_memalign.
1715 * support/xthread.h: Add xpthread_attr_setstack.
1716 * support/xposix_memalign.c: New File.
1717 * support/xpthread_attr_setstack.c: Likewise.
1718
1719 2019-02-05 Florian Weimer <fweimer@redhat.com>
1720
1721 [BZ #24164]
1722 arm: Use "nr" constraint for Systemtap probes, to avoid the
1723 compiler using memory operands for constants, due to the "o"
1724 alternative in the default "nor" constraint.
1725 * include/stap-probe.h [USE_STAP_PROBE]: Include
1726 <stap-probe-machine.h>
1727 * sysdeps/generic/stap-probe-machine.h: New file.
1728 * sysdeps/arm/stap-probe-machine.h: Likewise.
1729
1730 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1731
1732 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1733 with 0, not tcache->entries[tc_idx].
1734
1735 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1736 once.
1737
1738 2019-02-04 Andreas Schwab <schwab@suse.de>
1739
1740 [BZ #16976]
1741 [BZ #17396]
1742 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1743 looking up collating elements match against (wide) character
1744 sequence instead of name. Correct alignment adjustment.
1745 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1746 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1747 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1748 (LOCALES): Add cs_CZ.ISO-8859-2.
1749 * posix/tst-fnmatch4.c: New file.
1750 * posix/tst-fnmatch5.c: New file.
1751 * include/wchar.h (__wmemcmp): Declare.
1752 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1753 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1754 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1755 * sysdeps/s390/wmemcmp.c: Likewise.
1756
1757 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 [BZ #24155]
1760 CVE-2019-7309
1761 * NEWS: Updated for CVE-2019-7309.
1762 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1763 upper 32 bits of RDX register for x32. Use unsigned Jcc
1764 instructions, instead of signed.
1765 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1766 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1767
1768 2019-02-04 Florian Weimer <fweimer@redhat.com>
1769
1770 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1771 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1772 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1773 Likewise.
1774 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1775 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1776 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1777 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1778 Likewise.
1779 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1780 Likewise.
1781 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1782 Likewise.
1783 (posix_spawn_file_actions_addopen): Likewise.
1784 (posix_spawn_file_actions_addclose): Likewise.
1785 (posix_spawn_file_actions_adddup2): Likewise.
1786 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1787 qualifiers.
1788 (posix_spawn_file_actions_addfchdir_np): Likewise.
1789
1790 2019-02-04 David Newall <glibc@davidnewall.com>
1791
1792 elf: Implement --preload option for the dynamic linker.
1793 * elf/rtld.c (preloadarg): New variable.
1794 (handle_preload_list): Pass through “where” argument to
1795 do_preload.
1796 (dl_main): Handle "--preload" and add second call to
1797 handle_preload_list.
1798 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1799 (tst-rtld-preload-OBJS): Set variable.
1800 (tst-rtld-preload.out): New target.
1801 * elf/tst-rtld-preload.sh: New file.
1802
1803 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1804
1805 * Makefile (testrun.sh): Exit in case of incorrect argument.
1806
1807 2019-02-04 Florian Weimer <fweimer@redhat.com>
1808
1809 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1810 alignment gaps.
1811
1812 2019-02-03 Florian Weimer <fweimer@redhat.com>
1813
1814 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1815 implicit overflow checks.
1816
1817 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1818
1819 * stdlib/isomac.c: Include <unistd.h>.
1820
1821 2019-02-03 Florian Weimer <fweimer@redhat.com>
1822
1823 * include/time.h (__tzfile_default): Use int, not long int, for
1824 the GMT offsets.
1825 * time/tzfile.c (struct ttinfo): Change type of the offset member
1826 to int.
1827 (__tzfile_read): Remove useless cast.
1828 (__tzfile_default): Adjust prototype.
1829 * time/tzset.c (tz_rule): Change type of the offset member to int.
1830 (parse_offset): Change the type of the sign variable to int.
1831
1832 2019-02-03 Florian Weimer <fweimer@redhat.com>
1833
1834 [BZ #24153]
1835 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1836 * libio/getchar.c (getchar): Likewise.
1837 * libio/getchar_u.c (getchar_unlocked): Likewise.
1838 * libio/getwchar.c (getwchar): Likewise.
1839 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1840 * libio/iogets.c (_IO_gets): Likewise.
1841 * libio/vscanf.c (_IO_vscanf): Likewise.
1842 * libio/vwscanf.c (__vwscanf): Likewise.
1843 * libio/tst-bz24153.c: New file.
1844 * libio/Makefile (tests): Add it.
1845
1846 2019-02-02 Florian Weimer <fweimer@redhat.com>
1847
1848 [BZ #14829]
1849 * manual/resource.texi (Basic Scheduling Functions): Add
1850 portability note. Change process to task throughout the section.
1851 Remove incorrect comment about sched_yield as it affects
1852 tasks/threads, not entire processes.
1853 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1854 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1855
1856 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1857
1858 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1859 * configure: Regenerated.
1860 * manual/install.texi (Tools for Compilation): Update minimum GCC
1861 version.
1862 * INSTALL: Regenerated.
1863
1864 2019-02-01 Florian Weimer <fweimer@redhat.com>
1865
1866 * support/support_test_compare_string.c
1867 (support_test_compare_string): Use "string" in error message.
1868 * support/tst-test_compare_string.c (do_test): Adjust.
1869
1870 2019-02-01 Florian Weimer <fweimer@redhat.com>
1871
1872 * support/support_format_address_family.c
1873 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1874
1875 2019-02-01 Florian Weimer <fweimer@redhat.com>
1876
1877 * manual/socket.texi (Internet Address Formats): Clarify the byte
1878 order of struct sockaddr_in, struct sockaddr_in6. Document
1879 sin6_flowinfo and sin6_scope_id.
1880
1881 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1882
1883 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1884 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1885 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1886 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1887 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1888 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1889
1890 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1891
1892 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1893 [!MEMCHR](MEMCHR): Set to __memchr.
1894 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1895 Add memchr_generic and memchr_nosimd.
1896 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1897 (__libc_ifunc_impl_list): Add memchr ifuncs.
1898 * sysdeps/aarch64/multiarch/memchr.c: New file.
1899 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1900 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1901
1902 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1903
1904 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1905 Add memset_emag.
1906 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1907 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1908 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1909 Add IS_EMAG check for ifunc dispatch.
1910 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1911 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1912
1913 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1914
1915 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1916 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1917 Add emag.
1918 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1919 New macro.
1920
1921 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1922
1923 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1924
1925 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1926
1927 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1928 syscall-template file.
1929
1930 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1931 Torvald Riegel <triegel@redhat.com>
1932 Rik Prohaska <prohaska7@gmail.com>
1933
1934 [BZ# 23844]
1935 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1936 tst-rwlock-trywrlock-stall.
1937 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1938 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1939 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1940 Set __wrphase_fute to 1 only if we started the write phase.
1941 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1942 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1943 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1944 * support/xpthread_rwlock_destroy.c: New file.
1945 * support/xthread.h: Declare xpthread_rwlock_destroy.
1946
1947 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1948
1949 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1950 version to 4.0.2.
1951
1952 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1953
1954 [BZ #24051]
1955 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1956 * libio/fileops.c (_IO_new_file_underflow): Likewise
1957 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1958 * libio/putchar.c (putchar): Likewise.
1959 * libio/putchar_u.c (putchar_unlocked): Likewise.
1960 * libio/putwchar.c (putchar): Likewise.
1961 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1962 * libio/tst-bz24051.c: New test.
1963 * libio/Makefile (tests): Add tst-bz24051
1964
1965 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1966
1967 CVE-2019-9169
1968 regex: fix read overrun [BZ #24114]
1969 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1970 https://debbugs.gnu.org/34140
1971 * posix/regexec.c (proceed_next_node):
1972 Do not read past end of input buffer.
1973
1974 2019-01-31 Florian Weimer <fweimer@redhat.com>
1975
1976 [BZ #24059]
1977 * nss/nss_files/files-alias.c (get_next_alias): Handle
1978 continuation line without newline at the end.
1979 * nss/tst-nss-files-alias-truncated.c: New file.
1980 * nss/Makefile [$(build-shared)] (tests): Add
1981 tst-nss-files-alias-truncated.
1982 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1983 * support/namespace.h (struct support_chroot_configuration): Add
1984 aliases member.
1985 (struct support_chroot): Add path_aliases member.
1986 * support/support_chroot.c (support_chroot_create): Handle
1987 aliases.
1988 (support_chroot_free): Free path_aliases.
1989
1990 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1991
1992 * version.h (RELEASE): Set to "development".
1993 (VERSION): Set to "2.29.9000".
1994 * NEWS: Add section for 2.30.
1995
1996 * version.h (RELEASE): Set to "stable".
1997 (VERSION): Set to "2.29".
1998 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1999
2000 * NEWS: Add the list of bugs fixed in 2.29.
2001 * manual/contrib.texi: Update contributors list with some more
2002 names.
2003 * manual/install.texi: Update latest versions of packages
2004 tested.
2005 * INSTALL: Regenerated.
2006
2007 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2008
2009 * po/be.po: Update translations.
2010 * po/bg.po: Likewise.
2011 * po/ca.po: Likewise.
2012 * po/cs.po: Likewise.
2013 * po/da.po: Likewise.
2014 * po/de.po: Likewise.
2015 * po/el.po: Likewise.
2016 * po/eo.po: Likewise.
2017 * po/es.po: Likewise.
2018 * po/fi.po: Likewise.
2019 * po/fr.po: Likewise.
2020 * po/gl.po: Likewise.
2021 * po/hr.po: Likewise.
2022 * po/hu.po: Likewise.
2023 * po/ia.po: Likewise.
2024 * po/id.po: Likewise.
2025 * po/it.po: Likewise.
2026 * po/ja.po: Likewise.
2027 * po/ko.po: Likewise.
2028 * po/lt.po: Likewise.
2029 * po/nb.po: Likewise.
2030 * po/nl.po: Likewise.
2031 * po/pl.po: Likewise.
2032 * po/pt_BR.po: Likewise.
2033 * po/ru.po: Likewise.
2034 * po/rw.po: Likewise.
2035 * po/sk.po: Likewise.
2036 * po/sl.po: Likewise.
2037 * po/sv.po: Likewise.
2038 * po/tr.po: Likewise.
2039 * po/uk.po: Likewise.
2040 * po/vi.po: Likewise.
2041 * po/zh_CN.po: Likewise.
2042 * po/zh_TW.po: Likewise.
2043
2044 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2045
2046 [BZ #24130]
2047 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2048 of $f3 register on $y_is_neg path.
2049
2050 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2051
2052 [BZ #24110]
2053 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2054 sigaltstack.ss_flags.
2055
2056 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2057
2058 [BZ #23758]
2059 * manual/time.texi (strftime): Document "%Ey".
2060 * time/strftime_l.c (__strftime_internal): Set the default width
2061 padding with zero of "%Ey" to 2.
2062
2063 [BZ #24096]
2064 * manual/time.texi (strftime): Document "%EC" and "%EY".
2065 * time/Makefile (tests): Add tst-strftime2.
2066 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2067 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2068 override padding for "%Ey".
2069 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2070 "%Ey" in the subformat as if decorated with that flag.
2071 * time/tst-strftime2.c: New file.
2072
2073 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2074
2075 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2076 are not defined.
2077
2078 [BZ #24122]
2079 * elf/Makefile (tests): Add tst-audit13.
2080 (modules-names): Add tst-audit13mod1.
2081 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2082 rule.
2083 * elf/rtld.c (dl_main): Handle invalid audit module version.
2084 * elf/tst-audit13.c: New file.
2085 * elf/tst-audit13mod1.c: Likewise.
2086
2087 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2088
2089 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2090 returned by __hurd_at_flags.
2091 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2092 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2093 directly instead of __hurd_file_name_lookup.
2094
2095 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2096
2097 * scripts/build-many-glibcs.py (Context.checkout): Default
2098 binutils version to 2.32 branch.
2099
2100 2019-01-21 Florian Weimer <fweimer@redhat.com>
2101
2102 [BZ #20018]
2103 CVE-2016-10739
2104 resolv: Reject trailing characters in host names
2105 * include/arpa/inet.h (__inet_aton_exact): Declare.
2106 (inet_aton): Remove hidden prototype. No longer used internally.
2107 * nscd/gai.c (__inet_aton): Do not define.
2108 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2109 * nss/digits_dots.c (__inet_aton): Likewise.
2110 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2111 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2112 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2113 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2114 (tst-resolv-trailing): Likewise.
2115 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2116 libc.
2117 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2118 Make static. Add endp parameter.
2119 (__inet_aton_exact): New function.
2120 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2121 (__inet_addr): Call inet_aton_end.
2122 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2123 not just IPv6. Call __inet_aton_exact.
2124 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2125 (tests): Make const. Add additional test cases with trailing
2126 characters.
2127 (do_test): Use array_length.
2128 * resolv/tst-inet_aton_exact.c: New file.
2129 * resolv/tst-resolv-trailing.c: Likewise.
2130 * resolv/tst-resolv-nondecimal.c: Likewise.
2131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2132
2133 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 [BZ# 24097]
2136 CVE-2019-6488
2137 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2138 Clear the upper 32 bits of RSI register.
2139 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2140 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2141 and tst-size_t-wcsnlen.
2142 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2143 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2144
2145 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 [BZ# 24097]
2148 CVE-2019-6488
2149 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2150 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2151 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2152 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2153 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2154
2155 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 [BZ# 24097]
2158 CVE-2019-6488
2159 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2160 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2161 * sysdeps/x86_64/strcmp.S: Likewise.
2162 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2163 tst-size_t-strncmp and tst-size_t-wcsncmp.
2164 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2165 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2166 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2167
2168 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 [BZ# 24097]
2171 CVE-2019-6488
2172 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2173 RDX_LP for length. Clear the upper 32 bits of RDX register.
2174 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2175 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2176 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2177 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2178
2179 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2180
2181 [BZ# 24097]
2182 CVE-2019-6488
2183 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2184 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2185 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2186 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2187
2188 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2189
2190 [BZ# 24097]
2191 CVE-2019-6488
2192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2193 length. Clear the upper 32 bits of RDX register.
2194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2195 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2196 Likewise.
2197 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2198 Likewise.
2199 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2200 tst-size_t-wmemchr.
2201 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2202
2203 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 [BZ# 24097]
2206 CVE-2019-6488
2207 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2208 length. Clear the upper 32 bits of RDX register.
2209 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2210 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2211 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2212 tst-size_t-wmemcmp.
2213 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2214 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2215
2216 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2217
2218 [BZ# 24097]
2219 CVE-2019-6488
2220 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2221 upper 32 bits of RDX register.
2222 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2223 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2224 tst-size_t-wmemchr.
2225 * sysdeps/x86_64/x32/test-size_t.h: New file.
2226 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2227 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2228
2229 2019-01-18 Florian Weimer <fweimer@redhat.com>
2230
2231 [BZ #24112]
2232 resolv: Do not send queries for non-host-names in nss_dns.
2233 * resolv/nss_dns/dns-host.c (check_name): New function.
2234 (_nss_dns_gethostbyname2_r): Use it.
2235 (_nss_dns_gethostbyname_r): Likewise.
2236 (_nss_dns_gethostbyname4_r): Likewise.
2237
2238 2019-01-21 Florian Weimer <fweimer@redhat.com>
2239
2240 * resolv/inet_addr.c: Reformat to GNU style.
2241 (__inet_addr, __inet_aton): Update comment.
2242
2243 2019-01-18 Florian Weimer <fweimer@redhat.com>
2244
2245 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2246 ("malloc: Use current (C11-style) atomics for fastbin access").
2247 This commit introduces a substantial performance regression on
2248 POWER and Aarch64.
2249 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2250 (REMOVE_FB): Define.
2251 (_int_malloc): Use it and reindent.
2252 (_int_free): Use CAS loop with
2253 catomic_compare_and_exchange_val_rel.
2254 (malloc_consolidate): Use atomic_exchange_acq.
2255
2256
2257 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2260 -Wl,-z,now.
2261 (LDFLAGS-tst-minsigstksz-2): Likewise.
2262 (LDFLAGS-tst-minsigstksz-3): Likewise.
2263 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2264 (LDFLAGS-tst-minsigstksz-4): Likewise.
2265
2266 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2267
2268 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2269 than "alternate".
2270
2271 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2272
2273 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2274
2275 2019-01-16 Zack Weinberg <zackw@panix.com>
2276
2277 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2278 (xget_sigstack_location): New test support functions.
2279 * support/xsigstack.c: New file, implementing them.
2280 * support/tst-xsigstack.c: New test for them.
2281 * support/Makefile: Update.
2282
2283 * signal/tst-minsigstksz-1.c
2284 * signal/tst-minsigstksz-2.c
2285 * signal/tst-minsigstksz-3.c
2286 * signal/tst-minsigstksz-3a.c
2287 * signal/tst-minsigstksz-4.c: New tests.
2288 * signal/Makefile: Run them.
2289
2290 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2291
2292 * po/libc.pot: Regenerate.
2293
2294 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2295
2296 * math/libm-test-fma.inc (fma_test_data): Set
2297 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2298
2299 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2300
2301 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2302 (do_test): Changed __vector __int128_t to __vector unsigned int.
2303
2304 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2305
2306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2307 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2308 stpcpy-avx2 and stpncpy-avx2.
2309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2310 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2311 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2312 and __stpncpy_avx2.
2313 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2314 ifunc-strcpy.h}: rename header for a more generic name.
2315 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2316 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2317 AVX unaligned load is fast and vzeroupper is preferred.
2318 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2319 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2320 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2321 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2322 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2323 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2324
2325 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2326
2327 * argp/argp-help.c: Fix typo in comment.
2328 * misc/sys/cdefs.h: Likewise.
2329 * posix/regexec.c (sift_states_iter_mb): Likewise.
2330 * socket/sockatmark.c: Likewise.
2331 * socket/sys/socket.h: Likewise.
2332 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2333 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2334 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2335 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2336 * sysdeps/unix/sockatmark.c: Likewise.
2337 * time/strptime_l.c: Likewise.
2338
2339 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2340
2341 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2342 missing space after the cast of "_NL_CURRENT".
2343
2344 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2345
2346 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2347 ifdef to fix read of VSCR.
2348 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2349 tst-ucontext-ppc64-vscr.c to test list.
2350 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2351
2352 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2353
2354 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2355 fall-through.
2356
2357 2019-01-09 Jim Wilson <jimw@sifive.com>
2358
2359 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2360
2361 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2362
2363 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2364 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2365 __memcpy_falkor for ares.
2366 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2367 Add new define.
2368 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2369 Add ares cpu.
2370
2371 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2372
2373 [BZ #24066]
2374 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2375 4_FP_W_TYPEs are used for IEEE quad precision.
2376 * soft-fp/extendhftf2.c: Likewise.
2377 * soft-fp/extendsftf2.c: Likewise.
2378 * soft-fp/extendxftf2.c: Likewise.
2379 * soft-fp/trunctfdf2.c: Likewise.
2380 * soft-fp/trunctfhf2.c: Likewise.
2381 * soft-fp/trunctfsf2.c: Likewise.
2382 * soft-fp/trunctfxf2.c: Likewise.
2383 * sysdeps/alpha/ots_cvttx.c: Likewise.
2384 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2385 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2386 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2387 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2388 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2389 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2390 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2391 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2392 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2393 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2394 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2395 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2396 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2397 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2398 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2399 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2400 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2401
2402 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2403
2404 [BZ #24024]
2405 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2406 code with -fmath-errno.
2407 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2408 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2409 * string/test-strerror-errno.c: New file.
2410
2411 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2412
2413 [BZ #24046]
2414 * localedata/locales/en_US (date_fmt): Add, set to
2415 "%a %d %b %Y %r %Z".
2416
2417 2019-01-07 Florian Weimer <fweimer@redhat.com>
2418
2419 [BZ #24063]
2420 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2421 instead of @var{errno}.
2422 (Parsing of Integers): Likewise.
2423 (Parsing of Floats): Likewise.
2424 * manual/filesys.texi (Working with Directory Trees): Likewise.
2425 (Temporary Files): Likewise.
2426 * manual/job.texi (Terminal Access Functions): Likewise.
2427 * manual/llio.texi (Synchronizing I/O): Likewise.
2428 * manual/math.texi (SVID Random): Likewise.
2429 * manual/message.texi (The catgets Functions): Likewise.
2430 (Translation with gettext): Likewise.
2431 (Locating gettext catalog): Likewise.
2432 (Charset conversion in gettext): Likewise.
2433 * manual/nss.texi (NSS Module Function Internals): Likewise.
2434 * manual/search.texi (Hash Search Function): Likewise.
2435 * manual/setjmp.texi (System V contexts): Likewise.
2436 * manual/time.texi (Sleeping): Likewise.
2437 * manual/users.texi (Lookup User): Likewise.
2438 (Lookup Group): Likewise.
2439
2440 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2441
2442 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2443 fix typo.
2444
2445 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2446
2447 [BZ #19444]
2448 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2449 __builtin_unreachable for default case in switch.
2450 (__ieee754_yn): Likewise.
2451 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2452 (__ieee754_ynl): Likewise.
2453 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2454 (__ieee754_ynl): Likewise.
2455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2456 (__ieee754_ynl): Likewise.
2457
2458 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2459
2460 * manual/maint.texi: Use @{ and @}.
2461
2462 2019-01-04 Florian Weimer <fweimer@redhat.com>
2463
2464 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2465 function.
2466 (do_in_chroot_1): Call it.
2467 (run_chroot_tests):
2468 Improve error reporting in case it is not possible to create a
2469 collision for the PTY name required by the test.
2470
2471 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2472
2473 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2474 lll_wait_tid with timeout.
2475 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2476 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2477 futex_reltimed_wait_cancelable for cancelabla mode.
2478 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2479 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2480 macros.
2481 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2482 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2483 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2484 SYSCALL_CANCEL_NCS): New macro.
2485 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2486 (lll_timedwait_tid): Remove macro.
2487 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2488 Likewise.
2489 (lll_timedwait_tid): Likewise.
2490 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2491 Likewise.
2492 (lll_timedwait_tid): Likewise.
2493 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2494 Likewise.
2495 (lll_timedwait_tid): Likewise.
2496 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2497 Use INTERNAL_SYSCALL_CANCEL.
2498 * sysdeps/unix/sysv/linux/futex-internal.h
2499 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2500 instead of __pthread_{enable,disable}_asynccancel.
2501 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2502 (lll_futex_wait_cancel): New macro.
2503
2504 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2505 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2506
2507 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2508 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2509
2510 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2511 in backtrace analysis.
2512 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2513 side-effects.
2514 (tf_send): Likewise.
2515
2516 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2517 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2518 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2519 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2520 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2521 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2522 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2523 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2524 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2525 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2526 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2527 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2528 Likewise.
2529 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2530 tst-cancel-wrappers.sh.
2531 (generated): Remove tst-cancel-wrappers.out.
2532 (tst-cancel-wrappers.out): Remove rule.
2533 * nptl/tst-cancel-wrappers.sh: Remove file.
2534
2535 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2536
2537 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2538 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2539 Update.
2540
2541 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2542
2543 [BZ #23640]
2544 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2545 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2546 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2547 close-on-exec reset for adddup2 file action.
2548 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2549
2550 2019-01-03 Zack Weinberg <zackw@panix.com>
2551
2552 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2553 parameter. Only use deprecated scanf when __USE_GNU is defined
2554 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2555 than 201103L, whichever is relevant for the language being compiled.
2556
2557 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2558 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2559 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2560 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2561 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2562
2563 * libio/iovsscanf.c
2564 * libio/fwscanf.c
2565 * libio/iovswscanf.c
2566 * libio/swscanf.c
2567 * libio/vscanf.c
2568 * libio/vwscanf.c
2569 * libio/wscanf.c
2570 * stdio-common/fscanf.c
2571 * stdio-common/scanf.c
2572 * stdio-common/vfscanf.c
2573 * stdio-common/vfwscanf.c
2574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2575 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2576 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2577 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2578 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2579 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2580 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2581 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2582 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2583 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2584 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2585 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2586 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2587 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2588 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2589
2590 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2591 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2592 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2593 not sscanf.
2594 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2595 with a preprocessor macro.
2596
2597 * stdio-common/bug21.c, stdio-common/scanf14.c:
2598 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2599 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2600 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2601 to xscanf, xfscanf, xsscanf.
2602
2603 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2604 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2605 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2606 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2607 xfscanf, xsscanf.
2608 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2609 override feature selection macros or provide definitions of u_char etc.
2610 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2611 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2612 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2613 with -std=gnu89.
2614
2615 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2616
2617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2618 bits/termios-misc.h.
2619 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2620 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2621 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2622 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2623 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2624 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2625
2626 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2627 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2628 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2629 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2630 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2631 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2632 termios-misc.h.
2633 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2634 (sysdep_headers): Add termios-misc.h.
2635
2636 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2637 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2638 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2639
2640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2641 termios-tcflow.h.
2642 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2643 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2644 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2645 TCSAFLUSH): Move to termios-tcflow.h.
2646 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2647 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2648 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2649 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2650
2651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2652 termios-c_lflag.h.
2653 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2654 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2655 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2656 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2657 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2658 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2659 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2660 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2661 Likewise.
2662 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2663 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2664 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2665 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2666
2667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2668 termios-c_cflag.h.
2669 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2670 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2671 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2672 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2673 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2674 termios-c_cflag.h.
2675 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2676 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2677 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2678 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2679
2680 [BZ #23783]
2681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2682 termios-baud.h.
2683 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2684 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2685 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2686 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2687 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2688 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2689 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2690 __MAX_BAUD): Move to termios-baud.h.
2691 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2692 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2693 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2695 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2696
2697 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2698 termios-c_oflag.h.
2699 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2700 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2701 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2702 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2703 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2704 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2705 termios-c_oflag.h.
2706 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2707 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2708 FFR1): Likewise.
2709 [USE_MISC] (XTABS): Likewise.
2710 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2711 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2714
2715 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2716 termios-c_iflag.h.
2717 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2718 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2719 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2720 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2721 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2722 IUTF8): Move to termios-c_iflag.h.
2723 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2724 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2725 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2727
2728 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2729 termios-cc.h.
2730 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2731 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2732 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2733 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2734 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2735 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2736 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2737 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2738 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2739 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2741 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2742
2743 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2744 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2745 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2746 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2748 termios-struct.h.
2749 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2750 termios-struct.h.
2751 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2752 Likewise.
2753 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2754 Likewise.
2755 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2756 Likewise.
2757 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2758 Likewise.
2759 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2760 _HAVE_C_OSPEED): Define.
2761 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2762 _HAVE_C_OSPEED): Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2764 _HAVE_C_OSPEED): Likewise.
2765 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2766 (cfsetospeed): Check for define value instead of existence.
2767 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2768 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2769 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2770 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2771 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2772
2773 [BZ #17783]
2774 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2775 Define.
2776 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2777 (TIOCSER_TEMT): Likewise.
2778 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2779 (TEOCSER_TEMT): Likewise.
2780
2781 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2782
2783 [BZ #24011]
2784 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2785
2786 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2787
2788 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2789
2790 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2791
2792 * sysdeps/htl/pt-barrierattr-setpshared.c
2793 (pthread_barrierattr_setpshared): Add stub warning.
2794 * sysdeps/htl/pt-condattr-setpshared.c
2795 (pthread_condattr_setpshared): Likewise.
2796 * sysdeps/htl/pt-mutexattr-setpshared.c
2797 (pthread_mutexattr_setpshared): Likewise.
2798 * sysdeps/htl/pt-rwlockattr-setpshared.c
2799 (pthread_rwlockattr_setpshared): Likewise.
2800 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2801 (pthread_mutexattr_setpshared): Likewise.
2802
2803 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2804
2805 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2806 constants to match with Linux 4.20.
2807
2808 * sysdeps/mips/mips32/libm-test-ulps: Update.
2809 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2810
2811 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2812
2813 [BZ #24034]
2814 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2815 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2816 than __typeof (...) for the a_ptr variable.
2817
2818 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2819
2820 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2821 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2822 * libio/Makefile (tests): Add tst-sprintf-ub and
2823 tst-sprintf-chk-ub.
2824 (CFLAGS-tst-sprintf-ub.c): New variable.
2825 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2826 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2827 destination buffer and check for overflows in fortified mode.
2828 * libio/libioP.h (PRINTF_CHK): New macro.
2829 * libio/tst-sprintf-chk-ub.c: New file.
2830 * libio/tst-sprintf-ub.c: Likewise.
2831
2832 2019-01-02 Florian Weimer <fweimer@redhat.com>
2833
2834 [BZ #24018]
2835 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2836 failure.
2837
2838 2019-01-02 Florian Weimer <fweimer@redhat.com>
2839
2840 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2841
2842 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2845 macro.
2846
2847 * sysdeps/unix/sysv/linux/netpacket/packet.h
2848 (PACKET_IGNORE_OUTGOING): New macro.
2849
2850 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2851 macro.
2852
2853 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2854 version to 4.20.
2855 (riscv_flush_icache): New syscall.
2856
2857 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2858 trailing whitespace removed.
2859 * scripts/config.guess: Update to version 2019-01-01.
2860 * scripts/config.sub: Update to version 2019-01-01.
2861 * scripts/move-if-change: Update from gnulib.
2862
2863 * NEWS: Update copyright dates.
2864 * catgets/gencat.c (print_version): Likewise.
2865 * csu/version.c (banner): Likewise.
2866 * debug/catchsegv.sh: Likewise.
2867 * debug/pcprofiledump.c (print_version): Likewise.
2868 * debug/xtrace.sh (do_version): Likewise.
2869 * elf/ldconfig.c (print_version): Likewise.
2870 * elf/ldd.bash.in: Likewise.
2871 * elf/pldd.c (print_version): Likewise.
2872 * elf/sotruss.sh: Likewise.
2873 * elf/sprof.c (print_version): Likewise.
2874 * iconv/iconv_prog.c (print_version): Likewise.
2875 * iconv/iconvconfig.c (print_version): Likewise.
2876 * locale/programs/locale.c (print_version): Likewise.
2877 * locale/programs/localedef.c (print_version): Likewise.
2878 * login/programs/pt_chown.c (print_version): Likewise.
2879 * malloc/memusage.sh (do_version): Likewise.
2880 * malloc/memusagestat.c (print_version): Likewise.
2881 * malloc/mtrace.pl: Likewise.
2882 * manual/libc.texinfo: Likewise.
2883 * nptl/version.c (banner): Likewise.
2884 * nscd/nscd.c (print_version): Likewise.
2885 * nss/getent.c (print_version): Likewise.
2886 * nss/makedb.c (print_version): Likewise.
2887 * posix/getconf.c (main): Likewise.
2888 * scripts/test-installation.pl: Likewise.
2889 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2890
2891 * All files with FSF copyright notices: Update copyright dates
2892 using scripts/update-copyrights.
2893 * locale/programs/charmap-kw.h: Regenerated.
2894 * locale/programs/locfile-kw.h: Likewise.
2895
2896 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2897
2898 * timezone/zdump.c: Update from tzcode 2018i.
2899 * timezone/zic.c: Likewise.
2900
2901 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2902
2903 regex: improve Gnulib port to AIX
2904 From the glibc point of view, this removes duplicate macro
2905 definitions and is obviously safe.
2906 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2907 * posix/regex_internal.h:
2908 (__attribute__, __attribute_warn_unused_result__):
2909 Remove; already defined elsewhere.
2910
2911 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2912
2913 [BZ #24027]
2914 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2915 copying operation. (ncopies had the wrong type, resulting in an
2916 integer wraparound and too few elements being copied.)
2917
2918 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2919
2920 [BZ #24022]
2921 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2922 <asm/syscalls.h> exists with __has_include__ before including it.
2923
2924 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2925
2926 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2927 version to 4.20.
2928
2929 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2930
2931 * hurd/lookup-retry: Include <unistd.h>.
2932 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2933 Release it on return. Handle "pid" magical lookup retry.
2934
2935 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2936
2937 [BZ #10496]
2938 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2939 (t_fmt_ampm): Likewise.
2940 * localedata/locales/aa_ER (t_fmt): Likewise.
2941 (t_fmt_ampm): Likewise.
2942 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2943 (t_fmt_ampm): Likewise.
2944 * localedata/locales/aa_ET (t_fmt): Likewise.
2945 (t_fmt_ampm): Likewise.
2946 * localedata/locales/am_ET (t_fmt): Likewise.
2947 (t_fmt_ampm): Likewise.
2948 * localedata/locales/byn_ER (t_fmt): Likewise.
2949 (t_fmt_ampm): Likewise.
2950 * localedata/locales/om_ET (t_fmt): Likewise.
2951 (t_fmt_ampm): Likewise.
2952 * localedata/locales/sid_ET (t_fmt): Likewise.
2953 (t_fmt_ampm): Likewise.
2954 * localedata/locales/so_DJ (t_fmt): Likewise.
2955 (t_fmt_ampm): Likewise.
2956 * localedata/locales/so_ET (t_fmt): Likewise.
2957 (t_fmt_ampm): Likewise.
2958 * localedata/locales/so_SO (t_fmt): Likewise.
2959 (t_fmt_ampm): Likewise.
2960 * localedata/locales/ti_ER (t_fmt): Likewise.
2961 (t_fmt_ampm): Likewise.
2962 * localedata/locales/ti_ET (t_fmt): Likewise.
2963 (t_fmt_ampm): Likewise.
2964 * localedata/locales/tig_ER (t_fmt): Likewise.
2965 (t_fmt_ampm): Likewise.
2966 * localedata/locales/wal_ET (t_fmt): Likewise.
2967 (t_fmt_ampm): Likewise.
2968
2969 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2970 * localedata/locales/ar_IN (t_fmt): Likewise.
2971 * localedata/locales/bhb_IN (t_fmt): Likewise.
2972 * localedata/locales/bho_IN (t_fmt): Likewise.
2973 * localedata/locales/bi_VU (t_fmt): Likewise.
2974 * localedata/locales/bn_BD (t_fmt): Likewise.
2975 * localedata/locales/bn_IN (t_fmt): Likewise.
2976 * localedata/locales/brx_IN (t_fmt): Likewise.
2977 * localedata/locales/doi_IN (t_fmt): Likewise.
2978 * localedata/locales/en_HK (t_fmt): Likewise.
2979 (t_fmt_ampm): Likewise.
2980 * localedata/locales/en_IN (t_fmt): Likewise.
2981 * localedata/locales/en_PH (t_fmt): Likewise.
2982 * localedata/locales/gu_IN (t_fmt): Likewise.
2983 * localedata/locales/hi_IN (t_fmt): Likewise.
2984 * localedata/locales/hif_FJ (t_fmt): Likewise.
2985 * localedata/locales/hne_IN (t_fmt): Likewise.
2986 * localedata/locales/kn_IN (t_fmt): Likewise.
2987 * localedata/locales/kok_IN (t_fmt): Likewise.
2988 * localedata/locales/ks_IN (t_fmt): Likewise.
2989 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2990 * localedata/locales/mag_IN (t_fmt): Likewise.
2991 * localedata/locales/mai_IN (t_fmt): Likewise.
2992 * localedata/locales/mjw_IN (t_fmt): Likewise.
2993 * localedata/locales/ml_IN (t_fmt): Likewise.
2994 * localedata/locales/mni_IN (t_fmt): Likewise.
2995 * localedata/locales/mr_IN (t_fmt): Likewise.
2996 * localedata/locales/ms_MY (t_fmt): Likewise.
2997 * localedata/locales/pa_IN (t_fmt): Likewise.
2998 * localedata/locales/raj_IN (t_fmt): Likewise.
2999 * localedata/locales/sa_IN (t_fmt): Likewise.
3000 * localedata/locales/sat_IN (t_fmt): Likewise.
3001 * localedata/locales/sd_IN (t_fmt): Likewise.
3002 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3003 * localedata/locales/tcy_IN (t_fmt): Likewise.
3004 * localedata/locales/the_NP (t_fmt): Likewise.
3005 * localedata/locales/to_TO (t_fmt): Likewise.
3006 * localedata/locales/ur_IN (t_fmt): Likewise.
3007
3008 * localedata/locales/hif_FJ (d_t_fmt): Set to
3009 "%A %d %b %Y %I:%M:%S %p".
3010 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3011
3012 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3013 * localedata/locales/ar_BH (t_fmt): Likewise.
3014 * localedata/locales/ar_DZ (t_fmt): Likewise.
3015 * localedata/locales/ar_EG (t_fmt): Likewise.
3016 * localedata/locales/ar_IQ (t_fmt): Likewise.
3017 * localedata/locales/ar_JO (t_fmt): Likewise.
3018 * localedata/locales/ar_KW (t_fmt): Likewise.
3019 * localedata/locales/ar_LB (t_fmt): Likewise.
3020 * localedata/locales/ar_LY (t_fmt): Likewise.
3021 * localedata/locales/ar_OM (t_fmt): Likewise.
3022 * localedata/locales/ar_QA (t_fmt): Likewise.
3023 * localedata/locales/ar_SD (t_fmt): Likewise.
3024 * localedata/locales/ar_SS (t_fmt): Likewise.
3025 * localedata/locales/ar_SY (t_fmt): Likewise.
3026 * localedata/locales/ar_TN (t_fmt): Likewise.
3027 * localedata/locales/ar_YE (t_fmt): Likewise.
3028
3029 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3030 (t_fmt_ampm): Likewise.
3031 * localedata/locales/gez_ET (t_fmt): Likewise.
3032 (t_fmt_ampm): Likewise.
3033
3034 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3035 (t_fmt_ampm): Likewise.
3036 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3037
3038 * localedata/locales/zh_HK (t_fmt):
3039 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3040
3041 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3042 because this locale does not use the 12-hour clock.
3043 (t_fmt): Set to "%Z %H:%M:%S".
3044 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3045
3046 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3047 because this locale does not use the 12-hour clock.
3048 (t_fmt): Set to "%H:%M:%S %Z".
3049 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3050
3051 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3052 because this locale does not use the 12-hour clock.
3053 (t_fmt): Set to "%T".
3054 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3055 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3056
3057 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3058 because this locale does not use the 12-hour clock.
3059 (t_fmt): Set to "%H:%M:%S %Z".
3060 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3061
3062 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3063 because this locale does not use the 12-hour clock.
3064 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3065 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3066
3067 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3068
3069 [BZ #10496]
3070 [BZ #23724]
3071 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3072 (t_fmt_ampm): Likewise.
3073 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3074 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3075 (d_fmt): Set to "%-d.%-m.%y".
3076
3077 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3078
3079 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3080 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3081 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3082 Likewise.
3083 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3084 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3085 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3086 function.
3087 * support/blob_repeat.c (check_mul_overflow_size_t,
3088 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3089
3090 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3091
3092 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3093
3094 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3095
3096 regex: simplify Gnulib port
3097 This simplifies the code, by removing stuff intended for porting
3098 to Gnulib but no longer needed there.
3099 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3100 uses of libc_hidden_def, weak_alias.
3101 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3102 _Restrict_ except for public-facing headers.
3103 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3104 Remove; already defined elsewhere.
3105 * posix/regex.c, posix/regex_internal.h:
3106 Use __GNUC_PREREQ instead of rolling our own.
3107 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3108
3109 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3110
3111 * benchtests/bench-strlen.c (generic_strlen): New function.
3112 (memchr_strlen): New function.
3113
3114 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3115
3116 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3117 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3118 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3119
3120 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3123
3124 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3127 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3128 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3129 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3130 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3131 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3132 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3133
3134 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3135
3136 [BZ #24023]
3137 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3138 PLT reference in libc.so.
3139 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3140 _Q_lltoq and _Q_qtod PLT references in libc.so.
3141
3142 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3143
3144 * benchtests/bench-memchr.c: Cleanup defines.
3145 * benchtests/bench-memcmp.c: Likewise.
3146 * benchtests/bench-memset.c: Likewise.
3147 * benchtests/bench-memset-large.c: Likewise.
3148 * benchtests/bench-memset-walk.c: Likewise.
3149 * benchtests/bench-stpcpy.c: Likewise.
3150 * benchtests/bench-stpncpy.c: Likewise.
3151 * benchtests/bench-strcat.c: Likewise.
3152 * benchtests/bench-strchr.c: Likewise.
3153 * benchtests/bench-strcmp.c: Likewise.
3154 * benchtests/bench-strcpy.c: Likewise.
3155 * benchtests/bench-strcspn.c: Likewise.
3156 * benchtests/bench-string.h: Likewise.
3157 * benchtests/bench-strlen.c: Likewise.
3158 * benchtests/bench-strncat.c: Likewise.
3159 * benchtests/bench-strncmp.c: Likewise.
3160 * benchtests/bench-strncpy.c: Likewise.
3161 * benchtests/bench-strnlen.c: Likewise.
3162 * benchtests/bench-strpbrk.c: Likewise.
3163 * benchtests/bench-strrchr.c: Likewise.
3164 * benchtests/bench-strspn.c: Likewise.
3165
3166 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3167
3168 * stdlib/longlong.h: Update from GCC.
3169
3170 [BZ #23993]
3171 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3172 * configure: Regenerated.
3173 * manual/install.texi (Tools for Compilation): Update minimum GCC
3174 version.
3175 * INSTALL: Regenerated.
3176
3177 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3178
3179 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3180
3181 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3182
3183 * malloc/malloc.c (mremap_chunk): Additional checks.
3184
3185 2018-12-21 Mao Han <han_mao@c-sky.com>
3186
3187 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3188 * scripts/build-many-glibcs.py: Add C-SKY targets.
3189 * sysdeps/csky/Implies: New file.
3190 * sysdeps/csky/Makefile: Likewise.
3191 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3192 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3193 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3194 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3195 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3196 * sysdeps/csky/abiv2/memmove.S: Likewise.
3197 * sysdeps/csky/abiv2/memset.S: Likewise.
3198 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3199 * sysdeps/csky/abiv2/start.S: Likewise.
3200 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3201 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3202 * sysdeps/csky/abiv2/strlen.S: Likewise.
3203 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3204 * sysdeps/csky/abort-instr.h: Likewise.
3205 * sysdeps/csky/atomic-machine.h: Likewise.
3206 * sysdeps/csky/bits/endian.h: Likewise.
3207 * sysdeps/csky/bits/fenv.h: Likewise.
3208 * sysdeps/csky/bits/link.h: Likewise.
3209 * sysdeps/csky/bits/setjmp.h: Likewise.
3210 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3211 * sysdeps/csky/bsd-setjmp.S: Likewise.
3212 * sysdeps/csky/configure: Likewise.
3213 * sysdeps/csky/configure.ac: Likewise.
3214 * sysdeps/csky/dl-machine.h: Likewise.
3215 * sysdeps/csky/dl-procinfo.c: Likewise.
3216 * sysdeps/csky/dl-procinfo.h: Likewise.
3217 * sysdeps/csky/dl-sysdep.h: Likewise.
3218 * sysdeps/csky/dl-tls.h: Likewise.
3219 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3220 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3221 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3222 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3223 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3224 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3225 * sysdeps/csky/fpu/fegetround.c: Likewise.
3226 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3227 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3228 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3229 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3230 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3231 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3232 * sysdeps/csky/fpu/fesetround.c: Likewise.
3233 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3234 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3235 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3236 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3237 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3238 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3239 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3240 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3241 * sysdeps/csky/fpu_control.h: Likewise.
3242 * sysdeps/csky/gccframe.h: Likewise.
3243 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3244 * sysdeps/csky/ldsodefs.h: Likewise.
3245 * sysdeps/csky/libc-tls.c: Likewise.
3246 * sysdeps/csky/linkmap.h: Likewise.
3247 * sysdeps/csky/machine-gmon.h: Likewise.
3248 * sysdeps/csky/memusage.h: Likewise.
3249 * sysdeps/csky/nofpu/Implies: Likewise.
3250 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3251 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3252 * sysdeps/csky/nptl/Makefile: Likewise.
3253 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3254 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3255 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3256 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3257 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3258 * sysdeps/csky/nptl/tls.h: Likewise.
3259 * sysdeps/csky/preconfigure: Likewise.
3260 * sysdeps/csky/sfp-machine.h: Likewise.
3261 * sysdeps/csky/sotruss-lib.c: Likewise.
3262 * sysdeps/csky/stackinfo.h: Likewise.
3263 * sysdeps/csky/sysdep.h: Likewise.
3264 * sysdeps/csky/tininess.h: Likewise.
3265 * sysdeps/csky/tst-audit.h: Likewise.
3266 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3267 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3268 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3269 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3270 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3271 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3272 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3273 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3274 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3275 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3276 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3277 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3278 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3279 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3280 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3281 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3282 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3283 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3284 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3285 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3286 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3287 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3288 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3289 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3290 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3291 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3292 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3293 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3294 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3295 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3296 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3297 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3298 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3299 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3300 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3301 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3302 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3303 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3304 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3305 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3306 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3307 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3308 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3309 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3310
3311 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3312
3313 * include/time.h (__difftime64): Add.
3314 * time/difftime.c (subtract): convert to 64-bit time.
3315 * time/difftime.c (__difftime64): Add.
3316 * time/difftime.c (__difftime): Wrap around __difftime64.
3317
3318 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3319
3320 * manual/examples/add.c: Remove redundant "if not".
3321 * manual/examples/argp-ex1.c: Likewise.
3322 * manual/examples/argp-ex2.c: Likewise.
3323 * manual/examples/argp-ex3.c: Likewise.
3324 * manual/examples/argp-ex4.c: Likewise.
3325 * manual/examples/atexit.c: Likewise.
3326 * manual/examples/db.c: Likewise.
3327 * manual/examples/dir.c: Likewise.
3328 * manual/examples/dir2.c: Likewise.
3329 * manual/examples/execinfo.c: Likewise.
3330 * manual/examples/filecli.c: Likewise.
3331 * manual/examples/filesrv.c: Likewise.
3332 * manual/examples/fmtmsgexpl.c: Likewise.
3333 * manual/examples/genpass.c: Likewise.
3334 * manual/examples/inetcli.c: Likewise.
3335 * manual/examples/inetsrv.c: Likewise.
3336 * manual/examples/isockad.c: Likewise.
3337 * manual/examples/longopt.c: Likewise.
3338 * manual/examples/memopen.c: Likewise.
3339 * manual/examples/memstrm.c: Likewise.
3340 * manual/examples/mkdirent.c: Likewise.
3341 * manual/examples/mkfsock.c: Likewise.
3342 * manual/examples/mkisock.c: Likewise.
3343 * manual/examples/mygetpass.c: Likewise.
3344 * manual/examples/pipe.c: Likewise.
3345 * manual/examples/popen.c: Likewise.
3346 * manual/examples/rprintf.c: Likewise.
3347 * manual/examples/search.c: Likewise.
3348 * manual/examples/select.c: Likewise.
3349 * manual/examples/setjmp.c: Likewise.
3350 * manual/examples/sigh1.c: Likewise.
3351 * manual/examples/sigusr.c: Likewise.
3352 * manual/examples/stpcpy.c: Likewise.
3353 * manual/examples/strdupa.c: Likewise.
3354 * manual/examples/strftim.c: Likewise.
3355 * manual/examples/subopt.c: Likewise.
3356 * manual/examples/swapcontext.c: Likewise.
3357 * manual/examples/termios.c: Likewise.
3358 * manual/examples/testopt.c: Likewise.
3359 * manual/examples/testpass.c: Likewise.
3360 * manual/examples/timeval_subtract.c: Likewise.
3361
3362 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3363
3364 * sysdeps/x86/fpu/math_private.h: New file.
3365 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3366
3367 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3368 definition.
3369 (cosh): Likewise.
3370 (tanh): Likewise.
3371
3372 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3373
3374 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3375 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3376 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3377 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3378 fields.
3379 (_dl_show_auxv): Give a special treatment to
3380 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3381 and AT_L3_CACHEGEOMETRY.
3382 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3383 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3384 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3385 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3386
3387 2018-12-19 Andreas Schwab <schwab@suse.de>
3388
3389 * nscd/connections.c (check_use): Don't abort on invalid len.
3390
3391 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3392
3393 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3394 values in the 64bit value cases.
3395
3396 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3397
3398 * include/time.h
3399 (__ctime64_r): Add.
3400 * time/ctime_r.c
3401 (__ctime64_r): Add.
3402 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3403
3404 * include/time.h
3405 (__ctime64): Add.
3406 * time/gmtime.c
3407 (__ctime64): Add.
3408 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3409
3410 * include/time.h
3411 (__gmtime64_r): Add.
3412 * time/gmtime.c
3413 (__gmtime64_r): Add.
3414 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3415
3416 * include/time.h
3417 (__gmtime64): Add.
3418 * time/gmtime.c
3419 (__gmtime64): Add.
3420 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3421
3422 * include/time.h
3423 (__localtime64_r): Add.
3424 * time/localtime.c
3425 (__localtime64_r): Add.
3426 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3427
3428 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3429
3430 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3431 kernel_sigction definition.
3432
3433 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3434
3435 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3436
3437 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3438 __syscall_rt_sigaction.
3439 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3440 (kernel_sigaction): Use Linux generic defintion.
3441 (STUB): Define.
3442 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3443 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3444 (__syscall_rt_sigaction): Remove implementation.
3445 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3446 hidden.
3447 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3448 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3449 INTERNAL_SYSCALL): Remove definitions.
3450 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3451 action and signal set size.
3452 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3453 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3454
3455 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3456 James Clarke <jrtc27@jrtc27.com>
3457
3458 [BZ #23967]
3459 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3460 Define if SA_RESTORER is defined.
3461 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3462 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3463 already defined.
3464 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3465 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3466 definitions.
3467 (HAS_SA_RESTORER): Define.
3468 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3469 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3470 (HAS_SA_RESTORER): Define.
3471 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3472 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3473 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3474 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3476
3477 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3478
3479 * sysdeps/unix/sysv/linux/kernel-features.h
3480 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3481 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3482 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3483 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3484 (__ASSUME_ST_INO_64_BIT): Likewise.
3485 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3486 <kernel-features.h>.
3487 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3488 Remove conditional code.
3489 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3490 <kernel-features.h>.
3491 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3492 Remove conditional code.
3493 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3494 <kernel-features.h>.
3495 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3496 Remove conditional code.
3497 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3498 <kernel-features.h>.
3499 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3500 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3501
3502 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3503
3504 * sysdeps/s390/multiarch/ifunc-resolve.h
3505 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3506 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3507 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3508 Delete macro definition.
3509 (s390_libc_ifunc_init): Rename to
3510 s390_libc_ifunc_expr_stfle_init.
3511 * sysdeps/s390/bzero: Use
3512 s390_libc_ifunc_expr_stfle_init instead of
3513 s390_libc_ifunc_init.
3514 * sysdeps/s390/memcmp.c: Likewise.
3515 * sysdeps/s390/memcpy.c: Likewise.
3516 * sysdeps/s390/mempcpy.c: Likewise.
3517 * sysdeps/s390/memset.c: Likewise.
3518
3519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3520
3521 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3522 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3523
3524 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3525
3526 * sysdeps/s390/multiarch/Makefile
3527 (sysdep_routines): Remove wmemcmp variants.
3528 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3529 * sysdeps/s390/multiarch/ifunc-impl-list.c
3530 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3531 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3532 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3533 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3534 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3535 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3536 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3537 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3538
3539 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3540
3541 * sysdeps/s390/multiarch/Makefile
3542 (sysdep_routines): Remove wmemset variants.
3543 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3544 * sysdeps/s390/multiarch/ifunc-impl-list.c
3545 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3546 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3547 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3548 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3549 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3550 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3551 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3552 * sysdeps/s390/ifunc-wmemset.h: New file.
3553
3554 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3555
3556 * sysdeps/s390/multiarch/Makefile
3557 (sysdep_routines): Remove wmemchr variants.
3558 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3559 * sysdeps/s390/multiarch/ifunc-impl-list.c
3560 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3561 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3562 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3563 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3564 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3565 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3566 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3567 * sysdeps/s390/ifunc-wmemchr.h: New file.
3568
3569 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3570
3571 * sysdeps/s390/multiarch/Makefile
3572 (sysdep_routines): Remove wcscspn variants.
3573 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3574 * sysdeps/s390/multiarch/ifunc-impl-list.c
3575 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3576 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3577 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3578 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3579 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3580 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3581 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3582 * sysdeps/s390/ifunc-wcscspn.h: New file.
3583
3584 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3585
3586 * sysdeps/s390/multiarch/Makefile
3587 (sysdep_routines): Remove wcspbrk variants.
3588 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3589 * sysdeps/s390/multiarch/ifunc-impl-list.c
3590 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3591 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3592 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3593 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3594 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3595 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3596 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3597 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3598
3599 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3600
3601 * sysdeps/s390/multiarch/Makefile
3602 (sysdep_routines): Remove wcsspn variants.
3603 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3604 * sysdeps/s390/multiarch/ifunc-impl-list.c
3605 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3606 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3607 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3608 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3609 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3610 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3611 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3612 * sysdeps/s390/ifunc-wcsspn.h: New file.
3613
3614 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3615
3616 * sysdeps/s390/multiarch/Makefile
3617 (sysdep_routines): Remove wcsrchr variants.
3618 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3619 * sysdeps/s390/multiarch/ifunc-impl-list.c
3620 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3621 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3622 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3623 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3624 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3625 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3626 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3627 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3628
3629 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3630
3631 * sysdeps/s390/multiarch/Makefile
3632 (sysdep_routines): Remove wcschrnul variants.
3633 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3634 * sysdeps/s390/multiarch/ifunc-impl-list.c
3635 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3636 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3637 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3638 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3639 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3640 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3641 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3642 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3643
3644 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3645
3646 * sysdeps/s390/multiarch/Makefile
3647 (sysdep_routines): Remove wcschr variants.
3648 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3649 * sysdeps/s390/multiarch/ifunc-impl-list.c
3650 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3651 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3652 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3653 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3654 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3655 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3656 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3657 * sysdeps/s390/ifunc-wcschr.h: New file.
3658
3659 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3660
3661 * sysdeps/s390/multiarch/Makefile
3662 (sysdep_routines): Remove wcsncmp variants.
3663 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3664 * sysdeps/s390/multiarch/ifunc-impl-list.c
3665 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3666 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3667 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3668 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3669 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3670 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3671 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3672 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3673
3674 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3675
3676 * sysdeps/s390/multiarch/Makefile
3677 (sysdep_routines): Remove wcscmp variants.
3678 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3679 * sysdeps/s390/multiarch/ifunc-impl-list.c
3680 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3681 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3682 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3683 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3684 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3685 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3686 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3687 * sysdeps/s390/ifunc-wcscmp.h: New file.
3688
3689 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3690
3691 * sysdeps/s390/multiarch/Makefile
3692 (sysdep_routines): Remove wcsncat variants.
3693 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3694 * sysdeps/s390/multiarch/ifunc-impl-list.c
3695 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3696 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3697 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3698 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3699 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3700 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3701 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3702 * sysdeps/s390/ifunc-wcsncat.h: New file.
3703
3704 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3705
3706 * sysdeps/s390/multiarch/Makefile
3707 (sysdep_routines): Remove wcscat variants.
3708 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3709 * sysdeps/s390/multiarch/ifunc-impl-list.c
3710 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3711 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3712 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3713 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3714 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3715 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3716 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3717 * sysdeps/s390/ifunc-wcscat.h: New file.
3718
3719 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3720
3721 * sysdeps/s390/multiarch/Makefile
3722 (sysdep_routines): Remove wcpncpy variants.
3723 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3724 * sysdeps/s390/multiarch/ifunc-impl-list.c
3725 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3726 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3727 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3728 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3729 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3730 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3731 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3732 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3733
3734 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3735
3736 * sysdeps/s390/multiarch/Makefile
3737 (sysdep_routines): Remove wcsncpy variants.
3738 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3739 * sysdeps/s390/multiarch/ifunc-impl-list.c
3740 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3741 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3742 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3743 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3744 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3745 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3746 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3747 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3748
3749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3750
3751 * sysdeps/s390/multiarch/Makefile
3752 (sysdep_routines): Remove wcpcpy variants.
3753 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3754 * sysdeps/s390/multiarch/ifunc-impl-list.c
3755 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3756 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3757 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3758 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3759 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3760 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3761 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3762 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3763
3764 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3765
3766 * sysdeps/s390/multiarch/Makefile
3767 (sysdep_routines): Remove wcscpy variants.
3768 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3769 * sysdeps/s390/multiarch/ifunc-impl-list.c
3770 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3771 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3772 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3773 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3774 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3775 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3776 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3777 * sysdeps/s390/ifunc-wcscpy.h: New file.
3778
3779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3780
3781 * sysdeps/s390/multiarch/Makefile
3782 (sysdep_routines): Remove wcsnlen variants.
3783 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3784 * sysdeps/s390/multiarch/ifunc-impl-list.c
3785 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3786 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3787 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3788 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3789 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3790 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3791 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3792 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3793
3794 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3795
3796 * sysdeps/s390/multiarch/Makefile
3797 (sysdep_routines): Remove wcslen variants.
3798 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3799 * sysdeps/s390/multiarch/ifunc-impl-list.c
3800 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3801 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3802 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3803 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3804 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3805 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3806 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3807 * sysdeps/s390/ifunc-wcslen.h: New file.
3808
3809 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3810
3811 * sysdeps/s390/multiarch/Makefile
3812 (sysdep_routines): Remove memrchr variants.
3813 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3814 * sysdeps/s390/multiarch/ifunc-impl-list.c
3815 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3816 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3817 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3818 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3819 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3820 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3821 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3822 * sysdeps/s390/ifunc-memrchr.h: New file.
3823
3824 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3825
3826 * sysdeps/s390/multiarch/Makefile
3827 (sysdep_routines): Remove memccpy variants.
3828 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3829 * sysdeps/s390/multiarch/ifunc-impl-list.c
3830 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3831 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3832 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3833 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3834 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3835 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3836 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3837 * sysdeps/s390/ifunc-memccpy.h: New file.
3838
3839 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3840
3841 * sysdeps/s390/multiarch/Makefile
3842 (sysdep_routines): Remove rawmemchr variants.
3843 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3844 * sysdeps/s390/multiarch/ifunc-impl-list.c
3845 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3846 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3847 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3848 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3849 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3850 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3851 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3852 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3853
3854 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3855
3856 * sysdeps/s390/multiarch/Makefile
3857 (sysdep_routines): Remove memchr variants.
3858 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3859 * sysdeps/s390/multiarch/ifunc-impl-list.c
3860 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3861 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3862 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3863 * sysdeps/s390/multiarch/memchr.c: Move to ...
3864 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3865 * sysdeps/s390/ifunc-memchr.h: New file.
3866 * sysdeps/s390/s390-64/memchr.S: Move to ...
3867 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3868 for 31/64bit and ifunc handling.
3869 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3870 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3871 * sysdeps/s390/s390-32/memchr.S: Likewise.
3872
3873 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3874
3875 * sysdeps/s390/multiarch/Makefile
3876 (sysdep_routines): Remove strcspn variants.
3877 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3878 * sysdeps/s390/multiarch/ifunc-impl-list.c
3879 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3880 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3881 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3882 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3883 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3884 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3885 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3886 * sysdeps/s390/ifunc-strcspn.h: New file.
3887
3888 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3889
3890 * sysdeps/s390/multiarch/Makefile
3891 (sysdep_routines): Remove strpbrk variants.
3892 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3893 * sysdeps/s390/multiarch/ifunc-impl-list.c
3894 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3895 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3896 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3897 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3898 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3899 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3900 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3901 * sysdeps/s390/ifunc-strpbrk.h: New file.
3902
3903 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3904
3905 * sysdeps/s390/multiarch/Makefile
3906 (sysdep_routines): Remove strspn variants.
3907 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3908 * sysdeps/s390/multiarch/ifunc-impl-list.c
3909 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3910 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3911 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3912 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3913 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3914 * sysdeps/s390/multiarch/strspn.c: Move to ...
3915 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3916 * sysdeps/s390/ifunc-strspn.h: New file.
3917
3918 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3919
3920 * sysdeps/s390/multiarch/Makefile
3921 (sysdep_routines): Remove strrchr variants.
3922 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3923 * sysdeps/s390/multiarch/ifunc-impl-list.c
3924 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3925 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3926 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3927 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3928 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3929 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3930 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3931 * sysdeps/s390/ifunc-strrchr.h: New file.
3932
3933 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3934
3935 * sysdeps/s390/multiarch/Makefile
3936 (sysdep_routines): Remove strchrnul variants.
3937 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3938 * sysdeps/s390/multiarch/ifunc-impl-list.c
3939 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3940 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3941 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3942 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3943 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3944 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3945 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3946 * sysdeps/s390/ifunc-strchrnul.h: New file.
3947
3948 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3949
3950 * sysdeps/s390/multiarch/Makefile
3951 (sysdep_routines): Remove strchr variants.
3952 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3953 * sysdeps/s390/multiarch/ifunc-impl-list.c
3954 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3955 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3956 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3957 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3958 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3959 * sysdeps/s390/multiarch/strchr.c: Move to ...
3960 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3961 * sysdeps/s390/ifunc-strchr.h: New file.
3962
3963 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3964
3965 * sysdeps/s390/multiarch/Makefile
3966 (sysdep_routines): Remove strncmp variants.
3967 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3968 * sysdeps/s390/multiarch/ifunc-impl-list.c
3969 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3970 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3971 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3972 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3973 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3974 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3975 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3976 * sysdeps/s390/ifunc-strncmp.h: New file.
3977
3978 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3979
3980 * sysdeps/s390/multiarch/Makefile
3981 (sysdep_routines): Remove strcmp variants.
3982 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3983 * sysdeps/s390/multiarch/ifunc-impl-list.c
3984 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3985 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3986 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3987 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3988 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3989 * sysdeps/s390/ifunc-strcmp.h: New file.
3990 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3991 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3992 for 31/64bit and ifunc handling.
3993 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3994 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3995 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3996
3997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3998
3999 * sysdeps/s390/multiarch/Makefile
4000 (sysdep_routines): Remove strncat variants.
4001 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4002 * sysdeps/s390/multiarch/ifunc-impl-list.c
4003 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4004 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4005 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4006 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4007 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4008 * sysdeps/s390/multiarch/strncat.c: Move to ...
4009 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4010 * sysdeps/s390/ifunc-strncat.h: New file.
4011
4012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4013
4014 * sysdeps/s390/multiarch/Makefile
4015 (sysdep_routines): Remove strcat variants.
4016 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4017 * sysdeps/s390/multiarch/ifunc-impl-list.c
4018 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4019 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4020 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4021 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4022 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4023 * sysdeps/s390/multiarch/strcat.c: Move to ...
4024 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4025 * sysdeps/s390/ifunc-strcat.h: New file.
4026
4027 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4028
4029 * sysdeps/s390/multiarch/Makefile
4030 (sysdep_routines): Remove stpncpy variants.
4031 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4032 * sysdeps/s390/multiarch/ifunc-impl-list.c
4033 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4034 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4035 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4036 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4037 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4038 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4039 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4040 * sysdeps/s390/ifunc-stpncpy.h: New file.
4041
4042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4043
4044 * sysdeps/s390/multiarch/Makefile
4045 (sysdep_routines): Remove strncpy variants.
4046 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4047 * sysdeps/s390/multiarch/ifunc-impl-list.c
4048 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4049 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4050 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4051 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4052 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4053 * sysdeps/s390/ifunc-strncpy.h: New file.
4054 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4055 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4056 and adjust ifunc handling.
4057 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4058 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4059 and adjust ifunc handling.
4060 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4061 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4062
4063 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4064
4065 * sysdeps/s390/multiarch/Makefile
4066 (sysdep_routines): Remove stpcpy variants.
4067 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4068 * sysdeps/s390/multiarch/ifunc-impl-list.c
4069 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4070 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4071 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4072 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4073 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4074 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4075 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4076 * sysdeps/s390/ifunc-stpcpy.h: New file.
4077
4078 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4079
4080 * sysdeps/s390/multiarch/Makefile
4081 (sysdep_routines): Remove strcpy variants.
4082 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4083 * sysdeps/s390/multiarch/ifunc-impl-list.c
4084 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4085 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4086 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4087 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4088 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4089 * sysdeps/s390/ifunc-strcpy.h: New file.
4090 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4091 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4092 for 31/64bit and ifunc handling.
4093 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4094 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4095 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4096
4097 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4098
4099 * sysdeps/s390/multiarch/Makefile
4100 (sysdep_routines): Remove strnlen variants.
4101 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4102 * sysdeps/s390/multiarch/ifunc-impl-list.c
4103 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4104 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4105 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4106 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4107 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4108 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4109 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4110 * sysdeps/s390/ifunc-strnlen.h: New file.
4111
4112 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4113
4114 * sysdeps/s390/multiarch/Makefile
4115 (sysdep_routines): Remove strlen variants.
4116 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4117 * sysdeps/s390/multiarch/ifunc-impl-list.c
4118 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4119 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4120 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4121 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4122 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4123 * sysdeps/s390/multiarch/strlen.c: Move to ...
4124 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4125 * sysdeps/s390/ifunc-strlen.h: New file.
4126
4127 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4128
4129 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4130 * sysdeps/s390/multiarch/ifunc-impl-list.c
4131 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4132 * sysdeps/s390/ifunc-memmem.h: New file.
4133 * sysdeps/s390/memmem.c: Likewise.
4134 * sysdeps/s390/memmem-c.c: Likewise.
4135 * sysdeps/s390/memmem-vx.c: Likewise.
4136
4137 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4138
4139 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4140 * sysdeps/s390/multiarch/ifunc-impl-list.c
4141 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4142 * sysdeps/s390/ifunc-strstr.h: New file.
4143 * sysdeps/s390/strstr.c: Likewise.
4144 * sysdeps/s390/strstr-c.c: Likewise.
4145 * sysdeps/s390/strstr-vx.c: Likewise.
4146
4147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4148
4149 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4150 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4151 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4152 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4153 New defines.
4154 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4155 * sysdeps/s390/memmove-c.c: New file.
4156 * sysdeps/s390/memmove.c: Likewise.
4157 * sysdeps/s390/multiarch/ifunc-impl-list.c
4158 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4159
4160 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4161
4162 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4163 * sysdeps/s390/configure.ac: Add check for z13 support.
4164 * sysdeps/s390/configure: Regenerated.
4165
4166 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4167
4168 * sysdeps/s390/memcopy.h: New file.
4169
4170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4171
4172 * sysdeps/s390/s390-32/bcopy.S: Remove.
4173 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4174
4175 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4176
4177 * sysdeps/s390/ifunc-memcpy.h: New File.
4178 * sysdeps/s390/memcpy.S: Move to ...
4179 * sysdeps/s390/memcpy-z900.S ... here.
4180 Move implementations from memcpy-s390x.s to here.
4181 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4182 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4183 Remove memcpy/mempcpy variants.
4184 * sysdeps/s390/Makefile (sysdep_routines):
4185 Add memcpy/mempcpy variants.
4186 * sysdeps/s390/multiarch/ifunc-impl-list.c
4187 (__libc_ifunc_impl_list): Adjust ifunc variants for
4188 memcpy and mempcpy.
4189 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4190 to ...
4191 * sysdeps/s390/memcpy.c: ... here.
4192 Adjust ifunc variants for memcpy.
4193 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4194 * sysdeps/s390/mempcpy.c: ... here.
4195 Adjust ifunc variants for mempcpy.
4196 * sysdeps/s390/mempcpy.S: Delete file.
4197
4198 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4199
4200 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4201 * sysdeps/s390/memcpy.S: ... here.
4202 Adjust to be usable for 31/64bit.
4203 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4204 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4205 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4206 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4207 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4208 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4209 Adjust to be usable for 31/64bit.
4210 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4211 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4212 * sysdeps/s390/multiarch/memcpy.c: ... here.
4213 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4214
4215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4216
4217 * sysdeps/s390/ifunc-memcmp.h: New File.
4218 * sysdeps/s390/memcmp.S: Move to ...
4219 * sysdeps/s390/memcmp-z900.S ... here.
4220 Move implementations from memcmp-s390x.s to here.
4221 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4222 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4223 Remove memcmp variants.
4224 * sysdeps/s390/Makefile (sysdep_routines):
4225 Add memcmp variants.
4226 * sysdeps/s390/multiarch/ifunc-impl-list.c
4227 (__libc_ifunc_impl_list): Adjust ifunc variants for
4228 memcmp.
4229 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4230 to ...
4231 * sysdeps/s390/memcmp.c: ... here.
4232 Adjust ifunc variants for memcmp.
4233
4234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4235
4236 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4237 * sysdeps/s390/memcmp.S: ... here.
4238 Adjust to be usable for 31/64bit.
4239 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4240 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4241 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4242 Remove memcmp.
4243 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4244 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4245 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4246 Adjust to be usable for 31/64bit.
4247 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4248 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4249 * sysdeps/s390/multiarch/memcmp.c: ... here.
4250 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4251
4252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4253
4254 * sysdeps/s390/s390-32/bzero.S: Delete file.
4255 * sysdeps/s390/s390-64/bzero.S: Likewise.
4256 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4257 * sysdeps/s390/bzero.c: New file.
4258 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4259 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4260 * sysdeps/s390/multiarch/ifunc-impl-list.c
4261 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4262
4263 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4264
4265 * sysdeps/s390/ifunc-memset.h: New File.
4266 * sysdeps/s390/memset.S: Move to ...
4267 * sysdeps/s390/memset-z900.S ... here.
4268 Move implementations from memset-s390x.s to here.
4269 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4270 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4271 Remove memset variants.
4272 * sysdeps/s390/Makefile (sysdep_routines):
4273 Add memset variants.
4274 * sysdeps/s390/multiarch/ifunc-impl-list.c
4275 (__libc_ifunc_impl_list): Adjust ifunc variants for
4276 memset.
4277 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4278 to ...
4279 * sysdeps/s390/memset.c: ... here.
4280 Adjust ifunc variants for memset.
4281
4282 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4283
4284 * sysdeps/s390/s390-64/memset.S: Move to ...
4285 * sysdeps/s390/memset.S: ... here.
4286 Adjust to be usable for 31/64bit.
4287 * sysdeps/s390/s390-32/memset.S: Delete File.
4288 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4289 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4290 Remove memset.
4291 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4292 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4293 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4294 Adjust to be usable for 31/64bit.
4295 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4296 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4297 * sysdeps/s390/multiarch/memset.c: ... here.
4298 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4299
4300 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4301
4302 * sysdeps/s390/multiarch/ifunc-resolve.h
4303 (s390_libc_ifunc_init, s390_libc_ifunc,
4304 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4305
4306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4307
4308 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4309 * sysdeps/s390/configure.ac: Add check for z10 support.
4310 * sysdeps/s390/configure: Regenerated.
4311
4312 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4313
4314 * sysdeps/i386/atomic-machine.h: Merged with ...
4315 * sysdeps/x86_64/atomic-machine.h: To ...
4316 * sysdeps/x86/atomic-machine.h: This. New file.
4317
4318 2018-12-18 Florian Weimer <fweimer@redhat.com>
4319
4320 Rewrite locale/gen-translit.pl in Python.
4321 * locale/Makefile (generated): Add C-translit.h.
4322 (before-compile): Add $(objpfx)C-translit.h.
4323 (C-translit.h): Move to $(objpfx). Create target directory.
4324 Build using Python script.
4325 * locale/gen-translit.py: New file.
4326 * locale/gen-translit.pl: Remove file.
4327 * locale/C-translit.h.in: Change comment character to '#' for
4328 easier parsing without a C preprocessor.
4329 * locale/C-translit.h: Remove generated file.
4330 * manual/install.texi (Tools for Compilation): Do not mention
4331 C-translit.h.
4332 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4333 Remove locale/C-translit.h.
4334 * scripts/update-copyrights: Likewise.
4335 * INSTALL: Regenerate.
4336
4337 2018-12-18 Florian Weimer <fweimer@redhat.com>
4338
4339 [BZ #23995]
4340 * localedata/locales/bi_VU: Remove executable bit from file.
4341
4342 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4343
4344 * include/time.h
4345 (__localtime64): Add.
4346 * manual/maint.texi: Document Y2038 symbol handling.
4347 * time/localtime.c
4348 (__localtime64): Add.
4349 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4350
4351 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4352
4353 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4354 Do not clobber r12.
4355
4356 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4357 to allow extra macros from first or second sources.
4358 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4359 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4360 (tests-special): Add $(objpfx)tst-mman-consts.out.
4361 ($(objpfx)tst-mman-consts.out): New makefile target.
4362
4363 2018-12-17 Mao Han <han_mao@c-sky.com>
4364
4365 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4366 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4367 without stat64 system call support.
4368 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4369 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4370 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4371 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4372 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4373 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4374 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4375 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4376 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4377 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4378 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4379
4380 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4381
4382 regex: fix storage-exhaustion error
4383 [BZ #18040]
4384 * posix/regexec.c (get_subexp):
4385 Do not continue if storage is exhausted.
4386
4387 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4388
4389 regex: fix heap-use-after-free error
4390 [BZ #18040]
4391 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4392 https://debbugs.gnu.org/32592
4393 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4394 call extend_buffers which reallocates the re_string_t internal buffer.
4395 Local variable 'buf' was not updated in such case, resulting in
4396 use-after-free.
4397 * posix/regexec.c (get_subexp): Update 'buf' after call to
4398 get_subexp_sub.
4399
4400 2018-12-15 Florian Weimer <fweimer@redhat.com>
4401
4402 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4403 (minimum_stride_size): Use it.
4404 (support_blob_repeat_allocate): Likewise.
4405
4406 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4407
4408 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4409 definition.
4410 (acosh): Likewise.
4411 (atanh): Likewise.
4412
4413 2018-12-14 Florian Weimer <fweimer@redhat.com>
4414
4415 * manual/process.texi (Process Creation Concepts): Remove
4416 documentation of process (ID) lifetime. List more process
4417 creation functions. Reference Process Identification section.
4418 (Process Identification): Add information about process ID
4419 lifetime. Describe Linux thread/task IDs.
4420 * manual/signal.texi (Signaling Another Process): Mention that the
4421 signal is always sent to the process.
4422
4423 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4424
4425 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4426 and tst-ldbl-efgcvt.
4427 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4428 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4429 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4430 (fcvt_tests, output_error, output_r_error, do_test): Use the
4431 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4432 select the type of floating-point variables and arguments; to
4433 produce extra tests for double and conversion specifiers for
4434 printf; and to set the names of called functions.
4435 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4436 in tst-efgcvt-template.c.
4437 * misc/tst-ldbl-efgcvt.c: Likewise.
4438
4439 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4440
4441 * nss/Makefile (tst-nss-test3.out): New rule.
4442
4443 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4444
4445 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4446 clobber sp.
4447
4448 2018-12-13 fanjinke <fanjinke@hygon.cn>
4449
4450 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4451 "HygonGenuine".
4452
4453 2018-12-13 Andreas Schwab <schwab@suse.de>
4454
4455 [BZ #23861]
4456 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4457 (__pthread_rwlock_rdlock_full): Update expected value for
4458 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4459 * nptl/tst-rwlock-pwn.c: New file.
4460 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4461
4462 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4463
4464 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4465 definition.
4466
4467 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4468
4469 * benchtests/scripts/compare_bench.py (do_compare): write to
4470 stderr in casestat is not present.
4471 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4472 stderr in case timings field is not present. Also string showing
4473 the output filename goes into the stderr.
4474
4475 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4476
4477 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4478 and ZeroDivisorError exceptions.
4479 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4480 argument to loop through user provided statistics.
4481 * benchtests/scripts/compare_bench.py (main): Include the --stats
4482 argument.
4483
4484 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4485
4486 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4487 instead of return.
4488
4489 2018-12-12 Florian Weimer <fweimer@redhat.com>
4490
4491 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4492 clause to copyright header.
4493
4494 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4495
4496 [BZ #23614]
4497 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4498 registers saved in the stack frame.
4499 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4500 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4501
4502 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4503
4504 * include/bits/monetary-ldbl.h: New file.
4505 * include/bits/printf-ldbl.h: Likewise.
4506 * include/bits/stdio-ldbl.h: Likewise.
4507 * include/bits/stdlib-ldbl.h: Likewise.
4508 * include/bits/syslog-ldbl.h: Likewise.
4509 * include/bits/wchar-ldbl.h: Likewise.
4510
4511 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4512
4513 * libio/libio.h: Remove redirection for _IO_vfprintf.
4514
4515 2018-12-11 Andreas Schwab <schwab@suse.de>
4516
4517 * Makerules: Remove all references to abilist-pattern.
4518 (update-all-abi): Simplify find expression.
4519
4520 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4521
4522 [BZ #23961]
4523 * math/auto-libm-test-in: Add new test case.
4524 * math/auto-libm-test-out-pow: Regenerated.
4525 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4526
4527 2018-12-10 DJ Delorie <dj@redhat.com>
4528
4529 [BZ #23948]
4530 * support/test-container.c: Move postclean step to before we
4531 change namespaces.
4532
4533 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4534
4535 * scripts/gen-as-const.py (main): Handle --python option.
4536 * scripts/gen-py-const.awk: Remove.
4537 * Makerules (py-const-script): Use gen-as-const.py.
4538 ($(py-const)): Likewise.
4539 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4540 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4541 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4542 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4543 ~PTHREAD_MUTEX_NO_ELISION_NP.
4544 * manual/README.pretty-printers: Update reference to
4545 gen-py-const.awk.
4546
4547 * scripts/glibcextract.py: New file.
4548 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4549 or tempfile. Import glibcexctract.
4550 (compute_c_consts): Remove. Moved to glibcextract.py.
4551 (gen_test): Update reference to compute_c_consts.
4552 (main): Likewise.
4553 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4554 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4555 * sysdeps/unix/sysv/linux/Makefile
4556 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4557 Redirect stderr as well as stdout.
4558
4559 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4560
4561 [BZ #19767]
4562 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4563 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4564 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4565 ALWAYS_USE_VSYSCALL.
4566 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4567 ALWAYS_USE_VSYSCALL.
4568 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4569 ALWAYS_USE_VSYSCALL.
4570
4571 2018-12-10 Florian Weimer <fweimer@redhat.com>
4572
4573 [BZ #23972]
4574 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4575 offset instead of count for clarity. Fix typo in comment.
4576 (__old_getdents64): Keep track of previous offset. Use it to call
4577 handle_overflow.
4578 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4579 that d_off is never zero.
4580
4581 2018-12-10 Andreas Schwab <schwab@suse.de>
4582
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4584 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4586 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4587 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4588
4589 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4590
4591 * timezone/private.h: Update from tzcode 2018g.
4592 * timezone/tzfile.h: Likewise.
4593 * timezone/tzselect.ksh: Likewise.
4594 * timezone/zdump.c: Likewise.
4595 * timezone/zic.c: Likewise.
4596
4597 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4598
4599 [BZ #23490]
4600 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4601 (do_test): Adjust buffer size and fix format.
4602
4603 2018-12-07 DJ Delorie <dj@redhat.com>
4604
4605 [BZ #23907]
4606 * malloc/tst-tcfree3.c: New.
4607 * malloc/Makefile: Add it.
4608
4609 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4610
4611 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4612
4613 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4614
4615 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4616 used as a mask for the mode argument of __vfscanf_internal and
4617 __vfwscanf_internal.
4618 * stdio-common/vfscanf-internal.c
4619 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4620 (__strtof128_internal): Define to __wcstof128_internal.
4621 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4622 __strtof128_internal or __wcstof128_internal when the format of
4623 long double is the same as _Float128.
4624
4625 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4626
4627 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4628 * posix/confstr.c (confstr): Rename to __confstr.
4629 (__confstr): Add hidden def.
4630 (confstr): Add weak alias for __confstr.
4631 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4632 confstr.
4633
4634 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4635
4636 * NEWS: Mention getcpu.
4637 * include/sched.h (__getcpu): New libc_hidden_proto.
4638 * manual/resource.texi: Document getcpu.
4639 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4640 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4641 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4642 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4643 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4644 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4645 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4646 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4647 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4648 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4649 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4650 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4651 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4652 Likewise.
4653 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4654 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4655 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4657 Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4659 Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4661 Likewise.
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4663 Likewise.
4664 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4665 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4666 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4667 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4668 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4669 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4670 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4671 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4672 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4673 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4674 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4675 Also check getcpu.
4676
4677 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4678
4679 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4680 functions.
4681 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4682
4683 2018-12-07 Florian Weimer <fweimer@redhat.com>
4684
4685 [BZ #17405]
4686 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4687 * posix/Versions (GLIBC_2.29): Export
4688 posix_spawn_file_actions_addfchdir_np.
4689 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4690 * posix/spawn_faction_destroy.c
4691 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4692 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4693 and the field action.fchdir_action.
4694 * posix/tst-spawn-chdir.c (add_chdir): New function.
4695 (do_test): Add do_fchdir loop. Call add_chdir.
4696 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4697 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4698 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4699 posix_spawn_file_actions_addfchdir_np.
4700 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4701 Likewise.
4702 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4703 Likewise.
4704 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4705 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4706 Likewise.
4707 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4708 Likewise.
4709 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4710 Likewise.
4711 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4712 Likewise.
4713 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4714 Likewise.
4715 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4716 Likewise.
4717 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4718 (GLIBC_2.29): Likewise.
4719 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4720 (GLIBC_2.29): Likewise.
4721 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4722 (GLIBC_2.29): Likewise.
4723 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4724 (GLIBC_2.29): Likewise.
4725 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4726 Likewise.
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4728 (GLIBC_2.29): Likewise.
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4730 (GLIBC_2.29): Likewise.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4732 (GLIBC_2.29): Likewise.
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4734 (GLIBC_2.29): Likewise.
4735 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4736 Likewise.
4737 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4738 Likewise.
4739 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4740 Likewise.
4741 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4742 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4743 Likewise.
4744 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4745 Likewise.
4746 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4747 Likewise.
4748 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4749 Likewise.
4750
4751 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4752
4753 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4754 trailing whitespace removed.
4755 * scripts/config.guess: Update to version 2018-11-28.
4756 * scripts/config.sub: Update to version 2018-11-28.
4757 * scripts/install-sh: Update to version 2018-03-11.20.
4758 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4759 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4760
4761 2018-12-07 Florian Weimer <fweimer@redhat.com>
4762
4763 [BZ #23927]
4764 CVE-2018-19591
4765 * inet/tst-if_index-long.c: New file.
4766 * inet/Makefile (tests): Add tst-if_index-long.
4767
4768 2018-12-07 Florian Weimer <fweimer@redhat.com>
4769
4770 * support/check.h (support_record_failure_is_failed): Declare.
4771 * support/descriptors.h: New file.
4772 * support/support_descriptors.c: Likewise.
4773 * support/tst-support_descriptors.c: Likewise.
4774 * support/support_record_failure.c
4775 (support_record_failure_is_failed): New function.
4776 * support/Makefile (libsupport-routines): Add support_descriptors.
4777 (tests): Add tst-support_descriptors.
4778
4779 2018-12-05 Zack Weinberg <zackw@panix.com>
4780 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4781
4782 * stdio-common/vfprintf-internal.c
4783 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4784 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4785 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4786 and __no_long_double.
4787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4788 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4789 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4790 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4791 and __nldbl_*syslog* functions.
4792 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4793 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4794 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4795 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4796 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4797 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4798 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4799 (__nldbl_vwprintf, __nldbl_wprintf):
4800 Directly call the appropriate __v*printf_internal routine, passing
4801 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4802 variable names.
4803 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4804 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4805 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4806 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4807 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4808 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4809 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4810 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4811 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4812 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4813 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4814 (__nldbl_syslog, __nldbl_vsyslog):
4815 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4816 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4817 appropriate.
4818 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4819 appropriate.
4820
4821 2018-12-05 Zack Weinberg <zackw@panix.com>
4822 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4823
4824 [BZ #11319]
4825 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4826 Moved here from debug/vsprintf_chk.c.
4827 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4828 and completion logic for the strfile to match exactly what
4829 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4830 _IO_str_init_static_internal instead of maxlen-1.
4831 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4832 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4833 __vsprintf_internal.
4834
4835 * debug/vsprintf_chk.c (__vsprintf_chk)
4836 * debug/sprintf_chk.c (__sprintf_chk):
4837 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4838 'flags' argument is positive, and slen as maxlen. No need to lock
4839 the FILE and/or construct a temporary FILE. Minimize and normalize
4840 header inclusions and variable names. Do not libc_hidden_def anything.
4841
4842 * debug/asprintf_chk.c (__asprintf_chk)
4843 * debug/dprintf_chk.c (__dprintf_chk)
4844 * debug/fprintf_chk.c (__fprintf_chk)
4845 * debug/fwprintf_chk.c (__fwprintf_chk)
4846 * debug/printf_chk.c (__printf_chk)
4847 * debug/snprintf_chk.c (__snprintf_chk)
4848 * debug/swprintf_chk.c (__swprintf_chk)
4849 * debug/vasprintf_chk.c (__vasprintf_chk)
4850 * debug/vdprintf_chk.c (__vdprintf_chk)
4851 * debug/vfprintf_chk.c (__vfprintf_chk)
4852 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4853 * debug/vprintf_chk.c (__vprintf_chk)
4854 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4855 * debug/vswprintf_chk.c (__vswprintf_chk)
4856 * debug/vwprintf_chk.c (__vwprintf_chk)
4857 * debug/wprintf_chk.c (__wprintf_chk):
4858 Directly call the corresponding vxxprintf_internal function, passing
4859 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4860 the FILE and/or construct a temporary FILE. Minimize and normalize
4861 header inclusions and variable names. Do not libc_hidden_def anything.
4862
4863 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4864 __obstack_vprintf_internal.
4865 (__obstack_vprintf_chk): Convert into a wrapper that calls
4866 __obstack_vprintf_internal (these two functions already had the
4867 same code) and move to new file...
4868 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4869 file.
4870 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4871 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4872 * debug/Makefile (routines): Add vobprintf_chk.
4873
4874 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4875 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4876 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4877 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4878 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4879 (__nldbl___obstack_vfprintf_chk):
4880 Directly call the corresponding vxxprintf_internal function,
4881 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4882 duplicate comparison of slen with 0 or maxlen from the corresponding
4883 non-__nldbl function.
4884
4885 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4886 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4887 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4888 Remove libc_hidden_proto.
4889
4890 * stdio-common/vfprintf-internal.c
4891 (__vfprintf_internal, __vfwprintf_internal):
4892 Do not check _IO_FLAGS2_FORTIFY.
4893 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4894 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4895 a comment explaining why it has the maxlen argument.
4896 (_IO_acquire_lock_clear_flags2_fct): Remove.
4897 (_IO_acquire_lock_clear_flags2): Remove.
4898 (_IO_release_lock): Remove conditional statement which will
4899 now never execute.
4900 (_IO_acquire_lock): Remove variable which is now unused.
4901 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4902 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4903
4904 * stdio-common/Makefile (tests): Add tst-bz11319 and
4905 tst-bz11319-fortify2.
4906 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4907 * stdio-common/tst-bz11319-fortify2.c: New file.
4908 * stdio-common/tst-bz11319.c: Likewise.
4909
4910 2018-12-05 Zack Weinberg <zackw@panix.com>
4911 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4912
4913 * misc/syslog.c: Include libioP.h, not iolibio.h.
4914 (__vsyslog_internal): New function with the former body of
4915 __vsyslog_chk; takes mode_flags argument same as
4916 __v*printf_internal. Call __vfprintf_internal directly.
4917
4918 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4919 Remove libc_hidden_def.
4920 (__syslog, __syslog_chk): Use __vsyslog_internal.
4921 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4922
4923 * include/sys/syslog.h: Add multiple inclusion guard.
4924 Add prototype for __vsyslog_internal.
4925 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4926
4927 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4928 Use __vsyslog_internal.
4929
4930 2018-12-05 Zack Weinberg <zackw@panix.com>
4931 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4932
4933 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4934 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4935 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4936 New functions.
4937 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4938 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4939
4940 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4941 Include wctype.h here if COMPILE_WPRINTF is defined.
4942 Define __vfprintf_internal or __vfwprintf_internal, depending
4943 on COMPILE_WPRINTF.
4944 Temporarily, on entry to this function, update mode_flags
4945 according to the environmental settings corresponding to
4946 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4947 Throughout, check mode_flags instead of __ldbl_is_dbl and
4948 _IO_FLAGS2_FORTIFY on the destination FILE.
4949 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4950 Include vfprintf-internal.c. Don't include wctype.h.
4951 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4952 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4953 and vfprintf.
4954 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4955 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4956 and vfwprintf.
4957 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4958
4959 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4960 and add mode_flags argument; use __vfprintf_internal.
4961 (__vdprintf): New function. Alias vdprintf to this.
4962 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4963 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4964 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4965 (__obstack_printf): Use __obstack_printf_internal.
4966 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4967 public aliases __vsnprintf and vsnprintf.
4968 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4969 called internally.
4970 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4971 public aliases _IO_vsprintf and vsprintf.
4972 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4973 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4974 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4975 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4976 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4977
4978 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4979 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4980 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4981 * stdio-common/printf.c: Use __vfprintf_internal.
4982
4983 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4984 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4985 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4986
4987 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4988 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4989 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4990 __vfwprintf_internal.
4991
4992 * libio/libio.h: Remove libc_hidden_proto and declaration for
4993 _IO_vfprintf.
4994 Remove declaration of _IO_vfwprintf.
4995 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4996 _IO_vsprintf.
4997 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4998 _IO_obstack_printf.
4999 * include/stdio.h: Add prototype for __vasprintf.
5000 (__vsnprintf): Remove declaration, because there are no more
5001 internal calls.
5002 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5003 declaration, because there are no more internal calls.
5004
5005 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5006 __vsnprintf_internal, instead of _IO_vsnprintf.
5007 * argp/argp-help.c (__argp_error, __argp_failure): Use
5008 __vasprintf_internal, instead of _IO_vasprintf.
5009 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5010 redefine, because there are no more internal calls.
5011
5012 2018-12-05 Zack Weinberg <zackw@panix.com>
5013 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5014
5015 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5016 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5017 Include libio/strfile.h instead of libioP.h.
5018 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5019 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5020 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5021 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5022 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5023 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5024 necessary. Do not set __no_long_double. Normalize variable names.
5025 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5026 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5027 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5028 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5029 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5030 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5031 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5032 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5033 Do not set __no_long_double. Normalize variable names.
5034
5035 2018-12-05 Zack Weinberg <zackw@panix.com>
5036 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5037
5038 * stdio-common/isoc99_scanf.c
5039 * stdio-common/isoc99_fscanf.c
5040 * stdio-common/isoc99_sscanf.c
5041 * stdio-common/isoc99_vscanf.c
5042 * stdio-common/isoc99_vfscanf.c
5043 * stdio-common/isoc99_vsscanf.c
5044 * wcsmbs/isoc99_wscanf.c
5045 * wcsmbs/isoc99_fwscanf.c
5046 * wcsmbs/isoc99_swscanf.c
5047 * wcsmbs/isoc99_vwscanf.c
5048 * wcsmbs/isoc99_vfwscanf.c
5049 * wcsmbs/isoc99_vswscanf.c:
5050 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5051 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5052 No need to lock and unlock the FILE passed to that function.
5053
5054 * stdio-common/vfscanf-internal.c
5055 (__vfscanf_internal, __vfwscanf_internal):
5056 Don't look at _IO_FLAGS2_SCANF_STD.
5057 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5058 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5059 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5060
5061 2018-12-05 Zack Weinberg <zackw@panix.com>
5062 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5063
5064 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5065 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5066 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5067 * libio/strfile.h: Add multiple inclusion guard.
5068 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5069
5070 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5071 consistency with the other version of this file.
5072 (ldbl_compat_symbol): New macro.
5073 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5074 New macro.
5075
5076 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5077 Define __vfscanf_internal or __vfwscanf_internal, depending on
5078 COMPILE_WSCANF; don't define any other public symbols.
5079 Remove errval and code to set errp.
5080 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5081 as the mode_flags argument.
5082 (encode_error, conv_error, input_error): Don't set errval.
5083 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5084 Include vfscanf-internal.c.
5085 * stdio-common/vfscanf.c: New file defining the public entry
5086 point vfscanf, which calls __vfscanf_internal.
5087 * stdio-common/vfwscanf.c: New file defining the public entry
5088 point vfwscanf, which calls __vfwscanf_internal.
5089
5090 * stdio-common/iovfscanf.c: New file.
5091 * stdio-common/iovfwscanf.c: Likewise.
5092
5093 * stdio-common/Makefile (routines): Add vfscanf-internal,
5094 vfwscanf-internal, iovfscanf, iovfwscanf.
5095 * stdio-common/Versions: Mention GLIBC_2.29, so that
5096 it can be used in SHLIB_COMPAT expressions.
5097 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5098 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5099 Call __vfscanf_internal, instead of _IO_vfscanf.
5100 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5101 _IO_vfscanf.
5102 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5103 _IO_vfwscanf.
5104
5105 * libio/iovsscanf.c: Clean up includes, when possible. Use
5106 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5107 __vfscanf_internal or __vfwscanf_internal directly.
5108 * libio/iovswscanf.c: Likewise.
5109 * libio/swscanf.c: Likewise.
5110 * libio/vscanf.c: Likewise.
5111 * libio/vwscanf.c: Likewise.
5112 * libio/wscanf.c: Likewise.
5113 * stdio-common/isoc99_fscanf.c: Likewise.
5114 * stdio-common/isoc99_scanf.c: Likewise.
5115 * stdio-common/isoc99_sscanf.c: Likewise.
5116 * stdio-common/isoc99_vfscanf.c: Likewise.
5117 * stdio-common/isoc99_vscanf.c: Likewise.
5118 * stdio-common/isoc99_vsscanf.c: Likewise.
5119 * stdio-common/scanf.c: Likewise.
5120 * stdio-common/sscanf.c: Likewise.
5121 * wcsmbs/isoc99_fwscanf.c: Likewise.
5122 * wcsmbs/isoc99_swscanf.c: Likewise.
5123 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5124 * wcsmbs/isoc99_vswscanf.c: Likewise.
5125 * wcsmbs/isoc99_vwscanf.c: Likewise.
5126 * wcsmbs/isoc99_wscanf.c: Likewise.
5127
5128 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5129
5130 * include/time.h
5131 (__tz_compute): Replace time_t with __time64_t.
5132 (__tz_convert): Replace time_t* with __time64_t.
5133 (__offtime): Replace time_t* with __time64_t.
5134 * time/gmtime.c
5135 (__gmtime_r): Adjust call to __tz_convert.
5136 (gmtime): Likewise.
5137 * time/localtime.c
5138 (__localtime_r): Likewise.
5139 (localtime): Likewise.
5140 * time/offtime.c: Replace time_t with __time64_t.
5141 * time/tzset.c: Likewise.
5142
5143 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5144
5145 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5146 dynamic linker unless [$(run-built-tests) = yes].
5147
5148 2018-12-03 DJ Delorie <dj@delorie.com>
5149
5150 * support/test-container.c (check_for_unshare_hints): New.
5151 (main): Call it if unshare fails. Add support for "su" scriptlet
5152 command.
5153
5154 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5155
5156 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5157 'START' to indicate that start text should be output.
5158 (gen_test): Likewise.
5159 (main): Generate 'START' for first symbol or '--' line, or at end
5160 of input if not previously generated.
5161
5162 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5163
5164 [BZ #19767]
5165 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5166 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5167 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5168 ALWAYS_USE_VSYSCALL.
5169
5170 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5171
5172 [BZ #23913]
5173 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5174 new_argv by one.
5175
5176 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5177
5178 [BZ #23923]
5179 * locale/programs/localedef.c: Declare boolean hard_links default true.
5180 (options): Add --no-hard-links option.
5181 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5182 * locale/programs/localedef.h: Declare prototype for hard_links.
5183 * locale/programs/locfile.c (write_locale_data): Don't use hard
5184 links if hard_links is false.
5185
5186 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5187
5188 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5189 cpu_features_basic.
5190 (__cache_sysconf): Likewise.
5191 (init_cacheinfo): Likewise.
5192 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5193 populate COMMON_CPUID_INDEX_80000007 and
5194 COMMON_CPUID_INDEX_80000008.
5195 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5196 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5197 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5198 (init_cpu_features): Use _Static_assert on
5199 index_arch_Fast_Unaligned_Load.
5200 __get_cpuid_registers and __get_arch_feature. Updated for
5201 cpu_features_basic. Set stepping in cpu_features.
5202 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5203 (FEATURE_INDEX_2): New.
5204 (FEATURE_INDEX_MAX): Changed to enum.
5205 (COMMON_CPUID_INDEX_D_ECX_1): New.
5206 (COMMON_CPUID_INDEX_80000007): Likewise.
5207 (COMMON_CPUID_INDEX_80000008): Likewise.
5208 (cpuid_registers): Likewise.
5209 (cpu_features_basic): Likewise.
5210 (CPU_FEATURE_USABLE): Likewise.
5211 (bit_arch_XXX_Usable): Likewise.
5212 (cpu_features): Use cpuid_registers and cpu_features_basic.
5213 (bit_arch_XXX): Reweritten.
5214 (bit_cpu_XXX): Likewise.
5215 (index_cpu_XXX): Likewise.
5216 (reg_XXX): Likewise.
5217 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5218 <support/check.h>.
5219 (CHECK_CPU_FEATURE): New.
5220 (CHECK_CPU_FEATURE_USABLE): Likewise.
5221 (cpu_kinds): Likewise.
5222 (do_test): Print vendor, family, model and stepping. Check
5223 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5224 (TEST_FUNCTION): Removed.
5225 Include <support/test-driver.c> instead of
5226 "../../test-skeleton.c".
5227 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5228 Check POPCNT instead of POPCOUNT.
5229 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5230
5231 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5232
5233 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5234 there is no element in `consts'.
5235
5236 2018-12-01 Florian Weimer <fweimer@redhat.com>
5237
5238 * support/support_capture_subprocess.c
5239 (support_capture_subprocess): Check that pipe descriptors have
5240 expected values. Close original pipe descriptors in subprocess.
5241
5242 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5243
5244 [BZ #23032]
5245 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5246 attr with __pthread_default_barrierattr.
5247 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5248 attr with __pthread_default_condattr.
5249 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5250 attr with __pthread_default_mutexattr.
5251 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5252 attr with __pthread_default_rwlockattr.
5253
5254 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5255
5256 * manual/tunables.texi (POSIX Thread Tunables): New node.
5257 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5258 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5259 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5260 __pthread_tunables_init.
5261 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5262 (max_adaptive_count): Define.
5263 * nptl/pthread_mutex_conf.c: New file.
5264 * nptl/pthread_mutex_conf.h: New file.
5265 * sysdeps/generic/adaptive_spin_count.h: New file.
5266 * sysdeps/nptl/dl-tunables.list: New file.
5267 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5268 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5269 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5270 Likewise.
5271
5272 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5273
5274 [BZ #20544]
5275 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5276 * stdlib/on_exit.c (__on_exit): Likewise.
5277 * stdlib/Makefile (tests): Add tst-bz20544.
5278 * stdlib/tst-bz20544.c: New test.
5279
5280 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5281
5282 [BZ #19767]
5283 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5284 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5285 New.
5286
5287 2018-11-30 Florian Weimer <fweimer@redhat.com>
5288
5289 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5290 Extend error logging.
5291 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5292 symbol.
5293
5294 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5295
5296 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5297 __sigismember instead of sigismember.
5298 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5299 cancel_handler): New definitions.
5300 (do_system): Use posix_spawn instead of fork and execl and remove
5301 reentracy code.
5302 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5303 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5304 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5305 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5306 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5307 * sysdeps/unix/sysv/linux/system.c: Likewise.
5308
5309 [BZ #22834]
5310 [BZ #17490]
5311 * NEWS: Add new semantic for atfork with popen and system.
5312 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5313 fork and execl.
5314
5315 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5316
5317 [BZ #23690]
5318 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5319 modification order when accessing reloc_result->addr.
5320 * include/link.h (reloc_result): Add field init.
5321 * nptl/Makefile (tests): Add tst-audit-threads.
5322 (modules-names): Add tst-audit-threads-mod1 and
5323 tst-audit-threads-mod2.
5324 Add rules to build tst-audit-threads.
5325 * nptl/tst-audit-threads-mod1.c: New file.
5326 * nptl/tst-audit-threads-mod2.c: Likewise.
5327 * nptl/tst-audit-threads.c: Likewise.
5328 * nptl/tst-audit-threads.h: Likewise.
5329
5330 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5331
5332 * scripts/gen-as-const.py: New file.
5333 * scripts/gen-as-const.awk: Remove.
5334 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5335 gen-as-const.py.
5336 ($(objpfx)test-as-const-%.c): Likewise.
5337
5338 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5339
5340 * elf/dl-exception.c: Include <_itoa.h>.
5341
5342 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5343
5344 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5345 returned by __f_setlk.
5346
5347 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5348 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5349
5350 * elf/Makefile (tests-internal): Add tst-create_format1.
5351 * elf/dl-exception.c (_dl_exception_create_format): Support
5352 %x, %lx and %zx.
5353 * elf/tst-create_format1.c: New file.
5354
5355 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5356
5357 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5358 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5359 gnulib.)
5360 * argp/argp-help.c (__argp_failure): Likewise.
5361
5362 2018-11-29 Mao Han <han_mao@c-sky.com>
5363
5364 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5365 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5366 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5367 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5368 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5369 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5370 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5371 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5372 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5373 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5374 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5375 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5376 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5377 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5378 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5379 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5380 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5381 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5382 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5383 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5384 (R_CKCORE_TLS_TPOFF32): New defines.
5385
5386 2018-11-29 Florian Weimer <fweimer@redhat.com>
5387
5388 * posix/Makefile (before-compile): Remove testcases.h and
5389 ptestcases.h.
5390 (generated): Add testcases.h and ptestcases.h.
5391 (testcases.h, ptestcases.h): Move to $(objpfx).
5392 (runtests.o): Add dependency on testcases.h.
5393 (runptests.o): Add dependency on ptestcases.h.
5394 * posix/testcases.h, posix/ptestcases.h: Remove files.
5395 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5396 not touch posix/testcases.h and posix/ptestcases.h.
5397
5398 2018-11-28 Florian Weimer <fweimer@redhat.com>
5399
5400 support: Add signal support to support_capture_subprocess_check.
5401 * support/capture_subprocess.h (support_capture_subprocess_check):
5402 Adjust comment and rename parameter.
5403 * support/support_capture_subprocess_check.c
5404 (print_actual_status): New function.
5405 (support_capture_subprocess_check): Support negative
5406 status_or_signal. Call print_actual_status.
5407 * support/tst-support_capture_subprocess.c (do_test): Call
5408 support_capture_subprocess_check.
5409 * libio/tst-vtables-common.c (termination_status)
5410 (init_termination_status): Remove.
5411 (check_for_termination): Adjust support_capture_subprocess_check
5412 call.
5413 (do_test): Remove call to init_termination_status.
5414
5415 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5416
5417 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5418 source directory instead of a copy.
5419 (CommandList.create_copy_dir): Remove.
5420
5421 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5422
5423 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5424
5425 2018-11-28 Florian Weimer <fweimer@redhat.com>
5426
5427 * support/support.h (support_quote_string): Do not use str
5428 parameter name.
5429
5430 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5431
5432 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5433 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5434
5435 2018-11-27 Florian Weimer <fweimer@redhat.com>
5436
5437 * support/support.h (support_quote_string): Declare.
5438 * support/support_quote_string.c: New file.
5439 * support/tst-support_quote_string.c: Likewise.
5440 * support/Makefile (libsupport-routines): Add
5441 support_quote_string.
5442 (tests): Add tst-support_quote_string.
5443
5444 2018-11-27 Florian Weimer <fweimer@redhat.com>
5445
5446 [BZ #23927]
5447 CVE-2018-19591
5448 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5449 descriptor leak in case of ENODEV error.
5450
5451 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5452
5453 [BZ #19767]
5454 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5455 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5456 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5457
5458 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5459
5460 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5461 Error for unknown lines.
5462
5463 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5464
5465 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5466 Touch additional files.
5467
5468 2018-11-26 Florian Weimer <fweimer@redhat.com>
5469
5470 [BZ #23907]
5471 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5472 double-frees.
5473
5474 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5475
5476 [BZ #19767]
5477 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5478 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5479 SHARED. Include sysdep.h.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5481 ALWAYS_USE_VSYSCALL.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5483 ALWAYS_USE_VSYSCALL.
5484
5485 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5486
5487 [BZ #19767]
5488 * nptl/Makefile (tests-static): Add tst-cond11-static.
5489 (tests): Likewise.
5490 * nptl/tst-cond11-static.c: New File.
5491 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5492 tst-affinity-static.
5493 (tests): Likewise.
5494 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5495 instead of SHARED.
5496 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5497 (USE_VSYSCALL): Likewise.
5498 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5499 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5500 instead of SHARED.
5501 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5502 SHARED.
5503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5504 New.
5505
5506 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5507
5508 [BZ #23915]
5509 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5510 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5511 Undefine.
5512
5513 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5516 (tst-cet-legacy-1a-ARGS): New.
5517 ($(objpfx)tst-cet-legacy-1a): New target.
5518 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5519
5520 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5521
5522 * conform/conformtest.py (CompileSubTest.__init__): Set
5523 self.run_early to False.
5524 (ExecuteSubTest.__init__): Likewise.
5525 (HeaderTests.run): Try running all non-optional, non-XFAILed
5526 compilation tests in a single execution of the compiler.
5527
5528 * conform/conformtest.py (CompileSubTest): New class.
5529 (ExecuteSubTest): Likewise.
5530 (ElementTest.run): Rename to gen_subtests. Append tests to
5531 self.subtests instead of running them.
5532 (ConstantTest.run): Likewise.
5533 (SymbolTest.run): Likewise.
5534 (TypeTest.run): Likewise.
5535 (TagTest.run): Likewise.
5536 (FunctionTest.run): Likewise.
5537 (VariableTest.run): Likewise.
5538 (MacroFunctionTest.run): Likewise.
5539 (MacroStrTest.run): Likewise.
5540 (HeaderTests.handle_test_line): Generate subtests for tests.
5541 (HeaderTests.run): Run subtests for tests.
5542
5543 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5544
5545 * math/Versions (GLIBC_2.29): Add pow.
5546 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5547 symbol.
5548 * math/w_pow.c: New file.
5549 * sysdeps/i386/fpu/w_pow.c: New file.
5550 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5552 and add necessary aliases.
5553 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5554 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5555 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5556 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5557 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5558 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5559 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5560 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5561 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5562 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5563 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5564 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5565 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5566 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5567 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5572 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5573 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5574 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5575 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5577 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5578 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5579 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5580 __pow.
5581 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5582 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5583 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5584
5585 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5586
5587 * math/Versions (GLIBC_2.29): Add log2.
5588 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5589 symbol.
5590 * math/w_log2.c: New file.
5591 * sysdeps/i386/fpu/w_log2.c: New file.
5592 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5593 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5594 and add necessary aliases.
5595 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5596 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5597 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5598 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5599 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5600 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5601 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5602 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5603 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5604 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5605 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5606 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5607 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5608 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5609 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5614 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5615 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5616 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5617 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5618 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5619 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5620 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5621
5622 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5623
5624 * math/Versions (GLIBC_2.29): Add log.
5625 * math/w_log_compat.c (__log_compat): Change to versioned compat
5626 symbol.
5627 * math/w_log.c: New file.
5628 * sysdeps/i386/fpu/w_log.c: New file.
5629 * sysdeps/ia64/fpu/e_log.S: Update.
5630 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5631 and add necessary aliases.
5632 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5633 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5634 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5635 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5636 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5637 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5638 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5639 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5640 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5641 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5642 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5643 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5644 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5645 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5646 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5651 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5652 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5653 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5654 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5655 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5656 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5657 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5658 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5659 __log.
5660 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5661 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5662 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5663 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5664
5665 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5666
5667 * math/Versions (GLIBC_2.29): Add exp and exp2.
5668 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5669 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5670 * math/w_exp_compat.c (__exp_compat): Likewise.
5671 * math/w_exp.c: New file.
5672 * math/w_exp2.c: New file.
5673 * sysdeps/i386/fpu/w_exp.c: New file.
5674 * sysdeps/i386/fpu/w_exp2.c: New file.
5675 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5676 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5677 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5678 and add necessary aliases.
5679 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5680 and add necessary aliases.
5681 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5682 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5683 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5684 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5685 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5686 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5688 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5689 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5690 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5691 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5692 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5693 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5694 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5695 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5696 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5697 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5702 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5703 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5704 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5707 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5708 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5709 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5710 (__ieee754_exp): Rename to __exp.
5711 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5712 (__ieee754_exp): Rename to __exp.
5713 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5714 (__ieee754_exp): Rename to __exp.
5715 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5716 __exp.
5717 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5718
5719 2018-11-20 DJ Delorie <dj@redhat.com>
5720
5721 * malloc/malloc.c (tcache_entry): Add key field.
5722 (tcache_put): Set it.
5723 (tcache_get): Likewise.
5724 (_int_free): Check for double free in tcache.
5725 * malloc/tst-tcfree1.c: New.
5726 * malloc/tst-tcfree2.c: New.
5727 * malloc/Makefile: Run the new tests.
5728 * manual/probes.texi: Document memory_tcache_double_free probe.
5729
5730 * dlfcn/dlerror.c (check_free): Prevent double frees.
5731
5732 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5733
5734 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5735
5736 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5737
5738 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5739 in tests. Use names for format arguments.
5740 (ConstantTest.run): Likewise.
5741 (SymbolTest.run): Likewise.
5742 (TypeTest.run): Likewise.
5743 (TagTest.run): Likewise.
5744 (FunctionTest.run): Likewise.
5745 (VariableTest.run): Likewise.
5746 (MacroFunctionTest.run): Likewise.
5747 (MacroStrTest.run): Likewise.
5748 (HeaderTests.__init__): Set self.num_tests.
5749 (HeaderTests.handle_test_line): Set test.num. Increment
5750 self.num_tests.
5751
5752 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5753
5754 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5755 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5756 SEEK_SET.
5757
5758 2018-11-19 Mao Han <han_mao@c-sky.com>
5759
5760 * scripts/config.guess: Update to version 2018-08-29.
5761 * scripts/config.sub: Update to version 2018-08-29.
5762
5763 2018-11-19 Florian Weimer <fweimer@redhat.com>
5764
5765 support: Print timestamps in timeout handler.
5766 * support/support_test_main.c (print_timestamp): New function.
5767 (signal_handler): Use it to print the termination time and the
5768 time of the last write to standard output.
5769
5770 2018-11-16 Zack Weinberg <zackw@panix.com>
5771 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5772
5773 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5774 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5775 argument.
5776 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5777 and add flags argument. Check flags instead of __ldbl_is_dbl when
5778 deciding whether to set is_long_double.
5779 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5780 passing zero for flags argument.
5781 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5782
5783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5784 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5785 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5786 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5787 variable names. Remove libc_hidden_def/libc_hidden_proto from
5788 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5789 longer called from within the library.
5790 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5791 for __nldbl___vstrfmon_l, declare it explicitly.
5792
5793 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5794
5795 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5796
5797 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5798 macros
5799 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5800 F_SETLK64, F_SETLKW64, respectively.
5801 * sysdeps/mach/hurd/f_setlk.c: New file.
5802 * sysdeps/mach/hurd/f_setlk.h: New file.
5803 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5804 f_setlk.
5805 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5806 (__libc_fcntl): Move non-flock operations to...
5807 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5808 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5809
5810 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5811
5812 mktime: DEBUG_MKTIME cleanup
5813 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5814 And it’s no longer needed now that glibc and Gnulib both have
5815 their own testing mechanisms for mktime.
5816 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5817
5818 mktime: fix non-EOVERFLOW errno handling
5819 [BZ#23789]
5820 mktime was not properly reporting failures when the underlying
5821 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5822 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5823 The problem could happen on non-glibc platforms, with Gnulib.
5824 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5825 (tm_diff): ... this simpler function, which does not change errno.
5826 All callers changed to deal with errno themselves.
5827 (ranged_convert, __mktime_internal): Return failure immediately if
5828 the underlying function reports any failure other than EOVERFLOW.
5829 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5830 gap code fails.
5831
5832 mktime: fix bug with Y2038 DST transition
5833 [BZ#23789]
5834 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5835 mishandle a DST transition that jumps over the Y2038 boundary.
5836 No such DST transitions are known so this is only a theoretical
5837 bug, but we might as well do things right.
5838
5839 mktime: make more room for overflow
5840 [BZ#23789]
5841 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5842 This is so that we can add tm_diff results to a previous guess,
5843 which will be useful in a later patch.
5844
5845 mktime: simplify offset guess
5846 [BZ#23789]
5847 * time/mktime.c (__mktime_internal): Omit excess precision.
5848
5849 mktime: new test for mktime failure
5850 [BZ#23789]
5851 Based on a test suggested by Albert Aribaud in:
5852 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5853 * time/Makefile (tests): Add bug-mktime4.
5854 * time/bug-mktime4.c: New file.
5855
5856 mktime: fix EOVERFLOW bug
5857 [BZ#23789]
5858 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5859 Include libc-config.h, not config.h, for __set_errno.
5860 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5861
5862 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5863
5864 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5865 __attribute_copy__ to copy attributes from name. Drop static qualifier
5866 to avoid warnings about leaf attribute not having effect on static
5867 functions.
5868
5869 2018-11-13 Florian Weimer <fweimer@redhat.com>
5870
5871 * malloc/malloc.c (fastbin_push_entry): New function.
5872 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5873 (REMOVE_FB): Remove macro.
5874 (_int_malloc): Use fastbin_pop_entry and reindent.
5875 (_int_free): Use fastbin_push_entry.
5876 (malloc_consolidate): Use atomic_exchange_acquire.
5877
5878 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5879
5880 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5881 alias attribute, not with strong_alias.
5882
5883 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5884 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5885 with additional parameter thread.
5886 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5887 in terms of __hidden_ver2.
5888 (hidden_tls_def): New macro.
5889 (libc_hidden_tls_def): Likewise.
5890 (rtld_hidden_tls_def): Likewise.
5891 (libm_hidden_tls_def): Likewise.
5892 (libmvec_hidden_tls_def): Likewise.
5893 (libresolv_hidden_tls_def): Likewise.
5894 (librt_hidden_tls_def): Likewise.
5895 (libdl_hidden_tls_def): Likewise.
5896 (libnss_files_hidden_tls_def): Likewise.
5897 (libnsl_hidden_tls_def): Likewise.
5898 (libnss_nisplus_hidden_tls_def): Likewise.
5899 (libutil_hidden_tls_def): Likewise.
5900 (libutil_hidden_tls_def): Likweise.
5901 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5902 libc_hidden_tls_def.
5903 (__sim_disabled_exceptions_thread): Likewise.
5904 (__sim_round_mode_thread): Likewise.
5905
5906 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5907 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5908 copy attributes from name.
5909
5910 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5911
5912 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5913 Use __attribute_copy__ to copy attributes from name.
5914
5915 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5916 with __hidden_ver1 call.
5917 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5918 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5919 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5920 (__cosf): Do not declare here.
5921 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5922 (__sincosf): Do not declare here.
5923 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5924 (__sinf): Do not declare here.
5925
5926 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5927 (__BIG_ENDIAN): Likewise.
5928 (__BYTE_ORDER): Likewise.
5929 (strong_alias): Likewise.
5930 (_strong_alias): Likewise.
5931
5932 2018-11-12 Florian Weimer <fweimer@redhat.com>
5933
5934 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5935 function. Move after the definition of in_smallbin_range. Do not
5936 use __builtin_expect for paths that lead to a noreturn function.
5937 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5938 because it is unclear whether this is in fact an unlikely
5939 condition.
5940 (_int_malloc, _int_free): Adjust.
5941 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5942 variables.
5943 * malloc/arena.c (heap_trim): Likewise.
5944
5945 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5946
5947 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5948 it, free it if needed.
5949 (reauthenticate): Test and use ccwdir.
5950 (child_init_port): In non-resetids case, test and use ccwdir.
5951 (child_chdir): New nested function to set ccwdir.
5952 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5953 * hurd/hurd/port.h (_hurd_port_move): New function.
5954 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5955 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5956 * hurd/Versions (_hurd_port_move): Export function.
5957 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5958 symbol.
5959 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5960 of dtablesize for allocating dtable_cloexec.
5961
5962 2018-11-09 Martin Sebor <msebor@redhat.com>
5963
5964 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5965 it's already defined.
5966 (_strong_alias): Use __attribute_copy__.
5967 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5968 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5969 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5970 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5971 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5972 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5973 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5974 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5975 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5976 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5977 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5978 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5979 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5980 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5981 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5982 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5983 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5984 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5985 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5986
5987 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5988
5989 * misc/tst-efgcvt.c: Include support/check.h and
5990 support/test-driver.c. Do not include test-skeleton.c.
5991 (error_count): Remove.
5992 (output_error): Replace increments to error_count with calls to
5993 support_record_failure.
5994 (output_r_error): Likewise.
5995 (special): Likewise.
5996 (do_test): Unconditionally return zero.
5997 (TEST_FUNCTION): Remove.
5998
5999 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6000
6001 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6002 not $(@D)/scratch.
6003 ($(linknamespace-header-tests)): Likewise.
6004
6005 * conform/conformtest.py: New file.
6006 * conform/conformtest.pl: Remove.
6007 * conform/GlibcConform.pm: Likewise.
6008 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6009 (KEYWORDS_C99): Likewise.
6010 (KEYWORDS): Likewise.
6011 * conform/Makefile ($(conformtest-header-tests)): Use
6012 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6013 option. Use --header instead of --headers.
6014 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6015 function entries.
6016 * conform/data/spawn.h-data: Likewise.
6017 * conform/data/fcntl.h-data (openat): Add space after function
6018 name.
6019 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6020 (wcscasecmp_l): Likewise.
6021 * conform/data/termios.h-data (c_cc): Add space after element
6022 name.
6023
6024 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6025
6026 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6027 instead of manually comparing and reporting mismatching strings.
6028 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6029 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6030
6031 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6032
6033 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6034 __ASSUME_SOCKETCALL.
6035 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6036 (__ASSUME_SOCKETCALL): Remove.
6037 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6038 (__ASSUME_SOCKETCALL): Likewise.
6039 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6040 (__ASSUME_SOCKETCALL): Likewise.
6041 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6042 (__ASSUME_SOCKETCALL): Likewise.
6043 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6044 (__ASSUME_SOCKETCALL): Likewise.
6045 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6046 (__ASSUME_SOCKETCALL): Likewise.
6047 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6048 (__ASSUME_SOCKETCALL): Likewise.
6049
6050 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6051
6052 [BZ #23509]
6053 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6054 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6055 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6056 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6057 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6058 lc_unknown.
6059
6060 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6061
6062 [BZ #17630]
6063 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6064
6065 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6066
6067 [BZ #23867]
6068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6069 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6071 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6072
6073 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6074
6075 * support/support_test_compare_string.c
6076 (support_test_compare_string): Fix printf format.
6077
6078 2018-11-07 Florian Weimer <fweimer@redhat.com>
6079
6080 Implement TEST_COMPARE_STRING.
6081 * support/check.h (TEST_COMPARE_STRING): Define.
6082 (support_test_compare_string): Declare.
6083 * support/Makefile (libsupport-routines): Add
6084 support_test_compare_string.
6085 (tests): Add tst-test_compare_string.
6086 * support/support_test_compare_string.c: New file.
6087 * support/tst-test_compare_string.c: Likewise.
6088
6089 2018-11-07 Andreas Schwab <schwab@suse.de>
6090
6091 [BZ #23864]
6092 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6093 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6094 Undef.
6095
6096 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6097
6098 [BZ #23862]
6099 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6100 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6101 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6102 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6103 Likewise.
6104
6105 2018-11-06 Florian Weimer <fweimer@redhat.com>
6106
6107 [BZ #17405]
6108 * posix/Makefile (routines): Add spawn_faction_addchdir.
6109 (tests): Add tst-spawn-chdir.
6110 * posix/Versions (GLIBC_2.29): Add
6111 posix_spawn_file_actions_addchdir_np.
6112 * posix/spawn_faction_addchdir.c: New file.
6113 * posix/spawn_faction_destroy.c
6114 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6115 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6116 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6117 chdir_action.
6118 * posix/tst-spawn-chdir.c: New file.
6119 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6120 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6121 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6122 posix_spawn_file_actions_addchdir_np.
6123 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6124 Likewise.
6125 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6126 Likewise.
6127 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6128 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6129 Likewise.
6130 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6131 Likewise.
6132 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6133 Likewise.
6134 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6135 Likewise.
6136 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6137 Likewise.
6138 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6139 Likewise.
6140 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6141 (GLIBC_2.29): Likewise.
6142 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6143 (GLIBC_2.29): Likewise.
6144 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6145 (GLIBC_2.29): Likewise.
6146 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6147 (GLIBC_2.29): Likewise.
6148 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6149 Likewise.
6150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6151 (GLIBC_2.29): Likewise.
6152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6153 (GLIBC_2.29): Likewise.
6154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6155 (GLIBC_2.29): Likewise.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6157 (GLIBC_2.29): Likewise.
6158 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6159 Likewise.
6160 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6161 Likewise.
6162 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6163 Likewise.
6164 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6165 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6166 Likewise.
6167 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6168 Likewise.
6169 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6170 Likewise.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6172 Likewise.
6173
6174 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6175
6176 * misc/Makefile (tests): Add tst-ldbl-error.
6177 * misc/tst-ldbl-error.c: New file.
6178
6179 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6180
6181 * misc/Makefile (tests): Add tst-ldbl-warn.
6182 * misc/tst-ldbl-warn.c: New file.
6183
6184 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6185
6186 * argp/Makefile (tests): Add tst-ldbl-argp.
6187 * argp/tst-ldbl-argp.c: New file.
6188
6189 2018-11-05 Arjun Shankar <arjun@redhat.com>
6190
6191 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6192 __gconv_path_elem and call __gconv_get_path unconditionally.
6193
6194 2018-11-05 Andreas Schwab <schwab@suse.de>
6195
6196 [BZ #22927]
6197 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6198 creating the first helper thread failed.
6199
6200 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6201
6202 * sysdeps/mach/hurd/msync.c: New file.
6203
6204 2018-11-02 Florian Weimer <fweimer@redhat.com>
6205
6206 * support/shell-container.c (copy_func): Call
6207 support_copy_file_range instead of copy_file_range to support
6208 cross-device copies.
6209
6210 2018-11-02 Florian Weimer <fweimer@redhat.com>
6211
6212 * support/test-container.c: Include <libc-pointer-arith.h> for
6213 ALIGN_UP.
6214
6215 2018-11-01 Zong Li <zong@andestech.com>
6216
6217 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6218 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6219 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6220 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6221
6222 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6223 variable to avoid overlap arguments.
6224
6225 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6226
6227 * posix/bug-regex22.c (main): Use puts with distinct error
6228 messages for unexpected success of re_compile_pattern, not printf
6229 with NULL argument to %s.
6230
6231 * stdio-common/bug22.c: Include <libc-diag.h>.
6232 (do_test): Disable -Wformat-overflow= warnings around fprintf
6233 calls outputting more than INT_MAX characters.
6234 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6235 around printf call with NULL %s argument.
6236
6237 [BZ #23848]
6238 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6239 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6240 Undefine.
6241 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6242 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6243 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6244 (__ASSUME_SENDTO_SYSCALL): Likewise.
6245 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6246 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6247 [!__arch64__].
6248 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6249 (__ASSUME_CONNECT_SYSCALL): Likewise.
6250 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6251 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6252 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6253 Define.
6254 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6255 Likewise.
6256 [__LINUX_KERNEL_VERSION >= 0x040400]
6257 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6258 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6259 Remove.
6260 (listen): Likewise.
6261 (setsockopt): Likewise.
6262
6263 2018-11-01 Fredrik Noring <noring@nocrew.org>
6264
6265 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6266 with the ISA override.
6267
6268 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6269
6270 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6271 #endif.
6272
6273 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6274
6275 * manual/errno.texi (EIEIO): Document how translators should
6276 translate the error message.
6277 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6278 printing trailing whitespaces refused by git.
6279 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6280 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6281 * hurd/Makefile (user-interfaces): Add pci.
6282
6283 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6284
6285 * conform/linknamespace.py: New file.
6286 * conform/linknamespace.pl: Remove file.
6287 * conform/Makefile ($(linknamespace-header-tests)): Use
6288 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6289 option.
6290
6291 2018-10-30 Florian Weimer <fweimer@redhat.com>
6292
6293 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6294 memory leaks.
6295
6296 2018-10-30 Florian Weimer <fweimer@redhat.com>
6297
6298 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6299
6300 2018-10-30 Florian Weimer <fweimer@redhat.com>
6301
6302 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6303 support_blob_repeat.
6304
6305 2018-10-30 Florian Weimer <fweimer@redhat.com>
6306
6307 Avoid spurious test failures in stdlib/test-bz22786.
6308 * support/Makefile (libsupport-routines): Add blob_repeat.
6309 (tests): Add tst-support_blob_repeat.
6310 * support/blob_repeat.h: New file.
6311 * support/blob_repeat.c: Likewise.
6312 * support/tst-support_blob_repeat.c: Likewise.
6313 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6314 support_blob_repeat_allocate.
6315
6316 2018-10-30 Andreas Schwab <schwab@suse.de>
6317
6318 [BZ #23125]
6319 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6320 Don't use tail call.
6321 * elf/tst-unwind-main.c: New file.
6322 * elf/Makefile (tests): Add tst-unwind-main.
6323 (CFLAGS-tst-unwind-main.c): Define.
6324
6325 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6326
6327 [BZ #23791]
6328 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6329 n_cs_precedes to 0.
6330 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6331
6332 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6333
6334 * conform/glibcconform.py: Do not import shutil.
6335 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6336 of mkdtemp.
6337
6338 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6339 critic_missing for versions before 3.4.
6340 * configure: Regenerated.
6341 * manual/install.texi (Tools for Compilation): Document
6342 requirement for Python to build glibc.
6343 * INSTALL: Regenerated.
6344 * Rules [PYTHON]: Make code unconditional.
6345 * benchtests/Makefile [PYTHON]: Likewise.
6346 * conform/Makefile [PYTHON]: Likewise.
6347 * manual/Makefile [PYTHON]: Likewise.
6348 * math/Makefile [PYTHON]: Likewise.
6349
6350 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6351
6352 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6353 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6354 answer to interrupt_operation, return EIEIO instead of EINTR.
6355 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6356 _hurd_intr_rpc_msg_about_to global point to start of controlled
6357 assembly snippet. Make it check canceled flag.
6358 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6359 the _hurd_intr_rpc_msg_about_to point.
6360 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6361 issue, remove cancel flag check.
6362
6363 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6364
6365 * scripts/build-many-glibcs.py: Remove compatibility for missing
6366 os.cpu_count and re.fullmatch.
6367
6368 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6369
6370 [BZ #23822]
6371 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6372 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6373 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6374
6375 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6376
6377 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6378 macro.
6379
6380 2018-10-25 Florian Weimer <fweimer@redhat.com>
6381
6382 [BZ #23562]
6383 [BZ #23821]
6384 XFAIL siginfo_t si_band conform test on sparc64.
6385 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6386 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6387 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6388 (conformtest-xfail-conds): Add sparc64-linux.
6389 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6390 sparc64.
6391 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6392
6393 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6394
6395 * elf/elf.h (NT_MIPS_DSP): New macro.
6396 (NT_MIPS_FP_MODE): Likewise.
6397
6398 2018-10-25 Zong Li <zong@andestech.com>
6399
6400 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6401 name by adding the file extension (.so).
6402
6403 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6404
6405 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6406 (test-xfail-ISO11/threads.h/linknamespace,
6407 test-xfail-ISO11/threads.h/conform): Add.
6408
6409 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6410
6411 * math/gen-libm-test.py: Import os.
6412 (ALL_FLOATS_MANUAL): New constant.
6413 (ALL_FLOATS_SUFFIX): Likewise.
6414 (Ulps.all_functions): New function.
6415 (real_all_ulps): Likewise.
6416 (generate_err_table_sub): Likewise.
6417 (generate_err_table): Likewise.
6418 (main): Handle -s and -m options.
6419 * manual/libm-err-tab.pl: Remove.
6420 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6421 instead of libm-err-tab.pl.
6422 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6423 != no].
6424 * manual/install.texi (Tools for Compilation): Document
6425 requirement for Python to build manual.
6426 * INSTALL: Regenerated.
6427
6428 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6429
6430 * bits/time64.h: New file.
6431 * include/time.h: Replace internal_time_t with __time64_t.
6432 * posix/bits/types (__time64_t): Add.
6433 * stdlib/Makefile: Add bits/time64.h to includes.
6434 * time/tzfile.c: Replace internal_time_t with __time64_t.
6435
6436 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6437
6438 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6439 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6440 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6441 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6442 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6443 prototype.
6444 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6445 * posix/spawn_faction_addclose.c
6446 (__posix_spawn_file_actions_addclose): Add hidden definition.
6447 * posix/spawn_faction_adddup2.c
6448 (__posix_spawn_file_actions_adddup2): Likewise.
6449 * posix/spawn_faction_destroy.c
6450 (__posix_spawn_file_actions_destroy): Likewise.
6451 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6452 Likewise.
6453 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6454 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6455 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6456 Likewise.
6457 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6458 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6459 Likewise.
6460
6461 2018-10-24 Andreas Schwab <schwab@suse.de>
6462
6463 [BZ #18093]
6464 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6465 format cache.
6466 * elf/cache.c (print_cache): Likewise.
6467
6468 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6469
6470 * bits/timesize.h: New file.
6471 * stdlib/Makefile (headers): Add bits/timesize.h.
6472 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6473 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6474 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6475 (__SEM_PAD_AFTER_TIME): Likewise.
6476 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6477 (__SHM_PAD_AFTER_TIME): Likewise.
6478 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6479 (__MSQ_PAD_BEFORE_TIME): Likewise.
6480 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6481 (__SEM_PAD_BEFORE_TIME): Likewise.
6482 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6483 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6484 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6485 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6486 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6487 (__MSQ_PAD_BEFORE_TIME): Likewise.
6488 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6489 (__SEM_PAD_BEFORE_TIME): Likewise.
6490 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6491 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6492 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6493 (__MSQ_PAD_BEFORE_TIME): Likewise.
6494 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6495 (__SEM_PAD_BEFORE_TIME): Likewise.
6496 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6497 (__SHM_PAD_BEFORE_TIME): Likewise.
6498 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6499 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6500 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6501
6502 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6503
6504 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6505 USE_RDTSCP is defined.
6506 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6507 USE_RDTSCP is defined.
6508
6509 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6510
6511 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6512 defined.
6513
6514 [BZ #23709]
6515 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6516 independently of other flags.
6517
6518 2018-10-23 Florian Weimer <fweimer@redhat.com>
6519
6520 * time/tst-mktime2.c (N_STRINGS): Remove.
6521 (set_timezone): New function.
6522 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6523 (mktime_test1): Report localtime failure and check errno value.
6524 Use TEST_COMPARE.
6525 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6526 (do_test): Remove alarm call. Use set_timezone and array_length.
6527
6528 2018-10-23 Andreas Schwab <schwab@suse.de>
6529
6530 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6531 (__start_context): Use END instead of PSEUDO_END.
6532
6533 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6534
6535 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6536 version to 4.19.
6537
6538 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6539 version to 4.19.
6540
6541 [BZ #23793]
6542 * wcsmbs/c32rtomb.c: New file.
6543 * wcsmbs/mbrtoc32.c: Likewise.
6544 * wcsmbs/tst-c32-state.c: Likewise.
6545 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6546 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6547 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6548 (tests): Add tst-c32-state.
6549 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6550 $(gen-locales).
6551
6552 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6553
6554 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6555 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6556
6557 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6558
6559 [BZ #23794]
6560 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6561 pair and return 0 in that case, and use saved character to
6562 interpret following character.
6563 * wcsmbs/tst-c16-surrogate.c: New file.
6564 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6565 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6566 Depend on $(gen-locales)
6567
6568 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6569
6570 [BZ #23562]
6571 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6572 (struct siginfo_t): Use correct type for si_band.
6573
6574 2018-10-19 Florian Weimer <fweimer@redhat.com>
6575
6576 [BZ #23689]
6577 * resource/bits/types/struct_rusage.h (struct rusage): Update
6578 comment on struct. Remove extraneous field comment.
6579
6580 2018-10-18 David S. Miller <davem@davemloft.net>
6581
6582 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6583 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6584 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6585 sysdep_routines in subdir elf.
6586 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6587 version for __vdso_clock_gettime.
6588 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6589 Define.
6590 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6591 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6592
6593 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6594
6595 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 * sysdeps/i386/init-arch.h: Removed.
6598 * sysdeps/i386/i586/init-arch.h: Likewise.
6599 * sysdeps/i386/i686/init-arch.h: Likewise.
6600 * sysdeps/i386/i686/hp-timing.h: Likewise.
6601 * sysdeps/x86_64/hp-timing.h: Likewise.
6602 * sysdeps/i386/isa.h: New file.
6603 * sysdeps/i386/i586/isa.h: Likewise.
6604 * sysdeps/i386/i686/isa.h: Likewise.
6605 * sysdeps/x86_64/isa.h: Likewise.
6606 * sysdeps/x86/hp-timing.h: New file.
6607 * sysdeps/x86/init-arch.h: Include <isa.h>.
6608
6609 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6610
6611 * math/libm-test-pow.inc (pow_test_data): Do not allow
6612 divide-by-zero exception for pow(+/- 0, -Inf).
6613
6614 2018-10-17 Zack Weinberg <zackw@panix.com>
6615
6616 * manual/job.texi (Job Control is Optional): Remove node, as
6617 job control has not been optional in quite some time.
6618 (Job Control): Mention briefly that systems older than
6619 POSIX.1-2001 might not support job control.
6620 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6621 defined on systems conforming to POSIX.1-2001.
6622
6623 2018-10-17 Arjun Shankar <arjun@redhat.com>
6624
6625 [BZ #22062]
6626 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6627 indentation.
6628 * (__gconv_read_conf): Mark function static.
6629 * (once): New static variable.
6630 * (__gconv_load_conf): New function.
6631 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6632 * iconv/gconv_db.c (once): Remove static variable.
6633 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6634 __gconv_read_conf.
6635 * (__gconv_find_transform): Likewise.
6636 * iconv/tst-iconv-mt.c: New test.
6637 * iconv/Makefile: Add tst-iconv_mt.
6638
6639 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6640
6641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6642 bits/shm-pad.h.
6643 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6644 (shmatt_t): Define as __syscall_ulong_t.
6645 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6646 and [__SHM_PAD_AFTER_TIME].
6647 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6648 Define shm_segsz and associated padding based on
6649 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6650 Use __syscall_ulong_t instead of unsigned long int.
6651 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6652 unsigned long int.
6653 [__USE_MISC] (struct shm_info): Likewise.
6654 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6655 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6656 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6657 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6658 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6659 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6660 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6661 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6662 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6663 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6664 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6665
6666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6667 bits/shmlba.h.
6668 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6669 (SHMLBA): Remove macro.
6670 (__getpagesize): Remove function declaration.
6671 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6672 <bits/shmlba.h>.
6673 (SHMLBA): Remove macro.
6674 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6675 <bits/shmlba.h>.
6676 (SHMLBA): Remove macro.
6677 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6678 <bits/shmlba.h>.
6679 (SHMLBA): Remove macro.
6680 (__getpagesize): Remove function declaration.
6681 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6682 <bits/shmlba.h>.
6683 (SHMLBA): Remove macro.
6684 (__getshmlba): Remove function declaration.
6685 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6686 (SHMLBA): Remove macro.
6687 (__getpagesize): Remove function declaration.
6688 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6689 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6690 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6691 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6692 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6693 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6694 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6695 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6696 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6697 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6698
6699 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6700
6701 [BZ #23275]
6702 * nptl/tst-mutex10.c: New File.
6703 * nptl/Makefile (tests): Add tst-mutex10.
6704 (tst-mutex10-ENV): New variable.
6705 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6706 Ensure that elision path is used if elision is available.
6707 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6708 Likewise.
6709 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6710 Likewise.
6711 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6712 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6713 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6714 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6715 Likewise.
6716 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6717 (__pthread_mutex_cond_lock_adjust): Likewise.
6718 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6719 Likewise.
6720 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6721 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6722 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6723 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6724 Add comments.
6725 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6726 Use atomic_load_relaxed and atomic_store_relaxed.
6727 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6728 Use atomic_store_relaxed.
6729
6730 2018-10-17 Andreas Schwab <schwab@suse.de>
6731
6732 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6733 * crypt/badsalttest.c (TIMEOUT): Likewise.
6734 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6735 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6736 * io/test-lfs.c (TIMEOUT): Likewise.
6737 * libio/tst-atime.c (TIMEOUT): Likewise.
6738 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6739 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6740 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6741 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6742 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6743 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6744 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6745 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6746 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6747 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6748 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6749 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6750 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6751 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6752 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6753 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6754 * nptl/tst-once2.c (TIMEOUT): Likewise.
6755 * nptl/tst-once3.c (TIMEOUT): Likewise.
6756 * nptl/tst-once4.c (TIMEOUT): Likewise.
6757 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6758 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6759 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6760 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6761 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6762 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6763 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6764 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6765 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6766 * posix/tst-chmod.c (TIMEOUT): Likewise.
6767 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6768 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6769 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6770 * posix/tst-regex2.c (TIMEOUT): Likewise.
6771 * posix/tst-waitid.c (TIMEOUT): Likewise.
6772 * rt/tst-aio.c (TIMEOUT): Likewise.
6773 * rt/tst-aio10.c (TIMEOUT): Likewise.
6774 * rt/tst-aio4.c (TIMEOUT): Likewise.
6775 * rt/tst-aio5.c (TIMEOUT): Likewise.
6776 * rt/tst-aio6.c (TIMEOUT): Likewise.
6777 * rt/tst-aio64.c (TIMEOUT): Likewise.
6778 * rt/tst-aio7.c (TIMEOUT): Likewise.
6779 * rt/tst-aio9.c (TIMEOUT): Likewise.
6780 * rt/tst-clock.c (TIMEOUT): Likewise.
6781 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6782 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6783 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6784 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6785 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6786 * rt/tst-timer4.c (TIMEOUT): Likewise.
6787 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6788 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6789 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6790 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6791 * time/tst-ftime.c (TIMEOUT): Likewise.
6792 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6793
6794 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6795
6796 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6797 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6798 for thunderX2.
6799
6800 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6801
6802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6803 bits/sem-pad.h.
6804 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6805 instead of <bits/wordsize.h>.
6806 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6807 and [__SEM_PAD_AFTER_TIME].
6808 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6809 __syscall_ulong_t instead of unsigned long int.
6810 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6811 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6812 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6813 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6814 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6815 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6816 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6817 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6818 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6819 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6820 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6821
6822 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6823
6824 regex: simplify by using intprops.h
6825 [BZ#23744]
6826 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6827 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6828 intprops.h defines them.
6829
6830 regex: __builtin_expect → __glibc_unlikely
6831 [BZ#23744]
6832 This refactoring was prompted by a problem when the regex code is
6833 used as part of Gnulib and when the builder’s compiler does not grok
6834 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6835 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6836 Although this refactoring does not fix the problem directly,
6837 we might as well have Gawk use the now-preferred glibc style for when
6838 __builtin_expect is unavailable.
6839 * posix/regex_internal.h (BE): Remove.
6840 All uses replaced by __glibc_unlikely or __glibc_likely.
6841
6842 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6843
6844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6845 bits/msq-pad.h.
6846 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6847 instead of <bits/wordsize.h>.
6848 (msgqnum_t): Define as __syscall_ulong_t.
6849 (msglen_t): Likewise.
6850 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6851 and [__MSQ_PAD_AFTER_TIME].
6852 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6853 __syscall_ulong_t instead of unsigned long int.
6854 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6855 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6856 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6857 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6858 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6859 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6860 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6861 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6862 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6863 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6864 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6865
6866 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6867
6868 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6869 (struct shmid_ds): Condition padding after time fields on
6870 [__WORDSIZE == 32].
6871 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6872 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6873 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6874
6875 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6876 (struct semid_ds): Condition padding after time fields on
6877 [__WORDSIZE == 32].
6878 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6879 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6880 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6881 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6882
6883 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6884 (struct msqid_ds): Condition padding after time fields on
6885 [__WORDSIZE == 32].
6886 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6887 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6888 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6889 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6890
6891 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6892
6893 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6894
6895 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6896
6897 * libio/tst-readline.c (TIMEOUT): Define.
6898
6899 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6900
6901 mktime fix for Gnulib + coreutils
6902 [BZ#23745]
6903 This fix affects only Gnulib. Problem discovered when
6904 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6905 * time/mktime.c:
6906 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6907 Do not define since it is not used. Defining an unused static
6908 function prompts a warning from GCC when Coreutils is configured
6909 with --enable-gcc-warnings.
6910
6911 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6912
6913 * benchtests/scripts/compare_bench.py (main): set float type on
6914 threshold argument.
6915
6916 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6917
6918 [BZ #23740]
6919 * localedata/locales/kl_GL (mon): Update, the relative case.
6920 (alt_mon): Add, fill with month names in the nominative case.
6921 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6922 (d_fmt): Set to "%b %d %Y".
6923
6924 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6925
6926 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6927 <bits/mman-linux.h>.
6928 (PROT_READ): Don't define here.
6929 (PROT_WRITE): Likewise.
6930 (PROT_EXEC): Likewise.
6931 (PROT_NONE): Likewise.
6932 (PROT_GROWSDOWN): Likewise.
6933 (PROT_GROWSUP): Likewise.
6934 (MAP_SHARED): Likewise.
6935 (MAP_PRIVATE): Likewise.
6936 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6937 [__USE_MISC] (MAP_FILE): Likewise.
6938 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6939 [__USE_MISC] (MAP_ANON): Likewise.
6940 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6941 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6942 (MCL_CURRENT): Likewise.
6943 (MCL_FUTURE): Likewise.
6944 (MCL_ONFAULT): Likewise.
6945 [__USE_MISC] (MADV_NORMAL): Likewise.
6946 [__USE_MISC] (MADV_RANDOM): Likewise.
6947 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6948 [__USE_MISC] (MADV_WILLNEED): Likewise.
6949 [__USE_MISC] (MADV_DONTNEED): Likewise.
6950 [__USE_MISC] (MADV_FREE): Likewise.
6951 [__USE_MISC] (MADV_REMOVE): Likewise.
6952 [__USE_MISC] (MADV_DONTFORK): Likewise.
6953 [__USE_MISC] (MADV_DOFORK): Likewise.
6954 [__USE_MISC] (MADV_HWPOISON): Likewise.
6955 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6956 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6957 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6958 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6959 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6960 (__MAP_ANONYMOUS): New macro.
6961 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6962 <bits/mman-linux.h> inclusion.
6963 (MAP_FIXED): Likewise.
6964 (MS_SYNC): Likewise.
6965 (MS_ASYNC): Likewise.
6966 (MS_INVALIDATE): Likewise.
6967 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6968 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6969 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6970 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6971 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6972 [__USE_MISC] (MADV_DODUMP): Likewise.
6973 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6974 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6975
6976 [BZ #23735]
6977 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6978 Define.
6979 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6980 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6981 Add test-nldbl-redirect.
6982 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6983 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6984 $(objpfx)libnldbl_nonshared.a.
6985
6986 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6987
6988 * support/support.h (support_objdir_elf_ldso): New variable.
6989 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6990 * support/Makefile (CFLAGS-support_paths.c): Add definition
6991 for OBJDIR_ELF_LDSO_PATH.
6992 * support/test-container.c (main): Search for the ld.so
6993 which is also used by the testsuite.
6994
6995 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6996
6997 [BZ #20209]
6998 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6999 should be "sap" rather than "sab".
7000 (day): Fix spelling of Sunday, should be "sapaat" rather than
7001 "sabaat".
7002
7003 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7004
7005 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7006
7007 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7008
7009 [BZ #19444]
7010 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7011 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7012 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7013
7014 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7015
7016 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7017
7018 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7021 Add -mrtm.
7022 (CFLAGS-elision-unlock.c): Likewise.
7023 (CFLAGS-elision-timed.c): Likewise.
7024 (CFLAGS-elision-trylock.c): Likewise.
7025 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7026
7027 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7028
7029 [BZ #21037]
7030 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7031 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7032 new fd_to_filename interface.
7033 * libio/freopen64.c (freopen64): Likewise.
7034 * libio/tst-memstream.h: New file.
7035 * libio/tst-memstream4.c: Likewise.
7036 * libio/tst-wmemstream4.c: Likewise.
7037 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7038 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7039 and remove internal dynamic allocation.
7040
7041 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7042
7043 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7044 (MREMAP_MAYMOVE): Do not define here.
7045 [__USE_GNU] (MREMAP_FIXED): Likewise.
7046 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7047 (MREMAP_MAYMOVE): Define here instead.
7048 [__USE_GNU] (MREMAP_FIXED): Likewise.
7049 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7050 (MREMAP_MAYMOVE): Remove.
7051 [__USE_GNU] (MREMAP_FIXED): Likewise.
7052
7053 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7054
7055 * math/fromfp.h: Do not include <math_private.h>.
7056 * math/s_cacosh_template.c: Likewise.
7057 * math/s_casin_template.c: Likewise.
7058 * math/s_casinh_template.c: Likewise.
7059 * math/s_ccos_template.c: Likewise.
7060 * math/s_cproj_template.c: Likewise.
7061 * math/s_fdim_template.c: Likewise.
7062 * math/s_fmaxmag_template.c: Likewise.
7063 * math/s_fminmag_template.c: Likewise.
7064 * math/s_iseqsig_template.c: Likewise.
7065 * math/s_ldexp_template.c: Likewise.
7066 * math/s_nextdown_template.c: Likewise.
7067 * math/w_log1p_template.c: Likewise.
7068 * math/w_scalbln_template.c: Likewise.
7069 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7070 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7071 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7072 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7073 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7074 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7075 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7076 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7077 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7078 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7079 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7080 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7081 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7082 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7083 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7084 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7085 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7086 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7087 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7088 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7090 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7091 * sysdeps/ieee754/k_standardf.c: Likewise.
7092 * sysdeps/ieee754/k_standardl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7095 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7101 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7102 * sysdeps/ieee754/s_signgam.c: Likewise.
7103 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7104 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7105 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7106 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7107 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7108 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7109 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7110 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7111 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7112 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7113 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7114 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7115 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7116 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7117 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7118 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7119 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7120 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7121 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7122 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7123 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7124 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7125 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7126 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7127 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7128 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7129 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7130 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7131 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7132 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7133 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7134 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7135 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7136 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7137 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7138 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7139 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7140 <math_private.h>.
7141 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7142
7143 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7144
7145 [BZ #23716]
7146 * sysdeps/i386/dl-cet.c: Removed.
7147 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7148 prototype.
7149 (_dl_runtime_profile_shstk): Likewise.
7150 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7151 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7152
7153 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7154
7155 [BZ #23579]
7156 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7157 do_test_with_invalid_iov): New tests.
7158 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7159 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7160 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7161 errno is ENOSYS.
7162 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7163 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7164 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7165
7166 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7167
7168 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7169 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7170 (MATH_REDIRECT_BINARY_ARGS): New macro.
7171 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7172 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7173 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7174 header inclusion.
7175 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7176 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7177 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7178 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7183 Likewise.
7184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7185 Likewise.
7186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7188 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7189 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7191 Likewise.
7192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7193 Likewise.
7194 * sysdeps/generic/math_private_calls.h
7195 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7196 Do not declare and define as an inline function.
7197 * math/divtc3.c (__divtc3): Use copysign functions instead of
7198 __copysign variants.
7199 * math/multc3.c (__multc3): Likewise.
7200 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7201 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7202 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7203 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7204 Likewise.
7205 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7206 (__ieee754_yn): Likewise.
7207 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7208 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7209 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7210 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7211 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7212 (__sin): Likewise.
7213 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7214 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7215 Likewise.
7216 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7217 Likewise.
7218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7219 Likewise.
7220 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7221 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7222 Likewise.
7223 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7224 (__ieee754_ynf): Likewise.
7225 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7226 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7228 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7229 Likewise.
7230 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7231 (__ieee754_ynl): Likewise.
7232 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7233 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7234 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7235 Likewise.
7236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7237 (__ieee754_ynl): Likewise.
7238 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7239 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7241 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7242 Likewise.
7243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7244 (__ieee754_ynl)
7245 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7247 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7248 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7249 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7250
7251 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7252 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7253 using MATH_REDIRECT.
7254 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7255 header inclusion.
7256 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7258 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7259 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7260 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7267 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7268 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7270 (round): Redirect to __round.
7271 (__roundl): Call round instead of __round.
7272 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7273 Remove macro.
7274 [_ARCH_PWR5X] (__roundf): Likewise.
7275 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7276 functions instead of __round variants.
7277 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7278 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7279 Likewise.
7280 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7281 Likewise.
7282 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7283 Likewise.
7284 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7286 __lroundl.
7287 (__ieee754_expl): Call roundl instead of __roundl.
7288
7289 2018-09-27 Andreas Schwab <schwab@suse.de>
7290
7291 [BZ #23717]
7292 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7293 (do_test): Make st1 static.
7294
7295 2018-09-26 Andreas Schwab <schwab@suse.de>
7296
7297 [BZ #23707]
7298 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7299 * elf/Makefile (tests): Add tst-unwind-ctor.
7300 (modules-names): Add tst-unwind-ctor-lib.
7301 ($(objpfx)tst-unwind-ctor): Depend on
7302 $(objpfx)tst-unwind-ctor-lib.so.
7303
7304 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7305
7306 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7307 file. Most contents moved from ....
7308 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7309 and include <bits/mman-map-flags-generic.h>.
7310 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7311 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7312 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7313 <bits/mman-map-flags-generic.h>.
7314 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7315 macros defined in <bits/mman-map-flags-generic.h>.
7316 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7317 <bits/mman-map-flags-generic.h>.
7318 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7319 defined in <bits/mman-map-flags-generic.h>.
7320
7321 2018-09-26 Andreas Schwab <schwab@suse.de>
7322
7323 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7324 output.
7325
7326 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7327 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7328 Fangrui Song <maskray@google.com>
7329
7330 [BZ #20480]
7331 * config.make.in (have-textrel_ifunc): New define.
7332 * configure.ac: Add check if linker supports textrel relocation with
7333 ifunc.
7334 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7335 tst-ifunc-textrel.
7336 (CFLAGS-tst-ifunc-textrel.c): New rule.
7337 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7338 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7339 * elf/tst-ifunc-textrel.c: New file.
7340
7341 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7342
7343 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7344 <bits/procfs-prregset.h>.
7345 (prgregset_t): Define using __prgregset_t.
7346 (prfpregset_t): Define using __prfpregset_t.
7347 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7348 (sysdep_headers): Add bits/procfs-prregset.h.
7349 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7350 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7351 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7352 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7353
7354 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7355 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7356 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7357 pr_uid and pr_gid.
7358 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7359 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7360 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7361 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7362 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7363 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7364 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7365 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7366 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7367 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7368 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7369 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7370 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7371 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7372 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7373 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7374 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7375 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7376 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7377 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7378 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7379 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7380 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7381 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7382
7383 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7384 AArch64 version. Include <bits/procfs.h>.
7385 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7386 (sysdep_headers): Add bits/procfs.h.
7387 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7388 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7389 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7390 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7391 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7392 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7393 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7394 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7395 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7396 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7397 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7398 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7399 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7400 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7401 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7402 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7403 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7404
7405 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7406
7407 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7408 Use libsupport.
7409
7410 2018-09-25 Arjun Shankar <arjun@redhat.com>
7411
7412 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7413 (__gconv_max_path_elem_len): Likewise.
7414 (__gconv_nmodules): Likewise.
7415 (__gconv_get_path): Likewise.
7416 (path_elem): Move to ...
7417 * iconv/gconv_conf.c: ... here.
7418 (__gconv_get_path): Mark function static.
7419 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7420 * iconv/gconv_open.c: ... here.
7421
7422 2018-09-24 Andreas Schwab <schwab@suse.de>
7423
7424 * scripts/haveversions.awk: New file.
7425 * Makerules ($(common-objpfx)Versions.def)
7426 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7427 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7428 Move rules ...
7429 * Makeconfig ($(common-objpfx)Versions.def)
7430 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7431 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7432 ... here.
7433 ($(common-objpfx)Versions.mk): New rule. Include it.
7434 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7435 Emit error if build-obsolete-nsl = yes.
7436 * manual/install.texi (Configuring and compiling): Describe
7437 --enable-obsolete-nsl as unavaiable after version 2.28.
7438 * INSTALL: Regenerate.
7439
7440 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7441
7442 * NEWS: Add note about new TLE support on powerpc64le.
7443 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7444 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7445 __ununsed1.
7446 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7447 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7448 * sysdeps/powerpc/powerpc32/sysdep.h,
7449 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7450 ABORT_TRANSACTION): Remove macros.
7451 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7452 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7453 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7455 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7456 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7457 usage.
7458 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7459
7460 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7461
7462 [BZ #10425]
7463 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7464 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7465 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7466 which is the same as in it_IT.
7467 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7468 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7469
7470 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7471
7472 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7473 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7474 using MATH_REDIRECT.
7475 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7476 header inclusion.
7477 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7479 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7481 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7487 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7488 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7489 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7490 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7491 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7492 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7493 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7495 (ceil): Redirect to __ceil.
7496 (floor): Redirect to __floor.
7497 (trunc): Redirect to __trunc.
7498 (__truncl): Call trunc instead of __trunc.
7499 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7500 Remove macro.
7501 [_ARCH_PWR5X] (__truncf): Likewise.
7502 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7503 trunc functions instead of __trunc variants.
7504 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7505 Likewise.
7506 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7507 Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7509 Likewise.
7510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7511 Likewise.
7512
7513 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7514 [__i586__ || __pentium__].
7515 [__i486__]: Handle explicitly.
7516 (HAS_CPUID): Define to 1 if above macros are undefined.
7517 (HAS_I586): Likewise.
7518 (HAS_I686): Likewise.
7519
7520 2018-09-20 Florian Weimer <fweimer@redhat.com>
7521
7522 * misc/tst-gethostid.c: New file.
7523 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7524 (tst-gethostid): Link with -ldl.
7525
7526 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7527
7528 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7529 value from gethostbyname_r.
7530
7531 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7532
7533 * stdlib/tst-setcontext9.c (f1): Rename to...
7534 (f1a): ... this.
7535 (f1b): New function implementing lower half of f1 in alternate stack.
7536
7537 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7538
7539 Fix mktime localtime offset confusion
7540 [BZ #23603]
7541 * include/time.h (__mktime_internal): The localtime offset is now
7542 of type long int instead of time_t. This is the longstanding type
7543 in glibc, and it is more than enough to represent difference
7544 between localtime and gmtime even if it is 32 bits and time_t is
7545 64. Changing it now will let us avoid an unnecessary change when
7546 time_t is widened to 64 bits on 32-bit platforms.
7547 * time/mktime-internal.h (mktime_offset_t): Now long int.
7548
7549 Merge mktime, timegm from upstream Gnulib
7550 [BZ #23603][BZ #16346]
7551 This fixes some obscure problems with integer overflow.
7552 Although it looks scary, it is almost all a byte-for-byte copy
7553 from Gnulib, and the Gnulib code has been tested reasonably well.
7554 * include/intprops.h: New file, copied from Gnulib.
7555 * include/verify.h, time/mktime-internal.h:
7556 New tiny files, simplified from Gnulib.
7557 * time/mktime.c: Copy from Gnulib. This has the following changes:
7558 Do not include config.h if DEBUG_MKTIME is nonzero.
7559 Include stdbool.h, intprops.h, verify.h.
7560 Include string.h only if needed.
7561 Include stdlib.h on MS-Windows.
7562 Include mktime-internal.h.
7563 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7564 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7565 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7566 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7567 simplify later conditionals; default the others to zero. Use
7568 these conditionals to express only the code needed on the current
7569 platform. In uses of these conditionals, explicitly spell out how
7570 _LIBC affects things, so it’s easier to review from a glibc
7571 viewpoint.
7572 (WRAPV): Remove; no longer needed now that we have
7573 systematic overflow checking.
7574 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7575 compartmentalize tzset issues. Move system-dependent tzsettish
7576 code here from mktime.
7577 (verify): Remove; now done by verify.h. All uses changed.
7578 (long_int): Use a more-conservative definition, to avoid
7579 integer overflow.
7580 (SHR): Remove, replacing with ...
7581 (shr): New function, which means we needn’t worry about side
7582 effects in args, and conversion analysis is simpler.
7583 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7584 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7585 (time_t_avg, time_t_add_ok): Remove.
7586 (mktime_min, mktime_max): New constants.
7587 (leapyear, isdst_differ): Use bool for booleans.
7588 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7589 Use long_int, not time_t, for mktime differences.
7590 (long_int_avg): New function, replacing time_t_avg.
7591 INT_ADD_WRAPV replaces time_t_add_ok.
7592 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7593 All uses changed.
7594 (convert_time): New function.
7595 (ranged_convert): Use it.
7596 (__mktime_internal): Last arg now points to mktime_offset_t, not
7597 time_t. All uses changed. This is a no-op on glibc, where
7598 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7599 offset guess. Directly check for integer overflow instead of
7600 using a heuristic that works only 99.9...% of the time.
7601 Access *OFFSET only once, to avoid an unlikely race if the
7602 compiler delays a load and if this cascades into a signed integer
7603 overflow.
7604 (mktime): Move tzsettish code to my_tzset, and move
7605 localtime_offset to within mktime so that it doesn’t
7606 need a separate ifdef.
7607 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7608 instead of localtime.
7609 * time/timegm.c: Copy from Gnulib. This has the following changes:
7610 Include mktime-internal.h.
7611 [!_LIBC]: Include config.h and time.h. Do not include
7612 timegm.h or time_r.h. Make __mktime_internal a macro,
7613 and include mktime-internal.h to get its declaration.
7614 (timegm): Temporary is now mktime_offset_t, not time_t.
7615 This affects only Gnulib.
7616
7617 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7618
7619 [BZ #23637]
7620 * string/test-strstr.c (pr23637): New function.
7621 (test_main): Add tests with longer needles.
7622 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7623 * string/strstr.c (AVAILABLE): Likewise.
7624
7625 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7626
7627 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7628
7629 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7630
7631 * NEWS: Mention pow improvements.
7632 * math/Makefile (type-double-routines): Add e_pow_log_data.
7633 * sysdeps/generic/math_private.h (__exp1): Remove.
7634 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7635 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7636 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7637 contraction.
7638 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7639 (exp_inline): Remove.
7640 (__ieee754_exp): Only single double input is handled.
7641 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7642 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7643 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7644 (__pow_log_data): Define.
7645 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7646 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7647 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7648 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7649 contraction.
7650 (CFLAGS-e_pow-fma4.c): Likewise.
7651
7652 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7653
7654 Simplify tzfile fstat failure code
7655 [BZ #21716]
7656 * time/tzfile.c (__tzfile_read): Simplify slightly.
7657
7658 Fix tzfile low-memory assertion failure
7659 [BZ #21716]
7660 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7661 when registering time zone abbreviations.
7662
7663 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7664
7665 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7666 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7667 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7668 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7669 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7670 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7671 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7674
7675 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7676 __ceil.
7677 (__ceill): Call ceil instead of __ceil.
7678 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7679 __floor.
7680 (__floorl): Call floor instead of __floor.
7681
7682 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7683
7684 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7685 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7686 using MATH_REDIRECT.
7687 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7688 header inclusion.
7689 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7692 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7693 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7696 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7701 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7702 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7705 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7706 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7707 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7708 Remove macro.
7709 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7710 functions instead of __ceil variants.
7711 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7712 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7713 Likewise.
7714 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7715 Likewise.
7716 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7717 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7718 Likewise.
7719 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7720 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7721
7722 [BZ #21286]
7723 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7724 constant.
7725 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7726 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7727 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7728 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7729 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7730 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7731 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7732 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7733 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7734 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7735 (ILL_BADIADDR): Remove constant.
7736 (TRAP_BRANCH): Likewise.
7737 (TRAP_HWBKPT): Likewise.
7738
7739 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7740
7741 [BZ #23656]
7742 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7743 Remove [_MIPS_SIM = _ABIN32] conditional case.
7744 (struct elf_prpsinfo): Likewise.
7745
7746 [BZ #23649]
7747 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7748 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7749 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7750 Likewise.
7751 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7752 elf_prpsinfo): Likewise.
7753 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7754 elf_prpsinfo): Likewise.
7755 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7756 Likewise.
7757
7758 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7759 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7760 using MATH_REDIRECT.
7761 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7762 header inclusion.
7763 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7764 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7765 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7766 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7769 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7770 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7773 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7774 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7775 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7776 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7777 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7778 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7779 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7780 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7781 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7786 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7787 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7788 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7789 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7790 __rint variants.
7791 * math/e_scalbf.c (invalid_fn): Likewise.
7792 * math/e_scalbl.c (invalid_fn): Likewise.
7793 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7794 Likewise.
7795 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7796 Likewise.
7797 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7798 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7799 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7800 Likewise.
7801 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7802 Likewise.
7803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7804 Likewise.
7805 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7806 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7807
7808 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7809 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7810 New macro.
7811 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7812 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7813 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7814 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7815 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7816 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7817 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7818 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7819 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7820 && !NO_MATH_REDIRECT] (floor): Likewise.
7821 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7822 header inclusion.
7823 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7826 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7827 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7830 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7835 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7836 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7839 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7840 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7841 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7842 Remove macro.
7843 [_ARCH_PWR5X] (__floorf): Likewise.
7844 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7845 inline function.
7846 [__SSE4_1__] (__floorf): Likewise.
7847 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7848 instead of __floor variants.
7849 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7850 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7851 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7852 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7853 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7854 * math/w_tgamma_compat.c (__tgamma): Likewise.
7855 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7856 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7857 * math/w_tgammal_compat.c (__tgammal): Likewise.
7858 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7860 Likewise.
7861 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7862 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7863 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7864 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7865 Likewise.
7866 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7867 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7868 Likewise.
7869 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7871 Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7873 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7874 Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7877 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7878 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7879 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7880 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7881
7882 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7883
7884 * elf/Makefile (modules-names-tests): New variable.
7885
7886 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7887
7888 * NEWS: Mention log2 improvements.
7889 * math/Makefile (type-double-routines): Add e_log2_data.
7890 * sysdeps/i386/fpu/e_log2_data.c: New file.
7891 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7892 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7893 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7894 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7896 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7897
7898 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7899
7900 * NEWS: Mention log improvement.
7901 * math/Makefile (type-double-routines): Add e_log_data.
7902 * sysdeps/i386/fpu/e_log_data.c: New file.
7903 * sysdeps/ia64/fpu/e_log_data.c: New file.
7904 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7905 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7906 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7907 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7908 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7909 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7910
7911 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7912 Xuepeng Guo <xuepeng.guo@intel.com>
7913
7914 [BZ #23606]
7915 * sysdeps/i386/start.S: Include <sysdep.h>
7916 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7917 enabled. Add cfi_undefined (eip).
7918
7919 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7920
7921 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7922 (MOVQ): Likewise.
7923 (EXTRACT_WORDS64): Likewise.
7924 (INSERT_WORDS64): Likewise.
7925 (GET_FLOAT_WORD): Likewise.
7926 (SET_FLOAT_WORD): Likewise.
7927
7928 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7929 argument.
7930 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7931 build, but not for second build if --full-gcc. Use
7932 --enable-languages=all for second build if --full-gcc.
7933 (get_parser): Add --full-gcc option.
7934 (main): Update call to Context.
7935
7936 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7937
7938 [BZ #10797]
7939 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7940 Single Quotation Mark).
7941 (thousands_sep): Likewise.
7942 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7943 * localedata/locales/it_IT (thousands_sep): Use ".".
7944 (grouping): Use "3;3".
7945
7946 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7947
7948 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7949 x86_64 and i686 configs using --enable-obsolete-rpc
7950 --enable-obsolete-nsl.
7951
7952 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7953
7954 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7955
7956 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7957
7958 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7959 Increment size of new_argv by one.
7960
7961 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7962
7963 [BZ #17426]
7964 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7965 * localedata/locales/ar_IN (d_fmt): Likewise.
7966 * localedata/locales/bhb_IN (d_fmt): Likewise.
7967 * localedata/locales/bho_IN (d_fmt): Likewise.
7968 * localedata/locales/bn_BD (d_fmt): Likewise.
7969 * localedata/locales/bn_IN (d_fmt): Likewise.
7970 * localedata/locales/doi_IN (d_fmt): Likewise.
7971 * localedata/locales/gu_IN (d_fmt): Likewise.
7972 * localedata/locales/hi_IN (d_fmt): Likewise.
7973 * localedata/locales/hne_IN (d_fmt): Likewise.
7974 * localedata/locales/kn_IN (d_fmt): Likewise.
7975 * localedata/locales/mag_IN (d_fmt): Likewise.
7976 * localedata/locales/mai_IN (d_fmt): Likewise.
7977 * localedata/locales/mjw_IN (d_fmt): Likewise.
7978 * localedata/locales/ml_IN (d_fmt): Likewise.
7979 * localedata/locales/mni_IN (d_fmt): Likewise.
7980 * localedata/locales/mr_IN (d_fmt): Likewise.
7981 * localedata/locales/pa_IN (d_fmt): Likewise.
7982 * localedata/locales/raj_IN (d_fmt): Likewise.
7983 * localedata/locales/sat_IN (d_fmt): Likewise.
7984 * localedata/locales/sd_IN (d_fmt): Likewise.
7985 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7986 * localedata/locales/ta_IN (d_fmt): Likewise.
7987 * localedata/locales/ta_LK (d_fmt): Likewise.
7988 * localedata/locales/tcy_IN (d_fmt): Likewise.
7989 * localedata/locales/ur_IN (d_fmt): Likewise.
7990
7991 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7992 * localedata/locales/ks_IN (d_fmt): Likewise.
7993 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7994
7995 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7996 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7997 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7998 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7999
8000 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8001
8002 * NEWS: Mention exp and exp2 improvements.
8003 * math/Makefile (libm-support): Remove t_exp.
8004 (type-double-routines): Add math_err and e_exp_data.
8005 * sysdeps/aarch64/libm-test-ulps: Update.
8006 * sysdeps/arm/libm-test-ulps: Update.
8007 * sysdeps/i386/fpu/e_exp_data.c: New file.
8008 * sysdeps/i386/fpu/math_err.c: New file.
8009 * sysdeps/i386/fpu/t_exp.c: Remove.
8010 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8011 * sysdeps/ia64/fpu/math_err.c: New file.
8012 * sysdeps/ia64/fpu/t_exp.c: Remove.
8013 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8014 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8015 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8017 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8018 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8019 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8020 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8021 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8022 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8023 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8024 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8025 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8026 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8029
8030 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8031
8032 * sysdeps/alpha/fpu/math_private.h: Remove.
8033
8034 * sysdeps/generic/math_private.h
8035 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8036 Move this inline function ....
8037 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8038 * include/math.h [!_ISOMAC]: To here....
8039
8040 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8041
8042 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8043 code ....
8044 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8045 * include/fenv.h [!_ISOMAC]: ... to here.
8046 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8047 (feraiseexcept): Likewise.
8048 * math/fromfp.h: Do not include <fenv_private.h>.
8049 * math/s_cexp_template.c: Likewise.
8050 * math/s_csin_template.c: Likewise.
8051 * math/s_csinh_template.c: Likewise.
8052 * math/s_ctan_template.c: Likewise.
8053 * math/s_ctanh_template.c: Likewise.
8054 * math/s_iseqsig_template.c: Likewise.
8055 * math/w_acos_compat.c: Likewise.
8056 * math/w_acosf_compat.c: Likewise.
8057 * math/w_acosl_compat.c: Likewise.
8058 * math/w_asin_compat.c: Likewise.
8059 * math/w_asinf_compat.c: Likewise.
8060 * math/w_asinl_compat.c: Likewise.
8061 * math/w_j0_compat.c: Likewise.
8062 * math/w_j0f_compat.c: Likewise.
8063 * math/w_j0l_compat.c: Likewise.
8064 * math/w_j1_compat.c: Likewise.
8065 * math/w_j1f_compat.c: Likewise.
8066 * math/w_j1l_compat.c: Likewise.
8067 * math/w_jn_compat.c: Likewise.
8068 * math/w_jnf_compat.c: Likewise.
8069 * math/w_log10_compat.c: Likewise.
8070 * math/w_log10f_compat.c: Likewise.
8071 * math/w_log10l_compat.c: Likewise.
8072 * math/w_log2_compat.c: Likewise.
8073 * math/w_log2f_compat.c: Likewise.
8074 * math/w_log2l_compat.c: Likewise.
8075 * math/w_log_compat.c: Likewise.
8076 * math/w_logf_compat.c: Likewise.
8077 * math/w_logl_compat.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8083 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8084 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8085 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8086 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8087 * sysdeps/ieee754/k_standardl.c: Likewise.
8088 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8089 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8090 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8091 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8092 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8093 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8095 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8097 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8098 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8099 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8100 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8101 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8102 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8104 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8105 * math/w_ilogb_template.c: Include <fenv.h> instead of
8106 <fenv_private.h>.
8107 * math/w_llogb_template.c: Likewise.
8108 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8109 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8110
8111 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8112
8113 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8114 * math/fromfp.h: Include <fenv_private.h>.
8115 * math/math-narrow.h: Likewise.
8116 * math/s_cexp_template.c: Likewise.
8117 * math/s_csin_template.c: Likewise.
8118 * math/s_csinh_template.c: Likewise.
8119 * math/s_ctan_template.c: Likewise.
8120 * math/s_ctanh_template.c: Likewise.
8121 * math/s_iseqsig_template.c: Likewise.
8122 * math/w_acos_compat.c: Likewise.
8123 * math/w_acosf_compat.c: Likewise.
8124 * math/w_acosl_compat.c: Likewise.
8125 * math/w_asin_compat.c: Likewise.
8126 * math/w_asinf_compat.c: Likewise.
8127 * math/w_asinl_compat.c: Likewise.
8128 * math/w_ilogb_template.c: Likewise.
8129 * math/w_j0_compat.c: Likewise.
8130 * math/w_j0f_compat.c: Likewise.
8131 * math/w_j0l_compat.c: Likewise.
8132 * math/w_j1_compat.c: Likewise.
8133 * math/w_j1f_compat.c: Likewise.
8134 * math/w_j1l_compat.c: Likewise.
8135 * math/w_jn_compat.c: Likewise.
8136 * math/w_jnf_compat.c: Likewise.
8137 * math/w_llogb_template.c: Likewise.
8138 * math/w_log10_compat.c: Likewise.
8139 * math/w_log10f_compat.c: Likewise.
8140 * math/w_log10l_compat.c: Likewise.
8141 * math/w_log2_compat.c: Likewise.
8142 * math/w_log2f_compat.c: Likewise.
8143 * math/w_log2l_compat.c: Likewise.
8144 * math/w_log_compat.c: Likewise.
8145 * math/w_logf_compat.c: Likewise.
8146 * math/w_logl_compat.c: Likewise.
8147 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8148 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8149 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8150 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8175 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8176 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8177 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8178 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8179 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8180 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8181 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8182 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8183 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8184 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8185 * sysdeps/ieee754/k_standardl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8211 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8212 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8216 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8217 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8222 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8224 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8225 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8226 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8227 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8228 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8229 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8230 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8231 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8232 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8233 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8234 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8235 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8236 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8237 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8238 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8239 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8240 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8241 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8242 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8243 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8244 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8245 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8246 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8247 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8248 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8249 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8250 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8251 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8252 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8253 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8254 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8255 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8256 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8257
8258 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8259
8260 [BZ #20271]
8261 * include/stdio.h (__libc_fatal): Mention newline in comment.
8262 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8263 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8265 * nss/nsswitch.c (__nss_next2): Likewise.
8266 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8267 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8268 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8269 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8270 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8271 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8272 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8273 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8274 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8275 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8276 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8277 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8278 (__netlink_assert_response): Likewise.
8279
8280 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8281
8282 * conform/glibcconform.py: New file.
8283 * conform/list-header-symbols.py: Likewise.
8284 * conform/list-header-symbols.pl: Remove.
8285 * conform/Makefile (tests-special): Only add linknamespace tests
8286 if [PYTHON].
8287 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8288
8289 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8290
8291 [BZ #23597]
8292 * support/Makefile (libsupport-routines): Add
8293 support_copy_file_range and xcopy_file_range.
8294 * support/support.h: Include <sys/types.h>.
8295 (support_copy_file_range): New prototype.
8296 * support/support_copy_file_range.c: New file. Copied and
8297 modified from io/copy_file_range-compat.c.
8298 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8299 instead of copy_file_range.
8300 * support/xcopy_file_range.c: New file.
8301 * support/xunistd.h (xcopy_file_range): New prototype.
8302
8303 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8304
8305 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8306 xpthread_create and xpthread_join.
8307
8308 2018-08-30 Florian Weimer <fweimer@redhat.com>
8309
8310 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8311
8312 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8313
8314 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8315 if malloc fails.
8316
8317 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8318
8319 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8320 and minus_oflow as non-finite.
8321
8322 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8323
8324 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8325 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8326 moved to fenv_private.h except for ...
8327 (TOINT_INTRINSICS): Kept in math_private.h.
8328 (roundtoint): Likewise.
8329 (converttoint): Likewise.
8330 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8331 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8332 * sysdeps/arm/math_private.h: Remove.
8333 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8334 ....
8335 * sysdeps/generic/math_private.h: ... this file. Include
8336 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8337 Include <fenv_private.h>. Remove functions and macros moved to
8338 fenv_private.h.
8339 * sysdeps/i386/fpu/math_private.h: Remove.
8340 * sysdeps/mips/math_private.h: Move to ....
8341 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8342 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8343 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8344 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8345 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8346 * sysdeps/powerpc/fpu/math_private.h: Do not include
8347 <fenv_private.h>.
8348 * sysdeps/riscv/rvf/math_private.h: Move to ....
8349 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8350 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8351 <fenv_private.h>.
8352 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8353 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8354 * sysdeps/sparc/fpu/math_private.h: Remove.
8355 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8356 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8357 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8358 <fenv_private.h>.
8359 * sysdeps/x86_64/fpu/math_private.h: Do not include
8360 <sysdeps/i386/fpu/fenv_private.h>.
8361
8362 2018-08-28 Florian Weimer <fweimer@redhat.com>
8363
8364 [BZ #23578]
8365 * posix/tst-regcomp-truncated.c: New file.
8366 * posix/Makefile (tests): Add it.
8367 (tst-regcomp-truncated.out): Depend on generated locales.
8368
8369 2018-08-28 Florian Weimer <fweimer@redhat.com>
8370
8371 * support/test-container.c (main): Treat unshare failure with
8372 EPERM as an unsupported test.
8373
8374 2018-08-28 Florian Weimer <fweimer@redhat.com>
8375
8376 [BZ #23520]
8377 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8378 * nscd/netgroupcache.c
8379 (addgetnetgrentX): Add tofreep parameter. Do not free
8380 heap-allocated buffer.
8381 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8382 (addgetnetgrentX_ignore): New function.
8383 (addgetnetgrent): Call it.
8384 (readdgetnetgrent): Likewise.
8385
8386 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8387
8388 * string/memmem.c: Use memcmp for first match.
8389
8390 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8391
8392 [BZ #17426]
8393 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8394
8395 2018-08-27 DJ Delorie <dj@redhat.com>
8396
8397 * support/Makefile (others): Don't list programs explicitly as a
8398 dependency of "others".
8399
8400 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8401
8402 * sysdeps/generic/math-tests-trap-force.h: New file.
8403 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8404 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8405 * sysdeps/powerpc/math-tests.h: Remove file.
8406 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8407
8408 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8409 Torvald Riegel <triegel@redhat.com>
8410
8411 [BZ #23538]
8412 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8413 Update r to include the set wake-request flag if waiters are
8414 remaining after spinning.
8415
8416 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8417
8418 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8419
8420 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8421
8422 [BZ #23578]
8423 regex: fix uninitialized memory access
8424 I introduced this bug into gnulib in commit
8425 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8426 eventually it was merged into glibc. The bug was found by
8427 project-repo <bugs@feusi.co> and reported here:
8428 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8429 Diagnosis and draft fix reported by Assaf Gordon here:
8430 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8431 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8432 * posix/regex_internal.c (build_wcs_upper_buffer):
8433 Fix bug when mbrtowc returns 0.
8434
8435 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8436
8437 * po/be.po: Update translation.
8438
8439 2018-08-24 DJ Delorie <dj@delorie.com>
8440
8441 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8442 $(libunwind).
8443
8444 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8445
8446 [BZ #23400]
8447 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8448 create temporary files in source tree.
8449
8450 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8451
8452 * sysdeps/generic/math-tests-trap.h: New file.
8453 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8454 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8455 * sysdeps/aarch64/math-tests.h: Remove file.
8456 * sysdeps/arm/math-tests.h: Likewise.
8457 * sysdeps/riscv/math-tests.h: Likewise.
8458 * sysdeps/aarch64/math-tests-trap.h: New file.
8459 * sysdeps/arm/math-tests-trap.h: Likewise.
8460 * sysdeps/riscv/math-tests-trap.h: Likewise.
8461
8462 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8463
8464 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8465 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8466 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8467 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8468 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8469 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8473 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8474 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8475 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8476 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8477 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8478 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8479 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8480 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8481 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8482
8483 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8484
8485 * sysdeps/generic/math-tests-exceptions.h: New file.
8486 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8487 (EXCEPTION_TESTS_float): Do not define here.
8488 (EXCEPTION_TESTS_double): Likewise.
8489 (EXCEPTION_TESTS_long_double): Likewise.
8490 (EXCEPTION_TESTS_float128): Likewise.
8491 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8492 Likewise.
8493 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8494 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8495 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8496 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8497 * sysdeps/mips/math-tests.h: Likewise.
8498 * sysdeps/nios2/math-tests.h: Likewise.
8499 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8500 (EXCEPTION_TESTS_float): Do not define here.
8501 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8502 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8503 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8504
8505 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8506
8507 * NEWS: Move optimized sinf entry to 2.29.
8508
8509 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8510
8511 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8512
8513 2018-08-22 DJ Delorie <dj@redhat.com>
8514
8515 * Makefile (testroot.pristine): New rules to initialize the
8516 test-in-container "testroot".
8517 * Makerules (all-testsuite): Add tests-container.
8518 * Rules (tests-expected): Add tests-container.
8519 (binaries-all-tests): Likewise.
8520 (tests-container): New, run these tests in the testroot container.
8521 * support/Makefile (others): Add *-container, support_paths.c,
8522 xmkdirp, and links-dso-program.
8523 * support/links-dso-program-c.c: New.
8524 * support/links-dso-program.cc: New.
8525 * support/test-container.c: New.
8526 * support/shell-container.c: New.
8527 * support/echo-container.c: New.
8528 * support/true-container.c: New.
8529 * support/xmkdirp.c: New.
8530 * support/xsymlink.c: New.
8531 * support/support_paths.c: New.
8532 * support/support.h: Add support paths prototypes.
8533 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8534
8535 * nss/tst-nss-test3.c: Convert to test-in-container.
8536 * nss/tst-nss-test3.root/: New.
8537
8538 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8539
8540 regex: port Gnulib code to z/OS POSIX environment
8541 Problem reported by Arnold Robbins in:
8542 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8543 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8544 Undef.
8545
8546 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8547
8548 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8549 (ROUNDING_TESTS_double): Remove.
8550 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8551 (ROUNDING_TESTS_double): Remove.
8552 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8553 (ROUNDING_TESTS_double): Remove.
8554 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8555 (ROUNDING_TESTS_float): Remove.
8556 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8557 (ROUNDING_TESTS_float): Remove.
8558 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8559 (ROUNDING_TESTS_float): Remove.
8560 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8561 !TEST_MATHVEC here.
8562 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8563 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8564
8565 * sysdeps/generic/math-tests-rounding.h: New file.
8566 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8567 (ROUNDING_TESTS_float): Do not define here.
8568 (ROUNDING_TESTS_double): Likewise.
8569 (ROUNDING_TESTS_long_double): Likewise.
8570 (ROUNDING_TESTS_float128): Likewise.
8571 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8572 (ROUNDING_TESTS_double): Undefine before defining.
8573 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8574 (ROUNDING_TESTS_double): Undefine before defining.
8575 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8576 (ROUNDING_TESTS_double): Undefine before defining.
8577 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8578 (ROUNDING_TESTS_float): Undefine before defining.
8579 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8580 (ROUNDING_TESTS_float): Undefine before defining.
8581 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8582 (ROUNDING_TESTS_float): Undefine before defining.
8583 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8584 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8585 not define here.
8586 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8587 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8588 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8589 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8590 (ROUNDING_TESTS_float): Do not define here.
8591 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8592 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8593 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8594 (ROUNDING_TESTS_float): Likewise.
8595 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8596 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8597 * sysdeps/mips/math-tests.h [__mips_soft_float]
8598 (ROUNDING_TESTS_float): Likewise.
8599 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8600 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8601 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8602 (ROUNDING_TESTS_double): Likewise.
8603 (ROUNDING_TESTS_long_double): Likewise.
8604
8605 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8606
8607 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8608 (PF_XDP): New macro.
8609 (AF_XDP): New macro.
8610 (SOL_XDP): New macro.
8611
8612 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8613
8614 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8615 (TCP_INQ): Likewise.
8616 (TCP_CM_INQ): Likewise.
8617 (TCP_REPAIR_ON): Likewise.
8618 (TCP_REPAIR_OFF): Likewise.
8619 (TCP_REPAIR_OFF_NO_WP): Likewise.
8620 (struct tcp_zerocopy_receive): New type.
8621
8622 2018-08-21 Florian Weimer <fweimer@redhat.com>
8623
8624 * support/support.h (support_descriptor_supports_holes): Declare.
8625 * support/Makefile (libsupport-routines): Add
8626 support_descriptor_supports_holes.
8627 * support/support_descriptor_supports_holes.c: New file.
8628 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8629 and stop testing if holes are not supported.
8630 * io/test-lfs.c (do_prepare): Likewise.
8631 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8632 Likewise.
8633 * timezone/tst-tzset.c (create_tz_file): Likewise.
8634 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8635 variable.
8636 (do_prepare): Set it.
8637 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8638
8639 2018-08-21 Florian Weimer <fweimer@redhat.com>
8640
8641 [BZ #17248]
8642 * Makeconfig (+cflags): Do not sort (and deduplicate).
8643
8644 2018-08-21 Florian Weimer <fweimer@redhat.com>
8645
8646 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8647 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8648
8649 2018-08-20 Florian Weimer <fweimer@redhat.com>
8650
8651 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8652 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8653
8654 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8655
8656 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8657 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8658 and ssi_arch members.
8659
8660 * elf/elf.c (NT_VMCOREDD): New macro.
8661 (AT_MINSIGSTKSZ): Likewise.
8662
8663 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8664
8665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8666 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8667 s_cosf-ppc64 and s_cosf-power8.
8668 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8669 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8670 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8671 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8678 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8679 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8680
8681 2018-08-17 Florian Weimer <fweimer@redhat.com>
8682
8683 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8684
8685 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8686
8687 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8688
8689 2018-08-16 Florian Weimer <fweimer@redhat.com>
8690
8691 * configure.ac: Add --with-nonshared-cflags option.
8692 * config.make.in (extra-nonshared-cflags): Set variable.
8693 * Makeconfig (CFLAGS-.oS): Use it.
8694 * manual/install.texi (Configuring and compiling): Document
8695 --with-nonshared-cflags.
8696 * configure: Regenerate.
8697 * INSTALL: Likewise.
8698
8699 2018-08-16 Florian Weimer <fweimer@redhat.com>
8700
8701 * Makeconfig (ASFLAGS): Always append required assembler flags.
8702
8703 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8704
8705 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8706 (malloc_consolidate): Likewise.
8707
8708 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8709
8710 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8711
8712 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8713
8714 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8715 every strlen call.
8716
8717 * benchtests/bench-strlen.c: Print performance numbers in json.
8718
8719 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8720
8721 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8722 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8723 only for little endian.
8724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8725 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8726 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8727 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8728 Add check for little endian.
8729 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8730 (__strcmp_power9): Add check for little endian.
8731 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8732 Add check for little endian.
8733 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8734 (__strncmp_power9): Add check for little endian.
8735 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8736 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8737 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8738 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8739 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8740
8741 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8742
8743 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8744 [!STRLEN](STRLEN): Set to __strlen.
8745 * sysdeps/aarch64/multiarch/strlen.c: New file.
8746 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8747 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8748 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8749 (__libc_ifunc_impl_list): Add strlen.
8750 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8751 strlen_generic and strlen_asimd.
8752
8753 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8754
8755 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8756 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8757 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8758
8759 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8760
8761 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8762
8763 2018-08-14 Florian Weimer <fweimer@redhat.com>
8764
8765 [BZ #23519]
8766 * include/stdio.h (__vfxprintf): Declare.
8767 * stdio-common/fxprintf.c (__vfxprintf): New function.
8768 (__fxprintf): Call it.
8769 * misc/err.c (convert_and_print): Remove function.
8770 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8771 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8772 * misc/Makefile (tests): Add tst-warn-wide.
8773 * misc/tst-warn-wide.c: New file.
8774
8775 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8776 Szabolcs Nagy <szabolcs.nagy@arm.com>
8777
8778 * NEWS: Mention sinf, cosf, sincosf.
8779 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8780 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8781 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8782 constants rather than including generic sincosf.h.
8783 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8784 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8785 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8786 (reduced_cos): Remove.
8787 (sinf_poly): New function.
8788 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8789
8790 2018-08-14 Florian Weimer <fweimer@redhat.com>
8791
8792 [BZ #23521]
8793 [BZ #23522]
8794 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8795 processing, bail out if no room, and close the stream before
8796 returning ERANGE.
8797 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8798 (tst-nss-files-alias-leak): Link with libdl.
8799 (tst-nss-files-alias-leak.out): Depend on nss_files.
8800
8801 * nss/tst-nss-files-alias-leak.c: New file.
8802
8803 2018-08-14 Florian Weimer <fweimer@redhat.com>
8804
8805 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8806 server_user, stat_user.
8807
8808 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8809
8810 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8811 version to 4.18.
8812 (io_pgetevents): New syscall.
8813 (rseq): Likewise.
8814
8815 * manual/install.texi (Configuring and compiling): Do not list
8816 tools used for testing pretty printers here.
8817 (Tools for Compilation): List Python, PExpect and GDB here.
8818 Update descriptions of uses of Perl and Python.
8819 * INSTALL: Regenerate.
8820
8821 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8822 version to 4.18.
8823
8824 2018-08-13 Florian Weimer <fweimer@redhat.com>
8825
8826 * misc/error.c (error): Add missing va_end call.
8827 (error_at_line): Likewise.
8828
8829 2018-08-13 Florian Weimer <fweimer@redhat.com>
8830
8831 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8832
8833 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8834
8835 * benchtests/scripts/benchout.schema.json (properties): Add
8836 new properties.
8837
8838 * benchtests/bench-skeleton.c (main): Add duration and
8839 iterations attributes.
8840
8841 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8842
8843 regex: Gnulib unibyte RRI uses bytes not chars
8844 Adjust the non-glibc code to agree with what Gawk needs for
8845 rational range interpretation (RRI) for regular expression ranges.
8846 In unibyte locales, Gawk wants ranges to use the underlying byte
8847 rather than the character code point. This change does not affect
8848 glibc proper.
8849 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8850 In unibyte locales, use the byte value rather than
8851 running it through btowc.
8852
8853 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8854
8855 * sysdeps/generic/math-tests-snan.h: New file.
8856 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8857 (SNAN_TESTS_float): Do not define here.
8858 (SNAN_TESTS_double): Likewise.
8859 (SNAN_TESTS_long_double): Likewise.
8860 (SNAN_TESTS_float128): Likewise.
8861 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8862 * sysdeps/i386/fpu/math-tests.h: Remove file.
8863 * sysdeps/ia64/math-tests-snan.h: New file.
8864 * sysdeps/ia64/math-tests.h: Remove file.
8865 * sysdeps/x86/math-tests.h: Likewise.
8866 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8867
8868 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8869 Szabolcs Nagy <szabolcs.nagy@arm.com>
8870
8871 * math/Makefile: Add s_sincosf_data.c.
8872 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8873 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8874 (sincosf_poly): Likewise.
8875 (reduce_small): Likewise.
8876 (reduce_large): Likewise.
8877 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8878 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8879 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8880 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8881
8882 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8883 Szabolcs Nagy <szabolcs.nagy@arm.com>
8884
8885 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8886 (converttoint): Use lround.
8887 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8888 document the semantics when TOINT_INTRINSICS is set.
8889 (converttoint): Likewise.
8890 (TOINT_RINT): Remove.
8891 (TOINT_SHIFT): Remove.
8892 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8893 path.
8894
8895 2018-08-10 Florian Weimer <fweimer@redhat.com>
8896
8897 [BZ #23497]
8898 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8899 function.
8900 (__old_getdents64): Use getdents64. Convert entries without
8901 moving them.
8902 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8903 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8904 tst-readdir64-compat.
8905
8906 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8907
8908 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8909 Fix unwind.
8910
8911 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8912
8913 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8914 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8915 code to s390x-mcount.h and #include it.
8916 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8917 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8918 (__fentry__): Add.
8919
8920 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8921
8922 * stdlib/Versions: Remove __fentry__.
8923 * sysdeps/i386/Versions: Add __fentry__.
8924 * sysdeps/x86_64/Versions: Add __fentry__.
8925
8926 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8927
8928 * sysdeps/s390/Makefile: Register the new tests.
8929 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8930 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8931 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8932 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8933 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8934 * sysdeps/s390/tst-dl-runtime.c: New file.
8935
8936 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8937
8938 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8939 Do not clobber R0.
8940
8941 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8942
8943 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8944 Do not clobber R0.
8945
8946 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8947
8948 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8949 Do not clobber R0.
8950
8951 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8952
8953 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8954 Do not clobber R0.
8955
8956 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8957
8958 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8959 Use symbolic offsets for stack variables.
8960
8961 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8962
8963 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8964 Use symbolic offsets for stack variables.
8965
8966 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8967
8968 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8969 Use symbolic offsets for stack variables.
8970
8971 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8972
8973 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8974 Use symbolic offsets for stack variables.
8975
8976 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8977
8978 * math/gen-libm-test.py: New file.
8979 * math/gen-libm-test.pl: Remove.
8980 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8981 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8982 gen-libm-test.pl.
8983 ($(libm-test-c-noauto-obj)): Likewise.
8984 ($(libm-test-c-auto-obj)): Likewise.
8985 ($(libm-test-c-narrow-obj)): Likewise.
8986 (regen-ulps): Likewise.
8987 * math/README.libm-test: Update references to gen-libm-test.pl.
8988 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8989 referencing gen-libm-test.pl.
8990 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8991 * math/libm-test-support.c: Likewise.
8992 * math/libm-test-support.h: Likewise.
8993 * sysdeps/generic/libm-test-ulps: Likewise.
8994
8995 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8996
8997 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8998 Fix value.
8999
9000 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9001
9002 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9003 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9004
9005 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9006
9007 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9008 symbols.
9009 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9010 __pthread_setspecific): Add hidden proto.
9011 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9012 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9013
9014 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9015
9016 * benchtests/bench-string.h (buf1_size, buf2_size): New
9017 variables.
9018 (init_sizes): New function.
9019 (test_init): Use it.
9020 (alloc_buf, exit_error): New functions.
9021 (alloc_bufs): Use ALLOC_BUF.
9022 (realloc_bufs): Remove.
9023 * benchtests/bench-memcmp.c (do_test): Adjust.
9024 * benchtests/bench-memset-large.c (do_test): Likewise.
9025 * benchtests/bench-memset-walk.c (do_test): Likewise.
9026 * benchtests/bench-memset.c (do_test): Likewise.
9027 * benchtests/bench-strncmp.c (do_test): Likewise.
9028
9029 2018-08-06 Andreas Schwab <schwab@suse.de>
9030
9031 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9032 of CONST_THREAD_AREA.
9033
9034 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9035
9036 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9037 (STATE_SAVE_MASK): Likewise.
9038 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9039 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9040 (STATE_SAVE_MASK): Likewise.
9041 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9042 instead of <cpu-features.h>.
9043
9044 2018-08-03 DJ Delorie <dj@redhat.com>
9045
9046 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9047 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9048
9049 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9050
9051 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9052
9053 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9054 after TEST_* calls.
9055 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9056 * math/libm-test-logb.inc (logb_test_data): Likewise.
9057
9058 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9059
9060 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9061 * string/strstr.c (AVAILABLE): Likewise.
9062
9063 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9066 <init-arch.h>.
9067 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9068 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9069 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9070
9071 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9072
9073 * po/be.po: Update translation.
9074
9075 * po/be.po: Update translation.
9076
9077 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9078
9079 * sysdeps/x86/cpu-features-offsets.sym
9080 (rtld_global_ro_offsetof): Removed.
9081 (CPU_FEATURES_SIZE): Likewise.
9082 (CPUID_OFFSET): Likewise.
9083 (CPUID_SIZE): Likewise.
9084 (CPUID_EAX_OFFSET): Likewise.
9085 (CPUID_EBX_OFFSET): Likewise.
9086 (CPUID_ECX_OFFSET): Likewise.
9087 (CPUID_EDX_OFFSET): Likewise.
9088 (FAMILY_OFFSET): Likewise.
9089 (MODEL_OFFSET): Likewise.
9090 (FEATURE_OFFSET): Likewise.
9091 (FEATURE_SIZ): Likewise.
9092 (COMMON_CPUID_INDEX_1): Likewise.
9093 (COMMON_CPUID_INDEX_7): Likewise.
9094 (FEATURE_INDEX_1): Likewise.
9095 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9096
9097 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9098
9099 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9100 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9101 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9102 (install-locales): Depend on install-locale-archive.
9103 (install-locale-archive): Define.
9104 (install-locale-files): Define.
9105 (build-one-locale): Define macro.
9106 * manual/install.texi (Running make install): Document.
9107 * manual/INSTALL: Regenerate.
9108
9109 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9110
9111 * benchtests/scripts/compare_strings.py: Import traceback.
9112 (parse_file): Pretty-print error.
9113
9114 * NEWS: Mention the change.
9115 * elf/dl-tunables.list: Rename tune namespace to cpu.
9116 * sysdeps/powerpc/dl-tunables.list: Likewise.
9117 * sysdeps/x86/dl-tunables.list: Likewise.
9118 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9119 cpu.name.
9120 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9121 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9122 * manual/README.tunables: Likewise.
9123 * manual/tunables.texi: Likewise.
9124 * sysdeps/powerpc/cpu-features.c: Likewise.
9125 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9126 (init_cpu_features): Likewise.
9127 * sysdeps/x86/cpu-features.c: Likewise.
9128 * sysdeps/x86/cpu-features.h: Likewise.
9129 * sysdeps/x86/cpu-tunables.c: Likewise.
9130 * sysdeps/x86_64/Makefile: Likewise.
9131 * sysdeps/x86/dl-cet.c: Likewise.
9132
9133 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9134
9135 [BZ #23479]
9136 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9137 [__mips_hard_float].
9138 (FE_UNDERFLOW): Likewise.
9139 (FE_OVERFLOW): Likewise.
9140 (FE_DIVBYZERO): Likewise.
9141 (FE_INVALID): Likewise.
9142 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9143 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9144 (FE_UPWARD): Likewise.
9145 (FE_DOWNWARD): Likewise.
9146 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9147 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9148 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9149 [__mips_hard_float].
9150 (FP_ROUNDMODE): Likewise.
9151 (FP_RND_NEAREST): Likewise.
9152 (FP_RND_ZERO): Likewise.
9153 (FP_RND_PINF): Likewise.
9154 (FP_RND_MINF): Likewise.
9155 (FP_EX_INVALID): Likewise.
9156 (FP_EX_OVERFLOW): Likewise.
9157 (FP_EX_UNDERFLOW): Likewise.
9158 (FP_EX_DIVZERO): Likewise.
9159 (FP_EX_INEXACT): Likewise.
9160 (FP_INIT_ROUNDMODE): Likewise.
9161 * sysdeps/mips/nofpu/fesetenv.c: New file.
9162 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9163
9164 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9165
9166 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9167 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9168 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9169 conditional on [FE_UPWARD].
9170
9171 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9172
9173 regex: fix memory leak in Gnulib
9174 Problem and fix reported by Assaf Gordon in:
9175 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9176 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9177 range_ends members too, as they are defined in 'struct
9178 re_charset_t' even if not _LIBC. This affects only Gnulib.
9179
9180 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9181
9182 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9183 ...
9184 (get_common_indices): This.
9185 (init_cpu_features): Updated.
9186
9187 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9188
9189 * sysdeps/generic/math-tests-snan-payload.h: New file.
9190 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9191 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9192 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9193 * sysdeps/generic/math-tests.h: Include
9194 <math-tests-snan-payload.h>.
9195 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9196 * sysdeps/hppa/math-tests.h: Remove file.
9197 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9198 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9199 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9200 Likewise.
9201
9202 * sysdeps/generic/math-tests-snan-cast.h: New file.
9203 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9204 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9205 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9206 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9207
9208 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9209
9210 * version.h (RELEASE): Set to "development".
9211 (VERSION): Set to "2.28.9000".
9212 * NEWS (2.29): New section.
9213
9214 * version.h (RELEASE): Set to "stable".
9215 (VERSION): Set to "2.28".
9216 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9217 * NEWS: Add the list of bugs fixed in 2.28.
9218
9219 * po/ca.po: Update to latest version.
9220 * po/cs.po: Likewise
9221 * po/da.po: Likewise
9222 * po/el.po: Likewise
9223 * po/eo.po: Likewise
9224 * po/es.po: Likewise
9225 * po/fi.po: Likewise
9226 * po/fr.po: Likewise
9227 * po/gl.po: Likewise
9228 * po/hu.po: Likewise
9229 * po/ia.po: Likewise
9230 * po/id.po: Likewise
9231 * po/it.po: Likewise
9232 * po/ja.po: Likewise
9233 * po/ko.po: Likewise
9234 * po/lt.po: Likewise
9235 * po/nb.po: Likewise
9236 * po/nl.po: Likewise
9237 * po/pt_BR.po: Likewise
9238 * po/ru.po: Likewise
9239 * po/rw.po: Likewise
9240 * po/sk.po: Likewise
9241 * po/sl.po: Likewise
9242 * po/tr.po: Likewise
9243 * po/zh_CN.po: Likewise
9244 * po/zh_TW.po: Likewise
9245
9246 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9247
9248 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9249 initialization...
9250 (init): ... before initializing libpthread.
9251
9252 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9253 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9254 (__mach_setup_tls): ... new function.
9255 (mach_setup_tls): New alias.
9256 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9257 __mach_setup_thread.
9258 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9259 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9260 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9261 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9262
9263 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9264
9265 * manual/install.texi: Update versions.
9266 * INSTALL: Regenerate.
9267
9268 * manual/contrib.texi (Contributors): Update contributions.
9269
9270 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9271
9272 * po/be.po: Update translations.
9273
9274 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9275
9276 * sysdeps/sh/libm-test-ulps: Update.
9277
9278 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9279
9280 * po/bg.po: Update translations.
9281 * po/de.po: Likewise.
9282 * po/hr.po: Likewise.
9283 * po/pt_BR.po: Likewise.
9284 * po/sv.po: Likewise.
9285 * po/vi.po: Likewise.
9286
9287 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9288
9289 [BZ #23467]
9290 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9291 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9292 (CFLAGS-tst-cet-property-1.o): New.
9293 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9294 ($(objpfx)tst-cet-property-2): Likewise.
9295 ($(objpfx)tst-cet-property-2.out): Likewise.
9296 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9297 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9298 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9299 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9300 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9301
9302 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9303
9304 [BZ #23458]
9305 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9306
9307 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9308
9309 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9310 __sbrk): Do not set attribute_hidden.
9311 * sysdeps/mach/hurd/not-errno.h: New file.
9312 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9313 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9314
9315 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9316
9317 * po/uk.po: Update translations.
9318 * po/cs.po: Likewise.
9319 * po/pl.po: Likewise.
9320
9321 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9322
9323 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9324 parse beyond the note end.
9325
9326 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9327
9328 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9329 kernel does not support OFD locks.
9330 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9331
9332 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9333
9334 * sysdeps/mach/hurd/Versions (libc): Make __access and
9335 __access_noerrno external so they can override the ld symbols.
9336 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9337 __writev, __open64, __access_noerrno extern so they can be overrided.
9338 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9339 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9340
9341 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9342
9343 * po/libc.pot: Regenerate.
9344
9345 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9346
9347 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9348
9349 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9350
9351 [BZ #23459]
9352 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9353 function.
9354 (init_cpu_features): Call get_extended_indices for both Intel
9355 and AMD CPUs.
9356 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9357 Remove "for AMD" comment.
9358
9359 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9360
9361 [BZ # 23456]
9362 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9363 COMMON_CPUID_INDEX_80000001.
9364
9365 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9366
9367 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9368 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9369
9370 2018-07-26 Florian Weimer <fweimer@redhat.com>
9371
9372 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9373 aliases for symbols not in the implementation namespace.
9374
9375 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9376
9377 [BZ #23393]
9378 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9379 lowercase in LATIN script.
9380 * localedata/Makefile (test-input): Add en_US.UTF-8.
9381 * localedata/en_US.UTF-8.in: New file.
9382 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9383 and restore old tests.
9384 * posix/tst-regexloc.c (do_test): Add back range expression test.
9385
9386 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9387
9388 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9389
9390 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9391
9392 * nptl/threads.h: Move to ...
9393 * sysdeps/nptl/threads.h: ... here.
9394 * sysdeps/hurd/stdc-predef.h: New file.
9395
9396 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9397
9398 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9399 tst-cet-setcontext-1 if CET is enabled.
9400 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9401 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9402
9403 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9404
9405 * include/threads.h: Move to ...
9406 * sysdeps/nptl/threads.h: ... here.
9407 * sysdeps/htl/threads.h: New file.
9408 * conform/Makefile (linknamespace-libs-ISO11): Use
9409 static-thread-library instead of linking libpthread.
9410 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9411
9412 2018-07-25 Florian Weimer <fweimer@redhat.com>
9413
9414 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9415 nanoseconds into seconds.
9416 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9417 (do_test): Likewise.
9418 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9419 (do_test): Likewise. Avoid nanosecond overflow and spurious
9420 timeouts due to system load.
9421 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9422 (child_wait): Increment it.
9423 (do_test): Wait as long as necessary until all expected threads
9424 have arrived.
9425
9426 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9427 H.J. Lu <hongjiu.lu@intel.com>
9428
9429 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9430 __ssp.
9431 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9432 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9433 (__push___start_context): New.
9434 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9435 <asm/prctl.h>.
9436 (__getcontext): Record the current shadow stack base. Save the
9437 caller's shadow stack pointer and base.
9438 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9439 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9440 (__push___start_context): New prototype.
9441 (__makecontext): Call __push___start_context to allocate a new
9442 shadow stack, push __start_context onto the new stack as well
9443 as the new shadow stack.
9444 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9445 <asm/prctl.h>.
9446 (__setcontext): Restore the target shadow stack.
9447 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9448 <asm/prctl.h>.
9449 (__swapcontext): Record the current shadow stack base. Save
9450 the caller's shadow stack pointer and base. Restore the target
9451 shadow stack.
9452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9453 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9454 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9455
9456 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9459 tst-setcontext8 and tst-setcontext9.
9460 * stdlib/tst-setcontext6.c: New file.
9461 * stdlib/tst-setcontext7.c: Likewise.
9462 * stdlib/tst-setcontext8.c: Likewise.
9463 * stdlib/tst-setcontext9.c: Likewise.
9464
9465 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9466
9467 * stdlib/Makefile ((tests): Add tst-setcontext5.
9468 * stdlib/tst-setcontext5.c: New file.
9469
9470 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9471
9472 * stdlib/Makefile (tests): Add tst-setcontext4.
9473 * stdlib/tst-setcontext4.c: New file.
9474
9475 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9476
9477 * stdlib/Makefile (tests): Add tst-swapcontext1.
9478 * stdlib/tst-swapcontext1.c: New test.
9479
9480 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9483 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9484 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9485 and tst-cet-legacy-4c.
9486 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9487 and tst-cet-legacy-mod-4.
9488 (CFLAGS-tst-cet-legacy-2.c): New.
9489 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9490 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9491 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9492 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9493 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9494 ($(objpfx)tst-cet-legacy-1): Likewise.
9495 ($(objpfx)tst-cet-legacy-2): Likewise.
9496 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9497 ($(objpfx)tst-cet-legacy-2a): Likewise.
9498 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9499 ($(objpfx)tst-cet-legacy-4): Likewise.
9500 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9501 ($(objpfx)tst-cet-legacy-4a): Likewise.
9502 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9503 (tst-cet-legacy-4a-ENV): Likewise.
9504 ($(objpfx)tst-cet-legacy-4b): Likewise.
9505 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9506 (tst-cet-legacy-4b-ENV): Likewise.
9507 ($(objpfx)tst-cet-legacy-4c): Likewise.
9508 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9509 (tst-cet-legacy-4c-ENV): Likewise.
9510 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9511 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9512 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9513 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9514 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9515 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9516 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9517 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9518 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9519 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9520 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9521
9522 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9523
9524 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9525 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9526 with ssp_base.
9527 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9528 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9529 with ssp_base.
9530
9531 2018-07-25 Andreas Schwab <schwab@suse.de>
9532
9533 [BZ #23442]
9534 * locale/weightwc.h (findidx): Handle the case where usrc is a
9535 prefix of cp but one character too short.
9536
9537 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9538
9539 * NEWS: Add ISO C threads addition.
9540
9541 2018-07-24 Florian Weimer <fweimer@redhat.com>
9542
9543 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9544 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9545 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9546 4.13.
9547
9548 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9549
9550 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9551 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9552 <sys/prctl.h> and <asm/prctl.h>.
9553 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9554 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9555 and <asm/prctl.h>.
9556 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9557 ARCH_CET_LEGACY_BITMAP.
9558 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9559 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9560 * sysdeps/x86/libc-start.c: Include <startup.h>.
9561
9562 2018-07-24 Florian Weimer <fweimer@redhat.com>
9563
9564 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9565 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9566
9567 2018-07-24 Rical Jasan <rj@2c3t.io>
9568 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9569 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9570
9571 [BZ #14092]
9572 * manual/debug.texi: Update adjacent chapter name.
9573 * manual/probes.texi: Likewise.
9574 * manual/threads.texi (ISO C Threads): New section.
9575 (POSIX Threads): Convert to a section.
9576
9577 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9578 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9579
9580 [BZ# 14092]
9581 * nptl/Makefile (tests): Add new test files.
9582 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9583 * nptl/tst-cnd-basic.c: Likewise.
9584 * nptl/tst-cnd-broadcast.c: Likewise.
9585 * nptl/tst-cnd-timedwait.c: Likewise.
9586 * nptl/tst-mtx-basic.c: Likewise.
9587 * nptl/tst-mtx-recursive.c: Likewise.
9588 * nptl/tst-mtx-timedlock.c: Likewise.
9589 * nptl/tst-mtx-trylock.c: Likewise.
9590 * nptl/tst-thrd-basic.c: Likewise.
9591 * nptl/tst-thrd-detach.c: Likewise.
9592 * nptl/tst-thrd-sleep.c: Likewise.
9593 * nptl/tst-tss-basic.c: Likewise.
9594
9595 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9596
9597 [BZ #14092]
9598 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9599 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9600 symbols.
9601 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9602 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9603 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9604 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9605 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9606 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9607 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9608 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9609 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9610 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9611 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9612 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9614 Likewise.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9616 Likewise.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9618 Likewise.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9620 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9621 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9622 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9623 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9625 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9626 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9627 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9628 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9629 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9630 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9631 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9632 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9633 Likewise.
9634 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9635 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9636 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9637 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9638 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9639 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9640 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9641 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9642 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9643 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9644 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9645 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9646 ikewise.
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9649 Likewise.
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9651 Likewise.
9652 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9653 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9654 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9655 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9656 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9657 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9658 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9659 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9660
9661 [BZ #14092]
9662 * conform/data/threads.h-data (thread_local): New macro.
9663 (TSS_DTOR_ITERATIONS): Likewise.
9664 (tss_t): New type.
9665 (tss_dtor_t): Likewise.
9666 (tss_create): New function.
9667 (tss_get): Likewise.
9668 (tss_set): Likewise.
9669 (tss_delete): Likewise.
9670 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9671 tss_get, and tss_set objects.
9672 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9673 * nptl/tss_create.c: New file.
9674 * nptl/tss_delete.c: Likewise.
9675 * nptl/tss_get.c: Likewise.
9676 * nptl/tss_set.c: Likewise.
9677 * sysdeps/nptl/threads.h (thread_local): New define.
9678 (TSS_DTOR_ITERATIONS): Likewise.
9679 (tss_t): New typedef.
9680 (tss_dtor_t): Likewise.
9681 (tss_create): New prototype.
9682 (tss_get): Likewise.
9683 (tss_set): Likewise.
9684 (tss_delete): Likewise.
9685
9686 [BZ #14092]
9687 * conform/data/threads.h-data (cnd_t): New type.
9688 (cnd_init): New function.
9689 (cnd_signal): Likewise.
9690 (cnd_broadcast): Likewise.
9691 (cnd_wait): Likewise.
9692 (cnd_timedwait): Likewise.
9693 (cnd_destroy): Likewise.
9694 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9695 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9696 object.
9697 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9698 * nptl/cnd_broadcast.c: New file.
9699 * nptl/cnd_destroy.c: Likewise.
9700 * nptl/cnd_init.c: Likewise.
9701 * nptl/cnd_signal.c: Likewise.
9702 * nptl/cnd_timedwait.c: Likewise.
9703 * nptl/cnd_wait.c: Likewise.
9704 * sysdeps/nptl/threads.h (cnd_t): New type.
9705 (cnd_init): New prototype.
9706 (cnd_signa): Likewise.
9707 (cnd_broadcast): Likewise.
9708 (cnd_wait): Likewise.
9709 (cnd_timedwait): Likewise.
9710 (cnd_destroy): Likewise.
9711
9712 [BZ #14092]
9713 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9714 (once_flag): New type.
9715 (call_once): New function.
9716 * nptl/Makefile (libpthread-routines): Add call_once object.
9717 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9718 * nptl/call_once.c: New file.
9719 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9720 (once_flag): New type.
9721 (call_once): New prototype.
9722
9723 [BZ #14092]
9724 * conform/data/threads.h-data (mtx_plain): New constant.
9725 (mtx_recursive): Likewise.
9726 (mtx_timed): Likewise.
9727 (mtx_t): New type.
9728 (mtx_init): New function.
9729 (mtx_lock): Likewise.
9730 (mtx_timedlock): Likewise.
9731 (mtx_trylock): Likewise.
9732 (mtx_unlock): Likewise.
9733 (mtx_destroy): Likewise.
9734 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9735 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9736 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9737 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9738 * nptl/mtx_destroy.c: New file.
9739 * nptl/mtx_init.c: Likewise.
9740 * nptl/mtx_lock.c: Likewise.
9741 * nptl/mtx_timedlock.c: Likewise.
9742 * nptl/mtx_trylock.c: Likewise.
9743 * nptl/mtx_unlock.c: Likewise.
9744 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9745 (mtx_recursive): Likewise.
9746 (mtx_timed): Likewise.
9747 (mtx_t): New type.
9748 (mtx_init): New prototype.
9749 (mtx_lock): Likewise.
9750 (mtx_timedlock): Likewise.
9751 (mtx_trylock): Likewise.
9752 (mtx_unlock): Likewise.
9753 (mtx_destroy): Likewise.
9754
9755 [BZ #14092]
9756 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9757 (linknamespace-libs-ISO11): Add libpthread.a.
9758 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9759 functions.
9760 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9761 * nptl/Makefile (headers): Add threads.h.
9762 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9763 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9764 thrd_yield.
9765 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9766 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9767 thrd_join, thrd_sleep, and thrd_yield symbols.
9768 * nptl/descr.h (struct pthread): Add c11 field.
9769 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9770 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9771 routine with expected function prototype.
9772 (__pthread_create_2_1): Add C11 threads check based on attribute
9773 value.
9774 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9775 * nptl/thrd_create.c: New file.
9776 * nptl/thrd_current.c: Likewise.
9777 * nptl/thrd_detach.c: Likewise.
9778 * nptl/thrd_equal.c: Likewise.
9779 * nptl/thrd_exit.c: Likewise.
9780 * nptl/thrd_join.c: Likewise.
9781 * nptl/thrd_priv.h: Likewise.
9782 * nptl/thrd_sleep.c: Likewise.
9783 * nptl/thrd_yield.c: Likewise.
9784 * include/threads.h: Likewise.
9785
9786 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9787
9788 * bits/indirect-return.h: New file.
9789 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9790 * sysdeps/x86/bits/indirect-return.h: Likewise.
9791 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9792 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9793 (swapcontext): Add __INDIRECT_RETURN.
9794 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9795 (prepare_test_buffer): Use it.
9796
9797 2018-07-24 Andreas Schwab <schwab@suse.de>
9798
9799 [BZ #23448]
9800 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9801 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9802
9803 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9806 Redefine if shadow stack is enabled.
9807 (SYSCALL_ERROR_LABEL): Likewise.
9808 (__vfork): Pop shadow stack and jump back to to caller directly
9809 when shadow stack is in use.
9810 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9811 Redefine if shadow stack is enabled.
9812 (SYSCALL_ERROR_LABEL): Likewise.
9813 (__vfork): Pop shadow stack and jump back to to caller directly
9814 when shadow stack is in use.
9815
9816 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9817
9818 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9819 enabled.
9820 (foo): Likewise.
9821 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9822 (foo): Likewise.
9823
9824 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9825
9826 * scripts/build-many-glibcs.py (Context.checkout): Default
9827 binutils version to 2.31 branch.
9828
9829 2018-07-20 Zong Li <zong@andestech.com>
9830
9831 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9832 URL of gcc's tarball.
9833
9834 2018-07-20 Florian Weimer <fweimer@redhat.com>
9835
9836 [BZ #23396]
9837 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9838 not compare an extra byte after the end of the weights.
9839
9840 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9841
9842 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9843 to 1.
9844 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9845 hidden prototypes.
9846 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9847 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9848 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9849 list of libraries whose stack executability is expected.
9850 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9851 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9852 variable.
9853 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9854 libc.so libpthread.so.
9855
9856 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9857
9858 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9859 SOCK_NONBLOCK.
9860 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9861 and SOCK_NONBLOCK.
9862 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9863 implement __pipe2.
9864 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9865
9866 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9867
9868 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9869 library to improve command line parsing.
9870 (__main__): make schema file as optional parameter (--schema),
9871 defaulting to benchtests/scripts/benchout.schema.json.
9872 (main): move out of the parsing stuff to __main_  and leave it
9873 only as caller of main comparison functions.
9874
9875 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9876
9877 * NEWS: Add a note for Intel CET status.
9878 * manual/install.texi: Likewise.
9879 * INSTALL: Regenerated.
9880
9881 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9882
9883 [BZ #23140]
9884 * localedata/locales/oc_FR (mon): Rename to...
9885 (alt_mon): This, then update October (typo fix).
9886 (mon): New content (genitive case, month names preceded by
9887 "de" or "d’").
9888
9889 [BZ #23422]
9890 * localedata/locales/oc_FR (abday): Update all items.
9891 (day): Update Wednesday and Saturday (typo fixes).
9892 (abmon): Update all items, except May.
9893 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9894 (LC_IDENTIFICATION): Bump the revision number and date.
9895 Keep the "category" entries in alphabetic order.
9896 (LC_ADDRESS): Remove no longer needed comment.
9897 (LC_COLLATE): Use “copy "ca_ES"”.
9898 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9899 "name_mrs".
9900
9901 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9902
9903 * grp/tst_fgetgrent.c: Include <unistd.h>.
9904 (main): Use mkstemp instead of tmpnam.
9905 * io/test-utime.c (main): Likewise.
9906 * posix/annexc.c (macrofile): Change to modifiable array.
9907 (main): Remove macrofile here.
9908 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9909 macrofile here.
9910 (check_header): Do not remove macrofile here.
9911 * posix/bug-getopt1.c: Include <stdlib.h>.
9912 (do_test): Use mkstemp instead of tmpnam.
9913 * posix/bug-getopt2.c: Include <stdlib.h>.
9914 (do_test): Use mkstemp instead of tmpnam.
9915 * posix/bug-getopt3.c: Include <stdlib.h>.
9916 (do_test): Use mkstemp instead of tmpnam.
9917 * posix/bug-getopt4.c: Include <stdlib.h>.
9918 (do_test): Use mkstemp instead of tmpnam.
9919 * posix/bug-getopt5.c: Include <stdlib.h>.
9920 (do_test): Use mkstemp instead of tmpnam.
9921 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9922 (main): Use mkstemp instead of tmpnam.
9923 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9924 (main): Use mkstemp instead of tmpnam.
9925 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9926 (main): use mkstemp instead of tmpnam.
9927 * stdlib/isomac.c (macrofile): Change to modifiable array.
9928 (main): Remove macrofile here.
9929 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9930 macrofile here.
9931 (check_header): Do not remove macrofile here.
9932
9933 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9934
9935 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9936 glibc.tune.x86_shstk.
9937
9938 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9939
9940 * NEWS: Mention --enable-cet.
9941 * manual/install.texi: Document --enable-cet.
9942 * INSTALL: Regenerated.
9943
9944 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9947 Add _CET_NOTRACK before indirect jump to jump table.
9948
9949 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9952 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9953 to jump table.
9954
9955 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9956
9957 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9958 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9959 to jump table.
9960
9961 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9962
9963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9964 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9965 to jump table.
9966
9967 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9968
9969 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9970 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9971 to jump table.
9972
9973 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9974
9975 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9976 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9977 to jump table.
9978 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9979
9980 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9981
9982 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9983 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9984 to jump table.
9985
9986 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9987
9988 * sysdeps/i386/i686/multiarch/memset-sse2.S
9989 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9990 to jump table.
9991
9992 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9993
9994 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9995 indirect jump to jump table.
9996
9997 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9998
9999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10000 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10001 to jump table.
10002 (MEMCPY): Likewise.
10003
10004 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10005
10006 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10007 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10008 to jump table.
10009 (MEMCPY): Likewise.
10010
10011 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10012
10013 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10014 _CET_NOTRACK before indirect jump to jump table.
10015
10016 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10017
10018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10019 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10020 to jump table.
10021
10022 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10023
10024 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10025 indirect jump to jump table.
10026
10027 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10028
10029 [BZ #22241]
10030 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10031 (LOCALES): Likewise.
10032 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10033 * localedata/locales/sah_RU: New file.
10034 * localedata/sah_RU.UTF-8.in: New file.
10035
10036 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10037
10038 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10039 "sysdep.h".
10040 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10041 _CET_ENDBR to indirect jump targets and adjust jump destination
10042 for _CET_ENDBR.
10043 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10044 "sysdep.h".
10045 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10046 _CET_ENDBR to indirect jump targets and adjust jump destination
10047 for _CET_ENDBR.
10048 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10049 "sysdep.h".
10050 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10051 _CET_ENDBR to indirect jump targets and adjust jump destination
10052 for _CET_ENDBR.
10053
10054 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10055
10056 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10057 _CET_ENDBR.
10058
10059 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10062 _CET_ENDBR.
10063 (_dl_tlsdesc_undefweak): Likewise.
10064 (_dl_tlsdesc_dynamic): Likewise.
10065 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10066 (_dl_tlsdesc_resolve_rel): Likewise.
10067 (_dl_tlsdesc_resolve_rela): Likewise.
10068 (_dl_tlsdesc_resolve_hold): Likewise.
10069 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10070 (_dl_tlsdesc_undefweak): Likewise.
10071 (_dl_tlsdesc_dynamic): Likewise.
10072 (_dl_tlsdesc_resolve_rela): Likewise.
10073 (_dl_tlsdesc_resolve_hold): Likewise.
10074
10075 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10076
10077 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10078 (_fini): Likewise.
10079 * sysdeps/x86_64/crti.S (_init): Likewise.
10080 (_fini): Likewise.
10081
10082 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10083
10084 [BZ #23140]
10085 * localedata/locales/os_RU (mon): Rename to...
10086 (alt_mon): This.
10087 (mon): Import from CLDR (genitive case).
10088
10089 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10090
10091 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10092 cet-tunables.h> when CET is enabled.
10093
10094 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10095
10096 [BZ #21598]
10097 * configure.ac: Add --enable-cet.
10098 * configure: Regenerated.
10099 * elf/Makefille (all-built-dso): Add a comment.
10100 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10101 Include <dl-prop.h>.
10102 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10103 segment.
10104 * elf/dl-open.c: Include <dl-prop.h>.
10105 (dl_open_worker): Call _dl_open_check.
10106 * elf/rtld.c: Include <dl-prop.h>.
10107 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10108 _rtld_main_check.
10109 * sysdeps/generic/dl-prop.h: New file.
10110 * sysdeps/i386/dl-cet.c: Likewise.
10111 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10112 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10113 * sysdeps/x86/cet-tunables.h: Likewise.
10114 * sysdeps/x86/check-cet.awk: Likewise.
10115 * sysdeps/x86/configure: Likewise.
10116 * sysdeps/x86/configure.ac: Likewise.
10117 * sysdeps/x86/dl-cet.c: Likewise.
10118 * sysdeps/x86/dl-procruntime.c: Likewise.
10119 * sysdeps/x86/dl-prop.h: Likewise.
10120 * sysdeps/x86/libc-start.h: Likewise.
10121 * sysdeps/x86/link_map.h: Likewise.
10122 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10123 _CET_ENDBR.
10124 (_dl_runtime_profile): Likewise.
10125 (_dl_runtime_resolve_shstk): New.
10126 (_dl_runtime_profile_shstk): Likewise.
10127 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10128 if CET is enabled.
10129 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10130 (CFLAGS-.os): Likewise.
10131 (CFLAGS-.op): Likewise.
10132 (CFLAGS-.oS): Likewise.
10133 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10134 is enabled.
10135 (tests-special): Add $(objpfx)check-cet.out.
10136 (cet-built-dso): New.
10137 (+$(cet-built-dso:=.note)): Likewise.
10138 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10139 ($(objpfx)check-cet.out): New.
10140 (generated): Add check-cet.out.
10141 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10142 <cet-tunables.h>.
10143 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10144 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10145 (init_cpu_features): Call get_cet_status to check CET status
10146 and update dl_x86_feature_1 with CET status. Call
10147 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10148 (set_x86_shstk). Disable and lock CET in libc.a.
10149 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10150 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10151 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10152 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10153 (_CET_ENDBR): Define if not defined.
10154 (ENTRY): Add _CET_ENDBR.
10155 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10156 x86_shstk.
10157 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10158 _CET_ENDBR.
10159 (_dl_runtime_profile): Likewise.
10160
10161 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10162
10163 [BZ #21895]
10164 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10165 restore r2 on longjmp.
10166 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10167 test list.
10168 Added rules to build test tst-setjmp-bug21895-static.
10169 Added module setjmp-bug21895 and rules to build a shared object from it.
10170 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10171 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10172
10173 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10174
10175 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10176 * benchtests/bench-strstr.c: Likewise.
10177 * string/memmem.c (FASTSEARCH): Define.
10178 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10179 Add support for FASTSEARCH.
10180 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10181 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10182 (FASTSEARCH): Define.
10183 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10184 * string/test-strstr.c: Likewise.
10185
10186 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10187
10188 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10189 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10190
10191 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10192 H.J. Lu <hongjiu.lu@intel.com>
10193
10194 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10195 (__longjmp): Restore shadow stack pointer if shadow stack is
10196 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10197 isn't defined for __longjmp_cancel.
10198 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10199 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10200 and SHADOW_STACK_POINTER_OFFSET is defined.
10201 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10202 (setjmp): Save shadow stack pointer if shadow stack is enabled
10203 and SHADOW_STACK_POINTER_OFFSET is defined.
10204 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10205 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10206 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10207 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10208 <jmp_buf-ssp.h>.
10209 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10210 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10211 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10212 Remove jmp_buf-ssp.sym.
10213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10214 <jmp_buf-ssp.h>.
10215 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10216 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10217 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10218 jmp_buf-ssp.sym.
10219 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10220 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10221 (__longjmp): Restore shadow stack pointer if shadow stack is
10222 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10223 isn't defined for __longjmp_cancel.
10224 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10225 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10226 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10227
10228 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10229
10230 [BZ #22563]
10231 * nptl/pthread_create.c: Include <tls-setup.h>.
10232 (__pthread_create_2_1): Call tls_setup_tcbhead.
10233 * sysdeps/generic/tls-setup.h: New file.
10234 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10235 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10236 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10237 Likewise.
10238 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10239 to feature_1.
10240 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10241 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10242 (X86_FEATURE_1_SHSTK): Likewise.
10243 (CET_ENABLED): Likewise.
10244 (IBT_ENABLED): Likewise.
10245 (SHSTK_ENABLED): Likewise.
10246
10247 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10248
10249 [BZ #23208]
10250 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10251 (LOCALES): Likewise.
10252 * localedata/dsb_DE.UTF-8.in: New file.
10253 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10254
10255 2018-07-12 Florian Weimer <fweimer@redhat.com>
10256
10257 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10258 __mprotect, not mprotect.
10259
10260 2018-07-11 Florian Weimer <fweimer@redhat.com>
10261
10262 * io/Makefile (headers): Add bits/statx.h.
10263
10264 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10265
10266 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10267 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10268 and headers.
10269 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10270 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10271 for utf8_gen.py
10272
10273 2018-07-10 Florian Weimer <fweimer@redhat.com>
10274
10275 * io/Makefile (routines): Add statx.
10276 (tests-internal): Add tst-statx.
10277 * io/Versions (GLIBC_2.28): Export statx.
10278 * io/bits/statx.h: New file.
10279 * io/sys/stat.h [__USE_GNU]: Include it.
10280 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10281 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10282 Define.
10283 * io/statx.c: New file.
10284 * io/statx_generic.: Likewise.
10285 * io/tst-statx.: Likewise.
10286 * include/bits/statx.h: Likewise.
10287 * sysdeps/unix/sysv/linux/kernel-features.h
10288 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10289 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10290 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10291 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10292 Undefine.
10293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10294 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10295 * sysdeps/unix/sysv/linux/statx.c: New file.
10296 * manual/filesys.texi: Note that statx is undocumented.
10297 * sysdeps/**/libc*.abilist: Update.
10298
10299 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10300
10301 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10302 a kernel issue which lead to test failure in some cases.
10303
10304 2018-07-10 Florian Weimer <fweimer@redhat.com>
10305
10306 [BZ #23036]
10307 * posix/regexec.c (check_node_accept_bytes): When comparing
10308 weights, do not compare an extra byte after the end of the
10309 weights.
10310
10311 2018-07-10 Florian Weimer <fweimer@redhat.com>
10312
10313 * libio/readline.c: Fix copyright year.
10314 * libio/tst-readline.c Likewise.
10315 * nss/tst-nss-files-hosts-getent.c: Likewise.
10316
10317 2018-07-06 Florian Weimer <fweimer@redhat.com>
10318
10319 [BZ #18991]
10320 * nss/nss_files/files-XXX.c (internal_getent): Use
10321 __libc_readline_unlocked. Seek back to the start of the line if
10322 parsing failes with ERANGE.
10323 (get_contents_ret, get_contents): Remove.
10324 * nss/tst-nss-files-hosts-getent.c: New file.
10325 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10326 (tst-nss-files-hosts-getent): Link with -ldl.
10327
10328 2018-07-06 Florian Weimer <fweimer@redhat.com>
10329
10330 * include/stdio.h (__libc_readline_unlocked): Declare.
10331 (__ftello64, __fseeko64): Declare aliases.
10332 * libio/readline.c: New file.
10333 * libio/tst-readline.c: Likewise.
10334 (routines): Add readline.
10335 (tests-internal): Add tst-readlime.
10336 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10337 __libc_readline_unlocked.
10338 * libio/fseeko.c (__fseeko): Rename from fseeko.
10339 (fseeko): Add alias.
10340 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10341 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10342 (fseeko64): Add alias.
10343 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10344 * libio/ftello64.c (__ftello64): Rename from ftello64.
10345 (ftello64): Add alias.
10346
10347 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10348
10349 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10350 HWCAP_ATOMICS.
10351
10352 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10353
10354 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10355 Use dl_hwcap without masking.
10356 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10357 Remove HWCAP_CPUID.
10358
10359 2018-07-06 Florian Weimer <fweimer@redhat.com>
10360
10361 * conform/conformtest.pl (checknamespace): Escape literal braces
10362 in regular expressions.
10363
10364 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10365
10366 * sysdeps/x86/cpu-features.c (get_common_indeces):
10367 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10368 * sysdeps/x86/cpu-features.c (init_cpu_features):
10369 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10370
10371 2018-07-05 Florian Weimer <fweimer@redhat.com>
10372
10373 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10374 protector.
10375 (CFLAGS-elf-init.oS): Likewise.
10376
10377 2018-07-05 Florian Weimer <fweimer@redhat.com>
10378 Carlos O'Donell <carlos@redhat.com>
10379
10380 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10381 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10382 with stack protector enabled because there is no risk of infinite
10383 recursion.
10384
10385 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10386
10387 [BZ #19818]
10388 [BZ #23307]
10389 * libc-abis (ABSOLUTE): New ABI.
10390 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10391 * NEWS: Mention the new ABI.
10392
10393 2018-07-05 Florian Weimer <fweimer@redhat.com>
10394
10395 [BZ # 17662]
10396 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10397 (RENAME_WHITEOUT): Define.
10398 [__USE_GNU] (renameat2): Declare.
10399 * stdio-common/Makefile (routines): Add renameat2.
10400 (tests): Add tst-renameat2.
10401 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10402 * stdio-common/renameat2.c: New file.
10403 * stdio-common/tst-renameat2.c: Likewise.
10404 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10405 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10406 undocumented.
10407 * sysdeps/unix/sysv/linux/kernel-features.h
10408 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10410 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10411 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10412 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10413 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10414 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10415 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10416 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10417 * include/stdio.h (__renameat): Add alias for renameat.
10418 * stdio-common/renameat.c (__renameat): Rename from renameat.
10419 Add hidden definition and alias.
10420 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10421 * sysdeps/mach/hurd/renameat.c: Likewise.
10422 * sysdeps/**/libc*.abilist: Add renameat2.
10423
10424 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10425
10426 * posix/bug-regex33.c: Fix build after regex sync.
10427
10428 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10429
10430 [BZ #23164]
10431 * localedata/tst-langinfo-setlocale.c: New file.
10432 * localedata/tst-langinfo-setlocale-static.c: New file.
10433 * localedata/tst-langinfo-newlocale.c: New file.
10434 * localedata/tst-langinfo-newlocale-static.c: New file.
10435 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10436 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10437 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10438 (tests-static): Remove tst-langinfo-static. Add
10439 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10440 (tests-special): Remove $(objpfx)tst-langinfo.out,
10441 $(objpfx)tst-langinfo-static.out. Add
10442 $(objpfx)tst-langinfo-setlocale.out,
10443 $(objpfx)tst-langinfo-newlocale.out,
10444 $(objpfx)tst-langinfo-setlocale-static.out,
10445 $(objpfx)tst-langinfo-newlocale-static.out.
10446 ($(objpfx)tst-langinfo.out): Remove.
10447 ($(objpfx)tst-langinfo-static.out): Remove.
10448 ($(objpfx)tst-langinfo-newlocale.out): New target.
10449 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10450 (test-xfail-tst-langinfo-newlocale-static): Add.
10451 ($(objpfx)tst-langinfo-setlocale.out): New target.
10452 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10453 * localedata/tst-langinfo.c: Call test_locale.
10454 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10455 data.
10456
10457 2018-07-04 Florian Weimer <fweimer@redhat.com>
10458
10459 testrun.sh: Implement --tool=strace, --tool=valgrind
10460 * Makefile (testrun-script): Define variable.
10461 (testrun.sh): Use variable.
10462 * manual/install.texi (Tools for Compilation): make 4.0 or later
10463 is required.
10464 * configure.ac: Check for make 4.0 or later.
10465 * INSTALL: Regenerate.
10466 * configure: Likewise.
10467
10468 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10469
10470 [BZ #23233]
10471 [BZ #21163]
10472 [BZ #18986]
10473 [BZ #13762]
10474 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10475 * posix/PCRE.tests: Remove invalid test.
10476 * posix/bug-regex28.c: Fix expected values for used syntax.
10477 * posix/bug-regex37.c: New file.
10478 * posix/bug-regex38.c: Likewise.
10479 * posix/regcomp.c: Sync with gnulib.
10480 * posix/regex.c: Likewise.
10481 * posix/regex.h: Likewise.
10482 * posix/regex_internal.c: Likewise.
10483 * posix/regex_internal.h: Likewise.
10484 * posix/regexec.c: Likewise.
10485
10486 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10487
10488 [BZ #23308]
10489 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10490 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10491 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10492 * localedata/unicode-gen/PropList.txt: likewise.
10493 * localedata/unicode-gen/UnicodeData.txt: likewise.
10494 * localedata/charmaps/UTF-8: Regenerate.
10495 * localedata/locales/i18n_ctype: likewise.
10496 * localedata/locales/tr_TR: likewise.
10497 * localedata/locales/translit_circle: likewise.
10498 * localedata/locales/translit_cjk_compat: likewise.
10499 * localedata/locales/translit_combining: likewise.
10500 * localedata/locales/translit_compat: likewise.
10501 * localedata/locales/translit_font: likewise.
10502 * localedata/locales/translit_fraction: likewise.
10503
10504 2018-07-03 Florian Weimer <fweimer@redhat.com>
10505
10506 [BZ #23363]
10507 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10508 * stdio-common/tst-printf.sh: Adjust expected output.
10509 * LICENSES: Update.
10510
10511 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10512
10513 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10514 symbol.
10515
10516 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10517
10518 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10519 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10520 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10521 * stdio-common/tst-printfsz-islongdouble.c: New file.
10522 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10523 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10524 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10525 [subdir == stdio-common] (tests-internal): Add
10526 test-printf-size-ieee128, and test-printf-size-ibm128.
10527 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10528 (CFLAGS-test-printf-size-ibm128.c): New variables.
10529 [subdir == stdio-common] (tests-special): Add
10530 $(objpfx)test-printf-size-ieee128.out and
10531 $(objpfx)test-printf-size-ibm128.out.
10532 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10533 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10534 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10535 __printf_sizeieee128.
10536 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10537 New file.
10538 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10539 Likewise.
10540 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10541 Likewise.
10542
10543 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10544
10545 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10546 (exp2f_inline): Likewise.
10547 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10548 (__math_uflowf): Likewise.
10549 (__math_may_uflowf): Likewise.
10550 (__math_divzerof): Likewise.
10551 (__math_invalidf): Likewise.
10552 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10553 (__math_oflowf): Likewise.
10554 (__math_uflowf): Likewise.
10555 (__math_may_uflowf): Likewise.
10556 (__math_divzerof): Likewise.
10557 (__math_invalidf): Likewise.
10558
10559 2018-06-29 DJ Delorie <dj@redhat.com>
10560 Carlos O'Donell <carlos@redhat.com>
10561
10562 [BZ #23329]
10563 * include/libc-symbols.h: Comment the freeres framework.
10564 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10565 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10566 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10567 * dlfcn/dlerror.c: Include libc-symbols.h
10568 (__dlerror_main_freeres): New function.
10569 * dlfcn/dlfreeres.c: New file.
10570 * dlfcn/sdlfreeres.c: New file.
10571 * include/dlfcn.h: Declare __dlerror_main_freeres.
10572 * malloc/set-freeres.c: Declare __libdl_freeres, and
10573 __libpthread_freeres.
10574 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10575 the releavant libraries are loaded.
10576 * malloc/thread-freeres.c: Add comments.
10577 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10578 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10579 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10580 (__free_stacks): Rename to...
10581 (free_stacks): ...this. Mark static.
10582 (queue_stack): Call free_stacks.
10583 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10584 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10585 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10586 ptr_freeres element from struct.
10587 (pthread_functions): Remove .ptr_freeres from struct initializer.
10588 [SHARED] (nptl_freeres): Remove.
10589 * nptl/nptlfreeres.c: New file.
10590 * nptl/pthreadP.h
10591 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10592 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10593 attribute_hidden.
10594 (__free_stacks): Rename to...
10595 (__nptl_stacks_freeres): ...this.
10596 (__shm_directory_freeres): Declare.
10597 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10598 (__nptl_unwind_freeres): ...this.
10599 * resolv/res-close.c: Add comment.
10600 * resolv/resolv_conf.c: Include libc-symbols.h.
10601 * string/strerror_l.c: Include libc-symbols.h.
10602 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10603 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10604 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10605 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10606
10607 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10608
10609 * stdlib/tst-strfmon_l.c: Add tests for long double.
10610
10611 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10612
10613 [BZ #23208]
10614 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10615 * localedata/locales/dsb_DE: New file.
10616
10617 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10618
10619 [BZ #23140]
10620 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10621 genitive case).
10622 (alt_mon): New entry, import from CLDR (nominative case).
10623
10624 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10625
10626 [BZ #22996]
10627 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10628
10629 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10630
10631 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10632 Use vector registers.
10633
10634 * sysdeps/aarch64/multiarch/memmove_falkor.S
10635 (__memcpy_falkor): Use vector registers.
10636
10637 2018-06-29 Martin Sebor <msebor@redhat.com>
10638
10639 * manual/stdio.texi (Customizing Printf): Mention interaction
10640 with GCC built-ins.
10641
10642 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10643
10644 [BZ #23307]
10645 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10646 `st_value' is 0 if `st_shndx' is SHN_ABS.
10647 * elf/tst-absolute-zero.c: New file.
10648 * elf/tst-absolute-zero-lib.c: New file.
10649 * elf/tst-absolute-zero-lib.lds: New file.
10650 * elf/Makefile (tests): Add `tst-absolute-zero'.
10651 (modules-names): Add `tst-absolute-zero-lib'.
10652 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10653 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10654 ($(objpfx)tst-absolute-zero: New dependency.
10655
10656 2018-06-29 Zack Weinberg <zackw@panix.com>
10657
10658 * configure.ac: New command-line option --disable-crypt.
10659 Force --disable-nss-crypt when --disable-crypt is given, with a
10660 warning if it was explicitly enabled.
10661 * configure: Regenerate.
10662 * config.make.in: New boolean substitution variable $(build-crypt).
10663 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10664 when $(build-crypt).
10665 * manual/install.texi: Document --disable-crypt.
10666 * INSTALL: Regenerate.
10667
10668 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10669 which is never set.
10670 * conform/Makefile: Only include libcrypt.a in
10671 linknamespace-libs-xsi and linknamespace-libs-XPG4
10672 when $(build-crypt).
10673 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10674 USE_CRYPT to 1 when $(build-crypt).
10675 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10676 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10677 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10678
10679 2018-06-29 Zack Weinberg <zackw@panix.com>
10680
10681 * crypt/crypt.h, posix/unistd.h: Update comments and
10682 prototypes for crypt and crypt_r.
10683
10684 * manual/crypt.texi (Cryptographic Functions): New initial
10685 exposition.
10686 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10687 (Unpredictable Bytes): Improve initial exposition. Clarify error
10688 behavior of getentropy and getrandom.
10689 * manual/examples/genpass.c: Generate a salt using getentropy
10690 instead of the current time. Use hash $5$ (SHA-2-256).
10691 * manual/examples/testpass.c: Demonstrate validation against
10692 hashes generated with three different one-way functions.
10693
10694 * manual/intro.texi: crypt.texi does not need an overview
10695 anymore.
10696
10697 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10698 * manual/terminal.texi: Consistently refer to "passphrases"
10699 * instead of "passwords", and to the "user database" instead
10700 * of the "password database".
10701 * manual/users.texi: Similarly. Add notes about how actual
10702 passphrase hashes are now stored in the shadow database.
10703 Remove 20-year-old junk todo note.
10704
10705 2018-06-29 Zack Weinberg <zackw@panix.com>
10706
10707 * manual/crypt.texi: Use a normal top-level @node declaration.
10708 Move most of the introductory text to the 'crypt' section.
10709 Move the example programs below the @deftypefun for 'crypt_r'.
10710 Move the 'getpass' section...
10711 * manual/terminal.texi: ...here.
10712
10713 2018-06-29 Zack Weinberg <zackw@panix.com>
10714 Florian Weimer <fweimer@redhat.com>
10715
10716 * posix/unistd.h: Do not declare encrypt.
10717 (_XOPEN_CRYPT): Remove macro definition.
10718 (crypt): Declare only for _USE_MISC.
10719 * stdlib/stdlib.h: Do not declare setkey.
10720 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10721 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10722
10723 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10724 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10725 into compat symbols. Don't define initial_perm if it's not
10726 going to be used.
10727 * crypt/cert.c: Link explicitly with the expected versions for
10728 setkey and encrypt. If they are not available at all, mark
10729 the test as unsupported.
10730
10731 * sunrpc/des_crypt.c: Unconditionally block linkage with
10732 cbc_crypt and ecb_crypt for new binaries.
10733 * sunrpc/des_soft.c: Unconditionally block linkage with
10734 des_setparity for new binaries.
10735
10736 * manual/crypt.texi: Remove the entire "DES Encryption"
10737 section. Also remove the paragraph talking about FIPS 140-2
10738 from the introduction.
10739 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10740 of libgcrypt for "real" encryption, not DES.
10741 * manual/conf.texi (Constants for Sysconf): Mention that
10742 _XOPEN_CRYPT is no longer impelemented.
10743
10744 * conform/data/unistd.h-data: Remove crypt function declaration.
10745
10746 2018-06-29 Florian Weimer <fweimer@redhat.com>
10747
10748 [BZ #23351]
10749 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10750 (disallow_malloc_check): Remove variable.
10751 (__malloc_check_init): Adjust.
10752 (malloc_set_state): Update comment.
10753 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10754 declarations.
10755
10756 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10757
10758 [BZ #23140]
10759 * localedata/locales/ast_ES (mon): Rename to...
10760 (alt_mon): This.
10761 (mon): Import from CLDR (genitive case).
10762
10763 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10764 Jakub Sitnicki <jkbs@redhat.com>
10765
10766 [BZ #21812]
10767 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10768 on NLM_F_DUMP_INTR.
10769
10770 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10771
10772 * manual/llio.texi: Remove spurious space.
10773
10774 2018-06-28 Florian Weimer <fweimer@redhat.com>
10775
10776 [BZ #23349]
10777 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10778 _STRUCT_TIMESPEC.
10779
10780 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10781
10782 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10783 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10784 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10785 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10786 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10787 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10788 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10789
10790 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10791
10792 [BZ #23266]
10793 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10794 Copy and null-terminate entries that are not terminated, in
10795 addition to empty ones.
10796
10797 2018-06-27 Florian Weimer <fweimer@redhat.com>
10798
10799 [BZ #18023]
10800 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10801 (extend_alloca_account): Remove.
10802 * manual/stdio.texi (Variable Arguments Output): Update comment.
10803
10804 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10805
10806 * nptl/sockperf.c: Remove file.
10807
10808 2018-06-27 Florian Weimer <fweimer@redhat.com>
10809
10810 [BZ #18023]
10811 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10812 scratch_buffer instead of extend_alloca.
10813
10814 2018-06-27 Florian Weimer <fweimer@redhat.com>
10815
10816 [BZ #18023]
10817 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10818 scratch_buffer instead of extend_alloca. Update comments.
10819
10820 2018-06-27 Florian Weimer <fweimer@redhat.com>
10821
10822 [BZ #18023]
10823 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10824 instead of extend_alloca.
10825
10826 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10827
10828 [BZ #13888]
10829 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10830 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10831 /tmp.
10832 * scripts/test-installation.pl: Put temporary files in build
10833 directory, not /tmp.
10834 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10835 (CFLAGS-bug4.c): Likewise.
10836 (CFLAGS-bug5.c): Likewise.
10837 (CFLAGS-test-fseek.c): Likewise.
10838 (CFLAGS-test-popen.c): Likewise.
10839 (CFLAGS-test_rdwr.c): Likewise.
10840 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10841 /tmp.
10842 * stdio-common/bug4.c (main): Likewise.
10843 * stdio-common/bug5.c (main): Likewise.
10844 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10845 * stdio-common/test-popen.c (do_test): Likewise.
10846 * stdio-common/test_rdwr.c (main): Likewise.
10847
10848 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10849
10850 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10851 (sem_open): Set sem.newsem.pad to zero for valgrind.
10852
10853 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10854
10855 [BZ #20251]
10856 * NEWS: Mention fcntl64 addition.
10857 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10858 * login/utmp_file.c: Likewise.
10859 * sysdeps/posix/fdopendir.c: Likewise.
10860 * sysdeps/posix/opendir.c: Likewise.
10861 * sysdeps/unix/pt-fcntl.c: Likewise.
10862 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10863 __fcntl64_nocancel_adjusted): New prototype.
10864 (__fcntl_nocancel_adjusted): Remove prototype.
10865 * io/Makefile (routines): Add fcntl64.
10866 (CFLAGS-fcntl64.c): New rule.
10867 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10868 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10869 * io/fcntl.h (fcntl64): Add prototype and redirect if
10870 __USE_FILE_OFFSET64 is defined.
10871 * io/fcntl64.c: New file.
10872 * manual/llio.text: Add a note for which commands fcntl acts a
10873 cancellation point.
10874 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10875 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10876 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10877 New symbols.
10878 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10879 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10880 non-LFS case.
10881 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10882 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10883 to __fcntl64_nocancel.
10884 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10885 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10886 to __fcntl64_nocancel.
10887 * sysdeps/generic/not-cancel.h: Likewise.
10888 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10889 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10890 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10891 (fcntl64): New symbol.
10892 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10903 fcntl64): Likewise.
10904 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10905 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10906 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10907 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10914 Likewise.
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10916 Likewise.
10917 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10920
10921 2018-06-26 Florian Weimer <fweimer@redhat.com>
10922
10923 Run thread shutdown functions in an explicit order.
10924 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10925 definition.
10926 (__libc_thread_freeres): Call thread shutdown functions
10927 explicitly.
10928 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10929 * include/string.h (__strerror_thread_freeres): Declare.
10930 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10931 arena_thread_freeres. No longer static. Remove thread shutdown
10932 hook registration.
10933 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10934 Declare.
10935 * resolv/res-close.c (__res_thread_freeres): Renamed from
10936 res_thread_freeres. No longer static. Remove thread shutdown
10937 hook registration.
10938 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10939 * resolv/resolv_conf.c (freeres): Remove incorrect section
10940 attribute and use libc_freeres_fn.
10941 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10942 strerror_thread_freeres. No longer static. Remove thread
10943 shutdown hook registration.
10944 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10945 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10946 shutdown hook registration.
10947 * Makerules (shlib.lds): Do not provide section boundary symbols
10948 for __libc_thread_subfreeres.
10949 * manual/memory.texi (Basic Allocation): Update comment.
10950
10951 2018-06-26 Florian Weimer <fweimer@redhat.com>
10952
10953 Remove always-defined _RPC_THREAD_SAFE_ macro.
10954 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10955 Do not define _RPC_THREAD_SAFE_.
10956 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10957 conditional.
10958 * sunrpc/clnt_perr.c: Likewise.
10959 * sunrpc/clnt_raw.c: Likewise.
10960 * sunrpc/clnt_simp.c: Likewise.
10961 * sunrpc/key_call.c: Likewise.
10962 * sunrpc/rpc_common.c: Likewise.
10963 * sunrpc/rpc_main.c: Likewise.
10964 * sunrpc/rpc_thread.c: Likewise.
10965 * sunrpc/svc.c: Likewise.
10966 * sunrpc/svc_raw.c: Likewise.
10967 * sunrpc/svc_simple.c: Likewise.
10968 * sumrpc/svcauth_des.c: Likewise.
10969
10970 2018-06-26 Florian Weimer <fweimer@redhat.com>
10971
10972 * libio/Makefile (tests-internal): Add tst-vtables,
10973 tst-vtables-interposed.
10974 * libio/tst-vtables.c: New file.
10975 * libio/tst-vtables-common.c: Likewise.
10976 * libio/tst-vtables-interposed.c: Likewise.
10977
10978 2018-06-26 Florian Weimer <fweimer@redhat.com>
10979
10980 * support/support_test_main.c (support_test_main): Only call
10981 setvbuf if not disables.
10982 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10983 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10984
10985 2018-06-26 Florian Weimer <fweimer@redhat.com>
10986
10987 [BZ #23313]
10988 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10989
10990 2018-06-25 Florian Weimer <fweimer@redhat.com>
10991
10992 [BZ #18023]
10993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10994 Use struct scratch_buffer instead of extend_alloca.
10995
10996 2018-06-25 Florian Weimer <fweimer@redhat.com>
10997
10998 [BZ #18023]
10999 * nss/getent.c (initgroups_keys): Use dynarray instead of
11000 extend_alloca.
11001
11002 2018-06-25 Florian Weimer <fweimer@redhat.com>
11003
11004 [BZ #18023]
11005 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11006 Use struct scratch_buffer instead of extend_alloca.
11007
11008 2018-06-25 Florian Weimer <fweimer@redhat.com>
11009
11010 [BZ #18023]
11011 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11012 back to malloc directly, without stack allocations.
11013
11014 2018-06-25 Florian Weimer <fweimer@redhat.com>
11015
11016 [BZ #18023]
11017 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11018 of extend_alloca.
11019
11020 2018-06-25 Florian Weimer <fweimer@redhat.com>
11021
11022 [BZ #18023]
11023 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11024 of extend_alloca.
11025 * nscd/hstcache.c (addhstbyX): Likewise.
11026 * nscd/pwdcache.c (addpwbyX): Likewise.
11027 * nscd/servicescache.c (addservbyX): Likewise.
11028
11029 2018-06-25 Florian Weimer <fweimer@redhat.com>
11030
11031 [BZ #18023]
11032 * nscd/connections.c (read_cmdline): New function.
11033 (restart): Use it. Update comment.
11034
11035 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11036
11037 [BZ #23140]
11038 * localedata/locales/csb_PL (mon): Rename to...
11039 (alt_mon): This.
11040 (abmon): Rename to...
11041 (ab_alt_mon): This.
11042 (mon): Add with proper genitive forms, copy from Wikipedia.
11043 (abmon): Likewise.
11044
11045 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11046
11047 [BZ #19485]
11048 * localedata/locales/csb_PL (mon): Fix typos:
11049 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11050 (yesstr): Add, value is "jo".
11051 (nostr): Add, value is "nié".
11052
11053 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11054
11055 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11056 all log1p and significand functions on m680x0.
11057 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11058 of s_significand.c..
11059 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11060 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11061 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11062 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11063 s_log1p.c and include it..
11064
11065 2018-06-21 Vincent Chen <vincentc@andestech.com>
11066
11067 * elf/elf.h (R_NDS32_NONE): New define.
11068 (R_NDS32_32_RELA): Likewise.
11069 (R_NDS32_COPY): Likewise.
11070 (R_NDS32_GLOB_DAT): Likewise.
11071 (R_NDS32_JUMP_SLOT): Likewise.
11072 (R_NDS32_RELATIVE): Likewise.
11073 (R_NDS32_TLS_TPOFF): Likewise.
11074 (R_NDS32_TLS_DESC): Likewise.
11075
11076 2018-06-21 Mark Wielaard <mark@klomp.org>
11077
11078 * elf/elf.h (R_BPF_MAP_FD): Removed.
11079 (R_BPF_64_64, R_BPF_64_32): New.
11080
11081 2018-06-21 Florian Weimer <fweimer@redhat.com>
11082
11083 [BZ #23253]
11084 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11085 Renamed from libc_feholdsetround_ctx.
11086 (default_libc_feresetround_ctx): Renamed from
11087 libc_feresetround_ctx.
11088 (default_libc_feholdsetround_noex_ctx): Renamed from
11089 libc_feholdsetround_noex_ctx.
11090 (default_libc_feresetround_noex_ctx): Renamed from
11091 libc_feresetround_noex_ctx.
11092 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11093 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11094 forwardning to the old implementations under the new names.
11095 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11096 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11097 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11098 (libc_feresetround_ctx): Forward to default implements for i386
11099 and MATH_SET_BOTH_ROUNDING_MODES.
11100 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11101 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11102
11103 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11104
11105 * string/tst-cmp.c: Include <libc-diag.h>.
11106 (strncmp_max): Disable -Wstringop-overflow= around call to
11107 strncmp.
11108 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11109 strncasecmp.
11110
11111 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11112 (main): Disable -Wunused-value around call to strpbrk.
11113 * string/bug-strspn1.c: Include <libc-diag.h>.
11114 (main): Disable -Wunused-value around call to strspn.
11115
11116 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11117 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11118
11119 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11120 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11121
11122 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11123
11124 * math/Makefile (libm-calls): Move s_significandF to...
11125 (gen-libm-calls): ... here.
11126 * math/s_significand_template.c: New file.
11127 * math/s_significand.c: Removed.
11128 * math/s_significandf.c: Removed.
11129 * math/s_significandl.c: Removed.
11130 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11131 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11132
11133 * math/e_exp2_template.c (declare_mgen_finite_alias,
11134 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11135 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11136 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11137
11138 2018-06-20 Florian Weimer <fweimer@redhat.com>
11139
11140 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11141
11142 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11143
11144 [BZ #23280]
11145 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11146 floating-point number to strtod functions rather than possibly
11147 negating result of those functions.
11148 * stdio-common/tst-scanf-round.c: New file.
11149 * stdio-common/Makefile (tests): Add tst-scanf-round.
11150 ($(objpfx)tst-scanf-round): Depend on $(libm).
11151
11152 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11153
11154 * sysdeps/mach/hurd/localplt.data: Move to...
11155 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11156 R_386_GLOB_DAT like on Linux i386.
11157
11158 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11159
11160 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11161 (SHM_STAT_ANY): New macro.
11162 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11163 (SHM_STAT_ANY): Likewise.
11164 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11165 (SHM_STAT_ANY): Likewise.
11166 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11167 (SHM_STAT_ANY): Likewise.
11168 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11169 (SHM_STAT_ANY): Likewise.
11170 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11171 (SHM_STAT_ANY): Likewise.
11172 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11173 (SHM_STAT_ANY): Likewise.
11174 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11175 (SHM_STAT_ANY): Likewise.
11176 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11177 (SHM_STAT_ANY): Likewise.
11178 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11179 (SHM_STAT_ANY): Likewise.
11180 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11181 (SHM_STAT_ANY): Likewise.
11182 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11183 (SHM_STAT_ANY): Likewise.
11184
11185 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11186 (SEM_STAT_ANY): New macro.
11187 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11188 (SEM_STAT_ANY): Likewise.
11189 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11190 (SEM_STAT_ANY): Likewise.
11191 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11192 (SEM_STAT_ANY): Likewise.
11193 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11194 (SEM_STAT_ANY): Likewise.
11195 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11196 (SEM_STAT_ANY): Likewise.
11197 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11198 (SEM_STAT_ANY): Likewise.
11199 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11200 (SEM_STAT_ANY): Likewise.
11201 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11202 (SEM_STAT_ANY): Likewise.
11203 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11204 (SEM_STAT_ANY): Likewise.
11205
11206 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11207 (MSG_STAT_ANY): New macro.
11208 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11209 (MSG_STAT_ANY): Likewise.
11210 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11211 (MSG_STAT_ANY): Likewise.
11212 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11213 (MSG_STAT_ANY): Likewise.
11214 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11215 (MSG_STAT_ANY): Likewise.
11216 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11217 (MSG_STAT_ANY): Likewise.
11218 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11219 (MSG_STAT_ANY): Likewise.
11220 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11221 (MSG_STAT_ANY): Likewise.
11222 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11223 (MSG_STAT_ANY): Likewise.
11224 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11225 (MSG_STAT_ANY): Likewise.
11226
11227 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11228 (MAP_TYPE): Change value to 0x2b.
11229
11230 2018-06-18 Florian Weimer <fweimer@redhat.com>
11231
11232 [BZ #15722]
11233 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11234 socket with SOCK_CLOEXEC.
11235
11236 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #23303]
11239 * sysdeps/powerpc/powerpc64/le/Makefile
11240 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11241 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11242 (gnulib-tests): Also add $(f128-loader-link) for
11243 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11244
11245 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11246
11247 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11248 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11249 of sendfile.
11250 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11251 (sendfile64): New strong alias.
11252 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11253 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11254 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11255 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11256 attribute.
11257 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11258 ___pthread_get_cleanup_stack.
11259 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11260 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11261 * mach/shortcut.awk: Make syscall stubs include
11262 <mach-shortcuts-hidden.h> and add hidden definition.
11263 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11264 (__mach_msg): Add hidden prototype.
11265 * mach/msg.c: Include <mach.h>.
11266 (__mach_msg): Add hidden definition.
11267 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11268 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11269 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11270 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11271 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11272 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11273 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11274 prototype and definition.
11275 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11276 hidden target for _hurd_self_sigstate.
11277
11278 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11279
11280 [BZ #23007]
11281 * stdlib/tst-strtod-nan-sign-main.c: New file.
11282 * stdlib/tst-strtod-nan-sign.c: Likewise.
11283 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11284 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11285 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11286 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11287 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11288
11289 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11290
11291 [BZ #23007]
11292 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11293 appropriate sign.
11294
11295 2018-06-14 Florian Weimer <fweimer@redhat.com>
11296
11297 [BZ #23290]
11298 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11299 that the result stays within the ISO-8859-1 range.
11300 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11301 characters are defined in IBM273.
11302
11303 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11304
11305 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11306 __mach_task_self): Remove attribute_hidden.
11307
11308 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11309
11310 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11311 ignore -Wrestrict for one test.
11312
11313 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11314 Szabolcs Nagy <szabolcs.nagy@arm.com>
11315
11316 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11317
11318 2018-06-14 Florian Weimer <fweimer@redhat.com>
11319
11320 * scripts/update-abilist.sh: Accept empty list of files to patch.
11321
11322 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11323
11324 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11325 test-xfail-check-abi-libmachuser): Add.
11326 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11327 __libc_read and __libc_write to __read and __write.
11328 * sysdeps/hurd/include/hurd/port.h: New file.
11329 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11330 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11331 __thread_switch, __evc_wait): Move declarations to...
11332 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11333 attribute_hidden.
11334 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11335 use PLT to call _hurd_self_sigstate.
11336
11337 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11338
11339 [BZ #23279]
11340 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11341 MAX_EXP as overflowing.
11342 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11343 overflow flag.
11344 (round_str): Output also whether result overflows in each rounding
11345 mode.
11346 * stdlib/tst-strtod-round-data: Add more tests.
11347 * stdlib/tst-strtod-round-data.h: Regenerated.
11348 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11349 (TEST): Handle extra arguments for overflow flags.
11350 (struct test_overflow): New type.
11351 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11352 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11353 (test_in_one_mode): Take argument with overflow information.
11354 (do_test): Update calls to test_in_one_mode.
11355
11356 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11357
11358 * elf/dl-load (_dl_dst_substitute): Correct comment.
11359 (_dl_dst_count): Likewise.
11360
11361 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11362 lll_futex_timed_wait.
11363
11364 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11365
11366 [BZ #23277]
11367 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11368 attribute.
11369 * math/test-nan-const.c: New file.
11370 * math/Makefile (tests): Add test-nan-const.
11371 (CFLAGS-test-nan-const.c): New variable.
11372
11373 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11374
11375 * benchtests/scripts/compare_strings.py (process_results): Add
11376 funcs argument. Compare only functions which are selected.
11377 (main): Check if base function is among selected functions.
11378 Pass selected functions to process_results.
11379 (__main__): Add -f/--functions argument.
11380
11381 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11382 Hongbo Zhang <hongbo.zhang@linaro.org>
11383
11384 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11385 __memcpy_falkor for phecda core.
11386 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11387 __memmove_falkor for phecda core.
11388 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11389 __memset_falkor for phecda core.
11390 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11391 for phecda core.
11392 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11393 macro to identify phecda core.
11394
11395 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11396 Andreas Schwab <schwab@suse.de>
11397 Dmitry V. Levin <ldv@altlinux.org>
11398 Florian Weimer <fweimer@redhat.com>
11399
11400 [BZ #23102]
11401 [BZ #21942]
11402 [BZ #18018]
11403 [BZ #23259]
11404 CVE-2011-0536
11405 * elf/dl-dst.h: Remove DL_DST_COUNT.
11406 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11407 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11408 (is_dst): Comment. Support ELF gABI.
11409 (_dl_dst_count): Comment. Simplify and count DSTs.
11410 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11411 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11412 locals.
11413
11414 2018-06-12 Zack Weinberg <zackw@panix.com>
11415
11416 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11417 * sysdeps/unix/sysv/linux/dl-sysdep.c
11418 Include not-cancel.h. Use __close_nocancel instead of __close,
11419 __open64_nocancel instead of __open, __read_nocancel instead of
11420 __libc_read, and __write_nocancel instead of __libc_write.
11421
11422 * csu/check_fds.c (check_one_fd)
11423 * sysdeps/posix/fdopendir.c (__fdopendir)
11424 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11425 instead of __fcntl and/or __libc_fcntl.
11426
11427 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11428 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11429 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11430 Use __open64_nocancel instead of __open_nocancel.
11431
11432 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11433 hidden_proto declarations to the end and issue them if either
11434 IS_IN(libc) or IS_IN(rtld).
11435 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11436 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11437 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11438 read_nocancel, waitpid_nocancel, write_nocancel.
11439
11440 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11441 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11442 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11443
11444 * nptl/pt-fcntl.c: New file.
11445 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11446 (libpthread-routines): Add pt-fcntl.
11447 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11448 (__libc_fcntl): Remove attribute_hidden.
11449 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11450 __fcntl_nocancel_adjusted, not fcntl_common.
11451 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11452 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11453 to fcntl_nocancel.c.
11454 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11457 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11458
11459 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11460 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11461 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11462 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11463 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11464 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11465 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11466 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11467 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11468 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11469 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11470 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11471 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11472 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11473 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11474 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11475 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11476 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11477 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11478 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11479
11480 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11481 libpthread-routines.
11482 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11483 defines nothing.
11484
11485 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11486 __libc_read, and __write instead of __libc_write. Define
11487 __open64 in addition to __open.
11488
11489 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11490
11491 [BZ #23250]
11492 [BZ #10686]
11493 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11494 to _private_tm[3] and add __glibc_reserved2.
11495 Add _Static_assert of offset of __private_ss == 0x30.
11496 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11497 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11498
11499 2018-06-12 Florian Weimer <fweimer@redhat.com>
11500
11501 x86: Make strncmp usable from rtld.
11502 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11503 __strncmp_ia32 if in libc (and not in rtld).
11504 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11505 strncmp if not in libc (and not to __strncmp_sse2).
11506
11507 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11508
11509 [BZ #23140]
11510 * localedata/locales/gd_GB (mon): Rename to...
11511 (alt_mon): This.
11512 (mon): Import from CLDR (genitive case).
11513 * localedata/locales/hsb_DE (mon): Rename to...
11514 (alt_mon): This.
11515 (mon): Import from CLDR (genitive case).
11516 * localedata/locales/wa_BE (mon): Rename to...
11517 (alt_mon): This.
11518 (mon): Add, fill with the proper genitive forms, but CLDR data
11519 is incomplete; completed according to the comments in this file.
11520 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11521
11522 * localedata/locales/wa_BE (country_name): Reword
11523 "Beljike" -> "Beldjike".
11524
11525 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11526
11527 [BZ #23272]
11528 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11529 cases of non-finite arguments.
11530 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11531
11532 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11533
11534 [BZ #23174]
11535 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11536
11537 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11538
11539 [BZ #23264]
11540 * include/unistd.h (__execvpex): New prototype.
11541 * posix/Makefile (tests): Add tst-spawn4.
11542 (tests-internal): Add tst-spawn4-compat.
11543 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11544 * posix/tst-spawn4-compat.c: New file.
11545 * posix/tst-spawn4.c: Likewise.
11546 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11547 binaries as shell scripts.
11548 * sysdeps/posix/spawni.c (__spawni): Likewise.
11549
11550 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11551
11552 [BZ #23145]
11553 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11554 ($(all-built-dso:=.dynsym): New target.
11555 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11556 ($(objpfx)check-initfini.out): New target.
11557 (generated): Add check-initfini.out.
11558 * scripts/check-initfini.awk: New file.
11559 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11560 (_fini): Likewise.
11561 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11562 (_fini): Likewise.
11563 * sysdeps/arm/crti.S (_init): Mark as hidden.
11564 (_fini): Likewise.
11565 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11566 (_fini): Likewise.
11567 * sysdeps/i386/crti.S (_init): Mark as hidden.
11568 (_fini): Likewise.
11569 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11570 (_fini): Likewise.
11571 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11572 (_fini): Likewise.
11573 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11574 (_fini): Likewise.
11575 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11576 (_fini): Likewise.
11577 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11578 (_fini): Likewise.
11579 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11580 (_fini): Likewise.
11581 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11582 (_fini): Likewise.
11583 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11584 (_fini): Likewise.
11585 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11586 (_fini): Likewise.
11587 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11588 (_fini): Likewise.
11589 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11590 (_fini): Likewise.
11591 * sysdeps/sh/crti.S (_init): Mark as hidden.
11592 (_fini): Likewise.
11593 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11594 (_fini): Likewise.
11595 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11596 (_fini): Likewise.
11597
11598 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11599
11600 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11601 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11602 and TF redirection to KFtype and KF only when the default
11603 long double type is not the IEEE 128-bit floating point type.
11604
11605 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11606
11607 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11608 macro.
11609 (HWCAP_USCAT): Likewise.
11610 (HWCAP_ILRCPC): Likewise.
11611 (HWCAP_FLAGM): Likewise.
11612 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11613 Increase to 28.
11614 (_dl_aarch64_cap_flags): Add new flag names.
11615
11616 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11617 (MAP_FIXED_NOREPLACE): New macro.
11618 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11619 (MAP_FIXED_NOREPLACE): Likewise.
11620 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11621 (MAP_FIXED_NOREPLACE): Likewise.
11622 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11623 (MAP_FIXED_NOREPLACE): Likewise.
11624 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11625 (MAP_FIXED_NOREPLACE): Likewise.
11626 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11627 (MAP_FIXED_NOREPLACE): Likewise.
11628 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11629 (MAP_FIXED_NOREPLACE): Likewise.
11630 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11631 (MAP_FIXED_NOREPLACE): Likewise.
11632 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11633 (MAP_FIXED_NOREPLACE): Likewise.
11634 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11635 (MAP_FIXED_NOREPLACE): Likewise.
11636 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11637 (MAP_FIXED_NOREPLACE): Likewise.
11638 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11639 (MAP_FIXED_NOREPLACE): Likewise.
11640 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11641 (MAP_FIXED_NOREPLACE): Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11643 (MAP_FIXED_NOREPLACE): Likewise.
11644 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11645 (MAP_FIXED_NOREPLACE): Likewise.
11646
11647 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11648 version to 4.17.
11649
11650 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11651
11652 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11653 version to 4.17
11654
11655 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11656
11657 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11658 int.
11659 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11660
11661 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11662
11663 * benchtests/scripts/compare_string.py: (process_results) Catch
11664 exception in non-existent base_func and catch exception in
11665 non-existent attribute.
11666 (parse_file) Catch exception if input file does not exist.
11667
11668 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11669
11670 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11671 options to avoid diff calculation and omit header, respectively.
11672 (main): process --no-diff and --no-header
11673
11674 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11675 H.J. Lu <hongjiu.lu@intel.com>
11676
11677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11678 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11679 wcsncmp-sse2.
11680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11681 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11682 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11683 and __wcsncmp_sse2.
11684 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11685 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11686 AVX unaligned load is fast and vzeroupper is preferred.
11687 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11688 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11689 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11690 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11691 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11692 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11693 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11694 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11695 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11696 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11697 is undefined.
11698
11699 2018-06-01 Florian Weimer <fweimer@redhat.com>
11700
11701 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11702 configuring with --disable-multi-arch, building with
11703 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11704 Haswell-era CPU.
11705
11706 2018-06-01 Florian Weimer <fweimer@redhat.com>
11707
11708 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11709 results from building with “-march=x86-64 -mtune=generic
11710 -mfpmath=sse” and running on a Haswell-era CPU.
11711
11712 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11713
11714 [BZ #18473]
11715 * soft-fp/sqrttf2.c: Remove file.
11716 * soft-fp/sqrtdf2.c: Move to ....
11717 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11718 <shlib-compat.h>.
11719 (__sqrtdf2): Make conditional on
11720 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11721 symbol.
11722 * soft-fp/sqrtsf2.c: Move to ....
11723 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11724 <shlib-compat.h>.
11725 (__sqrtsf2): Make conditional on
11726 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11727 symbol.
11728 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11729 (gcc-double-routines): Remove sqrtdf2.
11730 (gcc-quad-routines): Remove sqrttf2.
11731 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11732 Do not filter out sqrtsf2 and sqrtdf2.
11733 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11734 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11735
11736 2018-06-01 Florian Weimer <fweimer@redhat.com>
11737
11738 * sysdeps/generic/libcidn.abilist: Remove file.
11739
11740 2018-06-01 Florian Weimer <fweimer@redhat.com>
11741
11742 [BZ #23236]
11743 * libio/strfile.h (struct _IO_str_fields): Rename members to
11744 discourage their use and add comment.
11745 (_IO_STR_DYNAMIC): Remove unused macro.
11746 * libio/strops.c (_IO_str_init_static_internal): Do not use
11747 callback pointers. Call malloc and free.
11748 (_IO_str_overflow): Do not use callback pointers. Call malloc
11749 and free.
11750 (enlarge_userbuf): Likewise.
11751 (_IO_str_finish): Call free.
11752 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11753 _allocate_buffer_unused.
11754 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11755 and free.
11756 (enlarge_userbuf): Likewise.
11757 (_IO_wstr_finish): Call free.
11758 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11759 _allocate_buffer_unused, _free_buffer_unused.
11760 * libio/memstream.c (__open_memstream): Likewise.
11761 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11762 * libio/wmemstream.c (open_wmemstream): Likewise.
11763
11764 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11765
11766 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11767 AMD Ryzen 7 1800X.
11768
11769 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11770
11771 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11772 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11773 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11774 New file.
11775 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11776 Likewise.
11777 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11778
11779 2018-05-29 Florian Weimer <fweimer@redhat.com>
11780
11781 * support/Makefile (libsupport-routines): Add
11782 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11783 xpthread_barrierattr_setpshared.
11784 * support/xpthread_barrierattr_destroy.c: New file.
11785 * support/xpthread_barrierattr_init.c: Likewise.
11786 * support/xpthread_barrierattr_setpshared.c: Likewise.
11787
11788 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11789
11790 [BZ #23206]
11791 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11792 _r_debug and update DT_DEBUG for debugger.
11793
11794 2018-05-29 Florian Weimer <fweimer@redhat.com>
11795
11796 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11797 (tst-strtod5i.out): Likewise.
11798
11799 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11800
11801 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11802 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11803 (sparc64-quad-routines): New variable. Moved from ....
11804 [$(subdir) = soft-fp] (sysdep_routines): Add
11805 $(sparc64-quad-routines). Moved from ....
11806 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11807 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11808 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11809 moved from ....
11810 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11811 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11812 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11813 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11814 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11815 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11816 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11817 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11818 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11819 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11820 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11821 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11822 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11823 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11824 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11825 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11826 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11827 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11828 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11829 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11830 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11831 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11832 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11833 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11834 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11835 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11836 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11837 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11838 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11839 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11840 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11841 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11842 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11843 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11844 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11845 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11846 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11847 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11848 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11849 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11850 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11851 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11852 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11853 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11854 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11855 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11856 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11857 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11858 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11859 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11860 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11861 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11862 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11863 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11864 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11865 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11867 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11868
11869 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11870 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11871 (sparc32-quad-routines): New variable. Moved from ....
11872 [$(subdir) = soft-fp] (sysdep_routines): Add
11873 $(sparc32-quad-routines). Moved from ....
11874 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11875 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11876 moved from ....
11877 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11878 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11879 * sysdeps/sparc/sparc32/q_add.c: ... here.
11880 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11881 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11882 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11883 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11884 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11885 * sysdeps/sparc/sparc32/q_div.c: ... here.
11886 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11887 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11888 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11889 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11890 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11891 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11892 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11893 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11894 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11895 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11896 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11897 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11898 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11899 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11900 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11901 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11902 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11903 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11904 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11905 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11906 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11907 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11908 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11909 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11910 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11911 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11912 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11913 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11914 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11915 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11916 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11917 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11918 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11919 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11920 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11921 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11922 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11923 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11924 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11925 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11926 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11927 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11928 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11929 * sysdeps/sparc/sparc32/q_util.c: ... here.
11930 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11931 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11932 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11933 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11934
11935 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11936 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11937
11938 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11939 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11940 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11941 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11942
11943 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11944
11945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11946 powerpc/soft-fp.
11947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11948 Likewise.
11949 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11950 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11951
11952 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11953
11954 [BZ #23171]
11955 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11956 double version.
11957
11958 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11959
11960 * sysdeps/sh/Implies: Remove sh/soft-fp.
11961 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11962 * sysdeps/sh/sfp-machine.h: ... here.
11963
11964 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11965
11966 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11967 (__mempcpy_erms): Skip zero length.
11968 (__memmove_erms): Likewise.
11969 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11970 (__memset_erms): Likewise.
11971
11972 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11973
11974 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11975 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11976 Add functions moved from ....
11977 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11978 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11979 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11980 from ....
11981 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11982 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11983 * sysdeps/alpha/e_sqrtl.c: ... here.
11984 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11985 * sysdeps/alpha/local-soft-fp.h: ... here.
11986 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11987 * sysdeps/alpha/ots_add.c: ... here.
11988 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11989 * sysdeps/alpha/ots_cmp.c: ... here.
11990 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11991 * sysdeps/alpha/ots_cmpe.c: ... here.
11992 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11993 * sysdeps/alpha/ots_cvtqux.c: ... here.
11994 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11995 * sysdeps/alpha/ots_cvtqx.c: ... here.
11996 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11997 * sysdeps/alpha/ots_cvttx.c: ... here.
11998 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11999 * sysdeps/alpha/ots_cvtxq.c: ... here.
12000 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12001 * sysdeps/alpha/ots_cvtxt.c: ... here.
12002 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12003 * sysdeps/alpha/ots_div.c: ... here.
12004 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12005 * sysdeps/alpha/ots_mul.c: ... here.
12006 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12007 * sysdeps/alpha/ots_nintxq.c: ... here.
12008 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12009 * sysdeps/alpha/ots_sub.c: ... here.
12010 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12011 * sysdeps/alpha/sfp-machine.h: ... here.
12012
12013 2018-05-23 Florian Weimer <fweimer@redhat.com>
12014
12015 [BZ #19728]
12016 [BZ #19729]
12017 [BZ #22247]
12018 CVE-2016-6261
12019 CVE-2016-6263
12020 CVE-2017-14062
12021 Switch to extern IDNA implementation (libidn2).
12022 * libidn: Remove subdirectory.
12023 * LICENSES: Do not mention licensing conditions for the removed
12024 libidn code.
12025 * config.h.in (HAVE_LIBIDN): Remove.
12026 * include/dlfcn.h (__libc_dlopen): Update comment.
12027 * include/idna.h: Remove file.
12028 * inet/Makefile (routines): Add idna.
12029 (tests-static, tests-internal): Add tst-idna_name_classify.
12030 (LOCALES): Generate locales for tests.
12031 (tst-idna_name_classify.out): Depend on generated locales.
12032 * inet/idna_name_classify.c: New file.
12033 * inet/tst-idna_name_classify.c: Likewise.
12034 * inet/net-internal.h (__idna_to_dns_encoding)
12035 (__idna_from_dns_encoding): Declare.
12036 * inet/net-internal.h (enum idna_name_classification): Define.
12037 (__idna_name_classify): Declare.
12038 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12039 __idna_from_dns_encoding.
12040 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12041 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12042 name as a fallback in case of encoding errors.
12043 (getnameinfo): Use DEPRECATED_NI_IDN.
12044 * inet/idna.c: New file.
12045 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12046 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12047 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12048 (modules-names): Add tst-no-libidn2.
12049 (extra-test-objs): Add tst-no-libidn2.os.
12050 (LDFLAGS-tst-no-libidn2.so): Set soname.
12051 (LOCALES): Set, and generate locales.
12052 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12053 (tst-resolv-ai_idn-latin1): Likewise.
12054 (tst-resolv-ai_idn-nolibidn2): Likewise.
12055 (tst-resolv-ai_idn.out): Depend on locales.
12056 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12057 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12058 tst-no-libidn2.so.
12059 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12060 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12061 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12062 * resolv/tst-resolv-ai_idn.c: New file.
12063 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12064 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12065 * resolv/tst-no-libidn2.c: Likewise.
12066 * support/support_format_addrinfo.c (format_ai_flags): Do not
12067 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12068 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12069 (gaih_inet): Call __idna_to_dns_encoding and
12070 __idna_from_dns_encoding, and use the original (punycode) name if
12071 __idna_from_dns_encoding fails due to an encoding error.
12072 (getaddrinfo): Use DEPRECATED_AI_IDN.
12073 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12074 * sysdeps/unix/inet/configure: Remove file.
12075 * sysdeps/unix/inet/configure.ac: Likewise.
12076
12077 2018-05-23 Florian Weimer <fweimer@redhat.com>
12078
12079 Implement allocate_once.
12080 * include/allocate_once.h: New file.
12081 * misc/allocate_once.c: Likewise.
12082 * misc/tst-allocate_once.c: Likewise.
12083 * misc/Makefile (routines): Add allocate_once.
12084 (tests-internal): Add tst-allocate_once.
12085 (generated): Add tst-allocate_once.mtrace,
12086 tst-allocate_once-mem.out.
12087 (tests-special): Add tst-allocate_once-mem.out.
12088 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12089 (tst-allocate_once-mem.out): Call mtrace.
12090 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12091
12092 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12093
12094 [BZ #23196]
12095 * string/test-memcpy.c (do_test1): New function.
12096 (test_main): Call it.
12097
12098 2018-05-23 Andreas Schwab <schwab@suse.de>
12099
12100 [BZ #23196]
12101 CVE-2018-11237
12102 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12103 (L(preloop_large)): Save initial destination pointer in %r11 and
12104 use it instead of %rax after the loop.
12105 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12106
12107 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12108
12109 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12110 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12111 -I../soft-fp. Moved from ....
12112 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12113 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12114 * sysdeps/aarch64/e_sqrtl.c: ... here.
12115 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12116 * sysdeps/aarch64/sfp-machine.h: ... here.
12117
12118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12119 -Wmaybe-uninitialized around access to fq[0].
12120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12121 Likewise.
12122
12123 [BZ #18471]
12124 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12125 aliases for non-libc case of versioned symbols.
12126 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12127 (llseek): Define as compat symbol if
12128 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12129 with link warning.
12130 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12131 Make into a compat symbol, disabled for minimum symbol version
12132 GLIBC_2.28 and later.
12133 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12134
12135 2018-05-22 Florian Weimer <fweimer@redhat.com>
12136
12137 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12138 not add -mpreferred-stack-boundary=4.
12139 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12140 (stack-align-test-flags): Likewise.
12141 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12142 Likewise.
12143 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12144 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12145 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12146 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12147 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12148 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12149 (CFLAGS-tst-align2.c): Likewise.
12150
12151 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12152
12153 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12154 (index_arch_Prefer_FSRM): Likewise.
12155 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12156 Also check Prefer_FSRM.
12157 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12158 Also return OPTIMIZE (erms) for Prefer_FSRM.
12159
12160 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12161
12162 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12163 (index_cpu_FSRM): Likewise.
12164 (reg_FSRM): Likewise.
12165
12166 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12167
12168 * math/gen-tgmath-tests.py: Import sys.
12169 (Tests.__init__): Initialize macros_seen.
12170 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12171 if requested to do so for this macro.
12172 (Tests.add_all_tests): Take argument for macro for which to
12173 generate tests.
12174 (Tests.check_macro_list): New function.
12175 (main): Handle check-list argument and argument specifying macro
12176 for which to generate tests.
12177 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12178 [PYTHON] (tgmath3-macro-tests): Likewise.
12179 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12180 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12181 not test-tgmath3.c.
12182 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12183 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12184 to CFLAGS.
12185 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12186 [PYTHON] ($(foreach
12187 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12188 rule.
12189 [PYTHON] (tests-special): Add
12190 $(objpfx)test-tgmath3-macro-list.out.
12191 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12192
12193 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12194 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12195 later.
12196
12197 [BZ #22639]
12198 * time/tzset.c (SECSPERDAY): Cast to time_t.
12199 * time/tst-y2039.c: New file.
12200 * time/Makefile (tests): Add tst-y2039.
12201
12202 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12203
12204 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12205 (PREFETCH_ONE_SET): Remove duplicate line.
12206
12207 2018-05-17 Florian Weimer <fweimer@redhat.com>
12208
12209 * sysdeps/generic/math-type-macros-double.h: Include
12210 <math-nan-payload-double.h> after <libm-alias-double.h>.
12211 * sysdeps/generic/math-type-macros-float.h: Include
12212 <math-nan-payload-float.h> after <libm-alias-float.h>.
12213 * sysdeps/generic/math-type-macros-float128.h: Include
12214 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12215 * sysdeps/generic/math-type-macros-ldouble.h: Include
12216 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12217
12218 2018-05-17 Andreas Schwab <schwab@suse.de>
12219
12220 * resolv/res_send.c (__res_context_send): Don't set errno when
12221 returing error after malloc failure.
12222
12223 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12224
12225 * nptl/allocatestack.c (allocate_stack): Remove the
12226 !__ASSUME_PRIVATE_FUTEX paths.
12227 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12228 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12229 Likewise.
12230 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12231 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12232 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12233 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12234 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12235 !__ASSUME_PRIVATE_FUTEX path.
12236 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12237 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12238 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12239 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12240 !__ASSUME_PRIVATE_FUTEX macros.
12241 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12242 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12243 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12244 * sysdeps/unix/sysv/linux/kernel-features.h
12245 (__ASSUME_PRIVATE_FUTEX): Removed.
12246
12247 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12248
12249 * math/Makefile (libm-narrow-fns): Add div.
12250 (libm-test-funcs-narrow): Likewise.
12251 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12252 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12253 * math/gen-auto-libm-tests.c (test_functions): Add div.
12254 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12255 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12256 (NARROW_DIV_TRIVIAL): Likewise.
12257 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12258 macro.
12259 (__ddivl): Likewise.
12260 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12261 ddiv.
12262 (CFLAGS-nldbl-ddiv.c): New variable.
12263 (CFLAGS-nldbl-fdiv.c): Likewise.
12264 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12265 __nldbl_ddivl.
12266 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12267 prototype.
12268 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12269 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12270 * math/auto-libm-test-in: Add tests of div.
12271 * math/auto-libm-test-out-narrow-div: New generated file.
12272 * math/libm-test-narrow-div.inc: New file.
12273 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12276 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12277 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12278 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12287 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12288 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12289 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12290 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12292 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12312 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12314 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12317
12318 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12319
12320 [BZ #23178]
12321 * nscd/nscd-client.h (sendfileall): Remove prototype.
12322 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12323 (handle_request): Use writeall instead of sendfileall.
12324 * nscd/aicache.c (addhstaiX): Likewise.
12325 * nscd/grpcache.c (cache_addgr): Likewise.
12326 * nscd/hstcache.c (cache_addhst): Likewise.
12327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12328 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12329 * nscd/pwdcache.c (cache_addpw): Likewise.
12330 * nscd/servicescache.c (cache_addserv): Likewise.
12331 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12332 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12334 Remove define.
12335
12336 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12337
12338 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12339 Include <string/strncat.c>.
12340 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12341 alias.
12342 (__GI___strncat): New hidden alias.
12343
12344 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12345
12346 * sysdeps/mips/mips32/libm-test-ulps: Update.
12347 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12348
12349 2018-05-16 Florian Weimer <fweimer@redhat.com>
12350
12351 * support/Makefile (libsupport-routines): Add support_quote_blob,
12352 support_test_compare_blob.
12353 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12354 * support/check.h (TEST_COMPARE_BLOB): Define.
12355 (support_test_compare_blob): Declare.
12356 * support/support.h (support_quote_blob): Declare.
12357 * support/support_quote_blob.c: New file.
12358 * support/support_test_compare_blob.c: Likewise.
12359 * support/tst-support_quote_blob.c: Likewise.
12360 * support/tst-test_compare_blob.c: Likewise.
12361
12362 2018-05-16 Florian Weimer <fweimer@redhat.com>
12363
12364 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12365 of <strtod_nan_double.h>.
12366 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12367 instead of SET_MANTISSA.
12368 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12369 of include <strtod_nan_float.h>.
12370 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12371 instead of <strtod_nan_ldouble.h>.
12372 * stdlib/strtod_nan_double.h: Move to ...
12373 * sysdeps/generic/math-nan-payload-double.h: ... here.
12374 (FLOAT): Remove definition.
12375 (SET_MANTISSA): Rename to ...
12376 (SET_NAN_PAYLOAD): ... this.
12377 * stdlib/strtod_nan_float.h: Move to ...
12378 * sysdeps/generic/math-nan-payload-float.h: ... here.
12379 (FLOAT): Remove definition.
12380 (SET_MANTISSA): Rename to ...
12381 (SET_NAN_PAYLOAD): ... this.
12382 * sysdeps/generic/math-type-macros-double.h: Include
12383 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12384 instead of <math-svid-compat.h>.
12385 * sysdeps/generic/math-type-macros-float.h: Include
12386 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12387 instead of <math-svid-compat.h>.
12388 * sysdeps/generic/math-type-macros-float128.h: Include
12389 <math-nan-payload-float128.h>.
12390 * sysdeps/generic/math-type-macros-ldouble.h: Include
12391 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12392 instead of <math-svid-compat.h>.
12393 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12394 check for definition.
12395 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12396 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12397 Include <ieee754_float128.h>.
12398 (FLOAT): Remove definition.
12399 (SET_MANTISSA): Rename to ...
12400 (SET_NAN_PAYLOAD): ... this.
12401 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12402 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12403 Do not include <float128_private.h>.
12404 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12405 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12406 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12407 (FLOAT): Remove definition.
12408 (SET_MANTISSA): Rename to ...
12409 (SET_NAN_PAYLOAD): ... this.
12410 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12411 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12412 (FLOAT): Remove definition.
12413 (SET_MANTISSA): Rename to ...
12414 (SET_NAN_PAYLOAD): ... this.
12415 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12416 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12417 (FLOAT): Remove definition.
12418 (SET_MANTISSA): Rename to ...
12419 (SET_NAN_PAYLOAD): ... this.
12420 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12421 of "../stdlib/strtod_nan_double.h".
12422 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12423 of "../stdlib/strtod_nan_float.h".
12424 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12425 instead of "../stdlib/strtod_nan_ldouble.h".
12426 * manual/arith.texi (Parsing of Floats): Adjust comment.
12427
12428 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12429
12430 * math/Makefile (libm-narrow-fns): Add mul.
12431 (libm-test-funcs-narrow): Likewise.
12432 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12433 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12434 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12435 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12436 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12437 (NARROW_MUL_TRIVIAL): Likewise.
12438 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12439 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12440 macro.
12441 (__dmull): Likewise.
12442 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12443 dmul.
12444 (CFLAGS-nldbl-dmul.c): New variable.
12445 (CFLAGS-nldbl-fmul.c): Likewise.
12446 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12447 __nldbl_dmull.
12448 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12449 prototype.
12450 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12451 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12452 * math/auto-libm-test-in: Add tests of mul.
12453 * math/auto-libm-test-out-narrow-mul: New generated file.
12454 * math/libm-test-narrow-mul.inc: New file.
12455 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12458 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12459 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12460 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12466 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12467 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12468 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12469 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12470 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12471 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12472 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12474 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12483 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12499
12500 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12501
12502 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12503 with *%eax in call.
12504
12505 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12506
12507 * sysdeps/i386/ldsodefs.h: Removed.
12508 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12509 * sysdeps/x86/ldsodefs.h: This.
12510 (La_i86_regs): New.
12511 (La_i86_retval): Likewise.
12512 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12513 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12514
12515 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12518 unnecessary testl.
12519
12520 2018-05-13 Alan Modra <amodra@gmail.com>
12521
12522 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12523 R_PARISC_TLS_DTPOFF32 reloc addend.
12524
12525 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12526
12527 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12528 * math/math.h: Restrict the prototype definition for the functions
12529 issignaling(_Float128) and iszero(_Float128); and template
12530 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12531 __HAVE_FLOAT128_UNLIKE_LDBL.
12532 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12533 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12534 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12535 __f128() constants; define the type _Float128 as long double;
12536 and reuse long double in __CFLOAT128.
12537
12538 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12539
12540 * sysdeps/generic/math_private.h: Do not include
12541 <math-barriers.h>.
12542 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12543 <math_private.h>.
12544 * math/fromfp.h: Include <math-barriers.h>.
12545 * math/math-narrow.h: Likewise.
12546 * math/s_nextafter.c: Likewise.
12547 * math/s_nexttowardf.c: Likewise.
12548 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12549 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12550 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12551 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12552 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12553 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12554 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12555 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12558 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12566 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12568 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12569 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12570 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12571 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12572 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12573 * sysdeps/ieee754/k_standardl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12590 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12591 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12592 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12593 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12594 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12595 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12596
12597 2018-05-11 Florian Weimer <fweimer@redhat.com>
12598
12599 Use 64-bit epoch values in the time zone file parser.
12600 * include/time.h (internal_time_t): Define.
12601 (__tzfile_compute): Use it.
12602 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12603 member.
12604 (transitions): Switch to internal_time_t.
12605 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12606 types.
12607 (__tzfile_compute): Use internal_time_t for timer argument. Check
12608 for truncation before calling __offtime.
12609
12610 2018-05-11 Florian Weimer <fweimer@redhat.com>
12611
12612 [BZ #23166]
12613 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12614 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12615 Likewise.
12616 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12617 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12618 export without --enable-obsolete-rpc.
12619 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12620 symbol. This should not have been exported, ever.
12621
12622 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12623
12624 [BZ #23152]
12625 * localedata/locales/gd_GB (abmon): Fix typo in May:
12626 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12627
12628 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12629
12630 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12631 Use multiple registers to copy data in loop tail.
12632
12633 * sysdeps/aarch64/multiarch/memmove_falkor.S
12634 (__memmove_falkor): Use multiple registers to move data in
12635 loop tail.
12636
12637 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12638
12639 * math/math-underflow.h: New file.
12640 * sysdeps/generic/math_private.h: Do not include <float.h>.
12641 (fabs_tg): Remove macro. Moved to math-underflow.h.
12642 (min_of_type_f): Likewise.
12643 (min_of_type_): Likewise.
12644 (min_of_type_l): Likewise.
12645 (min_of_type_f128): Likewise.
12646 (min_of_type): Likewise.
12647 (math_check_force_underflow): Likewise.
12648 (math_check_force_underflow_nonneg): Likewise.
12649 (math_check_force_underflow_complex): Likewise.
12650 * math/e_exp2_template.c: Include <math-underflow.h>.
12651 * math/k_casinh_template.c: Likewise.
12652 * math/s_catan_template.c: Likewise.
12653 * math/s_catanh_template.c: Likewise.
12654 * math/s_ccosh_template.c: Likewise.
12655 * math/s_cexp_template.c: Likewise.
12656 * math/s_clog10_template.c: Likewise.
12657 * math/s_clog_template.c: Likewise.
12658 * math/s_csin_template.c: Likewise.
12659 * math/s_csinh_template.c: Likewise.
12660 * math/s_csqrt_template.c: Likewise.
12661 * math/s_ctan_template.c: Likewise.
12662 * math/s_ctanh_template.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12681 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12682 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12683 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12684 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12685 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12686 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12687 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12688 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12689 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12690 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12691 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12692 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12693 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12694 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12708 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12710 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12711 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12713 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12714 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12731 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12733 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12739 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12740 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12741 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12743 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12747
12748 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12749
12750 * sysdeps/generic/math-barriers.h: New file.
12751 * sysdeps/generic/math_private.h [!math_opt_barrier]
12752 (math_opt_barrier): Move to math-barriers.h.
12753 [!math_opt_barrier] (math_force_eval): Likewise.
12754 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12755 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12756 math-barriers.h.
12757 (math_force_eval): Likewise.
12758 * sysdeps/alpha/fpu/math-barriers.h: New file.
12759 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12760 math-barriers.h.
12761 (math_force_eval): Likewise.
12762 * sysdeps/x86/fpu/math-barriers.h: New file.
12763 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12764 math-barriers.h.
12765 (math_force_eval): Likewise.
12766 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12767 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12768 multiple-include guard for rename.
12769 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12770 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12771 math-barriers.h.
12772 (math_force_eval): Likewise.
12773
12774 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12775
12776 [BZ #22786]
12777 CVE-2018-11236
12778 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12779 computation.
12780 * stdlib/Makefile (test-bz22786): New test.
12781 * stdlib/test-bz22786.c: New test.
12782
12783 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12784
12785 * include/math-narrow-eval.h: New file. Contents moved from ....
12786 * sysdeps/generic/math_private.h: ... here.
12787 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12788 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12789 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12790 * stdlib/strtod_l.c: Likewise.
12791 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12792 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12793 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12806 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12808 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12809 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12810 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12811 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12812 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12813 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12815 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12816 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12817 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12818 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12819 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12820
12821 2018-05-08 Andreas Schwab <schwab@suse.de>
12822
12823 * sysdeps/nptl/internaltypes.h: Fix comment.
12824
12825 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12828 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12829 hidden.
12830
12831 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12832
12833 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12834 of I into loop header.
12835 * benchtests/bench-memmove-walk.c
12836 (test_main): Likewise.
12837
12838 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12839
12840 Revert:
12841 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12842 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12843
12844 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12845
12846 [BZ #20419]
12847 * elf/dl-load.c (open_verify): Fix stack overflow.
12848 * elf/Makefile (tst-big-note): New test.
12849 * elf/tst-big-note-lib.S: New.
12850 * elf/tst-big-note.c: New.
12851
12852 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12853
12854 * scripts/abilist.awk: Ignore absolute symbols.
12855 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12856 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12857 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12858 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12859 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12860 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12861 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12862 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12863 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12864 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12865 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12866 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12899 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12906 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12913 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12914 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12915 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12916 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12922 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12929 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12947 Likewise.
12948 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12961 Likewise.
12962 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12971 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12972 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12974 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12975 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12976 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12977 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12978 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12979 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12980 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12981 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12982 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12989 Likewise.
12990 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13010 Likewise.
13011 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13043 Likewise.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13049 Likewise.
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13051 Likewise.
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13054 Likewise.
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13057 Likewise.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13059 Likewise.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13063 Likewise.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13065 Likewise.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13067 Likewise.
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13072 Likewise.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13079 Likewise.
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13082 Likewise.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13084 Likewise.
13085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13086 Likewise.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13088 Likewise.
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13092 Likewise.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13094 Likewise.
13095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13096 Likewise.
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13100 Likewise.
13101 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13115 Likewise.
13116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13117 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13118 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13119 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13122 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13123 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13124 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13125 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13126 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13127 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13128 Likewise.
13129 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13130 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13131 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13132 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13133 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13134 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13135 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13136 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13137 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13138 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13139 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13140 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13141 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13142 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13143 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13144 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13145 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13146 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13147 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13148 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13151 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13154 Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13156 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13157 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13158 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13159 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13160 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13161 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13162 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13163 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13164 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13165 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13166 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13167 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13168 Likewise.
13169 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13170 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13171 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13173 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13178 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13179 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13180 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13181 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13182 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13184 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13186 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13187 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13188 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13189 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13190 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13191 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13192 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13193 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13195 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13197 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13198 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13199 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13201 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13203 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13207
13208 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13209
13210 [BZ #23137]
13211 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13212 Use atomic_load_acquire to load __tid.
13213
13214 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13217 Restore the pointer into %rdx, after syscall and use %rdx,
13218 instead of %rsi, to restore context.
13219
13220 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13221
13222 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13223 Pop the pointer into %rdx after syscall and use %rdx, instead
13224 of %rsi, to restore context.
13225
13226 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13227
13228 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13229 handlers after setjmp.
13230 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13231 defined.
13232 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13233 <libc-pointer-arith.h>.
13234 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13235 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13236 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13237 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13238 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13239 * sysdeps/x86/__longjmp_cancel.S: New file.
13240 * sysdeps/x86/longjmp.c: Likewise.
13241 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13242
13243 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13244
13245 * NEWS: Add ustat.h deprecation entry.
13246 * bits/ustat.h: Remove file.
13247 * misc/sys/ustat.h: Likewise.
13248 * misc/ustat.h: Likewise.
13249 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13250 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13251 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13252 compatibility mode.
13253 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13254 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13255 generic Linux implementation.
13256
13257 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13258
13259 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13260 * math/w_expl_compat.c: Likewise.
13261 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13262
13263 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13264
13265 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13266
13267 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13268
13269 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13270 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13271 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13272 Remove.
13273 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13276 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13277 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13278 and SYSCALL_LL64.
13279
13280 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13281
13282 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13283
13284 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13285 * math/w_asin_template.c: Likewise.
13286 * math/w_atanh_template.c: Likewise.
13287
13288 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13289
13290 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13291 to powerpc/powerpc64/be for big-endian.
13292 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13293 little-endian.
13294
13295 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13296 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13297 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13298 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13299 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13300 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13301 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13302 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13303 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13304 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13305 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13306 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13307 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13308 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13309 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13310 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13311 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13312 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13313 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13314 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13315 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13316 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13317 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13318 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13319 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13320 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13321 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13322 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13323 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13324 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13325 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13326 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13327
13328 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13329 adjusted to imply powerpc64 and older processors on powerpc64/be.
13330 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13331 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13332 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13333 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13334 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13335 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13336 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13337 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13338 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13339 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13340 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13341 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13342 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13343 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13344 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13345 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13346 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13347 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13348 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13349 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13350 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13351 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13352 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13353 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13354 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13355 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13356 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13357 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13358 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13359 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13360 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13361
13362 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13363 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13364 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13365 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13366
13367 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13368 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13369 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13370 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13371
13372 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13373 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13374 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13375 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13376 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13377 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13378 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13379 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13380 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13381 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13382 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13383
13384 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13385 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13386 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13387 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13388 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13389 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13390 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13391 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13392 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13393 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13394 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13395
13396 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13397 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13398 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13399 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13400 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13401 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13402 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13403 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13404 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13405 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13406 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13407 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13408
13409 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13410 and adjusted to imply olders processors.
13411 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13412 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13413 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13414 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13415 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13416 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13417 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13418 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13419 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13420 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13421 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13422
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13424 powerpc64/le.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13427
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13429 powerpc64le.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13432
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13434 powerpc64/be.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13438
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13440 powerpc64 and adjusted.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13444 Likewise.
13445
13446 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13447
13448 * sysdeps/tile: Remove.
13449 * sysdeps/unix/sysv/linux/tile: Likewise.
13450 * README (tilegx-*-linux-gnu): Remove from list of supported
13451 configurations.
13452 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13453 contribution of support for generic Linux kernel syscall
13454 interface.
13455 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13456 tilegx configurations.
13457 (Config.install_linux_headers): Do not handle tile.
13458 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13459 in comment.
13460 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13461 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13462 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13463 conditional undefine and redefine.
13464 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13465 in comment.
13466 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13467 conditional undefine and redefine.
13468
13469 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13470
13471 * signal/tst-sigaction.c: New file to test BZ #23069.
13472 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13473
13474 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13475
13476 [BZ #22766]
13477 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13478 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13479 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13480 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13481
13482 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13483
13484 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13485 _DIRENT_MATCHES_DIRENT64 is not defined.
13486 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13487 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13488 is defined.
13489 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13490 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13491
13492 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13493
13494 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13495 version to GCC 8 branch.
13496
13497 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13498
13499 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13500 (check_no_hidden): Use type of original function when declaring
13501 alias.
13502
13503 * sysdeps/unix/sysv/linux/sys/ptrace.h
13504 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13505 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13506 (struct __ptrace_seccomp_metadata): New type.
13507 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13508 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13509 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13510 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13511 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13512 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13514 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13516 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13517 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13518 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13519 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13520 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13521 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13522 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13523
13524 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13525
13526 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13527 defined.
13528 * dirent/versionsort.c (versionsort): Likewise.
13529 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13530 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13531 * dirent/versionsort64.c (versionsort64): Likewise.
13532 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13533 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13534 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13535 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13536 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13537 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13538 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13539 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13540 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13541 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13545 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13546
13547 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13548
13549 * elf/elf.h (NT_PPC_PKEY): New macro.
13550
13551 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13552
13553 [BZ #23094]
13554 * localedata/locales/hr_HR: fix thousands_sep and
13555 mon_thousands_sep
13556
13557 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13558
13559 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13560 (XTABS): Define to TAB3.
13561
13562 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13563
13564 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13565
13566 * dirent/scandir-tail-common.c: New file.
13567 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13568 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13569 * dirent/scandir.c: Use scandir-tail-common.c.
13570 * dirent/scandirat.c: Likewise.
13571 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13572 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13573 if _DIRENT_MATCHES_DIRENT64 is defined.
13574 * dirent/scandirat64.c (scandirat64): Likewise.
13575 * include/dirent.h (__scandir_tail): Only define iff
13576 _DIRENT_MATCHES_DIRENT64 is not defined.
13577 (__scandir64_tail): Define regardless.
13578 (__scandirat, scandirat64): Remove libc_hidden_proto.
13579 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13580 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13582 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13583 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13584 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13585 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13586
13587 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13588
13589 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13590 New macro.
13591 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13592 Increase to 24.
13593 (_dl_aarch64_cap_flags): Add asimdfhm.
13594
13595 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13596
13597 * sysdeps/nios2/libm-test-ulps: Update.
13598
13599 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13600
13601 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13602 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13603
13604 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13605 requirements.
13606 (_DIRENT_MATCHES_DIRENT64): Undef
13607 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13608 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13609 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13610 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13611 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13612 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13613 use getdents64 syscalls as base.
13614 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13615 symbol if required.
13616 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13617 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13618 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13619 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13620 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13621 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13622 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13623 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13625 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13626 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13627
13628 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13629
13630 * scripts/test_printers_common.py (init_test): Disable lock elision.
13631
13632 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13633
13634 * math/test-tgmath.c (count_double, count_float,
13635 count_ldouble, count_cdouble, count_cfloat,
13636 count_cldouble): Use volatile int.
13637
13638 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13639
13640 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13641 (conformtest-xfail-conds): Add i386-gnu.
13642 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13643 i386-gnu.
13644 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13645 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13646 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13647 msqid_ds.msg_lrpid): Likewise.
13648 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13649 Likewise.
13650 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13651 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13652 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13653 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13654 unsigned int.
13655 (struct statvfs64): Likewise.
13656 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13657 Likewise.
13658 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13659 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13660 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13661 instead of wait_queue.
13662 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13663 instead of vm_area_struct.
13664 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13665 struct sched_param definition to it.
13666 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13667 * bits/types/struct_sched_param.h: New file.
13668 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13669 <bits/types/struct_sched_param.h> instead of <sched.h>.
13670 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13671 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13672 generic version but include <bits/pthreadtypes.h> to make struct
13673 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13674 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13675 non-compliant.
13676 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13677 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13678 [__USE_XOPEN] (OFDEL): New macro.
13679 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13680 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13681 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13682 prototypes.
13683 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13684 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13685 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13686 non-compliant.
13687 * sysdeps/i386/sys/ucontext.h: Likewise.
13688 * sysdeps/m68k/sys/ucontext.h: Likewise.
13689 * sysdeps/mips/sys/ucontext.h: Likewise.
13690 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13691 * sysdeps/mach/hurd/i386/Makefile
13692 (test-xfail-POSIX/fcntl.h/conform): Add.
13693 (test-xfail-POSIX/signal.h/conform): Add.
13694 (test-xfail-POSIX/semaphore.h/conform): Add.
13695 (test-xfail-POSIX/regex.h/conform): Add.
13696 (test-xfail-POSIX/aio.h/conform): Add.
13697 (test-xfail-POSIX/mqueue.h/conform): Add.
13698 (test-xfail-POSIX/sys/types.h/conform): Add.
13699 (test-xfail-UNIX98/fcntl.h/conform): Add.
13700 (test-xfail-UNIX98/netdb.h/conform): Add.
13701 (test-xfail-UNIX98/signal.h/conform): Add.
13702 (test-xfail-UNIX98/semaphore.h/conform): Add.
13703 (test-xfail-UNIX98/regex.h/conform): Add.
13704 (test-xfail-UNIX98/aio.h/conform): Add.
13705 (test-xfail-UNIX98/ftw.h/conform): Add.
13706 (test-xfail-UNIX98/mqueue.h/conform): Add.
13707 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13708 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13709 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13710 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13711 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13712 (test-xfail-UNIX98/sys/types.h/conform): Add.
13713 (test-xfail-UNIX98/stdlib.h/conform): Add.
13714 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13715 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13716 (test-xfail-POSIX2008/netdb.h/conform): Add.
13717 (test-xfail-POSIX2008/signal.h/conform): Add.
13718 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13719 (test-xfail-POSIX2008/regex.h/conform): Add.
13720 (test-xfail-POSIX2008/aio.h/conform): Add.
13721 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13722 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13723 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13724 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13725 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13726 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13727 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13728 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13729 (test-xfail-XOPEN2K/signal.h/conform): Add.
13730 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13731 (test-xfail-XOPEN2K/regex.h/conform): Add.
13732 (test-xfail-XOPEN2K/aio.h/conform): Add.
13733 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13734 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13735 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13736 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13737 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13738 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13739 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13740 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13741 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13742 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13743 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13744 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13745 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13746 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13747 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13748 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13749 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13750 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13751 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13752 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13753 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13754 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13755 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13756 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13757 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13758 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13759 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13760 i386-gnu.
13761 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13762 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13763
13764 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13765
13766 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13767 --enable-obsolete for powerpc-linux-gnuspe.
13768
13769 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13770
13771 * conform/data/sys/un.h-data: Allow sun_ prefix.
13772 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13773 prototypes.
13774 * sysdeps/mach/include/mach.h: Likewise.
13775 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13776 * sysdeps/mach/include/mach_error.h: Likewise.
13777
13778 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13779
13780 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13781 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13782 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13783 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13784
13785 2018-04-16 Andreas Schwab <schwab@suse.de>
13786
13787 [BZ #19527]
13788 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13789
13790 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13791
13792 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13793 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13794
13795 2018-04-12 DJ Delorie <dj@redhat.com>
13796
13797 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13798 version to 4.16.
13799
13800 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13801
13802 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13803 (struct kernel_sigaction): Use the same definition on 31bit as is used
13804 on 64bit.
13805
13806 2018-04-09 Florian Weimer <fweimer@redhat.com>
13807
13808 [BZ #23037]
13809 * resolv/res_send.c (send_dg): Use designated initializers instead
13810 of assignment to zero-initialize other fields of struct mmsghdr.
13811
13812 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13813
13814 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13815 __READDIR_ALIAS): Undefine after usage.
13816 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13817 __READDIR_R_ALIAS): Likewise.
13818 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13819 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13820 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13821 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13822 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13824 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13825 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13826 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13827 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13828 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13829 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13830 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13831 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13832 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13833 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13834 * sysdeps/unix/sysv/linux/readdir.c: New file.
13835 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13836 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13837 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13838
13839 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13840
13841 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13842
13843 * manual/charset.texi (Converting a Character): Fix typo.
13844
13845 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13846
13847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13848
13849 * sysdeps/arm/libm-test-ulps: Update.
13850
13851 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13852 as base implementation.
13853 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13854 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13855 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13857 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13858 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13859 remove unrequired definitions and update comments.
13860 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13861 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13862 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13863 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13864 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13865 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13866 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13867 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13868 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13869 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13870 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13871 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13872 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13873 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13874 and RESET_SA_RESTORER hooks.
13875
13876 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13877
13878 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13879
13880 2018-04-05 Florian Weimer <fweimer@redhat.com>
13881
13882 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13883 integer overflow, memory leak on error, and indeterminate errno
13884 value. Add a null wide character to terminate the result string.
13885 * manual/charset.texi (Converting a Character): Mention embedded
13886 null bytes in the mbrtowc input string. Explain what happens in
13887 the -2 result case. Do not claim that mbrtowc is simple or
13888 obvious to use. Adjust the description of the code example. Use
13889 @code, not @var, for concrete variables.
13890
13891 2018-04-05 Florian Weimer <fweimer@redhat.com>
13892
13893 * manual/examples/mbstouwcs.c: New file.
13894 * manual/charset.texi (Converting a Character): Include it.
13895
13896 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13897
13898 * include/dirent.h (dirfd): Add hidden proto.
13899 * dirent/dirfd.c (dirfd): Add hidden def.
13900 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13901 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13902
13903 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13904
13905 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13906 sin, cos and sincos to 1 ULP.
13907
13908 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13909
13910 [BZ #19818]
13911 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13912 symbols.
13913 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13914 * elf/tst-absolute-sym.c: New file.
13915 * elf/tst-absolute-sym-lib.c: New file.
13916 * elf/tst-absolute-sym-lib.lds: New file.
13917 * elf/Makefile (tests): Add `tst-absolute-sym'.
13918 (modules-names): Add `tst-absolute-sym-lib'.
13919 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13920 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13921 ($(objpfx)tst-absolute-sym): New dependency.
13922
13923 [BZ #19818]
13924 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13925 parameter.
13926 (SYMBOL_ADDRESS): New macro.
13927 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13928 SYMBOL_ADDRESS for symbol address calculation.
13929 * elf/dl-runtime.c (_dl_fixup): Likewise.
13930 (_dl_profile_fixup): Likewise.
13931 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13932 * elf/rtld.c (dl_main): Likewise.
13933 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13934 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13935 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13936 (elf_machine_rela): Likewise.
13937 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13938 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13940 (elf_machine_rela): Likewise.
13941 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13942 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13943 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13944 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13945 Likewise.
13946 (elf_machine_reloc): Likewise.
13947 (elf_machine_got_rel): Likewise.
13948 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13949 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13950 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13951 Likewise.
13952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13953 Likewise.
13954 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13955 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13956 Likewise.
13957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13958 Likewise.
13959 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13961 Likewise.
13962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13963 Likewise.
13964 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13965 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13966
13967 2018-04-04 Zack Weinberg <zackw@panix.com>
13968
13969 * sysdeps/generic/internal-signals.h: Include signal.h,
13970 sigsetops.h, and stdbool.h.
13971 (__libc_signal_block_all): Actually block all signals.
13972 (__libc_signal_block_app): Likewise.
13973 (__libc_signal_restore_set): Actually restore the signal mask.
13974
13975 2018-04-04 Florian Weimer <fweimer@redhat.com>
13976
13977 inet: Actually build and run tst-deadline.
13978 * inet/Makefile (tests-internal): Add tst-deadline and do not
13979 overwrite the variable.
13980 (tests-static-internal): Remove variable.
13981
13982 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13983
13984 [BZ #22947]
13985 * bits/uio-ext.h (RWF_APPEND): New.
13986 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13987 * manual/llio.texi: Document RWF_APPEND.
13988 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13989 (RWF_SUPPORTED): Add RWF_APPEND.
13990
13991 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13992
13993 [BZ #22391]
13994 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13995 check for internal nptl signals.
13996 * nptl/sigaction.c (__sigaction): Likewise.
13997 * signal/sigaddset.c (sigaddset): Likewise.
13998 * signal/sigdelset.c (sigdelset): Likewise.
13999 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14000 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14001 value.
14002 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14003 to filter out internal nptl signals.
14004 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14005 also check realtime signals using standard macros.
14006 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14007 __is_internal_signal, __libc_signal_block_all,
14008 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14009 * sysdeps/nptl/sigfillset.c: Remove file.
14010 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14011 Change return to bool.
14012 (__clear_internal_signals): Remove SIGTIMER clean since it is
14013 equal to SIGCANEL on Linux.
14014 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14015 signal set was constructed using standard functions.
14016
14017 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14018
14019 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14020 ifname is too long.
14021 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14022 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14023 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14024 hidden def.
14025 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14026 * signal/sigaddset.c: Include <sigsetopts.h>.
14027 * signal/sigdelset.c: Likewise.
14028
14029 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14030
14031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14032 (__cos): Likewise.
14033 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14034 logic as sin and cos.
14035
14036 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14037
14038 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14039 inputs. Return correct sign.
14040 (do_sincos): Remove small input check before do_sin, let do_sin set
14041 the sign.
14042 (__sin): Likewise.
14043 (__cos): Likewise.
14044
14045 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14046
14047 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14048 (do_cos_slow): Likewise.
14049 (do_sin_slow): Likewise.
14050 (reduce_and_compute): Likewise.
14051 (slow): Likewise.
14052 (slow1): Likewise.
14053 (slow2): Likewise.
14054 (sloww): Likewise.
14055 (sloww1): Likewise.
14056 (sloww2): Likewise.
14057 (bslow): Likewise.
14058 (bslow1): Likewise.
14059 (bslow2): Likewise.
14060 (cslow2): Likewise.
14061
14062 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14063
14064 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14065 (do_cos): Remove corp parameter and calculations.
14066 (do_sin): Likewise.
14067 (do_sincos): Remove cor variable.
14068 (__sin): Use do_sincos for huge inputs.
14069 (__cos): Likewise.
14070 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14071 (reduce_and_compute_sincos): Remove unused function.
14072
14073 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14074
14075 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14076 reduce_sincos, improve accuracy to 136 bits.
14077 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14078 (__sin): Use improved reduction and simplified do_sincos calculation.
14079 (__cos): Likewise.
14080 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14081
14082 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14083
14084 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14085 (do_sincos_2): Likewise.
14086 (__sin): Remove middle range reduction case.
14087 (__cos): Likewise.
14088 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14089 reduction case.
14090
14091 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14092
14093 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14095 inputs.
14096 (__cos): Likewise.
14097 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14098
14099 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14100
14101 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14102 version to 4.16
14103
14104 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14105
14106 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14107 Remove definitions.
14108 (opendir_oflags): Use O_DIRECTORY regardless.
14109 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14110 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14111
14112 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14113
14114 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14115 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14116 macros.
14117 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14118 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14119 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14120 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14121 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14122 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14123
14124 * htl/Makefile: Bump licence to LGPL 2.1+.
14125 * htl/alloca_cutoff.c: Likewise.
14126 * htl/cthreads-compat.c: Likewise.
14127 * htl/lockfile.c: Likewise.
14128 * htl/pt-alloc.c: Likewise.
14129 * htl/pt-cancel.c: Likewise.
14130 * htl/pt-cleanup.c: Likewise.
14131 * htl/pt-create.c: Likewise.
14132 * htl/pt-dealloc.c: Likewise.
14133 * htl/pt-detach.c: Likewise.
14134 * htl/pt-exit.c: Likewise.
14135 * htl/pt-getattr.c: Likewise.
14136 * htl/pt-initialize.c: Likewise.
14137 * htl/pt-internal.h: Likewise.
14138 * htl/pt-join.c: Likewise.
14139 * htl/pt-self.c: Likewise.
14140 * htl/pt-setcancelstate.c: Likewise.
14141 * htl/pt-setcanceltype.c: Likewise.
14142 * htl/pt-sigmask.c: Likewise.
14143 * htl/pt-spin-inlines.c: Likewise.
14144 * htl/pt-testcancel.c: Likewise.
14145 * htl/pt-yield.c: Likewise.
14146 * htl/tests/test-1.c: Likewise.
14147 * htl/tests/test-10.c: Likewise.
14148 * htl/tests/test-11.c: Likewise.
14149 * htl/tests/test-12.c: Likewise.
14150 * htl/tests/test-13.c: Likewise.
14151 * htl/tests/test-14.c: Likewise.
14152 * htl/tests/test-15.c: Likewise.
14153 * htl/tests/test-16.c: Likewise.
14154 * htl/tests/test-17.c: Likewise.
14155 * htl/tests/test-2.c: Likewise.
14156 * htl/tests/test-3.c: Likewise.
14157 * htl/tests/test-4.c: Likewise.
14158 * htl/tests/test-5.c: Likewise.
14159 * htl/tests/test-6.c: Likewise.
14160 * htl/tests/test-7.c: Likewise.
14161 * htl/tests/test-8.c: Likewise.
14162 * htl/tests/test-9.c: Likewise.
14163 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14164 * sysdeps/htl/bits/cancelation.h: Likewise.
14165 * sysdeps/htl/bits/pthread-np.h: Likewise.
14166 * sysdeps/htl/bits/pthread.h: Likewise.
14167 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14168 * sysdeps/htl/bits/semaphore.h: Likewise.
14169 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14170 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14171 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14172 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14173 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14174 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14175 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14176 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14177 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14178 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14179 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14180 * sysdeps/htl/old_pt-atfork.c: Likewise.
14181 * sysdeps/htl/pt-atfork.c: Likewise.
14182 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14183 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14184 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14185 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14186 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14187 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14188 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14189 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14190 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14191 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14192 * sysdeps/htl/pt-attr-init.c: Likewise.
14193 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14194 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14195 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14196 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14197 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14198 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14199 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14200 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14201 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14202 * sysdeps/htl/pt-attr.c: Likewise.
14203 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14204 * sysdeps/htl/pt-barrier-init.c: Likewise.
14205 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14206 * sysdeps/htl/pt-barrier.c: Likewise.
14207 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14208 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14209 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14210 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14211 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14212 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14213 * sysdeps/htl/pt-cond-init.c: Likewise.
14214 * sysdeps/htl/pt-cond-signal.c: Likewise.
14215 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14216 * sysdeps/htl/pt-cond-wait.c: Likewise.
14217 * sysdeps/htl/pt-cond.c: Likewise.
14218 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14219 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14220 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14221 * sysdeps/htl/pt-condattr-init.c: Likewise.
14222 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14223 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14224 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14225 * sysdeps/htl/pt-equal.c: Likewise.
14226 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14227 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14228 * sysdeps/htl/pt-getschedparam.c: Likewise.
14229 * sysdeps/htl/pt-getspecific.c: Likewise.
14230 * sysdeps/htl/pt-init-specific.c: Likewise.
14231 * sysdeps/htl/pt-key-create.c: Likewise.
14232 * sysdeps/htl/pt-key-delete.c: Likewise.
14233 * sysdeps/htl/pt-key.h: Likewise.
14234 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14235 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14236 * sysdeps/htl/pt-mutex-init.c: Likewise.
14237 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14238 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14239 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14240 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14241 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14242 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14243 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14244 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14245 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14246 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14247 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14248 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14249 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14250 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14251 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14252 * sysdeps/htl/pt-mutexattr.c: Likewise.
14253 * sysdeps/htl/pt-once.c: Likewise.
14254 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14255 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14256 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14257 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14258 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14259 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14260 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14261 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14262 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14263 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14264 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14265 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14266 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14267 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14268 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14269 * sysdeps/htl/pt-setschedparam.c: Likewise.
14270 * sysdeps/htl/pt-setschedprio.c: Likewise.
14271 * sysdeps/htl/pt-setspecific.c: Likewise.
14272 * sysdeps/htl/pt-spin.c: Likewise.
14273 * sysdeps/htl/pt-startup.c: Likewise.
14274 * sysdeps/htl/pthread.h: Likewise.
14275 * sysdeps/htl/sem-close.c: Likewise.
14276 * sysdeps/htl/sem-destroy.c: Likewise.
14277 * sysdeps/htl/sem-getvalue.c: Likewise.
14278 * sysdeps/htl/sem-init.c: Likewise.
14279 * sysdeps/htl/sem-open.c: Likewise.
14280 * sysdeps/htl/sem-post.c: Likewise.
14281 * sysdeps/htl/sem-timedwait.c: Likewise.
14282 * sysdeps/htl/sem-trywait.c: Likewise.
14283 * sysdeps/htl/sem-unlink.c: Likewise.
14284 * sysdeps/htl/sem-wait.c: Likewise.
14285 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14286 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14287 * sysdeps/mach/htl/pt-block.c: Likewise.
14288 * sysdeps/mach/htl/pt-spin.c: Likewise.
14289 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14290 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14291 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14292 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14293 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14294 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14295 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14296 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14297 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14298 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14299 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14300 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14301 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14302 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14303 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14304 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14305 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14306 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14307 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14308 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14309 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14310 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14311 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14312 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14313 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14314 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14315 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14316 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14317 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14318 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14319 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14320 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14321 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14322 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14323 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14324 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14325 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14326 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14327 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14328 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14329 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14330 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14331 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14332
14333 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14334 * README: Remove the mention of out-of-tree patches needed for
14335 GNU/Hurd.
14336
14337 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14338 (UTIME_NOW, UTIME_OMIT): Define macros.
14339
14340 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14341 instead of pthread_detach.
14342 (__cthread_fork): Call __pthread_create instead of pthread_create.
14343 (__cthread_keycreate): Call __pthread_key_create instead of
14344 pthread_key_create.
14345 (__cthread_getspecific): Call __pthread_getspecific instead of
14346 pthread_getspecific.
14347 (__cthread_setspecific): Call __pthread_setspecific instead of
14348 pthread_setspecific.
14349 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14350 __pthread_mutex_unlock instead of pthread_mutex_lock and
14351 pthread_mutex_unlock.
14352 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14353 ___pthread_get_cleanup_stack.
14354 (__pthread_get_cleanup_stack): New strong alias.
14355 * htl/pt-create.c: Include <pthreadP.h>.
14356 (entry_point): Call __pthread_exit instead of pthread_exit.
14357 (pthread_create): Rename to __pthread_create.
14358 (pthread_create): New strong alias.
14359 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14360 (pthread_detach): New strong alias.
14361 (__pthread_detach): Call __pthread_cond_broadcast instead of
14362 pthread_cond_broadcast.
14363 * htl/pt-exit.c: Include <pthreadP.h>.
14364 (__pthread_exit): Call __pthread_setcancelstate and
14365 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14366 __pthread_get_cleanup_stack.
14367 * htl/pt-testcancel.c: Include <pthreadP.h>.
14368 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14369 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14370 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14371 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14372 pthread_attr_getstacksize.
14373 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14374 Rename to __pthread_attr_getstackaddr.
14375 (pthread_attr_getstackaddr): New strong alias.
14376 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14377 Rename to __pthread_attr_getstacksize.
14378 (pthread_attr_getstacksize): New strong alias.
14379 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14380 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14381 (pthread_attr_setstack): New strong alias.
14382 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14383 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14384 pthread_attr_getstacksize, pthread_attr_setstacksize and
14385 pthread_attr_setstackaddr.
14386 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14387 Rename to __pthread_attr_setstackaddr.
14388 (pthread_attr_setstackaddr): New strong alias.
14389 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14390 Rename to __pthread_attr_setstacksize.
14391 (pthread_attr_setstacksize): New strong alias.
14392 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14393 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14394 pthread_exit.
14395 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14396 (__pthread_key_create): New hidden def.
14397 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14398 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14399 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14400 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14401 __pthread_setspecific, __pthread_setcancelstate,
14402 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14403 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14404 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14405 declarations.
14406 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14407 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14408 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14409 (pthread_attr_setstackaddr): New strong alias.
14410 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14411 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14412 (pthread_attr_setstacksize): New strong alias.
14413 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14414 (call_exit): Call __pthread_exit instead of pthread_exit.
14415 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14416 (_pthread_mutex_init): New hidden definition.
14417 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14418 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14419 instead of pthread_attr_init and pthread_attr_setstack.
14420
14421 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14422 __vm_deallocate instead of vm_allocate and vm_deallocate.
14423 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14424 setenv.
14425 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14426 of geteuid.
14427 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14428 strdup.
14429 * hurd/siginfo.c: Include <libioP.h>.
14430 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14431 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14432 munmap.
14433 * mach/devstream.c: Include <libioP.h>.
14434 (dealloc_ref): Call __mach_port_deallocate instead of
14435 mach_port_deallocate.
14436 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14437 Call __mach_port_deallocate instead of mach_port_deallocate.
14438 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14439 pathconf.
14440 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14441 munmap.
14442 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14443 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14444 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14445 of munmap.
14446 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14447 of close.
14448 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14449 instead of sysconf.
14450 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14451 __clock_gettime instead of clock_gettime.
14452 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14453 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14454 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14455 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14456 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14457 tcgetattr.
14458 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14459 __clock_gettime and __nanosleep instead of clock_gettime and
14460 nanosleep.
14461 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14462 __hurd_catch_signal.
14463 (hurd_catch_signal): New strong alias.
14464 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14465 __hurd_catch_signal instead of hurd_catch_signal.
14466 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14467 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14468 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14469 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14470 (_hurd_thread_sigstate): Add hidden def.
14471 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14472 mutex_unlock.
14473 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14474 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14475 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14476 __hurd_file_name_path_lookup.
14477 (hurd_file_name_path_lookup): New strong alias.
14478 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14479 hurd_file_name_path_lookup.
14480 * mach/errstring.c (mach_error_type): Add hidden def.
14481 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14482 * mach/mutex-init.c (__mutex_init): Add hidden def.
14483 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14484 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14485 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14486 * sysdeps/mach/hurd/getcwd.c
14487 (_hurd_canonicalize_directory_name_internal): Rename to
14488 __hurd_canonicalize_directory_name_internal.
14489 (_hurd_canonicalize_directory_name_internal): New strong alias.
14490 (__canonicalize_directory_name_internal, __getcwd): Call
14491 __hurd_canonicalize_directory_name_internal instead of
14492 _hurd_canonicalize_directory_name_internal.
14493 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14494 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14495 hidden defs.
14496 * sysdeps/hurd/include/hurd.h: New file.
14497 * sysdeps/hurd/include/hurd/fd.h: New file.
14498 * sysdeps/hurd/include/hurd/signal.h: New file.
14499 * sysdeps/mach/include/lock-intern.h: New file.
14500 * sysdeps/mach/include/mach.h: New file.
14501 * sysdeps/mach/include/mach/mig_support.h: New file.
14502 * sysdeps/mach/include/mach_error.h: New file.
14503 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14504 prototype.
14505 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14506 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14507 _HEADER_H_HIDDEN_DEF macro.
14508 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14509 _hurd_fd_error_signal): Add hidden prototype.
14510 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14511 hidden def.
14512 * libio/iolibio.h (_IO_puts): New hidden prototype.
14513 * libio/ioputs.c (_IO_puts): New hidden def.
14514 * sysdeps/mach/hurd/localplt.data: New file.
14515
14516 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14517 Amos Jeffries <squid3@treenet.co.nz>
14518 David Michael <fedora.dm0@gmail.com>
14519 Marco Gerards <marco@gnu.org>
14520 Marcus Brinkmann <marcus@gnu.org>
14521 Neal H. Walfield <neal@gnu.org>
14522 Pino Toscano <toscano.pino@tiscali.it>
14523 Richard Braun <rbraun@sceen.net>
14524 Roland McGrath <roland@gnu.org>
14525 Samuel Thibault <samuel.thibault@ens-lyon.org>
14526 Thomas DiModica <ricinwich@yahoo.com>
14527 Thomas Schwinge <tschwinge@gnu.org>
14528
14529 * htl: New directory.
14530 * sysdeps/htl: New directory.
14531 * sysdeps/hurd/htl: New directory.
14532 * sysdeps/i386/htl: New directory.
14533 * sysdeps/mach/htl: New directory.
14534 * sysdeps/mach/hurd/htl: New directory.
14535 * sysdeps/mach/hurd/i386/htl: New directory.
14536 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14537 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14538 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14539
14540 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14541
14542 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14543 signals in thread created for runing timers.
14544
14545 2018-04-01 Florian Weimer <fweimer@redhat.com>
14546
14547 * support/support_format_addrinfo.c (support_format_addrinfo):
14548 Include unknown error number in formatted result.
14549
14550 2018-03-29 Florian Weimer <fweimer@redhat.com>
14551
14552 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14553 capture SIGBUS.
14554
14555 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14556
14557 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14558 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14559 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14560 (__ASSUME_CLONE_BACKWARDS): Define.
14561
14562 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14563
14564 [BZ #23024]
14565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14566 early when linux sentinel value is set.
14567
14568 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14569
14570 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14571
14572 2018-03-27 Andreas Schwab <schwab@suse.de>
14573
14574 [BZ #23005]
14575 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14576 allocation of private copy of nsaddr_list fails.
14577
14578 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14579
14580 [BZ #16552]
14581 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14582 * sysdeps/unix/sysv/linux/umount.c: ... here.
14583 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14584 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14585 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14586 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14588 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14589 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14590
14591 2018-03-26 Andreas Schwab <schwab@suse.de>
14592
14593 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14594 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14595 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14596 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14597 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14598 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14599 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14600 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14601 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14602 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14603 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14604 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14605 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14606 (R_RISCV_NUM): Define.
14607
14608 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14609
14610 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14611 TLS declaration of errno.
14612 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14613 __libc_setup_tls.
14614 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14615 (ARCH_SETUP_TLS): Likewise.
14616 * sysdeps/mach/hurd/libc-start.h: New file copied from
14617 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14618 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14619 instead of __libc_setup_tls.
14620 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14621 __libc_setup_tls before initializing libpthread and running _hurd_init
14622 which starts the signal thread.
14623 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14624 Declare function.
14625 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14626
14627 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14628
14629 [BZ #22998]
14630 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14631 after it is defined.
14632
14633 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14634 Max Horn <max@quendi.de>
14635
14636 [BZ #22644]
14637 CVE-2017-18269
14638 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14639 branch conditions.
14640 * string/test-memmove.c (do_test2): New testcase.
14641
14642 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14643
14644 * sysdeps/generic/frame.h: Remove file.
14645 * sysdeps/arm/frame.h: Likewise.
14646 * sysdeps/hppa/frame.h: Likewise.
14647 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14648 macro.
14649 (GET_FRAME): Likewise.
14650 (GET_STACK): Likewise.
14651 (CALL_SIGHANDLER): Likewise.
14652 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14653 Likewise.
14654 (GET_FRAME): Likewise.
14655 (GET_STACK): Likewise.
14656 (CALL_SIGHANDLER): Likewise.
14657 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14658 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14659 (GET_FRAME): Likewise.
14660 (GET_STACK): Likewise.
14661 (CALL_SIGHANDLER): Likewise.
14662 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14663 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14664 (GET_FRAME): Likewise.
14665 (GET_STACK): Likewise.
14666 (ADVANCE_STACK_FRAME): Likewise.
14667 (CALL_SIGHANDLER): Likewise.
14668 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14669 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14670 (GET_FRAME): Likewise.
14671 (GET_STACK): Likewise.
14672 (CALL_SIGHANDLER): Likewise.
14673 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14674 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14675 (GET_FRAME): Likewise.
14676 (GET_STACK): Likewise.
14677 (CALL_SIGHANDLER): Likewise.
14678 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14679 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14680 (GET_FRAME): Likewise.
14681 (GET_STACK): Likewise.
14682 (CALL_SIGHANDLER): Likewise.
14683 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14684 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14685 (GET_FRAME): Likewise.
14686 (GET_STACK): Likewise.
14687 (CALL_SIGHANDLER): Likewise.
14688 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14689 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14690 (GET_FRAME): Likewise.
14691 (GET_STACK): Likewise.
14692 (CALL_SIGHANDLER): Likewise.
14693 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14694 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14695 (GET_FRAME): Likewise.
14696 (GET_STACK): Likewise.
14697 (CALL_SIGHANDLER): Likewise.
14698 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14699 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14700 (GET_FRAME): Likewise.
14701 (GET_STACK): Likewise.
14702 (CALL_SIGHANDLER): Likewise.
14703 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14704 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14705 (GET_FRAME): Likewise.
14706 (GET_STACK): Likewise.
14707 (CALL_SIGHANDLER): Likewise.
14708 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14709 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14710 (GET_FRAME): Likewise.
14711 (GET_STACK): Likewise.
14712 (CALL_SIGHANDLER): Likewise.
14713 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14714 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14715 (FIRST_FRAME_POINTER): Likewise.
14716 (ADVANCE_STACK_FRAME): Likewise.
14717 (GET_STACK): Likewise.
14718 (GET_FRAME): Likewise.
14719 (CALL_SIGHANDLER): Likewise.
14720 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14721 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14722 (ADVANCE_STACK_FRAME): Likewise.
14723 (GET_STACK): Likewise.
14724 (GET_FRAME): Likewise.
14725 (CALL_SIGHANDLER): Likewise.
14726 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14727 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14728 (GET_FRAME): Likewise.
14729 (GET_STACK): Likewise.
14730 (CALL_SIGHANDLER): Likewise.
14731 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14732 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14733 (GET_FRAME): Likewise.
14734 (GET_STACK): Likewise.
14735 (CALL_SIGHANDLER): Likewise.
14736
14737 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14738
14739 * sysdeps/x86_64/backtrace.c: Move to ....
14740 * debug/backtrace.c: ... here.
14741 * sysdeps/aarch64/backtrace.c: Remove file.
14742 * sysdeps/alpha/backtrace.c: Likewise.
14743 * sysdeps/hppa/backtrace.c: Likewise.
14744 * sysdeps/ia64/backtrace.c: Likewise.
14745 * sysdeps/mips/backtrace.c: Likewise.
14746 * sysdeps/nios2/backtrace.c: Likewise.
14747 * sysdeps/riscv/backtrace.c: Likewise.
14748 * sysdeps/sh/backtrace.c: Likewise.
14749 * sysdeps/tile/backtrace.c: Likewise.
14750
14751 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14752
14753 [BZ #22987]
14754 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14755 function.
14756 (fdimf): Likewise.
14757 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14758
14759 [BZ #17343]
14760 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14761 possibly overflowing computations.
14762
14763 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14764
14765 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14766 values from Linux-specific section now that it is in the GNU section.
14767 * sysdeps/gnu/errlist.c: Regenerate.
14768
14769 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14770
14771 * math/Makefile (libm-narrow-fns): Add sub.
14772 (libm-test-funcs-narrow): Likewise.
14773 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14774 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14775 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14776 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14777 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14778 (NARROW_SUB_TRIVIAL): Likewise.
14779 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14780 macro.
14781 (__dsubl): Likewise.
14782 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14783 dsub.
14784 (CFLAGS-nldbl-dsub.c): New variable.
14785 (CFLAGS-nldbl-fsub.c): Likewise.
14786 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14787 __nldbl_dsubl.
14788 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14789 prototype.
14790 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14791 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14792 * math/auto-libm-test-in: Add tests of sub.
14793 * math/auto-libm-test-out-narrow-sub: New generated file.
14794 * math/libm-test-narrow-sub.inc: New file.
14795 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14798 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14799 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14800 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14801 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14802 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14803 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14806 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14809 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14810 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14811 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14812 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14814 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14841
14842 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14843
14844 [BZ #20079]
14845 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14846
14847 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14848
14849 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14850
14851 2018-03-18 Richard Braun <rbraun@sceen.net>
14852
14853 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14854 thread reference.
14855
14856 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14857
14858 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14859 (__libc_cleanup_fct): Define function.
14860 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14861 __libc_cleanup_end): Rewrite implementation using
14862 __attribute__ ((__cleanup__)).
14863 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14864 * hurd/Makefile (routines): Add hurdlock.
14865 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14866 interface.
14867 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14868 * hurd/hurdpid.c: Include <lowlevellock.h>
14869 (_S_msg_proc_newids): Use lll_wait to synchronize.
14870 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14871 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14872 * mach/Makefile (lock-headers): Remove machine-lock.h.
14873 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14874 <machine-lock.h>.
14875 (__spin_lock_t): New type.
14876 (__SPIN_LOCK_INITIALIZER): New macro.
14877 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14878 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14879 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14880 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14881 (__mutex_init): Initialize with lll.
14882 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14883 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14884 needing lll.
14885 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14886 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14887 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14888 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14889 (__setpgid): Use lll for synchronization.
14890 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14891 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14892 instead of <cthreads.h>.
14893 (_IO_lock_inexpensive): New macro
14894 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14895 (__libc_lock_self0): New declaration.
14896 (__libc_lock_owner_self): New macro.
14897 (__libc_key_t): Remove type.
14898 (_LIBC_LOCK_INITIALIZER): New macro.
14899 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14900 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14901 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14902 __libc_lock_define_initialized_recursive,
14903 __rtld_lock_define_initialized_recursive,
14904 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14905 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14906 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14907 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14908 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14909 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14910 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14911 New macros.
14912 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14913 * hurd/hurdlock.c: New file.
14914 * hurd/hurdlock.h: New file.
14915 * mach/lowlevellock.h: New file
14916
14917 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14918
14919 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14920 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14921 when opening a symlink with O_NOFOLLOW.
14922 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14923 path when flags contains O_NOFOLLOW.
14924 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14925 if flags contains O_DIRECTORY and the result is a directory.
14926 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14927 oneself when the pointer given in D is nul (as set by ext2fs).
14928 * sysdeps/mach/hurd/mlockall.c: New file.
14929 * sysdeps/mach/hurd/munlockall.c: New file.
14930
14931 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14932
14933 * hurd/hurdsig.c: Include <pthread.h>.
14934 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14935 get the signal thread stack layout.
14936 * hurd/Makefile (headers): Remove threadvar.h.
14937 (inline-headers): Remove threadvar.h.
14938 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14939 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14940 __hurd_threadvar_max, __hurd_errno_location.
14941 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14942 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14943 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14944 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14945 unless TLS is not initialized yet, in which case we do not need a
14946 critical section yet anyway.
14947 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14948 <machine-sp.h>.
14949 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14950 declarations.
14951 (__hurd_threadvar_index): Remove enum.
14952 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14953 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14954 inlines.
14955 (__hurd_reply_port0): New variable declaration.
14956 (__hurd_local_reply_port): New macro.
14957 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14958 (interrupted_reply_port_location): Add thread_t parameter. Use it
14959 with THREAD_TCB to access thread-local variables.
14960 (_hurdsig_abort_rpcs): Pass ss->thread to
14961 interrupted_reply_port_location.
14962 (_hurd_internal_post_signal): Likewise.
14963 (_hurdsig_init): Use presence of cthread_fork instead of
14964 __hurd_threadvar_stack_mask to start signal thread by hand.
14965 Remove signal thread threadvar initialization.
14966 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14967 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14968 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14969 of threadvar.
14970 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14971 __libc_lock_self0.
14972 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14973 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14974 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14975 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14976 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14977 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14978 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14979 define variables.
14980 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14981 <hurd/threadvar.h>.
14982 [IS_IN(rtld)] (rtld_errno): New variable.
14983 [IS_IN(rtld)] (__errno_location): New weak function.
14984 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14985 * sysdeps/mach/hurd/errno.c: Remove file.
14986 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14987 (__fork): Remove THREADVAR_SPACE macro and its use.
14988 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14989 variable.
14990 (init): Do not initialize threadvar.
14991 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14992 symbol.
14993 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14994 __hurd_local_reply_port instead of threadvar.
14995 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14996 _hurd_sigstate fields.
14997 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14998 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14999 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15000 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15001 instead of threadvar.
15002 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15003 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15004 (use_threadvar, global_reply_port): Remove variables.
15005 (__hurd_reply_port0): New variable.
15006 (__mig_get_reply_port): Use __hurd_local_reply_port and
15007 __hurd_reply_port0 instead of threadvar.
15008 (__mig_dealloc_reply_port): Likewise.
15009 (__mig_init): Do not initialize threadvar.
15010 * sysdeps/mach/hurd/profil.c: Fix comment.
15011 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15012 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15013 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15014 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15015 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15016 __cthread_setspecific.
15017 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15018 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15019 __cthread_t instead of cthread_fork, cthread_detach,
15020 pthread_getattr_np, pthread_attr_getstack.
15021 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15022 __cthread_keycreate.
15023 (cthread_getspecific): Rename to __cthread_getspecific.
15024 (cthread_setspecific): Rename to __cthread_setspecific.
15025 (__libc_getspecific): Use __cthread_getspecific instead of
15026 cthread_getspecific.
15027 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15028 __cthread_keycreate instead of cthread_keycreate.
15029 (__libc_setspecific): Use __cthread_setspecific instead of
15030 cthread_setspecific.
15031 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15032 Likewise.
15033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15034 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15035 testing whether it is defined.
15036
15037 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15038
15039 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15040 Define macro.
15041 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15042 * sysdeps/mach/i386/thread_state.h
15043 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15044 i386_THREAD_STATE.
15045 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15046 i386_THREAD_STATE.
15047 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15048
15049 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15050 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15051
15052 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15053 macros.
15054 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15055 descriptor instead of creating a new one.
15056 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15057
15058 * mach/setup-thread.c: Include <ldsodefs.h>.
15059 (__mach_setup_thread): Call _dl_allocate_tls, pass
15060 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15061 MACHINE_THREAD_STATE_FLAVOR, before getting
15062 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15063 MACHINE_THREAD_STATE_FLAVOR with the result.
15064 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15065 MACHINE_THREAD_STATE_FIX_NEW.
15066 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15067 too. Add original thread parameter.
15068
15069 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15070
15071 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15072 Remove inline function.
15073
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15076
15077 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15078
15079 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15080 commit.
15081
15082 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15083
15084 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15085 (__sincos_code): Remove define and undefine.
15086 [__FAST_MATH__] (__sincos): Remove inline function.
15087 [__FAST_MATH__] (__sincosf): Remove inline function.
15088 [__FAST_MATH__] (__sincosl): Remove inline function.
15089 (__atan2l): Remove inline functions.
15090 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15091 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15092 function.
15093 (floor): Remove inline function.
15094 (ceil): Likewise.
15095 [__FAST_MATH__] (__ldexp_code): Remove macro.
15096 [__FAST_MATH__] (ldexp): Remove inline function.
15097 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15098 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15099 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15100 [__USE_ISOC99] (__lrint_code): Remove macro.
15101 [__USE_ISOC99] (__llrint_code): Likewise.
15102 [__USE_ISOC99] (lrintf): Remove inline function.
15103 [__USE_ISOC99] (lrint): Likewise.
15104 [__USE_ISOC99] (lrintl): Likewise.
15105 [__USE_ISOC99] (llrint): Likewise.
15106 [__USE_ISOC99] (llrintf): Likewise.
15107 [__USE_ISOC99] (llrintl): Likewise.
15108
15109 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15110
15111 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15112 (__ieee754_sqrtf): Remove.
15113 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15114 (__ieee754_sqrtf): Remove.
15115 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15116 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15117 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15118 (__ieee754_sqrtf): Remove.
15119 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15120 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15121 (sqrtf): Remove.
15122 (sqrtl): Remove.
15123 (__ieee754_sqrt): Remove.
15124 (__ieee754_sqrtf): Remove.
15125 (__ieee754_sqrtl): Remove.
15126 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15127 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15128 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15129 (__ieee754_sqrtf): Remove.
15130 (__ieee754_sqrtl): Remove.
15131
15132 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15133
15134 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15135 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15136 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15137 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15138 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15139 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15140 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15141 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15142 Likewise.
15143 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15144 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15145 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15146 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15147 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15148 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15149 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15150 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15151 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15152 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15153 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15154 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15155 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15156 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15157 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15158 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15159 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15160 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15161 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15162 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15163 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15166 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15168 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15171 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15172 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15173 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15174 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15175 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15176 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15177 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15178 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15179 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15180 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15181 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15182 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15183
15184 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15185
15186 * include/math.h (sqrt): Declare with asm redirect.
15187 (sqrtf): Likewise.
15188 (sqrtl): Likewise.
15189 (sqrtf128): Likewise.
15190 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15191 nonlib and libnldbl with -fmath-errno.
15192 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15193 * math/w_sqrt_template.c: Likewise.
15194 * math/w_sqrtf_compat.c: Likewise.
15195 * math/w_sqrtl_compat.c: Likewise.
15196 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15197 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15198 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15199 complex.h.
15200
15201 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15202
15203 * benchtests/Makefile: Define _ISOMAC.
15204 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15205 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15206 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15207 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15208 * benchtests/bench-timing.h: Define attribute_hidden.
15209
15210 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15211
15212 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15213 mov + lsr.
15214
15215 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15216
15217 [BZ #22963]
15218 * localedata/locales/cs_CZ (mon): Rename to...
15219 (alt_mon): This.
15220 (mon): Import from CLDR (genitive case).
15221
15222 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15223
15224 [BZ #22937]
15225 * localedata/locales/el_CY (abmon): Rename to...
15226 (ab_alt_mon): This.
15227 (abmon): Import from CLDR (abbreviated genitive case).
15228 * localedata/locales/el_GR (abmon): Rename to...
15229 (ab_alt_mon): This.
15230 (abmon): Import from CLDR (abbreviated genitive case).
15231
15232 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15233
15234 [BZ #22932]
15235 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15236
15237 2018-03-15 Robert Buj <robert.buj@gmail.com>
15238
15239 [BZ #22848]
15240 * localedata/locales/ca_ES (abmon): Rename to...
15241 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15242 (mon): Rename to...
15243 (alt_mon): This.
15244 (abmon): Import from CLDR (genitive case, month names preceded by
15245 "de" or "d’").
15246 (mon): Likewise.
15247 (abday): Synchronize with CLDR.
15248 (d_t_fmt): Likewise.
15249 (d_fmt): Likewise.
15250 (am_pm): Likewise.
15251
15252 (LC_TIME): Improve indentation.
15253 (LC_TELEPHONE): Likewise.
15254 (LC_NAME): Likewise.
15255 (LC_ADDRESS): Likewise.
15256
15257 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15258
15259 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15260 (lrintf): Remove definitions used only with old GCC.
15261 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15262 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15263 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15264 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15265 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15266 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15267 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15268 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15269 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15270 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15271 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15272 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15273 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15274 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15275 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15276 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15277 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15278 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15279 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15280 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15281 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15282 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15283 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15284 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15285 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15286 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15287 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15288 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15289
15290 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15291
15292 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15293 instruction to unbreak builds with binutils 2.26 and older.
15294
15295 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15296
15297 * sysdeps/aarch64/strncmp.S (count): New macro.
15298 (strncmp): Store misaligned length in SRC1 in COUNT.
15299 (mutual_align): Adjust.
15300 (misaligned8): Load dword at a time when it is safe.
15301
15302 2018-03-12 Zack Weinberg <zackw@panix.com>
15303
15304 [BZ #1190]
15305 [BZ #19476]
15306 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15307 if the _IO_EOF_SEEN bit is already set; update commentary.
15308 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15309 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15310
15311 * support/support_openpty.c, support/tty.h: New files.
15312 * support/Makefile (libsupport-routines): Add support_openpty.
15313
15314 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15315 New test cases.
15316 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15317 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15318
15319 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15320
15321 * po/pt_BR.po: Update translations.
15322
15323 2018-03-12 David Michael <fedora.dm0@gmail.com>
15324
15325 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15326 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15327 get a port to the startup server.
15328
15329 2018-03-11 Zack Weinberg <zackw@panix.com>
15330
15331 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15332 before nldbl-compat.h.
15333
15334 2018-03-10 Zack Weinberg <zackw@panix.com>
15335
15336 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15337 math.h or math_private.h.
15338
15339 * sysdeps/alpha/fpu/s_isnan.c
15340 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15341 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15344 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15345 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15346 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15347 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15348 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15353 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15354 Include math_private.h.
15355
15356 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15357 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15358 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15359 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15360 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15361 * sysdeps/powerpc/power7/fpu/s_logb.c:
15362 Include math.h and math_private.h.
15363
15364 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15365 uses of $at in .set noat / .set at.
15366
15367 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15368
15369 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15370 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15371 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15372 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15373 Likewise.
15374
15375 2018-03-09 Florian Weimer <fweimer@redhat.com>
15376
15377 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15378 in comment.
15379
15380 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15381
15382 [BZ #22919]
15383 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15384 Add nop before __startcontext, add explaining comments.
15385
15386 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15387
15388 [BZ #22926]
15389 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15390 empty for __SPE__.
15391 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15392 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15393 Do not build hardware transactional code for __SPE__.
15394 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15395 (__lll_trylock_elision): Likewise.
15396 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15397 (__lll_unlock_elision): Likewise.
15398
15399 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15400 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15401 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15402 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15403 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15404 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15405 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15406 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15407 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15408 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15409 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15410 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15411 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15412 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15413 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15414 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15415 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15416 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15417 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15418 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15419 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15420 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15421 (__ASSUME_CLONE_BACKWARDS): Define.
15422 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15423 __clone2 if __NR_clone2 is defined.
15424 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15425 (__ASSUME_CLONE_BACKWARDS): Likewise.
15426 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15427 (__ASSUME_CLONE_BACKWARDS): Likewise.
15428 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15429 (__ASSUME_CLONE2): Likewise.
15430 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15431 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15432 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15433 variants and the define architecture can use.
15434 (__ASSUME_CLONE_DEFAULT): Define as default.
15435 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15436 (__ASSUME_CLONE_BACKWARDS): Likewise.
15437 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15438 (__ASSUME_CLONE_BACKWARDS): Likewise.
15439 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15440 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15441
15442 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15443
15444 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15445
15446 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15447 time.
15448
15449 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15450 (do_test_limit): Likewise.
15451
15452 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15453 for every implementation.
15454 (do_test): Likewise.
15455
15456 * benchtests/bench-strncmp.c: Convert output to json.
15457
15458 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15459
15460 * io/futimens.c: Add missing start-of-file descriptive comment.
15461 * io/utime.c: Likewise.
15462 * misc/futimesat.c: Likewise.
15463 * misc/utimes.c: Likewise.
15464 * sysdeps/mach/hurd/futimesat.c: Likewise.
15465 * sysdeps/mach/hurd/utimes.c: Likewise.
15466 * sysdeps/posix/utime.c: Likewise.
15467 * sysdeps/posix/utimes.c: Likewise.
15468 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15469 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15470 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15471 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15472
15473 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15474
15475 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15476 hurd_futimes.
15477 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15478 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15479 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15480 (__futimens): Move implementation to...
15481 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15482 utime_tvalue_from_tspec): ... new helper functions.
15483 (hurd_futimens): New function.
15484 * sysdeps/mach/hurd/futimesat.c: New file.
15485 * sysdeps/mach/hurd/utimensat.c: New file.
15486
15487 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15488
15489 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15490 UTIME_OMIT): New macros.
15491 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15492 before reverting to converting time spec to time value and calling
15493 __file_utimes.
15494 * sysdeps/mach/hurd/utime-helper.c: New file.
15495 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15496 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15497 reverting to utime_tvalue_from_tval and __file_utimes.
15498 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15499 (__lutimes): Just call hurd_futimens after lookup.
15500 * sysdeps/mach/hurd/utimes.c: Likewise.
15501
15502 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15503
15504 * bits/sigaction.h: Add include guard.
15505 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15506 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15507 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15508 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15509 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15510 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15511 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15512 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15513 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15514
15515 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15516
15517 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15518 -Wmaybe-uninitialized for -Os.
15519 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15520 this disabling.
15521
15522 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15523
15524 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15525 __INO_T_MATCHES_INO64_T is defined.
15526 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15527 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15528 of definition.
15529 * dirent/alphasort64.c: Likewise.
15530 * dirent/scandir.c: Likewise.
15531 * dirent/scandir64-tail.c: Likewise.
15532 * dirent/scandir64.c: Likewise.
15533 * dirent/scandirat.c: Likewise.
15534 * dirent/scandirat64.c: Likewise.
15535 * dirent/versionsort.c: Likewise.
15536 * dirent/versionsort64.c: Likewise.
15537 * include/dirent.h: Likewise.
15538
15539 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15540 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15541 for socketpair endpoint.
15542 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15543 WRITE_BUFFER_SIZE as buffer size for sending socket.
15544 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15545 issue on system where send is implemented with sendto syscall.
15546 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15547 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15548 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15549 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15550
15551 [BZ #21269]
15552 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15553 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15554 sa_restorer for vDSO case.
15555 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15556
15557 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15558
15559 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15560 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15561 * hurd/hurd/ioctl.h: Include <mach/port.h>
15562 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15563 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15564 <mach/mach_types.h> and <mach/message.h>.
15565 (headers): Move mach/param.h to bits/mach/param.h.
15566 * sysdeps/mach/i386/mach/param.h: Move file to ...
15567 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15568 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15569 of <mach/param.h>.
15570 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15571 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15572 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15573 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15574 trivial, for C++ conformity.
15575 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15576 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15577 Process mig output through $(migheadersed).
15578 * hurd/Makefile (migheadersed): Define variable.
15579 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15580 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15581 headers.
15582 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15583 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15584 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15585 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15586 <bits/types/sigset_t.h>.
15587 [!defined __USE_GNU]: Do not #error out.
15588 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15589 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15590 Include <stddef.h> and <bits/types/sigset_t.h>
15591 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15592 instead of sighandler_t.
15593 * stdlib/errno.h (error_t): Move definition to...
15594 * bits/types/error_t.h: ... new header.
15595 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15596 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15597 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15598 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15599 * hurd/hurd.h: Include <bits/types/error_t.h>
15600 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15601 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15602 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15603 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15604 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15605 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15606 * sysdeps/mach/hurd/futimens.c: New file.
15607
15608 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15609
15610 [BZ #22918]
15611 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15612 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15613 * nscd/gai.c (__nss_hosts_database): Readd definition.
15614 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15615 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15616 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15617
15618 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15619
15620 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15621 (ifunc_one): Likewise.
15622
15623 2018-03-01 DJ Delorie <dj@delorie.com>
15624
15625 [BZ #22342]
15626 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15627 key value.
15628
15629 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15630
15631 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15632 `match_pid' parameter.
15633 (td_ta_thr_iter): Update accordingly.
15634
15635 2018-03-01 Florian Weimer <fweimer@redhat.com>
15636
15637 * nptl/Makefile (install-lib-ldscripts): Remove.
15638 (install): Remove rule.
15639 ($(inst_libdir)/libpthread.so): Likewise.
15640
15641 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15642
15643 [BZ #22896]
15644 * localedata/locales/an_ES: update month and day names,
15645 improve d_fmt, improve postal_fmt, add country_post,
15646 add country_isbn
15647
15648 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15649
15650 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15651 Ukrainian instead of Bulgarian.
15652
15653 2018-03-01 Florian Weimer <fweimer@redhat.com>
15654
15655 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15656 reference.
15657
15658 2018-03-01 Florian Weimer <fweimer@redhat.com>
15659
15660 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15661 * nptl/Makefile (routines): Add pthread_atfork.
15662 (static-only-routines): Set to pthread_atfork.
15663 (libpthread-routines): Remove pthread_atfork.
15664 (libpthread-static-only-routines): Remove.
15665 (install): Update comment.
15666 (libpthread.so): Do not install libpthread_nonshared.a.
15667 (tests): Do not link with libpthread_nonshared.a.
15668 (generated): Remove libpthread_nonshared.a.
15669 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15670 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15671 with libpthread_nonshared.a.
15672
15673 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15674
15675 [BZ #22902]
15676 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15677 (libc_feholdexcept_setroundf128): New macro.
15678 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15679
15680 [BZ #15105]
15681 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15682 libc_hidden_def.
15683 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15684 * include/inttypes.h: New file.
15685
15686 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15687
15688 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15689 -Os in two more places.
15690
15691 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15692
15693 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15694 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15695 be sorted correctly at the moment because of a bug.
15696
15697 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15698
15699 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15700 treat ñ as a primary different character, sync the collation
15701 for Spanish with CLDR.
15702 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15703 * localedata/Makefile: Add new test files.
15704 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15705 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15706 collation order.
15707 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15708 * localedata/am_ET.UTF-8.in: New test file.
15709 * localedata/az_AZ.UTF-8.in: Likewise.
15710 * localedata/be_BY.UTF-8.in: Likewise.
15711 * localedata/ber_DZ.UTF-8.in: Likewise.
15712 * localedata/ber_MA.UTF-8.in: Likewise.
15713 * localedata/bg_BG.UTF-8.in: Likewise.
15714 * localedata/br_FR.UTF-8.in: Likewise.
15715 * localedata/cmn_TW.UTF-8.in: Likewise.
15716 * localedata/crh_UA.UTF-8.in: Likewise.
15717 * localedata/csb_PL.UTF-8.in: Likewise.
15718 * localedata/cv_RU.UTF-8.in: Likewise.
15719 * localedata/cy_GB.UTF-8.in: Likewise.
15720 * localedata/dz_BT.UTF-8.in: Likewise.
15721 * localedata/eo.UTF-8.in: Likewise.
15722 * localedata/es_ES.UTF-8.in: Likewise.
15723 * localedata/fa_IR.UTF-8.in: Likewise.
15724 * localedata/fi_FI.UTF-8.in: Likewise.
15725 * localedata/fil_PH.UTF-8.in: Likewise.
15726 * localedata/fur_IT.UTF-8.in: Likewise.
15727 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15728 * localedata/ha_NG.UTF-8.in: Likewise.
15729 * localedata/ig_NG.UTF-8.in: Likewise.
15730 * localedata/ik_CA.UTF-8.in: Likewise.
15731 * localedata/kk_KZ.UTF-8.in: Likewise.
15732 * localedata/ku_TR.UTF-8.in: Likewise.
15733 * localedata/ky_KG.UTF-8.in: Likewise.
15734 * localedata/ln_CD.UTF-8.in: Likewise.
15735 * localedata/mi_NZ.UTF-8.in: Likewise.
15736 * localedata/ml_IN.UTF-8.in: Likewise.
15737 * localedata/mn_MN.UTF-8.in: Likewise.
15738 * localedata/mr_IN.UTF-8.in: Likewise.
15739 * localedata/mt_MT.UTF-8.in: Likewise.
15740 * localedata/nb_NO.UTF-8.in: Likewise.
15741 * localedata/om_KE.UTF-8.in: Likewise.
15742 * localedata/os_RU.UTF-8.in: Likewise.
15743 * localedata/ps_AF.UTF-8.in: Likewise.
15744 * localedata/ro_RO.UTF-8.in: Likewise.
15745 * localedata/ru_RU.UTF-8.in: Likewise.
15746 * localedata/sc_IT.UTF-8.in: Likewise.
15747 * localedata/se_NO.UTF-8.in: Likewise.
15748 * localedata/sq_AL.UTF-8.in: Likewise.
15749 * localedata/sv_SE.UTF-8.in: Likewise.
15750 * localedata/szl_PL.UTF-8.in: Likewise.
15751 * localedata/tg_TJ.UTF-8.in: Likewise.
15752 * localedata/tk_TM.UTF-8.in: Likewise.
15753 * localedata/tt_RU.UTF-8.in: Likewise.
15754 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15755 * localedata/ug_CN.UTF-8.in: Likewise.
15756 * localedata/uz_UZ.UTF-8.in: Likewise.
15757 * localedata/vi_VN.UTF-8.in: Likewise.
15758 * localedata/yi_US.UTF-8.in: Likewise.
15759 * localedata/yo_NG.UTF-8.in: Likewise.
15760 * localedata/zh_CN.UTF-8.in: Likewise.
15761 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15762 file and fix bugs in the collation.
15763 * localedata/locales/az_AZ: Likewise.
15764 * localedata/locales/be_BY: Likewise.
15765 * localedata/locales/ber_DZ: Likewise.
15766 * localedata/locales/ber_MA: Likewise.
15767 * localedata/locales/bg_BG: Likewise.
15768 * localedata/locales/br_FR: Likewise.
15769 * localedata/locales/br_FR@euro: Likewise.
15770 * localedata/locales/ca_ES: Likewise.
15771 * localedata/locales/cns11643_stroke: Likewise.
15772 * localedata/locales/crh_UA: Likewise.
15773 * localedata/locales/cs_CZ: Likewise.
15774 * localedata/locales/csb_PL: Likewise.
15775 * localedata/locales/cv_RU: Likewise.
15776 * localedata/locales/cy_GB: Likewise.
15777 * localedata/locales/da_DK: Likewise.
15778 * localedata/locales/dz_BT: Likewise.
15779 * localedata/locales/en_CA: Likewise.
15780 * localedata/locales/eo: Likewise.
15781 * localedata/locales/es_CU: Likewise.
15782 * localedata/locales/es_EC: Likewise.
15783 * localedata/locales/es_ES: Likewise.
15784 * localedata/locales/es_US: Likewise.
15785 * localedata/locales/et_EE: Likewise.
15786 * localedata/locales/fa_IR: Likewise.
15787 * localedata/locales/fi_FI: Likewise.
15788 * localedata/locales/fil_PH: Likewise.
15789 * localedata/locales/fur_IT: Likewise.
15790 * localedata/locales/gez_ER@abegede: Likewise.
15791 * localedata/locales/ha_NG: Likewise.
15792 * localedata/locales/hr_HR: Likewise.
15793 * localedata/locales/hsb_DE: Likewise.
15794 * localedata/locales/hu_HU: Likewise.
15795 * localedata/locales/ig_NG: Likewise.
15796 * localedata/locales/ik_CA: Likewise.
15797 * localedata/locales/is_IS: Likewise.
15798 * localedata/locales/iso14651_t1_pinyin: Likewise.
15799 * localedata/locales/kk_KZ: Likewise.
15800 * localedata/locales/ku_TR: Likewise.
15801 * localedata/locales/ky_KG: Likewise.
15802 * localedata/locales/ln_CD: Likewise.
15803 * localedata/locales/lt_LT: Likewise.
15804 * localedata/locales/lv_LV: Likewise.
15805 * localedata/locales/mi_NZ: Likewise.
15806 * localedata/locales/ml_IN: Likewise.
15807 * localedata/locales/mn_MN: Likewise.
15808 * localedata/locales/mr_IN: Likewise.
15809 * localedata/locales/mt_MT: Likewise.
15810 * localedata/locales/nb_NO: Likewise.
15811 * localedata/locales/om_KE: Likewise.
15812 * localedata/locales/os_RU: Likewise.
15813 * localedata/locales/pl_PL: Likewise.
15814 * localedata/locales/ps_AF: Likewise.
15815 * localedata/locales/ro_RO: Likewise.
15816 * localedata/locales/ru_RU: Likewise.
15817 * localedata/locales/ru_UA: Likewise.
15818 * localedata/locales/sc_IT: Likewise.
15819 * localedata/locales/se_NO: Likewise.
15820 * localedata/locales/si_LK: Likewise.
15821 * localedata/locales/sq_AL: Likewise.
15822 * localedata/locales/sv_FI: Likewise.
15823 * localedata/locales/sv_FI@euro: Likewise.
15824 * localedata/locales/sv_SE: Likewise.
15825 * localedata/locales/szl_PL: Likewise.
15826 * localedata/locales/tg_TJ: Likewise.
15827 * localedata/locales/ti_ER: Likewise.
15828 * localedata/locales/tk_TM: Likewise.
15829 * localedata/locales/tl_PH: Likewise.
15830 * localedata/locales/tr_TR: Likewise.
15831 * localedata/locales/tt_RU: Likewise.
15832 * localedata/locales/tt_RU@iqtelif: Likewise.
15833 * localedata/locales/ug_CN: Likewise.
15834 * localedata/locales/uk_UA: Likewise.
15835 * localedata/locales/uz_UZ: Likewise.
15836 * localedata/locales/uz_UZ@cyrillic: Likewise.
15837 * localedata/locales/vi_VN: Likewise.
15838 * localedata/locales/yi_US: Likewise.
15839 * localedata/locales/yo_NG: Likewise.
15840
15841 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15842
15843 * gen-locales.mk: Make test files which contain @ modifiers in their
15844 name work.
15845 * localedata/gen-locale.sh: Likewise.
15846
15847 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15848
15849 * posix/tst-fnmatch.input: Fix results for range expressions
15850 for non C locales.
15851 * posix/tst-regexloc.c: Do not use a range expression for
15852 de_DE.ISO-8859-1 locale.
15853
15854 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15855
15856 * posix/bug-regex5.c: Fix test case because with the new
15857 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15858 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15859 file.
15860
15861 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15862
15863 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15864 downloaded from ISO, the collation order of @-. and space has changed.
15865 Therefore, this test file needed to be adapted.
15866 * localedata/fr_CA.UTF-8.in: Likewise.
15867 * localedata/fr_FR.UTF-8.in: Likewise.
15868 * localedata/uk_UA.UTF-8.in: Likewise.
15869
15870 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15871
15872 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15873 order of ȥ in the new iso14651_t1_common file.
15874 * localedata/pl_PL.UTF-8.in: Likewise.
15875
15876 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15877
15878 * localedata/locales/iso14651_t1_common: Add sections for various
15879 scripts to the iso14651_t1_common file.
15880
15881 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15882
15883 * localedata/locales/iso14651_t1_common: Use the code point of a
15884 character in the fourth collation level instead of IGNORE for all
15885 entries which have IGNORE on all 4 levels.
15886
15887 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15888
15889 * localedata/locales/iso14651_t1_common: Add some convenient collation
15890 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15891 rules similar to those in CLDR.
15892
15893 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15894
15895 * localedata/locales/iso14651_t1_common: The new version of this
15896 file downloaded from ISO contained several syntax errors which
15897 are fixed by this patch.
15898
15899 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15900
15901 * localedata/locales/iso14651_t1_common: replace all <U.....>
15902 with <U000.....> because glibc understands only 4 digit or 8 digit
15903
15904 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15905
15906 * localedata/locales/iso14651_t1_common: Necessary changes
15907 to make the file downloaded from ISO usable by glibc.
15908
15909 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15910
15911 [BZ #14095]
15912 * localedata/locales/iso14651_t1_common: Update file to
15913 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15914
15915 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15916
15917 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15918 of <nptl/pthreadP.h>
15919 (thread_attr_compare): Move function to...
15920 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15921 * sysdeps/nptl/timer_routines.h: ... new header.
15922 * sysdeps/mach/hurd/gai_misc.h: New file.
15923
15924 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15925
15926 * string/strcoll_l.c: Include <libc-diag.h>.
15927 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15928 declarations of seq1 and seq2.
15929
15930 [BZ #15105]
15931 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15932 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15933
15934 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15935
15936 [BZ #22433]
15937 [BZ #22807]
15938 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15939 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15940 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15941 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15942 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15943 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15944
15945 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15946
15947 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15948 macros used in __ptrace_request.
15949
15950 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15951
15952 [BZ #22792]
15953 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15954 to $(CC).
15955 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15956 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15957 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15958 <tcb-offsets.h>.
15959
15960 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15961
15962 [BZ #15105]
15963 * ctype/ctype.c (tolower): Use libc_hidden_def.
15964 (toupper): Likewise.
15965 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15966 [!_ISOMAC] (toupper): Likewise.
15967
15968 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15969
15970 * localedata/Makefile: Remove --quiet argument when
15971 installing locales
15972
15973 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15974
15975 [BZ #17438]
15976 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15977 in d_fmt.
15978 * localedata/locales/pt_PT (LC_TIME): likewise
15979
15980 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15981
15982 [BZ #22646]
15983 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15984 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15985 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15986
15987 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15988
15989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15990
15991 * nptl/Makefile (routines): Remove unregister-atfork.
15992 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15993 (fork_handler_alloc): Remove function.
15994 (fork_handlers, fork_handler_init): New variables.
15995 (__fork_lock): Rename to atfork_lock.
15996 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15997 to use a dynamic array to add/remove atfork handlers.
15998 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15999 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16000 Remove declaration.
16001 (fork_handler): Remove next, refcntr, and need_signal member.
16002 (__run_fork_handler_type): New enum.
16003 (__run_fork_handlers): New prototype.
16004 * nptl/register-atfork.c: Remove file.
16005 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16006
16007 * sysdeps/nptl/nptl-signals.h: Move to ...
16008 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16009 comments.
16010 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16011 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16012 unnecessary check for SIGTIMER.
16013 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16014 remove unnecessary removal of SIGTIMER.
16015 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16016 include-signals.h rename.
16017 * nptl/pthreadP.h: Likewise.
16018 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16019 __is_internal_signal instead of __nptl_is_internal_signal.
16020
16021 2018-02-22 Andrew Waterman <andrew@sifive.com>
16022
16023 [BZ # 22884]
16024 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16025 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16026 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16027 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16028
16029 2018-02-22 DJ Delorie <dj@delorie.com>
16030
16031 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16032
16033 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16034
16035 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16036 do_misaligned, not misaligned8.
16037
16038 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16039
16040 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16041 Add memcpy_thunderx2.
16042 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16043 Increment to 4.
16044 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16045 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16046 and IS_THUNDERX2PA checks.
16047 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16048 Use macro to set name appropriately.
16049 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16050 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16051 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16052 New macro.
16053 (IS_THUNDERX2): New macro.
16054
16055 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16056
16057 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16058
16059 2018-02-21 Zack Weinberg <zackw@panix.com>
16060
16061 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16062 Define here, unconditionally.
16063 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16064 * libio/libioP.h: Remove #if 0 blocks.
16065 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16066 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16067 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16068
16069 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16070 Assume weak_alias is always defined.
16071
16072 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16073 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16074 Remove #if 0 and #ifdef TODO blocks.
16075 Assume text_set_element is always defined.
16076
16077 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16078 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16079 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16080
16081 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16082 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16083 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16084 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16085 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16086 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16087 Reformat bit flags for _flags field to make occupancy clearer.
16088 Update commentary.
16089 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16090 Keep definitions consistent with those in libio/libio.h.
16091
16092 * libio/libio.h (_IO_file_flags): Remove macro.
16093 All uses changed to _flags.
16094
16095 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16096 (__HAVE_COLUMN, _IO_BE): Don't define.
16097 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16098 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16099 * libio/libioP.h (EOF): Don't define.
16100 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16101 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16102 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16103 testing _IO_UNIFIED_JUMPTABLES.
16104
16105 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16106 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16107 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16108 (_IO_size_t): Delete; all uses changed to size_t.
16109 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16110 (_IO_off_t): Delete; all uses changed to off_t.
16111 (_IO_off64_t): Delete; all uses changed to off64_t.
16112 (_IO_pid_t): Delete; all uses changed to pid_t.
16113 (_IO_uid_t): Delete; all uses changed to uid_t.
16114 (_IO_wint_t): Delete; all uses changed to wint_t.
16115 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16116 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16117 (_IO_cookie_io_functions_t): Delete; all uses changed to
16118 cookie_io_functions_t.
16119 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16120 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16121 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16122 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16123
16124 * libio/iofopncook.c: Remove unnecessary forward declarations.
16125 * libio/iolibio.h: Correct outdated commentary.
16126 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16127 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16128 Remove unnecessary casts.
16129 * stdio-common/getline.c: Use _IO_getdelim directly.
16130 Don't redefine ssize_t.
16131 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16132 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16133 Remove outdated comments.
16134 * stdio-common/vfscanf.c: Don't redefine va_list.
16135
16136 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16137 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16138 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16139 which are always true, and __cplusplus, which is always false.
16140
16141 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16142
16143 [BZ #15105]
16144 [BZ #19463]
16145 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16146 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16147 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16148 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16149 libc_hidden_proto.
16150 [!_ISOMAC] (putc_unlocked): Likewise.
16151 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16152 define inline if [__USE_EXTERN_INLINES].
16153 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16154 putc_unlocked.
16155
16156 [BZ #15105]
16157 [BZ #19463]
16158 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16159 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16160 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16161 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16162 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16163 getc_unlocked.
16164 * time/tzfile.c (__tzfile_read): Likewise.
16165
16166 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16167
16168 [BZ #22517]
16169 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16170
16171 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16172
16173 * io/fcntl.h: Fix a typo in a comment.
16174
16175 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16176
16177 [BZ #22862]
16178 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16179 define _DEFAULT_SOURCE.
16180 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16181
16182 2018-02-21 Florian Weimer <fweimer@redhat.com>
16183
16184 [BZ #20890]
16185 * elf/cache.c (save_cache): Call fsync on temporary file before
16186 renaming it.
16187 (save_aux_cache): Call fdatasync on temporary file before renaming
16188 it.
16189
16190 2018-02-21 Florian Weimer <fweimer@redhat.com>
16191
16192 [BZ #22787]
16193 * include/caller.h: Remove file.
16194 * elf/dl-caller.c: Likewise.
16195 * elf/Makefile (dl-routines): Remove dl-caller.
16196 (shared-only-routines): Do not add dl-caller.
16197 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16198 __check_caller.
16199 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16200 member.
16201 (dl_open_worker): Do not call __check_caller.
16202 (_dl_open): Do not set caller_dl_open member.
16203 * elf/rtld.c (_rtld_global_ro): Do not initialize
16204 _dl_check_caller member.
16205 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16206 _dl_check_caller member.
16207 (_dl_check_caller): Remove declaration.
16208 * sysdeps/unix/sysv/linux/dl-execstack.c
16209 (_dl_make_stack_executable): Do not call __check_caller.
16210
16211 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16212
16213 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16214 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16215
16216 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16217
16218 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16219 description.
16220
16221 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16222
16223 [BZ #16335]
16224 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16225 of 199606L, 200112L, and 200809L.
16226 (_XOPEN_SOURCE): Document special values of 600 and 700.
16227 (_ISOC11_SOURCE): Document macro.
16228 (_ATFILE_SOURCE): Likewise.
16229 (_FORTIFY_SOURCE): Likewise.
16230
16231 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16232
16233 [BZ #15105]
16234 [BZ #19463]
16235 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16236 and define as weak alias of __ferror_unlocked. Use
16237 libc_hidden_weak.
16238 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16239 libc_hidden_proto.
16240 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16241 function if [__USE_EXTERN_INLINES].
16242 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16243 ferror_unlocked.
16244
16245 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16246
16247 [BZ #6889]
16248 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16249
16250 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16251
16252 [BZ #22818]
16253 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16254 the GLIBC_2.1 version.
16255
16256 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16257
16258 [BZ #21508]
16259 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16260 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16261 intl/tst-gettext-de.po from po/de.po by removing the
16262 POT-Creation-Date line.
16263 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16264 ../po/de.po.
16265 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16266 ../po/de.po.
16267
16268 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16269
16270 * mach/Makefile (headers): Add mach/param.h.
16271 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16272 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16273 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16274 (__ptsname_r): Move implementation to...
16275 (__ptsname_internal): ... new function. Add filling the STP
16276 structure.
16277
16278 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16279
16280 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16281 idouble to 1 ULP.
16282
16283 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16284
16285 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16286 syntax.
16287
16288 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16289
16290 * nptl/Makefile (tst-mutex8-ENV): Delete.
16291 * nptl/tst-mutex8.c (check_type):
16292 Add runtime check if mutex will be elided.
16293
16294 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16295
16296 [BZ #20980]
16297 [BZ #21234]
16298 * manual/install.texi (Configuring and compiling): Describe
16299 passing CC and CFLAGS on configure command line, not as
16300 environment variables. Use @code markup on those variables.
16301 Specify what options go in CC and what go in CFLAGS. Note the
16302 requirement to compile with optimization.
16303 * INSTALL: Regenerated.
16304
16305 [BZ #18124]
16306 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16307 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16308 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16309 __sigprocmask instead of sigprocmask.
16310 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16311 Likewise.
16312 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16313 __sigsetjmp and sigprocmask.
16314
16315 [BZ #15105]
16316 * include/argz.h (argz_next): Use libc_hidden_proto.
16317 (__argz_next): Likewise.
16318 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16319 (argz_next): Use libc_hidden_weak.
16320
16321 [BZ #15105]
16322 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16323 libc_hidden_proto.
16324 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16325 libc_hidden_def.
16326
16327 [BZ #15105]
16328 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16329 libc_hidden_proto.
16330 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16331
16332 [BZ #15105]
16333 [BZ #19463]
16334 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16335 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16336 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16337 (__feof_unlocked): New declaration, and inline function if
16338 [__USE_EXTERN_INLINES].
16339 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16340 instead of feof_unlocked.
16341 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16342 * nss/nsswitch.c (nss_parse_file): Likewise.
16343 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16344 Likewise.
16345 * time/getdate.c (__getdate_r): Likewise.
16346 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16347 Define as macro to call __feof_unlocked.
16348
16349 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16350
16351 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16352
16353 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16354
16355 * math/Makefile: Remove mpexp.c and mplog.c
16356 * sysdeps/i386/fpu/mpexp.c: Delete file.
16357 * sysdeps/i386/fpu/mplog.c: Likewise.
16358 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16359 * sysdeps/ia64/fpu/mplog.c: Likewise.
16360 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16361 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16362 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16363 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16364 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16365 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16366 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16367 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16368 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16369 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16370 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16371 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16372 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16373 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16374 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16375 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16376
16377 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16378
16379 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16380
16381 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16382
16383 * sysdeps/sh/libm-test-ulps: Update.
16384
16385 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16386
16387 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16388 idouble to 1 ULP.
16389
16390 2018-02-12 Zack Weinberg <zackw@panix.com>
16391
16392 [BZ #19239]
16393 * posix/sys/types.h: Don't include sys/sysmacros.h.
16394 * misc/sys/sysmacros.h: Remove the conditional deprecation
16395 warnings for the macros defined by this header.
16396
16397 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16398
16399 * manual/probes.texi: Remove slowexp probes.
16400 * math/Makefile: Remove slowexp.
16401 * sysdeps/generic/math_private.h (__slowexp): Remove.
16402 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16403 document error bounds.
16404 * sysdeps/i386/fpu/slowexp.c: Remove.
16405 * sysdeps/ia64/fpu/slowexp.c: Remove.
16406 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16407 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16408 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16409 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16410 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16411 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16412 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16413 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16414 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16415 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16417
16418 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16419
16420 [BZ #13932]
16421 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16422 * benchtests/pow-inputs: Update comment for slow path cases.
16423 * manual/probes.texi (slowpow_p10): Delete removed probe.
16424 (slowpow_p10): Likewise.
16425 * math/Makefile: Remove halfulp.c and slowpow.c.
16426 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16427 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16428 (__halfulp): Remove.
16429 (__slowpow): Remove.
16430 * sysdeps/i386/fpu/halfulp.c: Delete file.
16431 * sysdeps/i386/fpu/slowpow.c: Likewise.
16432 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16433 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16434 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16435 improve comments and add error analysis.
16436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16437 (power1): Remove function:
16438 (log1): Remove error argument, add error analysis.
16439 (my_log2): Remove function.
16440 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16441 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16442 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16443 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16444 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16445 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16446 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16447 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16448 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16449 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16450 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16451 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16452 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16453 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16454
16455 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16456
16457 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16458 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16459
16460 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16461
16462 [BZ #22433]
16463 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16464 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16465 and PTRACE_SETHBPREGS.
16466
16467 2018-02-10 Zack Weinberg <zackw@panix.com>
16468
16469 [BZ #22830]
16470 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16471 correctly.
16472 * malloc/tst-malloc-stats-cancellation.c: New test case.
16473 * malloc/Makefile: Add new test case.
16474
16475 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16476
16477 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16478
16479 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16480
16481 * math/Makefile (libm-narrow-fns): Add add.
16482 (libm-test-funcs-narrow): Likewise.
16483 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16484 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16485 * math/gen-auto-libm-tests.c (test_functions): Add add.
16486 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16487 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16488 (NARROW_ADD_TRIVIAL): Likewise.
16489 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16490 macro.
16491 (__daddl): Likewise.
16492 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16493 dadd.
16494 (CFLAGS-nldbl-dadd.c): New variable.
16495 (CFLAGS-nldbl-fadd.c): Likewise.
16496 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16497 __nldbl_daddl.
16498 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16499 prototype.
16500 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16501 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16502 * math/auto-libm-test-in: Add tests of add.
16503 * math/auto-libm-test-out-narrow-add: New generated file.
16504 * math/libm-test-narrow-add.inc: New file.
16505 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16506 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16507 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16508 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16509 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16510 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16511 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16513 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16514 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16515 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16516 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16517 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16518 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16519 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16520 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16521 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16522 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16524 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16525 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16526 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16527 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16528 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16529 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16530 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16531 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16532 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16533 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16534 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16535 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16536 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16541 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16542 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16543 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16544 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16545 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16546 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16547 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16548 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16549 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16550 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16551
16552 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16553 (f128-pairs): New variable.
16554 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16555 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16556 to CFLAGS.
16557 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16558 Also make tests add $(f128-loader-link) to gnulib-tests.
16559
16560 2018-02-09 DJ Delorie <dj@redhat.com>
16561
16562 [BZ #22827]
16563 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16564 64-bit ELF type for 64-bit ELF objects.
16565
16566 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16567
16568 * math/libm-test-driver.c (snan_tests_arg): New variable.
16569 * math/libm-test-support.h (snan_tests_arg): New declaration.
16570 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16571
16572 * math/Makefile (test-type-pairs): New variable.
16573 (test-type-pairs-f64xf128-yes): Likewise.
16574 (tests): Add test-narrow-macros.
16575 (libm-test-funcs-narrow): New variable.
16576 (libm-test-c-narrow): Likewise.
16577 (generated): Add $(libm-test-c-narrow).
16578 (libm-tests-base-narrow): New variable.
16579 (libm-tests-narrow): Likewise.
16580 (libm-tests): Add $(libm-tests-narrow).
16581 (libm-tests-for-type): Handle $(libm-tests-narrow).
16582 (libm-test-c-narrow-obj): New variable.
16583 ($(libm-test-c-narrow-obj)): New rule.
16584 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16585 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16586 $(o-iterator) to set dependencies and CFLAGS.
16587 * math/gen-auto-libm-tests.c: Document use for narrowing
16588 functions.
16589 (output_for_one_input_case): Take argument NARROW.
16590 (generate_output): Likewise. Update call to
16591 output_for_one_input_case.
16592 (main): Take --narrow option. Update call to generate_output.
16593 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16594 (apply_lit): Update call to _apply_lit.
16595 (apply_arglit): New function.
16596 (parse_args): Handle "a" arguments.
16597 (parse_auto_input): Handle format names using ":".
16598 * math/README.libm-test: Document "a" parameter type.
16599 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16600 (ARG_TYPE_TRUE_MIN): Likewise.
16601 (ARG_TYPE_MAX): Likwise.
16602 (ARG_MIN_EXP): Likewise.
16603 (ARG_MAX_EXP): Likewise.
16604 (ARG_MANT_DIG): Likewise.
16605 (TEST_COND_arg_ibm128): Likewise.
16606 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16607 (TEST_COND_arg_fmt): New macro.
16608 (init_max_error): Update prototype.
16609 * math/libm-test-support.c (test_ibm128): New variable.
16610 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16611 instead of using [TEST_COND_ibm128] conditional.
16612 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16613 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16614 [TEST_NARROW] (TEST_MSG): New definition.
16615 (arg_plus_zero): New macro.
16616 (arg_minus_zero): Likewise.
16617 (arg_plus_infty): Likewise.
16618 (arg_minus_infty): Likewise.
16619 (arg_qnan_value_pl): Likewise.
16620 (arg_qnan_value): Likewise.
16621 (arg_snan_value_pl): Likewise.
16622 (arg_snan_value): Likewise.
16623 (arg_max_value): Likewise.
16624 (arg_min_value): Likewise.
16625 (arg_min_subnorm_value): Likewise.
16626 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16627 (RUN_TEST_LOOP_aa_f): New macro.
16628 (TEST_SUFF): New macro.
16629 (TEST_SUFF_STR): Likewise.
16630 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16631 (TEST_COND_any_ibm128): New macro.
16632 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16633 this_func. Update call to init_max_error.
16634 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16635 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16636 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16637 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16638 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16639 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16640 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16641 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16642 * math/test-math-vector.h (TEST_NARROW): Likewise.
16643 * math/test-arg-double.h: New file.
16644 * math/test-arg-float128.h: Likewise.
16645 * math/test-arg-float32x.h: Likewise.
16646 * math/test-arg-float64.h: Likewise.
16647 * math/test-arg-float64x.h: Likewise.
16648 * math/test-arg-ldouble.h: Likewise.
16649 * math/test-math-narrow.h: Likewise.
16650 * math/test-narrow-macros.c: Likewise.
16651 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16652 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16653 test-narrow-macros-ldbl-64.
16654 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16655
16656 * math/bits/mathcalls-narrow.h: New file.
16657 * include/bits/mathcalls-narrow.h: Likewise.
16658 * math/math-narrow.h: Likewise.
16659 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16660 (__MATHCALL_NARROW_ARGS_2): Likewise.
16661 (__MATHCALL_NARROW_ARGS_3): Likewise.
16662 (__MATHCALL_NARROW_NORMAL): Likewise.
16663 (__MATHCALL_NARROW_REDIR): Likewise.
16664 (__MATHCALL_NARROW): Likewise.
16665 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16666 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16667 defined.
16668 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16669 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16670 (libm-narrow-fns): New variable.
16671 (libm-narrow-types-basic): Likewise.
16672 (libm-narrow-types-ldouble-yes): Likewise.
16673 (libm-narrow-types-float128-yes): Likewise.
16674 (libm-narrow-types-float128-alias-yes): Likewise.
16675 (libm-narrow-types): Likewise.
16676 (libm-routines): Add narrowing functions.
16677 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16678 (libc_feholdexcept_setroundf128): New macro.
16679 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16680 * sysdeps/ieee754/float128/float128_private.h: Include
16681 <math/math-narrow.h>.
16682 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16683 Undefine and redefine.
16684 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16685 (libm_alias_float_ldouble): Undefine and redefine.
16686 (libm_alias_double_ldouble): Likewise.
16687
16688 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16689
16690 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16691
16692 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16693 FPCR/FPSR.
16694
16695 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16696
16697 * manual/creature.texi: Convert references to gcc.info to gcc.
16698 * manual/stdio.texi: Likewise.
16699 * manual/string.texi: Likewise.
16700
16701 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16702
16703 [BZ #17979]
16704 * posix/bits/types.h (__int_least8_t): New typedef.
16705 (__uint_least8_t): Likewise.
16706 (__int_least16_t): Likewise.
16707 (__uint_least16_t): Likewise.
16708 (__int_least32_t): Likewise.
16709 (__uint_least32_t): Likewise.
16710 (__int_least64_t): Likewise.
16711 (__uint_least64_t): Likewise.
16712 * sysdeps/generic/stdint.h (int_least8_t): Define using
16713 __int_least8_t.
16714 (int_least16_t): Define using __int_least16_t.
16715 (int_least32_t): Define using __int_least32_t.
16716 (int_least64_t): Define using __int_least64_t.
16717 (uint_least8_t): Define using __uint_least8_t.
16718 (uint_least16_t): Define using __uint_least16_t.
16719 (uint_least32_t): Define using __uint_least32_t.
16720 (uint_least64_t): Define using __uint_least64_t.
16721 * wcsmbs/uchar.h: Include <bits/types.h>.
16722 (char16_t): Define using __uint_least16_t conditional only on
16723 [!__USE_ISOCXX11].
16724 (char32_t): Define using __uint_least32_t conditional only on
16725 [!__USE_ISOCXX11].
16726 * wcsmbs/test-char-types.c: New file.
16727 * wcsmbs/Makefile (tests): Add test-char-types.
16728
16729 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16730 version to 4.0.1.
16731
16732 2018-02-07 Zack Weinberg <zackw@panix.com>
16733
16734 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16735 Delete all contents except for definitions of _G_HAVE_MMAP and
16736 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16737 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16738 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16739 change as above.
16740
16741 * libio/libio.h: Don't include bits/_G_config.h here.
16742 Include stddef.h with __need_wchar_t defined. Include
16743 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16744 Define _IO_iconv_t here, directly.
16745 Don't define _IO_HAVE_ST_BLKSIZE.
16746 * libio/libioP.h: Include _G_config.h here. Move include of
16747 shlib-compat.h up with rest of includes. Simplify conditionals
16748 controlling definition of _IO_JUMPS_OFFSET.
16749
16750 * csu/init.c: Remove always-true #if around entire file.
16751 Don't include stdio.h. Set _IO_stdin_used to hardwired
16752 constant 0x20001, and update commentary.
16753 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16754 Replace all uses of _G_va_list with __gnuc_va_list.
16755 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16756 instead of #if _IO_HAVE_ST_BLKSIZE.
16757 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16758 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16759 not #ifdef.
16760
16761 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16762 multiple-include guard to match.
16763 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16764 into this file.
16765 Remove preprocessor conditionals that are always true and/or
16766 redundant to other preprocessor conditionals in the same nest.
16767 Include shlib-compat.h unconditionally.
16768 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16769 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16770 defined after including stdio.h.
16771 Use __BEGIN_DECLS/__END_DECLS.
16772
16773 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16774 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16775 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16776
16777 2018-02-07 Zack Weinberg <zackw@panix.com>
16778
16779 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16780 New single-type headers split from _G_config.h.
16781 * libio/bits/types/cookie_io_functions_t.h
16782 * libio/bits/types/struct_FILE.h
16783 New single-type headers split from libio.h.
16784
16785 * libio/Makefile: Install the above new headers. Don't install
16786 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16787 bits/libio-ldbl.h.
16788 * libio/_G_config.h, libio/libio.h: Delete file.
16789
16790 * libio/bits/libio.h: Remove improper-inclusion guard.
16791 Include stdio.h and don't repeat anything that it does.
16792 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16793 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16794 __io_read_fn as cookie_read_function_t,
16795 __io_write_fn as cookie_write_function_t,
16796 __io_seek_fn as cookie_seek_function_t,
16797 __io_close_fn as cookie_close_function_t,
16798 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16799 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16800 here, in the "compatibility defines" section. Remove an #if 0
16801 block. Use the "body" macros from bits/types/struct_FILE.h to
16802 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16803 and _IO_ferror_unlocked.
16804 Move prototypes of __uflow and __overflow...
16805
16806 * libio/stdio.h: ...here. Don't include bits/libio.h.
16807 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16808 directly from stdarg.h. Include bits/types/__fpos_t.h,
16809 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16810 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16811 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16812 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16813 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16814 __ssize_t, not _IO_ssize_t. Unconditionally define
16815 BUFSIZ as 8192 and EOF as (-1).
16816
16817 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16818 macros from bits/types/struct_FILE.h instead of _IO_* macros
16819 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16820 instead of _IO_ssize_t.
16821 * libio/bits/stdio2.h: Similarly.
16822
16823 * libio/iolibio.h: Add multiple-include guard.
16824 Include bits/libio.h after stdio.h.
16825 * libio/libioP.h: Add multiple-include guard.
16826 Include stdio.h and bits/libio.h before iolibio.h.
16827
16828 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16829 * include/bits/types/cookie_io_functions_t.h
16830 * include/bits/types/struct_FILE.h: New wrappers.
16831
16832 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16833 Get definitions of _G_fpos_t and _G_fpos64_t from
16834 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16835 respectively. Remove improper-inclusion guards.
16836
16837 * conform/data/stdio.h-data: Update expectations of va_list.
16838 * scripts/check-installed-headers.sh: Remove special case for
16839 libio.h and _G_config.h.
16840
16841 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16842
16843 [BZ #15105]
16844 [BZ #19463]
16845 * include/sys/sysmacros.h [!_ISOMAC]
16846 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16847 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16848 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16849 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16850 libc_hidden_proto.
16851 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16852 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16853 Likewise.
16854 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16855 Undefine and redefine to add use __gnu_dev_ prefix.
16856 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16857 Likewise.
16858 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16859 and define as hidden inline function.
16860 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16861 Likewise.
16862 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16863 Likewise.
16864 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16865 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16866 (gnu_dev_minor): Likewise.
16867 (gnu_dev_makedev): Likewise.
16868 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16869 makedev.
16870 * posix/wordexp.c (exec_comm_child): Likewise.
16871 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16872 instead of minor and __gnu_dev_major instead of major.
16873 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16874 __gnu_dev_major instead of major.
16875 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16876 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16877 instead of gnu_dev_minor.
16878 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16879 (SLAVE_P): Likewise.
16880 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16881 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16882 instead of major.
16883
16884 [BZ #21313]
16885 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16886 in another place.
16887 * locale/weightwc.h (findidx): Likewise.
16888
16889 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16890
16891 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16892 (slowlog_inexact): Likewise
16893 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16894 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16895
16896 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16897
16898 [BZ #22797]
16899 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16900 missing second underscore to parameter name.
16901
16902 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16903
16904 [BZ #14508]
16905 [BZ #15512]
16906 [BZ #17082]
16907 [BZ #20530]
16908 * bits/byteswap.h: Update file comment. Do not include
16909 <bits/byteswap-16.h>.
16910 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16911 constant.
16912 (__bswap_16): Define as inline function.
16913 (__bswap_constant_32): Reformat definition.
16914 (__bswap_32): Always define as inline function, not macro, using
16915 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16916 otherwise __bswap_constant_32.
16917 (__bswap_constant_64): Reformat definition. Do not use
16918 __extension__ here.
16919 (__bswap_64): Always define as inline function, not macro. Use
16920 __extension__ on function definition. Use __builtin_bswap64 if
16921 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16922 * string/test-endian-file-scope.c: New file.
16923 * string/test-endian-sign-conversion.c: Likewise.
16924 * string/Makefile (headers): Remove bits/byteswap-16.h.
16925 (tests): Add test-endian-file-scope and
16926 test-endian-sign-conversion.
16927 (CFLAGS-test-endian-sign-conversion.c): New variable.
16928 * bits/byteswap-16.h: Remove file.
16929 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16930 * sysdeps/ia64/bits/byteswap.h: Likewise.
16931 * sysdeps/m68k/bits/byteswap.h: Likewise.
16932 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16933 * sysdeps/s390/bits/byteswap.h: Likewise.
16934 * sysdeps/tile/bits/byteswap.h: Likewise.
16935 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16936 * sysdeps/x86/bits/byteswap.h: Likewise.
16937
16938 [BZ #17721]
16939 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16940 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16941 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16942 199901L] (__restrict): Define to restrict.
16943
16944 [BZ #19667]
16945 * string/testcopy.c: Include <support/support.h>. Do not include
16946 <malloc.h>. Use <support/test-driver.c>.
16947 (main): Rename to do_test. Make static. Use xmalloc instead of
16948 malloc.
16949
16950 [BZ #13575]
16951 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16952 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16953 (SSIZE_MAX): Define to INT_MAX.
16954 * posix/test-ssize-max.c: New file.
16955 * posix/Makefile (tests): Add test-ssize-max.
16956
16957 [BZ #19668]
16958 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16959 <support/support.h>. Do not include <malloc.h>.
16960 (query_auxv): Use xmalloc instead of malloc.
16961
16962 [BZ #14553]
16963 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16964 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16965 instead of loff_t.
16966
16967 2018-02-06 Florian Weimer <fweimer@redhat.com>
16968
16969 [BZ #18023]
16970 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16971 Use scratch_buffer instead of extend_alloca.
16972
16973 2018-02-06 Zack Weinberg <zackw@panix.com>
16974
16975 * libio/stdio.h: Don't define getc or putc as macros.
16976 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16977 not _IO_getc and _IO_putc.
16978
16979 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16980 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16981
16982 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16983
16984 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16985 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16986
16987 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16988
16989 [BZ #14890]
16990 * elf/elf.h (NT_PRFPREG): New macro.
16991 (NT_S390_VXRS_LOW): Likewise.
16992 (NT_S390_VXRS_HIGH): Likewise.
16993 (NT_S390_GS_CB): Likewise.
16994 (NT_S390_GS_BC): Likewise.
16995 (NT_S390_RI_CB): Likewise.
16996
16997 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16998 (MAP_SYNC): New macro.
16999 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17000 Likewise.
17001 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17002 (MAP_SYNC): Likewise.
17003 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17004 (MAP_SYNC): Likewise.
17005 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17006 (MAP_SYNC): Likewise.
17007 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17008 (MAP_SYNC): Likewise.
17009 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17010 (MAP_SYNC): Likewise.
17011 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17012 (MAP_SYNC): Likewise.
17013 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17014 Likewise.
17015 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17016 Likewise.
17017
17018 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17019 (MAP_SHARED_VALIDATE): New macro.
17020 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17021 (MAP_SHARED_VALIDATE): Likewise.
17022
17023 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17024
17025 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17026 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17027 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17028
17029 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17030
17031 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17032 (DT_NUM): Updated to 35.
17033
17034 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17035
17036 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17037 __builtin_expect with __glibc_likely and __glibc_unlikely.
17038 (elf_machine_rela): Likewise.
17039 (elf_machine_lazy_rel): Likewise.
17040
17041 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17044 __builtin_expect with __glibc_likely and __glibc_unlikely.
17045 (elf_machine_lazy_rel): Likewise.
17046
17047 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17048
17049 [BZ #22638]
17050 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17051 SHARED.
17052 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17053
17054 2018-02-05 Andreas Schwab <schwab@suse.de>
17055
17056 [BZ #22761]
17057 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17058 string.
17059
17060 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17061
17062 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17063 not check against PTHREAD_STACK_MIN.
17064
17065 2018-02-02 Sean McKean <smckean83@gmail.com>
17066
17067 [BZ #22735]
17068 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17069
17070 2018-02-02 Florian Weimer <fweimer@redhat.com>
17071
17072 [BZ #22753]
17073 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17074 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17075 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17076 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17077 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17078 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17079 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17080 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17081 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17082 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17083 * misc/tst-preadvwritev2.c (do_test): Call it.
17084 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17085
17086 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17087
17088 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17089
17090 * benchtests/bench-memcmp.c: Print json instead of plain text.
17091
17092 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17093 every test run.
17094
17095 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17096
17097 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17098 version to 4.15.
17099 (s390_sthyi): New syscall.
17100
17101 * sysdeps/generic/ldbl-classify-compat.h: New file.
17102 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17103 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17104 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17105 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17106 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17107 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17108 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17109 <ldbl-classify-compat.h>.
17110 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17111 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17112 <ldbl-classify-compat.h>.
17113 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17114 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17115 <ldbl-classify-compat.h>.
17116 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17117 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17118 <ldbl-classify-compat.h>.
17119 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17121 <ldbl-classify-compat.h>.
17122 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17124 <ldbl-classify-compat.h>.
17125 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17126 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17127 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17128 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17129 * sysdeps/microblaze/math_private.h: Likewise.
17130 * sysdeps/nios2/math_private.h: Likewise.
17131 * sysdeps/sh/math_private.h: Likewise.
17132
17133 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17134 * sysdeps/m68k/coldfire/math_private.h: ... here.
17135 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17136 * sysdeps/tile/math_private.h: Likewise.
17137 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17138 Remove macro.
17139 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17140 Likewise.
17141
17142 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17143 Remove macro.
17144 (libc_fetestexcept): Likewise.
17145 (libc_feupdateenv_test): Likewise.
17146 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17147 (libc_fetestexcept): Likewise.
17148 (libc_feupdateenv_test): Likewise.
17149 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17150 (libc_fetestexcept): Likewise.
17151 (libc_feupdateenv_test): Likewise.
17152 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17153 (libc_fetestexcept): Likewise.
17154 (libc_feupdateenv_test): Likewise.
17155
17156 * sysdeps/generic/math_private.h
17157 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17158 New inline function.
17159 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17160 Likewise.
17161
17162 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17163 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17164 * sysdeps/generic/math_private.h
17165 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17166 inline function.
17167 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17168 Likewise.
17169 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17170 Likewise.
17171 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17172 Likewise.
17173 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17174 Likewise.
17175 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17176 Likewise.
17177 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17178 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17179 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17180 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17181 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17182 (__fegetenv): Likewise.
17183 (fesetenv): Likewise.
17184 (__fesetenv): Likewise.
17185 (feupdateenv): Likewise.
17186 (__feupdateenv): Likewise.
17187 (fegetround): Likewise.
17188 (__fegetround): Likewise.
17189 (fesetround): Likewise.
17190 (__fesetround): Likewise.
17191
17192 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17193 (feraiseexcept): New macro.
17194 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17195 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17196 Remove macro.
17197 (__feraiseexcept): Likewise.
17198 (feclearexcept): Likewise.
17199 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17200 (__feraiseexcept): Likewise.
17201 (feclearexcept): Likewise.
17202 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17203 (__feraiseexcept): Likewise.
17204 (feclearexcept): Likewise.
17205 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17206 (__feraiseexcept): Likewise.
17207 (feclearexcept): Likewise.
17208 (fetestexcept): Likewise.
17209
17210 * sysdeps/m68k/coldfire/math-tests.h: New file.
17211
17212 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17213 * sysdeps/m68k/bits/fenv.h: ... here.
17214 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17215 not define.
17216 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17217 Likewise.
17218 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17219 Likewise.
17220 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17221 Likewise.
17222 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17223 Likewise.
17224 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17225 Define to 0.
17226 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17227 (__FE_UNDEFINED): New enum constant.
17228 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17229 Do not define.
17230 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17231 Likewise.
17232 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17233 Likewise.
17234 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17235 to match generic bits/fenv.h.
17236 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17237 Do not define.
17238
17239 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17240 packed on bits.
17241 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17242 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17243 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17244 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17245
17246 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17247 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17248 Joseph Myers <joseph@codesourcery.com>
17249
17250 [BZ #21314]
17251 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17252 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17253 computation using c.
17254 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17255 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17256 computation using c.
17257
17258 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17259
17260 * version.h (RELEASE): Set to "development".
17261 (VERSION): Set to "2.27.9000".
17262 * NEWS (2.28): New section.
17263
17264 * version.h (RELEASE): Set to "stable".
17265 (VERSION): Set to "2.27".
17266 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17267
17268 * NEWS: Add the list of bugs fixed in 2.27.
17269
17270 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17271
17272 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17273 against PTHREAD_STACK_MIN.
17274
17275 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17276
17277 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17278 New entries.
17279 (Rafal Luzynski, Andreas Schwab): Update.
17280
17281 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17282
17283 [BZ #10871]
17284 * NEWS: List the languages which actually use the alternative
17285 months feature in this release. Also explain that "alt_mon" and
17286 "ab_alt_mon" are optional.
17287
17288 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17289
17290 [BZ #22765]
17291 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17292
17293 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17294
17295 * manual/install.texi (Tools for Compilation): Update the newest
17296 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17297 * INSTALL: Regenerated.
17298
17299 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17300
17301 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17302 instead of __builtin_expect.
17303
17304 2018-01-30 Florian Weimer <fweimer@redhat.com>
17305
17306 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17307 data.
17308 * nss/tst-nss-getpwent.c (do_test): Likewise.
17309
17310 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17311
17312 [BZ #10871]
17313 * localedata/locales/hr_HR (mon): Rename to...
17314 (alt_mon): This.
17315 (mon): Import from CLDR (genitive case).
17316 (d_t_fmt): Update the comment.
17317
17318 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17319
17320 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17321 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17322 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17323
17324 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17325
17326 * mach/Versions: Fix version when __mach_host_self_ was added.
17327 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17328 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17329 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17330 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17331 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17332 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17333 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17334 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17335 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17336 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17337 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17338 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17339 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17340 || to respect codestyle.
17341 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17342 (do_test_bz20181): Rename accordingly.
17343 * malloc/malloc.c: Include <assert.h>.
17344 (assert): Do not define.
17345 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17346 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17347 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17348 * sysdeps/mach/hurd/hp-timing.h: New file.
17349 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17350
17351 2018-01-29 Darius Rad <darius@bluespec.com>
17352
17353 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17354
17355 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17356
17357 * sysdeps/init_array/crti.S (.section .init_array): Add
17358 PREINIT_FUNCTION when defined.
17359 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17360 * config.h.in: Regenerate.
17361 * manual/platform.texi: Add RISC-V documenation for
17362 __riscv_flush_icache.
17363 * sysdeps/riscv/__longjmp.S: New file.
17364 * sysdeps/riscv/backtrace.c: Likewise.
17365 * sysdeps/riscv/bits/endian.h: Likewise.
17366 * sysdeps/riscv/bits/setjmp.h: Likewise.
17367 * sysdeps/riscv/bits/wordsize.h: Likewise.
17368 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17369 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17370 * sysdeps/riscv/dl-trampoline.S: Likewise.
17371 * sysdeps/riscv/gccframe.h: Likewise.
17372 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17373 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17374 * sysdeps/riscv/machine-gmon.h: Likewise.
17375 * sysdeps/riscv/memusage.h: Likewise.
17376 * sysdeps/riscv/setjmp.S: Likewise.
17377 * sysdeps/riscv/sys/asm.h: Likewise.
17378 * sysdeps/riscv/tls-macros.h: Likewise.
17379 * sysdeps/riscv/dl-tls.h: New file.
17380 * sysdeps/riscv/libc-tls.c: Likewise.
17381 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17382 * sysdeps/riscv/nptl/tls.h: Likewise.
17383 * sysdeps/riscv/stackinfo.h: Likewise.
17384 * sysdeps/riscv/bits/fenv.h: New file.
17385 * sysdeps/riscv/e_sqrtl.c: Likewise.
17386 * sysdeps/riscv/fpu_control.h: Likewise.
17387 * sysdeps/riscv/math-tests.h: Likewise.
17388 * sysdeps/riscv/nofpu/Implies: Likewise.
17389 * sysdeps/riscv/sfp-machine.h: Likewise.
17390 * sysdeps/riscv/tininess.h: Likewise.
17391 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17392 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17393 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17394 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17395 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17396 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17397 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17398 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17399 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17400 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17401 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17402 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17403 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17404 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17405 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17406 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17407 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17408 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17409 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17410 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17411 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17412 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17413 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17414 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17415 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17416 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17417 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17418 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17419 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17420 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17421 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17422 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17423 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17424 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17425 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17426 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17427 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17428 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17429 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17430 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17431 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17432 * sysdeps/riscv/rvf/math_private.h: Likewise.
17433 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17434 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17435 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17436 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17437 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17438 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17439 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17440 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17441 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17442 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17443 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17444 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17445 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17446 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17447 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17448 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17449 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17450 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17451 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17452 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17453 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17454 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17455 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17456 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17457 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17458 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17459 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17460 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17461 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17462 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17463 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17464 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17465 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17466 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17467 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17468 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17469 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17470 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17471 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17472 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17473 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17474 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17475 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17476 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17477 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17478 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17479 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17480 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17481 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17482 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17483 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17484 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17485 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17486 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17487 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17488 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17489 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17490 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17491 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17492 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17493 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17494 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17495 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17496 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17497 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17498 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17499 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17500 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17501 * sysdeps/riscv/Implies: New file.
17502 * sysdeps/riscv/Makefile: Likewise.
17503 * sysdeps/riscv/configure: Likewise.
17504 * sysdeps/riscv/configure.ac: Likewise.
17505 * sysdeps/riscv/nptl/Makefile: Likewise.
17506 * sysdeps/riscv/preconfigure: Likewise.
17507 * sysdeps/riscv/rv64/Implies-after: Likewise.
17508 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17509 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17510 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17511 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17512 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17513 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17514 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17515 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17516 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17517 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17518 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17519 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17520 (Config): Likewise.
17521
17522 2018-01-29 Florian Weimer <fweimer@redhat.com>
17523
17524 [BZ #22701]
17525 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17526 libnsl_hidden_proto.
17527 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17528 libnsl_hidden_proto.
17529 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17530 * nis/Makefile (libnsl-routines): Add nss-default only for
17531 build-obsolete-nsl.
17532 * nis/nis_defaults.c (__nis_default_ttl): Add
17533 libnsl_hidden_nolink_def.
17534 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17535 declaration.
17536 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17537 * nis/ypclnt.c (yp_maplist): Likewise.
17538
17539 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17540
17541 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17542 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17543
17544 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17545
17546 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17547 clean -dxfq for git updates when replacing sources.
17548
17549 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17550 --disable-libcilkrts unconditionally, not just for the final GCC
17551 build for Hurd.
17552
17553 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17554 version to 4.15.
17555
17556 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17557
17558 [BZ #10871]
17559 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17560 case).
17561
17562 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17563
17564 [BZ #10871]
17565 * localedata/locales/be_BY (mon): Rename to...
17566 (alt_mon): This, then synchronize with CLDR (nominative case).
17567 (abmon): Rename to...
17568 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17569 (mon): Import from CLDR (genitive case).
17570 (abmon): Likewise.
17571 * localedata/locales/be_BY@latin (mon): Rename to...
17572 (alt_mon): This.
17573 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17574
17575 * localedata/locales/be_BY@latin (lang_name): Reworded to
17576 "biełaruskaja mova".
17577
17578 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17579
17580 [BZ #10871]
17581 * localedata/locales/el_CY (mon): Renamed to...
17582 (alt_mon): This.
17583 (mon): Import from CLDR (genitive case).
17584 * localedata/locales/el_GR: Likewise.
17585
17586 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17587
17588 [BZ #10871]
17589 * localedata/locales/ru_RU (mon): Rename to...
17590 (alt_mon): This.
17591 (abmon): Rename to...
17592 (ab_alt_mon): This.
17593 (mon): Import from CLDR (genitive case).
17594 (abmon): Copy from the old content except the 5th month which is
17595 now in the genitive case, even when abbreviated.
17596 * localedata/locales/ru_UA: Likewise.
17597 * time/tst-strptime.c (day_tests): Add an actual example of
17598 a difference between %b and %Ob in Russian.
17599
17600 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17601
17602 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17603 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17604 a `c' variable.
17605 * resolv/res-close.c: Include <stdlib.h>.
17606 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17607 <sys/wait.h>, <time.h>, <sys/uio.h>.
17608 (NOT_CANCEL_H): Add inclusion guard.
17609 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17610 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17611 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17612 return 0.
17613 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17614 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17615 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17616 instead of void *.
17617 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17618 timer_ptr2id to cast struct timer_node * to void *.
17619 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17620 --disable-libcilkrts to gcc configure.
17621 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17622 and make them the default for now.
17623 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17624 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17625 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17626 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17627 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17628 MACH_IPC_COMPAT.
17629 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17630 __task_terminate would ever return successfully.
17631 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17632 to global scope.
17633 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17634 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17635 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17636 critical section to make code simpler and avoid warning.
17637 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17638 critical section to make code simpler and avoid warning.
17639 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17640 const char * instead of char *.
17641 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17642 __hurd_file_name_split, hurd_file_name_split,
17643 __hurd_directory_name_split, hurd_directory_name_split,
17644 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17645 hurd_file_name_path_lookup): Make lookup function parameter take a
17646 const char *name instead of char *name.
17647 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17648 __hurd_directory_name_split): Likewise.
17649 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17650 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17651 * sysdeps/mach/hurd/check_native.c: New file.
17652 * sysdeps/mach/hurd/check_pf.c: New file.
17653 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17654 (__freeifaddrs): Define macro to freeifaddrs.
17655 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17656 * sysdeps/mach/libmachuser.abilist: New file.
17657 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17658 (do_test_bz20181): Rename accordingly.
17659 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17660 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17661 <sys/mount.h>.
17662 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17663 version only if __USE_EXTERN_INLINES is defined.
17664 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17665 __hurd_sockfail): Likewise.
17666 (_hurd_fd_get): Always declare functions, and provide inline versions
17667 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17668 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17669 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17670 _hurd_port_set): Always declare functions, and provide inline versions
17671 only if __USE_EXTERN_INLINES and _LIBC are defined and
17672 IS_IN(libc).
17673 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17674 _hurd_critical_section_unlock): Likewise.
17675 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17676 * __hurd_threadvar_location): Likewise.
17677 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17678 _hurd_userlink_clear): Likewise.
17679 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17680 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17681 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17682 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17683 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17684 __spin_lock_locked): Likewise.
17685 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17686 __spin_lock_locked): Likewise.
17687 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17688 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17689 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17690 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17691 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17692 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17693 _POSIX_NO_TRUNC): Define to 0.
17694 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17695 check size against PTHREAD_STACK_MIN.
17696 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17697 IS_IN(libpthread)]: Include <sigsetops.h>.
17698 * mach/Makefile (user-interfaces): Add mach/gnumach.
17699 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17700 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17701 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17702 instead of invalid -1.
17703 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17704 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17705 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17706 <net/ppp_defs.h>.
17707
17708 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17709
17710 * hurd/fcntl-internal.h: New file.
17711
17712 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17713
17714 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17715
17716 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17717
17718 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17719
17720 [BZ #22701]
17721 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17722 Build only shared objects.
17723
17724 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17725
17726 * README: Update for hppa.
17727
17728 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17729
17730 * sysdeps/sparc/fpu/libm-test-ulps: Update
17731 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17732
17733 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17734
17735 Revert:
17736
17737 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17738
17739 [BZ #22563]
17740 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17741 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17742 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17743 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17744 to feature_1.
17745
17746 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17747
17748 [BZ #22563]
17749 * bits/types/__cancel_jmp_buf_tag.h: New file.
17750 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17751 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17752 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17753 * nptl/Makefile (headers): Add
17754 bits/types/__cancel_jmp_buf_tag.h.
17755 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17756 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17757 * sysdeps/nptl/pthread.h: Include
17758 <bits/types/__cancel_jmp_buf_tag.h>.
17759 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17760 __cancel_jmp_buf.
17761 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17762
17763 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17764
17765 [BZ #10871]
17766 * localedata/locales/uk_UA (mon): Renamed to...
17767 (alt_mon): This.
17768 (alt_digits): "0" removed and then renamed to...
17769 (mon): This.
17770 (date_fmt): Definition changed not to use the alternative
17771 digits hack.
17772
17773 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17774
17775 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17776 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17777 * elf/elf.h (EF_RISCV_RVC): New define.
17778 (EF_RISCV_FLOAT_ABI): Likewise.
17779 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17780 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17781 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17782 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17783 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17784 define.
17785 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17786
17787 2018-01-25 Andreas Schwab <schwab@suse.de>
17788
17789 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17790 single quotes.
17791 * sysdeps/gnu/configure: Regenerate.
17792 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17793 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17795 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17796 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17797 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17798 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17799 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17800
17801 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17802
17803 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17804 URL, and run autoconf, make it the default for now.
17805
17806 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17807
17808 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17809 soft-float ColdFire configuration.
17810
17811 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17812 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17813 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17814
17815 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17816 MicroBlaze file.
17817
17818 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17819 ....
17820 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17821 ... here.
17822 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17823 New file.
17824
17825 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17826 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17827 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17828 file.
17829
17830 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17831
17832 [BZ #22742]
17833 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17834 Rename to __reserved and add comment.
17835 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17836 Rename to __reserved.
17837
17838 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17839
17840 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17841 i686-gnu configurations.
17842 (Context.run_builds): Include mig, gnumach and hurd in components
17843 considered.
17844 (Context.checkout): Add mig, gnumach and hurd to components.
17845 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17846 hurd.
17847 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17848 (Config.build): Install gnumach headers, build mig and install
17849 hurd headers for 'gnu' OS.
17850 (Config.install_gnumach_headers): New function.
17851 (Config.install_hurd_headers): Likewise.
17852 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17853 when building for 'gnu' OS.
17854
17855 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17856
17857 * manual/tunables.texi (Hardware Capability Tunables): Fix
17858 spelling.
17859
17860 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17861
17862 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17863 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17864 (ALTMON_11, ALTMON_12): Improve documentation.
17865 * manual/time.texi (strftime): Likewise.
17866
17867 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17868
17869 [BZ #10871]
17870 * localedata/locales/pl_PL: Alternative month names added,
17871 primary month names are genitive now.
17872 * time/tst-strptime.c (day_tests): Actually use a genitive case
17873 of a month name in Polish language.
17874
17875 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17876
17877 [BZ #10871]
17878 * manual/locale.texi: Document ALTMON_1..12 constants for
17879 nl_langinfo. Specify when to use ALTMON instead of MON.
17880 * manual/time.texi (strftime, strptime): Document GNU extension
17881 permitting O modifier with %B and %b. Specify when to use
17882 %OB instead of %B.
17883
17884 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17885
17886 [BZ #10871]
17887 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17888 names, define them as the same as abbreviated month names explicitly.
17889 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17890 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17891 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17892 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17893 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17894 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17895 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17896 _NL_WABALTMON_12): New enum constants.
17897 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17898 wab_alt_mon, and ab_alt_mon_defined members.
17899 (time_output): Output ab_alt_mon and wab_alt_mon members.
17900 (time_read): Read them, initialize them as copies of abmon and wabmon
17901 respectively if they are missing, initialize ab_alt_mon_defined.
17902 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17903 * locale/programs/locfile-kw.h: Regenerate.
17904 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17905 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17906 and ru_RU.UTF-8.
17907 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17908 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17909 (__strftime_internal): Handle %Ob and %Oh formats.
17910 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17911 (__strptime_internal): Handle %Ob and %Oh formats.
17912 * time/tst-strptime.c (day_tests): Add more tests to parse different
17913 forms of month names including the new %Ob format specifier.
17914
17915 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17916
17917 [BZ #10871]
17918 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17919 define them as the same as primary full month names explicitly.
17920 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17921 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17922 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17923 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17924 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17925 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17926 _NL_WALTMON_12): New enum constants.
17927 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17928 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17929 macros.
17930 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17931 walt_mon, and alt_mon_defined members.
17932 (time_output): Output alt_mon and walt_mon members.
17933 (time_read): Read them, initialize them as copies of mon and wmon
17934 respectively if they are missing, initialize alt_mon_defined.
17935 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17936 * locale/programs/locfile-kw.h: Regenerate.
17937 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17938 * localedata/tst-langinfo.c (map): Add tests for the new constants
17939 ALTMON_1 .. ALTMON_12.
17940 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17941 and pl_PL.UTF-8.
17942 * time/strftime_l.c (f_altmonth): New macro.
17943 (__strftime_internal): Handle %OB format.
17944 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17945 (__strptime_internal): Handle %OB format.
17946 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17947 of month names including the new %OB format specifier.
17948
17949 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17950
17951 [BZ #22685]
17952 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17953 from ABORT_TRANSACTION.
17954 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17955 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17956 ABORT_TRANSACTION_IMPL): Likewise.
17957 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17958 Linux code, but remove the code that aborts transactions.
17959
17960 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17961
17962 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17963
17964 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17965
17966 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17967 in date: "2004-14-09" should be "2004-09-14".
17968 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17969 "2003-15-09" should be "2003-09-15".
17970
17971 2018-01-18 Arjun Shankar <arjun@redhat.com>
17972
17973 [BZ #22343]
17974 [BZ #22774]
17975 CVE-2018-6485
17976 CVE-2018-6551
17977 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17978 after padding.
17979 (_int_memalign): check for integer overflow before calling
17980 _int_malloc.
17981 * malloc/tst-malloc-too-large.c: New test.
17982 * malloc/Makefile: Add tst-malloc-too-large.
17983
17984 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17985
17986 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17987 in date: "2017-24-07" should be "2017-07-24".
17988 * localedata/locales/mai_IN: Likewise.
17989 * localedata/locales/mai_NP: Likewise.
17990
17991 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17992
17993 * po/ru.po: Update translations.
17994
17995 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17996
17997 [BZ #22719]
17998 * sysdeps/hppa/backtrace.c: New file.
17999
18000 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18001
18002 [BZ #22715]
18003 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18004 align La_x86_64_retval to VEC_SIZE.
18005
18006 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18007
18008 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18009 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18010
18011 2018-01-16 Florian Weimer <fweimer@redhat.com>
18012
18013 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18014 Move tst-thread-exit-clobber ...
18015 [$(CXX)] (tests-unsupported): ... to here.
18016
18017 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18018
18019 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18020 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18021 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18022 (_dl_aarch64_cap_flags): Update.
18023 (_DL_HWCAP_COUNT): Update.
18024
18025 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18026
18027 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18028 (_DL_HWCAP_LAST): Remove.
18029 (_DL_HWCAP_COUNT): Move to ...
18030 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18031 (_DL_HWCAP_COUNT): ... here.
18032
18033 2018-01-16 Florian Weimer <fweimer@redhat.com>
18034
18035 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18036 mode with GNU extensions.
18037
18038 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18039
18040 * elf/elf.h (NT_ARM_SVE): Define.
18041
18042 2018-01-15 Florian Weimer <fweimer@redhat.com>
18043
18044 [BZ #22636]
18045 * nptl/tst-minstack-throw.cc: New file.
18046 * nptl/Makefile (tests): Add tst-minstack-throw.
18047 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18048 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18049
18050 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18051
18052 * scripts/build-many-glibcs.py (Context.checkout): Default
18053 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18054 version to 1.1.0.
18055
18056 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18057
18058 [BZ #22707]
18059 * elf/elf.h (DF_1_STUB): Define.
18060 (DF_1_PIE): Define.
18061
18062 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18063
18064 [BZ #22697]
18065 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18066 Do not add 0.5 to integer or out-of-range arguments.
18067
18068 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18069
18070 * po/bg.po: Update translations.
18071 * po/cs.po: Likewise.
18072 * po/de.po: Likewise.
18073 * po/ko.po: Likewise.
18074 * po/pl.po: Likewise.
18075 * po/sv.po: Likewise.
18076 * po/uk.po: Likewise.
18077 * po/vi.po: Likewise.
18078
18079 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18080
18081 * aarch64/start.S (_start): Use __wrap_main.
18082 (__wrap_main): New local symbol.
18083
18084 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18085
18086 [BZ #22679]
18087 CVE-2018-1000001
18088 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18089 generic_getcwd if the path returned by getcwd syscall is not absolute.
18090 * io/tst-getcwd-abspath.c: New test.
18091 * io/Makefile (tests): Add tst-getcwd-abspath.
18092
18093 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18094
18095 * malloc/malloc.c (malloc_consolidate): Add size check.
18096
18097 2018-01-12 Florian Weimer <fweimer@redhat.com>
18098
18099 * support/write_message.c (write_message): Preserve errno.
18100 * support/check.c (print_failure): Likewise.
18101 * support/support_test_verify_impl.c (support_test_verify_impl):
18102 Likewise.
18103 * support/support_test_compare_failure.c
18104 (support_test_compare_failure): Likewise.
18105
18106 2018-01-12 Florian Weimer <fweimer@redhat.com>
18107
18108 [BZ #22701]
18109 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18110 Prevent installation of libnsl.so.
18111 (libnsl-inhibit-o): Do not build (or install) static libraries.
18112
18113 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18114
18115 [BZ #22657]
18116 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18117 before the day number which may produce a double space.
18118 (date_fmt): Likewise.
18119
18120 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18121
18122 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18123 instead of fegetenv.
18124
18125 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18126
18127 [BZ #22702]
18128 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18129 comment to say exceptions are discarded.
18130 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18131 __fegetenv.
18132 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18133 be enabled.
18134
18135 2018-01-11 Florian Weimer <fweimer@redhat.com>
18136
18137 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18138 and error message.
18139
18140 2018-01-11 Florian Weimer <fweimer@redhat.com>
18141
18142 [BZ #22636]
18143 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18144 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18145
18146 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18147
18148 [BZ #22693]
18149 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18150 negative arguments in test for NaN or infinity argument.
18151
18152 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18153
18154 * po/libc.pot: Regenerate.
18155
18156 2018-01-10 Florian Weimer <fweimer@redhat.com>
18157
18158 [BZ #22636]
18159 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18160 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18161
18162 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18163
18164 * hurd/hurd/fd.h: Include <fcntl.h>
18165 (__hurd_at_flags): New function.
18166 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18167 with call to __hurd_at_flags.
18168 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18169 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18170 __faccessat
18171 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18172 (__access_noerrno): Use __faccessat_common instead of access_common.
18173 (__access): Likewise.
18174 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18175 with a call to __faccessat.
18176 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18177 (__faccessat_common): ... this. Move implementation of __access into it when
18178 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18179 reauthenticate_cwdir_at helper to implement AT mechanism.
18180 (__faccessat_noerrno): New function, just calls __faccessat_common.
18181 (__faccessat): New function, just calls __faccessat_common.
18182 (faccessat): Define weak alias.
18183
18184 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18185
18186 [BZ #22691]
18187 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18188 (CFLAGS-s_fmaxmagl.c): New variable.
18189 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18190
18191 [BZ #22690]
18192 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18193 long int for arguments of possibly overflowing addition or
18194 subtraction.
18195 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18196
18197 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18198
18199 [BZ #22688]
18200 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18201 (CFLAGS-e_remainderl.c): New variable.
18202
18203 [BZ #22687]
18204 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18205 variable.
18206 (CFLAGS-s_cacoshl.c): Likewise.
18207 (CFLAGS-s_casinhl.c): Likewise.
18208 (CFLAGS-s_catanl.c): Likewise.
18209 (CFLAGS-s_catanhl.c): Likewise.
18210 (CFLAGS-s_cexpl.c): Likewise.
18211 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18212 (CFLAGS-s_csinhl.c): Likewise.
18213 (CFLAGS-s_clogl.c): Likewise.
18214 (CFLAGS-s_clog10l.c): Likewise.
18215 (CFLAGS-s_csinl.c): Likewise.
18216 (CFLAGS-s_csqrtl.c): Likewise.
18217
18218 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18219 2017-01-09 Svante Signell <svante.signell@gmail.com>
18220
18221 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18222 (_hurd_exec_paths): New function.
18223 * hurd/hurd.h (_hurd_exec): Deprecate function.
18224 (_hurd_exec_paths): Declare function.
18225 * hurd/Versions: Export _hurd_exec_paths.
18226 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18227 (__execve): Use __getcwd to build absolute path, and use
18228 _hurd_exec_paths instead of _hurd_exec.
18229 * sysdeps/mach/hurd/spawni.c: Likewise.
18230 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18231 _hurd_exec.
18232
18233 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18234
18235 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18236 test instead of failing in case of ENOENT returned by posix_openpt.
18237
18238 2018-01-08 Florian Weimer <fweimer@redhat.com>
18239
18240 resolv: Support binary labels in test framework.
18241 * support/resolv_test.c (struct to_be_freed): Remove.
18242 (struct compressed_name): New.
18243 (allocate_compressed_name, ascii_tolower)
18244 (compare_compressed_name): New functions.
18245 (struct resolv_response_builder): Update type of
18246 compression_offsets for use with tsearch. Rempve to_be_freed.
18247 (response_push_pointer_to_free): Remove function.
18248 (resolv_response_add_name): Rewrite using struct compressed_name
18249 and tsearch instead of hsearch_r.
18250 (response_builder_allocate): Remove initialization of
18251 compression_offsets.
18252 (response_builder_free): Update for removal of to_be_freed. Use
18253 tdestroy instead of hdestroy_r.
18254 * resolv/Makefile (tests): Add tst-resolv-binary.
18255 (tst-resolv-binary): Link with -lresolv -lpthread.
18256
18257 2018-01-08 Florian Weimer <fweimer@redhat.com>
18258
18259 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18260 time. Pass positive flag instead of negative flag to
18261 support_test_compare_failure.
18262 (support_test_compare_failure): Change negative parameter to
18263 positive.
18264 * support/support_test_compare_failure.c (report)
18265 (support_test_compare_failure): Likewise.
18266 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18267 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18268
18269 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18270
18271 [BZ #22637]
18272 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18273 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18274 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18275 stacksize.
18276 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18277
18278 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18279
18280 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18281 Add s_sincosf-sse2 and s_sincosf-fma.
18282 (CFLAGS-s_sincosf-fma.c): New.
18283 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18284 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18285 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18286 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18287 __sincosf is defined.
18288
18289 2018-01-08 Florian Weimer <fweimer@redhat.com>
18290
18291 * nptl/tst-thread-exit-clobber.cc: New file.
18292 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18293 C++11 mode.
18294 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18295 (tests): Add tst-thread-exit-clobber.
18296 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18297
18298 2018-01-08 Florian Weimer <fweimer@redhat.com>
18299
18300 * support/check.h (support_static_assert): Define.
18301 (TEST_COMPARE): Use it.
18302
18303 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18304
18305 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18306 [!__RLIM_T_MATCHES_RLIM64_T]
18307 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18308 __getrlimit64. Add libc_hidden_weak.
18309
18310 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18311
18312 * elf/elf.h (R_RISCV_NONE): New define.
18313 (R_RISCV_32): Likewise.
18314 (R_RISCV_64): Likewise.
18315 (R_RISCV_RELATIVE): Likewise.
18316 (R_RISCV_COPY): Likewise.
18317 (R_RISCV_JUMP_SLOT): Likewise.
18318 (R_RISCV_TLS_DTPMOD32): Likewise.
18319 (R_RISCV_TLS_DTPMOD64): Likewise.
18320 (R_RISCV_TLS_DTPREL32): Likewise.
18321 (R_RISCV_TLS_DTPREL64): Likewise.
18322 (R_RISCV_TLS_TPREL32): Likewise.
18323 (R_RISCV_TLS_TPREL64): Likewise.
18324 * Makerules (make-link-multidir): Make directories before linking into
18325 them.
18326 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18327 define.
18328 (VDSO_HASH_LINUX_4_15): Likewise.
18329 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18330 in subdirectories of lib.
18331 * nptl/Makefile (/librt.so): Always depend on
18332 "$(shared-thread-library)".
18333
18334 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18335
18336 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18337 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18338 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18339 (___tls_get_addr).
18340 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18341 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18342 "-O2 -march=i686".
18343 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18344 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18345 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18346 * sysdeps/gnu/glob-lstat-compat.c: New file.
18347 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18348 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18349
18350 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18351
18352 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18353 Reserve 16 chars to reloc_addr before calling _itoa_word.
18354
18355 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18356
18357 [BZ #22678]
18358 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18359 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18360
18361 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18362 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18363
18364 * resource/tst-getrlimit.c: Add copyright header.
18365
18366 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18367 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18368
18369 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18370 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18371 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18372 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18373 instead.
18374 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18375 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18376 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18377 RLIM64_INFINITY): Fix values to match the kernel ones.
18378 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18379 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18380 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18381 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18382 getrlimit64@@GLIBC_2_27.
18383 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18384 and setrlimit64.
18385 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18386 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18387 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18388 setrlimit, getrlimit64 and setrlimit64.
18389
18390 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18391
18392 [BZ #22648]
18393 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18394 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18395
18396 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18397
18398 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18399 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18400 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18401
18402 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18403
18404 [BZ #15479]
18405 [BZ #22666]
18406 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18407 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18408
18409 [BZ #15479]
18410 [BZ #22665]
18411 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18412 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18413 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18414 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18415
18416 2018-01-04 Florian Weimer <fweimer@redhat.com>
18417
18418 [BZ #22667]
18419 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18420 Align the stack before calling exit.
18421 * stdlib/tst-makecontext-align.c: New file.
18422 * stdlib/Makefile (tests): Add tst-makecontext-align.
18423
18424 2018-01-04 Florian Weimer <fweimer@redhat.com>
18425
18426 Add support for calling dlvsym from libc.so.
18427 * include/dlfcn.h (__libc_dlvsym): Declare.
18428 * elf/Makefile (tests-static-internal): Add
18429 tst-libc_dlvsym-static.
18430 (tests-internal): Add tst-libc_dlvsym.
18431 (modules-names): Add tst-libc_dlvsym-dso.
18432 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18433 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18434 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18435 object tst-libc_dlvsym-dso.so needs to be built before running
18436 these tests.
18437 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18438 * elf/Versions: Export __libc_dlvsym.
18439 * elf/dl-libc.c (struct do_dlvsym_args): New.
18440 (do_dlvsym, __libc_dlvsym): New functions.
18441 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18442 (_dl_open_hook2): New variable.
18443 (__libc_register_dl_open_hook): Set it.
18444 * elf/tst-libc_dlvsym-dso.c: New file.
18445 * elf/tst-libc_dlvsym-static.c: Likewise.
18446 * elf/tst-libc_dlvsym.c: Likewise.
18447 * elf/tst-libc_dlvsym.h: Likewise.
18448
18449 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18450
18451 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18452 include <sys/mount.h>.
18453
18454 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18455
18456 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18457 Add __NO_MATH_ERRNO__ check.
18458
18459 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18460
18461 * sysdeps/mips/mips32/libm-test-ulps: Update.
18462 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18463
18464 2018-01-02 Florian Weimer <fweimer@redhat.com>
18465
18466 * misc/tst-pselect.c: Add copyright header.
18467
18468 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18469
18470 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18471 comment.
18472 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18473 comment.
18474 (settrlimit): Rename into setrlimit.
18475 (__sttrlimit): Rename into __setrlimit.
18476
18477 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18478 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18479 never defined in that case.
18480
18481 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18482
18483 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18484
18485 * sysdeps/arm/libm-test-ulps: Update.
18486
18487 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18488 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18489
18490 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18491
18492 * NEWS: Add cosf and sincosf to list of optimized functions.
18493
18494 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18495
18496 [BZ #22660]
18497 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18498 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18499 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18500 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18501
18502 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18503
18504 [BZ #22433]
18505 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18506
18507 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18508 making a copy of it.
18509
18510 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18511
18512 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18513 trailing whitespace removed.
18514 * scripts/config.guess: Update to version 2018-01-01.
18515 * scripts/config.sub: Update to version 2018-01-01.
18516 * scripts/move-if-change: Update from gnulib.
18517
18518 * NEWS: Update copyright dates.
18519 * catgets/gencat.c (print_version): Likewise.
18520 * csu/version.c (banner): Likewise.
18521 * debug/catchsegv.sh: Likewise.
18522 * debug/pcprofiledump.c (print_version): Likewise.
18523 * debug/xtrace.sh (do_version): Likewise.
18524 * elf/ldconfig.c (print_version): Likewise.
18525 * elf/ldd.bash.in: Likewise.
18526 * elf/pldd.c (print_version): Likewise.
18527 * elf/sotruss.sh: Likewise.
18528 * elf/sprof.c (print_version): Likewise.
18529 * iconv/iconv_prog.c (print_version): Likewise.
18530 * iconv/iconvconfig.c (print_version): Likewise.
18531 * locale/programs/locale.c (print_version): Likewise.
18532 * locale/programs/localedef.c (print_version): Likewise.
18533 * login/programs/pt_chown.c (print_version): Likewise.
18534 * malloc/memusage.sh (do_version): Likewise.
18535 * malloc/memusagestat.c (print_version): Likewise.
18536 * malloc/mtrace.pl: Likewise.
18537 * manual/libc.texinfo: Likewise.
18538 * nptl/version.c (banner): Likewise.
18539 * nscd/nscd.c (print_version): Likewise.
18540 * nss/getent.c (print_version): Likewise.
18541 * nss/makedb.c (print_version): Likewise.
18542 * posix/getconf.c (main): Likewise.
18543 * scripts/test-installation.pl: Likewise.
18544 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18545
18546 * All files with FSF copyright notices: Update copyright dates
18547 using scripts/update-copyrights.
18548 * locale/programs/charmap-kw.h: Regenerated.
18549 * locale/programs/locfile-kw.h: Likewise.
18550
18551 2017-12-31 Zack Weinberg <zackw@panix.com>
18552
18553 * libio/bits/libio-ldbl.h: Correct check for improper
18554 inclusion. Add own multiple include guard.
18555
18556 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18557 Dmitry V. Levin <ldv@altlinux.org>
18558
18559 [BZ #22625]
18560 CVE-2017-16997
18561 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18562 string token expansion. Check for NULL pointer or empty string possibly
18563 returned by expand_dynamic_string_token.
18564 (decompose_rpath): Check for empty path after dynamic string
18565 token expansion.
18566
18567 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18568
18569 [BZ #22433]
18570 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18571
18572 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18573 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18574 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18575 and PTRACE_SYSCALL.
18576 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18577 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18581 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18582
18583 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18584 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18585 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18586 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18588 bits/ptrace-shared.h.
18589 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18590 <bits/ptrace-shared.h>.
18591 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18592 __ptrace_peeksiginfo_flags, ptrace): Remove.
18593 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18594 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18596 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18597 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18598
18599 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18600
18601 [BZ #17804]
18602 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18603 end of the loop. Improve comments.
18604
18605 2017-12-29 Zack Weinberg <zackw@panix.com>
18606
18607 [BZ #22615]
18608 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18609 might be set on success.
18610
18611 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18612
18613 [BZ #22611]
18614 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18615 is unchanged on success.
18616
18617 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18618
18619 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18620 updated.
18621 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18622 expand_dynamic_string_token): Likewise.
18623 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18624 is_path argument.
18625
18626 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18627 contains ':'.
18628
18629 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18630 is set and name contains ':', and all code depending on these checks.
18631
18632 2017-12-24 Zack Weinberg <zackw@panix.com>
18633
18634 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18635 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18636 respectively.
18637 * libio/libio.h: Rename the original version of this file to
18638 libio/bits/libio.h. Error out if not included by stdio.h or the
18639 stub libio.h.
18640 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18641 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18642 if not included by bits/libio.h or the stub _G_config.h.
18643 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18644 sysdeps/unix/sysv/linux/bits. Error out if not included by
18645 bits/libio.h or the stub _G_config.h.
18646 * libio/stdio.h: Include bits/libio.h, not libio.h.
18647 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18648 well as libio.h and _G_config.h.
18649
18650 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18651 * libio/strfile.h, stdio-common/vfscanf.c
18652 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18653 Include stdio.h, not _G_config.h nor libio.h.
18654 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18655 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18656
18657 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18658
18659 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18660
18661 [BZ #22347]
18662 * stdlib/getrandom.c (getrandom): Fix comment.
18663 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18664
18665 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18666
18667 [BZ #21161]
18668 * manual/arith.texi (strtoul): Fix a typo.
18669
18670 [BZ #22596]
18671 * manual/arith.texi (finite): Fix the description of the return
18672 value.
18673
18674 2017-12-22 Eric Blake <ebb9@byu.net>
18675
18676 Avoid gcc warnings on cygwin
18677 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18678 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18679 Avoid unused variable.
18680
18681 2017-12-22 Florian Weimer <fweimer@redhat.com>
18682
18683 * io/Makefile (routines): Add copy_file_range.
18684 (tests): Add tst-copy_file_range.
18685 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18686 * io/Versions (GLIBC_2.27): Export copy_file_range.
18687 * io/copy_file_range-compat.c: New file.
18688 * io/copy_file_range.c: Likewise.
18689 * io/tst-copy_file_range-compat.c: Likewise.
18690 * io/tst-copy_file_range.c: Likewise.
18691 * manual/llio.texi (Copying File Data): New section.
18692 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18693 * support/Makefile (libsupport-routines): Add support-xfstat,
18694 xftruncate, xlseek.
18695 * support/support-xfstat.c: New file.
18696 * support/xftruncate.c: Likewise.
18697 * support/xlseek.c: Likewise.
18698 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18699 * sysdeps/unix/sysv/linux/**.abilist: Update.
18700 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18701
18702 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18703
18704 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18705 disable-multi-arch variant to aarch64-linux-gnu.
18706
18707 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18708
18709 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18710 trailing whitespace removed.
18711 * scripts/config.guess: Update to version 2017-12-17.
18712 * scripts/config.sub: Update to version 2017-11-23.
18713 * scripts/install-sh: Update to version 2017-09-23.17.
18714 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18715
18716 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18717
18718 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18719 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18720 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18721 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18722 * sysdeps/tile/crtn.S: Likewise.
18723 * sysdeps/tile/dl-start.S (_start): Likewise.
18724 * sysdeps/tile/dl-trampoline.S: Likewise.
18725 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18726 * sysdeps/tile/start.S (_start): Likewise.
18727 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18728 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18729 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18730 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18731 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18732 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18733 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18734
18735 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18736 comment.
18737 * sysdeps/tile/preconfigure: Remove tilegx folder.
18738 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18739 * sysdeps/tile/Implies: ... here.
18740 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18741 * sysdeps/tile/Makefile: ... here.
18742 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18743 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18744 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18745 * sysdeps/tile/bits/wordsize.h: ... here.
18746 * sysdeps/tile/tilegx/*: Move to ...
18747 * sysdeps/tile/*: ... here.
18748 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18749 * sysdeps/tile/tilegx32/Implies: ... here.
18750 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18751 * sysdeps/tile/tilegx64/Implies: ... here.
18752 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18753 to ...
18754 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18755 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18756 * sysdeps/unix/sysv/linux/tile/*: ... here.
18757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18758 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18760 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18761
18762 * README: Remove tilepro-*-linux-gnu from supported architecture.
18763 * scripts/build-many-glibcs.py: Likewise.
18764 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18765 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18766 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18767 elf_machine_matches_host, elf_machine_dynamic,
18768 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18769 howto, elf_machine_rela): Likewise.
18770 * sysdeps/tile/dl-start.S (_start): Likewise.
18771 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18772 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18773 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18774 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18775 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18776 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18777 Likewise.
18778 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18779 * sysdeps/tile/preconfigure: Likewise.
18780 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18781 POINTER_CHK_GUARD): Likewise.
18782 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18783 * sysdeps/tile/start.S (_start): Likewise.
18784 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18785 Likewise.
18786 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18787 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18788 CMOVNEZ): Remove.
18789 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18790 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18791 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18792 Likewise.
18793 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18794 * sysdeps/tile/tilepro/Implies: Remove file.
18795 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18796 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18797 * sysdeps/tile/tilepro/memchr.c: Likewise.
18798 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18799 * sysdeps/tile/tilepro/memset.c: Likewise.
18800 * sysdeps/tile/tilepro/memusage.h: Likewise.
18801 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18802 * sysdeps/tile/tilepro/strchr.c: Likewise.
18803 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18804 * sysdeps/tile/tilepro/strlen.c: Likewise.
18805 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18806 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18807 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18808 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18809 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18810 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18811 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18812 Likewise.
18813 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18814 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18815 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18816 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18817 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18818 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18819 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18820 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18821 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18822 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18823 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18824 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18825 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18826 tilepro mention in comment.
18827
18828 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18829 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18830 * nptl/pthread_join_common.c: New file: common function used on
18831 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18832 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18833 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18834 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18835 (cleanup): Move definition to pthread_join_common.c.
18836 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18837 Remove superflous checks.
18838 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18839 Likewise.
18840
18841 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18842
18843 * sysdeps/aarch64/libm-test-ulps: Update.
18844
18845 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18846
18847 * sysdeps/aarch64/memset.S (MEMSET): Define.
18848
18849 2017-12-20 Florian Weimer <fweimer@redhat.com>
18850
18851 [BZ #22635]
18852 nptl: Provide full implementation of pthread_self in libc.so.
18853 * nptl/Makefile (routines): Add pthread_self.
18854 (libpthread-routines): Replace pthread_self with
18855 compat-pthread_self.
18856 * nptl/forward.c (pthread_self): Remove.
18857 * nptl/nptl-init.c (pthread_functions): Do not initialize
18858 ptr_pthread_self.
18859 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18860 * nptl/compat-pthread_self.c: New file.
18861 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18862 Remove ptr_pthread_self.
18863
18864 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18865
18866 * posix/regcomp.c: Fix spelling in comments.
18867 * posix/regex.h: Likewise.
18868 * posix/regex_internal.c: Likewise.
18869 * posix/regexec.c: Likewise.
18870
18871 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18872
18873 [BZ #22377]
18874 * math/Makefile [C++] (tests): Add test for iseqsig.
18875 * math/math.h [C++] (iseqsig): New implementation, which does
18876 not rely on __MATH_TG/__builtin_types_compatible_p.
18877 * math/test-math-iseqsig.cc: New file.
18878 * sysdeps/powerpc/powerpc64le/Makefile
18879 (CFLAGS-test-math-iseqsig.cc): New variable.
18880
18881 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18882
18883 * elf/dl-load.c (is_trusted_path): Remove.
18884 (fillin_rpath): Remove check_trusted argument and its use,
18885 all callers changed.
18886
18887 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18888
18889 [BZ #22630]
18890 * Makeconfig (link-pie-before-libc): Replace -pie with
18891 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18892 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18893 (tst-dlopen-aout-no-pie): New.
18894 (LDFLAGS-tst-prelink): Removed.
18895 (tst-prelink-no-pie): New.
18896 (LDFLAGS-tst-main1): Removed.
18897 (tst-main1-no-pie): New.
18898 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18899 (tst-gmon-no-pie): New.
18900
18901 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18902
18903 * manual/install.texi: Document that --enable-static-pie
18904 implies PIE.
18905 * INSTALL: Regenerated.
18906
18907 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18908
18909 [BZ #21309]
18910 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18911 unsigned.
18912
18913 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18914
18915 Revert:
18916
18917 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18918
18919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18920
18921 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18922
18923 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18924 <errno.h>. Include "eexp.tbl".
18925 (half): New constant.
18926 (one): Likewise.
18927 (__ieee754_exp): Rewrite.
18928 (__slowexp): Remove prototype.
18929 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18930 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18931 * sysdeps/i386/fpu/slowexp.c: Likewise.
18932 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18933 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18934 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18935 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18936 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18937 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18938 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18939 comment.
18940 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18941 (CPPFLAGS-slowexp.c): Remove variable.
18942 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18943 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18944 (CFLAGS-slowexp-fma.c): Remove variable.
18945 (CFLAGS-slowexp-fma4.c): Likewise.
18946 (CFLAGS-slowexp-avx.c): Likewise.
18947 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18948 define as macro.
18949 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18950 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18951 * math/Makefile (type-double-routines): Remove slowexp.
18952 * manual/probes.texi (slowexp_p6): Remove.
18953 (slowexp_p32): Likewise.
18954
18955 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18956
18957 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18958 arithmetic.
18959
18960 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18961
18962 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18963
18964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18965
18966 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18967
18968 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18969 <errno.h>. Include "eexp.tbl".
18970 (half): New constant.
18971 (one): Likewise.
18972 (__ieee754_exp): Rewrite.
18973 (__slowexp): Remove prototype.
18974 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18975 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18976 * sysdeps/i386/fpu/slowexp.c: Likewise.
18977 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18978 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18979 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18981 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18982 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18983 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18984 comment.
18985 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18986 (CPPFLAGS-slowexp.c): Remove variable.
18987 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18988 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18989 (CFLAGS-slowexp-fma.c): Remove variable.
18990 (CFLAGS-slowexp-fma4.c): Likewise.
18991 (CFLAGS-slowexp-avx.c): Likewise.
18992 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18993 define as macro.
18994 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18995 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18996 * math/Makefile (type-double-routines): Remove slowexp.
18997 * manual/probes.texi (slowexp_p6): Remove.
18998 (slowexp_p32): Likewise.
18999
19000 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19001 James Clarke <jrtc27@jrtc27.com>
19002
19003 [BZ #22603]
19004 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19005 addition.
19006
19007 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19008
19009 [BZ #22605]
19010 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19011 code.
19012
19013 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19014
19015 [BZ #22563]
19016 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19017 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19018 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19019 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19020 to feature_1.
19021
19022 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19023
19024 [BZ #22563]
19025 * bits/types/__cancel_jmp_buf_tag.h: New file.
19026 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19027 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19028 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19029 * nptl/Makefile (headers): Add
19030 bits/types/__cancel_jmp_buf_tag.h.
19031 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19032 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19033 * sysdeps/nptl/pthread.h: Include
19034 <bits/types/__cancel_jmp_buf_tag.h>.
19035 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19036 __cancel_jmp_buf.
19037 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19038
19039 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19040
19041 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19042 --enable-static-pie variants to x86_64, x32 and i686.
19043
19044 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19045
19046 [BZ #22631]
19047 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19048 argument for attrubutes. All callers changed.
19049 (__inline_mathop1): Likewise. All callers changed.
19050 (__inline_mathop): Likewise. All callers changed.
19051 [__USE_MISC] (scalbn): Use __inline_forward instead of
19052 __inline_forward_c.
19053 [__USE_ISOC99] (scalbln): Likewise.
19054 [__USE_ISOC99] (nearbyint): Likewise.
19055 [__USE_ISOC99] (lrint): Likewise.
19056 [__USE_MISC] (scalbnf): Likewise.
19057 [__USE_ISOC99] (scalblnf): Likewise.
19058 [__USE_ISOC99] (nearbyintf): Likewise.
19059 [__USE_ISOC99] (lrintf): Likewise.
19060 [__USE_MISC] (scalbnl): Likewise.
19061 [__USE_ISOC99] (scalblnl): Likewise.
19062 [__USE_ISOC99] (nearbyintl): Likewise.
19063 [__USE_ISOC99] (lrintl): Likewise.
19064 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19065 __inline_mathop and __m81_defun changed.
19066
19067 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19068 CPU or FPU for ARM hard-float configurations.
19069
19070 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19071
19072 * nptl/tst-attr3.c: Include <libc-diag.h>.
19073 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19074
19075 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19076
19077 * string/tester.c (test_strncat): Also disable -Warray-bounds
19078 warnings for two tests.
19079
19080 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19081
19082 [BZ #22614]
19083 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19084 $(cc-pie-default) == yes.
19085 * config.make.in (cc-pie-default): New.
19086 * configure.ac (libc_cv_pie_default): Renamed to ...
19087 (libc_cv_cc_pie_default): This.
19088 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19089 * configure: Regenerated.
19090
19091 2017-12-18 Florian Weimer <fweimer@redhat.com>
19092
19093 [BZ #20204]
19094 ld.so: Harden dl-libc/libdl hooks.
19095 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19096 (rtld_active): New function.
19097 * dlfcn/dladdr.c (__dladdr): Call it.
19098 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19099 * dlfcn/dlclose.c (__dlcose): Likewise.
19100 * dlfcn/dlerror.c (__dlerror): Likewise.
19101 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19102 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19103 * dlfcn/dlopen.c (__dlopen): Likewise.
19104 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19105 * dlfcn/dlsym.c (__dlsym): Likewise.
19106 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19107 * libio/vtables.c (_IO_vtable_check): Likewise.
19108 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19109 (__libc_dlclose): Likewise.
19110 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19111 assignment.
19112
19113 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19114
19115 [BZ #22446]
19116 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19117 buffers for readlink input and output.
19118
19119 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19120
19121 [BZ #22624]
19122 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19123 inhibit_stack_protector.
19124
19125 [BZ #22624]
19126 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19127 inhibit_stack_protector.
19128
19129 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19130
19131 [BZ #22627]
19132 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19133 code and invocation.
19134
19135 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19136
19137 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19138
19139 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19140
19141 [BZ #22505]
19142 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19143
19144 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19145
19146 * sysdeps/s390/fpu/libm-test-ulps: Update.
19147
19148 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19149
19150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19151
19152 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19153
19154 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19155 constants to s_sincosf.h file.
19156 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19157 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19158 implementation.
19159 * sysdeps/ieee754/flt-32/s_sincosf.h:
19160 New file.
19161
19162 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19163
19164 [BZ #14681]
19165 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19166 before mtrace.
19167
19168 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19169
19170 [BZ #19574]
19171 * INSTALL: Regenerated.
19172 * Makeconfig (real-static-start-installed-name): New.
19173 (pic-default): Updated for --enable-static-pie.
19174 (pie-default): New for --enable-static-pie.
19175 (default-pie-ldflag): Likewise.
19176 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19177 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19178 Replace $(static-start-installed-name) with
19179 $(real-static-start-installed-name).
19180 (+prectorT): Updated for --enable-static-pie.
19181 (+postctorT): Likewise.
19182 (CFLAGS-.o): Add $(pie-default).
19183 (CFLAGS-.op): Likewise.
19184 * NEWS: Mention --enable-static-pie.
19185 * config.h.in (ENABLE_STATIC_PIE): New.
19186 * configure.ac (--enable-static-pie): New configure option.
19187 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19188 (have-static-pie): Likewise.
19189 Enable static PIE if linker supports --no-dynamic-linker.
19190 (ENABLE_STATIC_PIE): New AC_DEFINE.
19191 (enable-static-pie): New LIBC_CONFIG_VAR.
19192 * configure: Regenerated.
19193 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19194 gr$(start-installed-name) for --enable-static-pie.
19195 (extra-objs): Likewise.
19196 (install-lib): Likewise.
19197 (extra-objs): Add static-reloc.o and static-reloc.os
19198 ($(objpfx)$(start-installed-name)): Also depend on
19199 $(objpfx)static-reloc.o.
19200 ($(objpfx)r$(start-installed-name)): New.
19201 ($(objpfx)g$(start-installed-name)): Also depend on
19202 $(objpfx)static-reloc.os.
19203 ($(objpfx)gr$(start-installed-name)): New.
19204 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19205 in libc.a.
19206 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19207 initimage.
19208 * csu/static-reloc.c: New file.
19209 * elf/Makefile (routines): Add dl-reloc-static-pie.
19210 (elide-routines.os): Likewise.
19211 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19212 (tst-tls1-static-non-pie-no-pie): New.
19213 * elf/dl-reloc-static-pie.c: New file.
19214 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19215 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19216 STATIC_PIE_BOOTSTRAP.
19217 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19218 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19219 (tests-static): Likewise.
19220 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19221 (tst-gmon-static-no-pie): New.
19222 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19223 (CRT-tst-gmon-static-pie): Likewise.
19224 (tst-gmon-static-pie-ENV): Likewise.
19225 (tests-special): Likewise.
19226 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19227 (clean-tst-gmon-static-pie-data): Likewise.
19228 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19229 * gmon/tst-gmon-static-pie.c: New file.
19230 * manual/install.texi: Document --enable-static-pie.
19231 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19232 (_dl_get_dl_main_map): Likewise.
19233 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19234 * sysdeps/x86_64/configure.ac: Likewise.
19235 * sysdeps/i386/configure: Regenerated.
19236 * sysdeps/x86_64/configure: Likewise.
19237 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19238 (ASFLAGS-.op): Likewise.
19239
19240 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19241
19242 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19243 * posix/tst-mmap-offset.c (fname): Use /tmp.
19244 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19245
19246 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19247
19248 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19249
19250 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19251
19252 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19253 errno.
19254
19255 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19256
19257 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19258 --with-float=hard for arm-linux-gnueabihf configurations.
19259
19260 [BZ #14121]
19261 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19262 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19263 ($(mo-installed)): Use $(objpfx)%.mo.
19264 (realclean): Remove rule.
19265
19266 * po/Makefile (linguas): Remove rule and dependencies.
19267 (linguas.mo): Likewise.
19268 (.PHONY): Do not depend on linguas and linguas.mo.
19269 (podir): Remove variable.
19270 (pofiles): Likewise.
19271 [$(pofiles)] (%.po): Remove rule.
19272
19273 * sysdeps/sparc/sparc32/Makefile
19274 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19275 start-of-line whitespace in argument of echo.
19276 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19277 with whitespace. Generate __wrap_.udiv alias.
19278 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19279 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19280 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19281 * sysdeps/sparc/sparc32/urem.S: Likewise.
19282
19283 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19284
19285 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19286 for aligned inputs.
19287
19288 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19289
19290 * benchtests/bench-strcmp.c: Print output in JSON format.
19291
19292 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19293
19294 2017-12-14 Florian Weimer <fweimer@redhat.com>
19295
19296 [BZ #22607]
19297 CVE-2017-1000409
19298 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19299 the expanded path string.
19300
19301 2017-12-14 Florian Weimer <fweimer@redhat.com>
19302
19303 [BZ #22606]
19304 CVE-2017-1000408
19305 * elf/dl-load.c (system_dirs): Update comment.
19306 (nsystem_dirs_len): Use array_length.
19307 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19308
19309 2017-12-14 Florian Weimer <fweimer@redhat.com>
19310
19311 Simplify compiling most of support/ outside of glibc.
19312 * support/check_addrinfo.c: Include <string.h>.
19313 * support/check_dns_packet.c: Likewise.
19314 * support/check_hostent.c: Likewise.
19315 * support/support_can_chroot.c: Include <support/xunistd.h>.
19316 * support/support_format_addrinfo.c: Include <stdlib.h>
19317 * support/support_format_dns_packet.c: Include <stdbool.h>.
19318 * support/support_format_hostent.c: Include <stdlib.h>.
19319 * support/support_format_netent.c: Likewise.
19320 * support/support_write_string.c: Include <support/xunistd.h>.
19321 * support/xdlfcn.c: Include <stddef.h>.
19322
19323 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19324
19325 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19326
19327 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19328 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19329
19330 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19331 (sysdeps_routines): Add memset-niagara7.
19332 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19333 Likewise.
19334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19335 file.
19336 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19337 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19338 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19339 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19340 Add niagara7 option.
19341 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19342 memset.
19343
19344 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19345 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19346 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19347 Likewise.
19348 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19349 New file.
19350 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19351 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19352 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19353 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19354 and __memmove_niagara7.
19355 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19356 Add niagara7 option.
19357 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19358 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19359 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19360 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19361 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19362
19363 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19364
19365 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19366 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19367 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19368 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19369
19370 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19371 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19372 _dl_sparc_cap_flags array.
19373 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19374
19375 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19376
19377 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19378 time whenever possible.
19379
19380 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19381
19382 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19383 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19384
19385 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19386
19387 * soft-fp/fmadf4.c: Move to ....
19388 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19389 * soft-fp/fmasf4.c: Move to ....
19390 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19391 * soft-fp/fmatf4.c: Move to ....
19392 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19393 * sysdeps/ieee754/soft-fp/Makefile: New file.
19394 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19395 * sysdeps/arm/preconfigure: Regenerated.
19396 * sysdeps/arm/nofpu/Implies: New file.
19397 * sysdeps/arm/s_fma.c: Remove file.
19398 * sysdeps/arm/s_fmaf.c: Likewise.
19399 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19400 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19401 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19402 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19403 * sysdeps/microblaze/s_fma.c: Remove file.
19404 * sysdeps/microblaze/s_fmaf.c: Likewise.
19405 * sysdeps/mips/mips32/nofpu/Implies: New file.
19406 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19407 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19408 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19409 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19410 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19411 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19412 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19413 implementation.
19414 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19415 * sysdeps/nios2/s_fma.c: Remove file.
19416 * sysdeps/nios2/s_fmaf.c: Likewise.
19417 * sysdeps/sh/nofpu/Implies: New file.
19418 * sysdeps/sh/s_fma.c: Remove file.
19419 * sysdeps/sh/s_fmaf.c: Likewise.
19420 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19421 * sysdeps/tile/s_fma.c: Remove file.
19422 * sysdeps/tile/s_fmaf.c: Likewise.
19423
19424 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19425
19426 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19427 Add s_cosf-sse2 and s_cosf-fma.
19428 (CFLAGS-s_cosf-fma.c): New.
19429 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19430 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19431 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19432
19433 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19434
19435 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19436
19437 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19438
19439 * libio/Makefile (tests): Add tst-bz22415.
19440 (tst-bz22415-ENV): New rule.
19441 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19442 (tests-special): Add tst-bz22415-mem.out.
19443 ($(objpfx)tst-bz22415-mem.out): New rule.
19444 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19445 in case of a successful seek operation.
19446 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19447 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19448 buffer is required.
19449 * libio/tst-bz22415.c: New test.
19450
19451 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19452
19453 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19454
19455 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19456 __IPC_64 to 0 to avoid IPC_64 being set.
19457
19458 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19459
19460 [BZ #22593]
19461 * math/bits/mathcalls.h (nextafter): Remove const.
19462 (nexttoward): Likewise.
19463
19464 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19465
19466 * configure.ac (--with-fp): Remove configure option.
19467 (with_fp_cond): New variable.
19468 (libc_cv_with_fp): New configure test. Use this variable instead
19469 of with_fp.
19470 * configure: Regenerated.
19471 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19472 * manual/install.texi (Configuring and compiling): Remove
19473 --without-fp.
19474 * INSTALL: Regenerated.
19475 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19476 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19477 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19478 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19479 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19480 use --without-fp to configure glibc.
19481
19482 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19483
19484 * manual/locale.texi (nl_langinfo): Fix a typo.
19485
19486 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19487
19488 [BZ #22588]
19489 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19490
19491 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19492
19493 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19494 (CFLAGS-argp-parse.c): Likewise.
19495 (CFLAGS-argp-fmtstream.c): Likewise.
19496 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19497 (CPPFLAGS-sha512-crypt.c): Likewise.
19498 (CPPFLAGS-md5-crypt.c): Likewise.
19499 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19500 (CFLAGS-stack_chk_fail_local.c): Likewise.
19501 (CFLAGS-backtrace.c): Likewise.
19502 (CFLAGS-sprintf_chk.c): Likewise.
19503 (CFLAGS-snprintf_chk.c): Likewise.
19504 (CFLAGS-vsprintf_chk.c): Likewise.
19505 (CFLAGS-vsnprintf_chk.c): Likewise.
19506 (CFLAGS-asprintf_chk.c): Likewise.
19507 (CFLAGS-vasprintf_chk.c): Likewise.
19508 (CFLAGS-obprintf_chk.c): Likewise.
19509 (CFLAGS-dprintf_chk.c): Likewise.
19510 (CFLAGS-vdprintf_chk.c): Likewise.
19511 (CFLAGS-printf_chk.c): Likewise.
19512 (CFLAGS-fprintf_chk.c): Likewise.
19513 (CFLAGS-vprintf_chk.c): Likewise.
19514 (CFLAGS-vfprintf_chk.c): Likewise.
19515 (CFLAGS-gets_chk.c): Likewise.
19516 (CFLAGS-fgets_chk.c): Likewise.
19517 (CFLAGS-fgets_u_chk.c): Likewise.
19518 (CFLAGS-fread_chk.c): Likewise.
19519 (CFLAGS-fread_u_chk.c): Likewise.
19520 (CFLAGS-swprintf_chk.c): Likewise.
19521 (CFLAGS-vswprintf_chk.c): Likewise.
19522 (CFLAGS-wprintf_chk.c): Likewise.
19523 (CFLAGS-fwprintf_chk.c): Likewise.
19524 (CFLAGS-vwprintf_chk.c): Likewise.
19525 (CFLAGS-vfwprintf_chk.c): Likewise.
19526 (CFLAGS-fgetws_chk.c): Likewise.
19527 (CFLAGS-fgetws_u_chk.c): Likewise.
19528 (CFLAGS-read_chk.c): Likewise.
19529 (CFLAGS-pread_chk.c): Likewise.
19530 (CFLAGS-pread64_chk.c): Likewise.
19531 (CFLAGS-recv_chk.c): Likewise.
19532 (CFLAGS-recvfrom_chk.c): Likewise.
19533 (CFLAGS-tst-longjmp_chk.c): Likewise.
19534 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19535 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19536 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19537 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19538 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19539 (CFLAGS-tst-chk1.c): Likewise.
19540 (CFLAGS-tst-chk2.c): Likewise.
19541 (CFLAGS-tst-chk3.c): Likewise.
19542 (CFLAGS-tst-chk4.cc): Likewise.
19543 (CFLAGS-tst-chk5.cc): Likewise.
19544 (CFLAGS-tst-chk6.cc): Likewise.
19545 (CFLAGS-tst-lfschk1.c): Likewise.
19546 (CFLAGS-tst-lfschk2.c): Likewise.
19547 (CFLAGS-tst-lfschk3.c): Likewise.
19548 (CFLAGS-tst-lfschk4.cc): Likewise.
19549 (CFLAGS-tst-lfschk5.cc): Likewise.
19550 (CFLAGS-tst-lfschk6.cc): Likewise.
19551 (CFLAGS-tst-ssp-1.c): Likewise.
19552 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19553 (CFLAGS-scandir64.c): Likewise.
19554 (CFLAGS-scandir-tail.c): Likewise.
19555 (CFLAGS-scandir64-tail.c): Likewise.
19556 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19557 (CFLAGS-dl-tunables.c): Likewise.
19558 (CFLAGS-dl-runtime.c): Likewise.
19559 (CFLAGS-dl-lookup.c): Likewise.
19560 (CFLAGS-dl-iterate-phdr.c): Likewise.
19561 (CFLAGS-vismain.c): Likewise.
19562 (CFLAGS-tst-linkall-static.c): Likewise.
19563 (CFLAGS-tst-linkall-static.c): Likewise.
19564 (CPPFLAGS-dl-load.c): Likewise.
19565 (CFLAGS-ldconfig.c): Likewise.
19566 (CFLAGS-dl-cache.c): Likewise.
19567 (CFLAGS-cache.c): Likewise.
19568 (CFLAGS-rtld.c): Likewise.
19569 (CFLAGS-multiload.c): Likewise.
19570 (CFLAGS-filtmod1.c): Likewise.
19571 (CFLAGS-tst-align.c): Likewise.
19572 (CFLAGS-tst-align2.c): Likewise.
19573 (CFLAGS-tst-alignmod.c): Likewise.
19574 (CFLAGS-tst-alignmod2.c): Likewise.
19575 (CPPFLAGS-tst-execstack.c): Likewise.
19576 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19577 (CFLAGS-tst-latepthreadmod.c): Likewise.
19578 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19579 (CFLAGS-getgrnam_r.c): Likewise.
19580 (CFLAGS-getgrent_r.c): Likewise.
19581 (CFLAGS-getgrent.c): Likewise.
19582 (CFLAGS-fgetgrent.c): Likewise.
19583 (CFLAGS-fgetgrent_r.c): Likewise.
19584 (CFLAGS-putgrent.c): Likewise.
19585 (CFLAGS-initgroups.c): Likewise.
19586 (CFLAGS-getgrgid.c): Likewise.
19587 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19588 (CFLAGS-getsgent.c): Likewise.
19589 (CFLAGS-fgetsgent.c): Likewise.
19590 (CFLAGS-fgetsgent_r.c): Likewise.
19591 (CFLAGS-putsgent.c): Likewise.
19592 (CFLAGS-getsgnam.c): Likewise.
19593 (CFLAGS-getsgnam_r.c): Likewise.
19594 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19595 (CFLAGS-iconv_charmap.c): Likewise.
19596 (CFLAGS-dummy-repertoire.c): Likewise.
19597 (CFLAGS-charmap.c): Likewise.
19598 (CFLAGS-linereader.c): Likewise.
19599 (CFLAGS-simple-hash.c): Likewise.
19600 (CFLAGS-gconv_conf.c): Likewise.
19601 (CFLAGS-iconvconfig.c): Likewise.
19602 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19603 (CFLAGS-gethstbyad.c): Likewise.
19604 (CFLAGS-gethstbynm_r.c): Likewise.
19605 (CFLAGS-gethstbynm.c): Likewise.
19606 (CFLAGS-gethstbynm2_r.c): Likewise.
19607 (CFLAGS-gethstbynm2.c): Likewise.
19608 (CFLAGS-gethstent_r.c): Likewise.
19609 (CFLAGS-gethstent.c): Likewise.
19610 (CFLAGS-rcmd.c): Likewise.
19611 (CFLAGS-getnetbynm_r.c): Likewise.
19612 (CFLAGS-getnetbynm.c): Likewise.
19613 (CFLAGS-getnetbyad_r.c): Likewise.
19614 (CFLAGS-getnetbyad.c): Likewise.
19615 (CFLAGS-getnetent_r.c): Likewise.
19616 (CFLAGS-getnetent.c): Likewise.
19617 (CFLAGS-getaliasent_r.c): Likewise.
19618 (CFLAGS-getaliasent.c): Likewise.
19619 (CFLAGS-getrpcent_r.c): Likewise.
19620 (CFLAGS-getrpcent.c): Likewise.
19621 (CFLAGS-getservent_r.c): Likewise.
19622 (CFLAGS-getservent.c): Likewise.
19623 (CFLAGS-getprtent_r.c): Likewise.
19624 (CFLAGS-getprtent.c): Likewise.
19625 (CFLAGS-either_ntoh.c): Likewise.
19626 (CFLAGS-either_hton.c): Likewise.
19627 (CFLAGS-getnetgrent.c): Likewise.
19628 (CFLAGS-getnetgrent_r.c): Likewise.
19629 (CFLAGS-tst-checks-posix.c): Likewise.
19630 (CFLAGS-tst-sockaddr.c): Likewise.
19631 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19632 (CFLAGS-tst-translit.c): Likewise.
19633 (CFLAGS-tst-gettext2.c): Likewise.
19634 (CFLAGS-tst-codeset.c): Likewise.
19635 (CFLAGS-tst-gettext3.c): Likewise.
19636 (CFLAGS-tst-gettext4.c): Likewise.
19637 (CFLAGS-tst-gettext5.c): Likewise.
19638 (CFLAGS-tst-gettext6.c): Likewise.
19639 * io/Makefile (CFLAGS-open.c): Likewise.
19640 (CFLAGS-open64.c): Likewise.
19641 (CFLAGS-creat.c): Likewise.
19642 (CFLAGS-creat64.c): Likewise.
19643 (CFLAGS-fcntl.c): Likewise.
19644 (CFLAGS-poll.c): Likewise.
19645 (CFLAGS-ppoll.c): Likewise.
19646 (CFLAGS-lockf.c): Likewise.
19647 (CFLAGS-statfs.c): Likewise.
19648 (CFLAGS-fstatfs.c): Likewise.
19649 (CFLAGS-statvfs.c): Likewise.
19650 (CFLAGS-fstatvfs.c): Likewise.
19651 (CFLAGS-fts.c): Likewise.
19652 (CFLAGS-fts64.c): Likewise.
19653 (CFLAGS-ftw.c): Likewise.
19654 (CFLAGS-ftw64.c): Likewise.
19655 (CFLAGS-lockf.c): Likewise.
19656 (CFLAGS-posix_fallocate.c): Likewise.
19657 (CFLAGS-posix_fallocate64.c): Likewise.
19658 (CFLAGS-fallocate.c): Likewise.
19659 (CFLAGS-fallocate64.c): Likewise.
19660 (CFLAGS-read.c): Likewise.
19661 (CFLAGS-write.c): Likewise.
19662 (CFLAGS-test-stat.c): Likewise.
19663 (CFLAGS-test-lfs.c): Likewise.
19664 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19665 (CFLAGS-fputc.c): Likewise.
19666 (CFLAGS-fputwc.c): Likewise.
19667 (CFLAGS-freopen64.c): Likewise.
19668 (CFLAGS-freopen.c): Likewise.
19669 (CFLAGS-fseek.c): Likewise.
19670 (CFLAGS-fseeko64.c): Likewise.
19671 (CFLAGS-fseeko.c): Likewise.
19672 (CFLAGS-ftello64.c): Likewise.
19673 (CFLAGS-ftello.c): Likewise.
19674 (CFLAGS-fwide.c): Likewise.
19675 (CFLAGS-genops.c): Likewise.
19676 (CFLAGS-getc.c): Likewise.
19677 (CFLAGS-getchar.c): Likewise.
19678 (CFLAGS-getwc.c): Likewise.
19679 (CFLAGS-getwchar.c): Likewise.
19680 (CFLAGS-iofclose.c): Likewise.
19681 (CFLAGS-iofflush.c): Likewise.
19682 (CFLAGS-iofgetpos64.c): Likewise.
19683 (CFLAGS-iofgetpos.c): Likewise.
19684 (CFLAGS-iofgets.c): Likewise.
19685 (CFLAGS-iofgetws.c): Likewise.
19686 (CFLAGS-iofputs.c): Likewise.
19687 (CFLAGS-iofputws.c): Likewise.
19688 (CFLAGS-iofread.c): Likewise.
19689 (CFLAGS-iofsetpos64.c): Likewise.
19690 (CFLAGS-iofsetpos.c): Likewise.
19691 (CFLAGS-ioftell.c): Likewise.
19692 (CFLAGS-iofwrite.c): Likewise.
19693 (CFLAGS-iogetdelim.c): Likewise.
19694 (CFLAGS-iogetline.c): Likewise.
19695 (CFLAGS-iogets.c): Likewise.
19696 (CFLAGS-iogetwline.c): Likewise.
19697 (CFLAGS-ioputs.c): Likewise.
19698 (CFLAGS-ioseekoff.c): Likewise.
19699 (CFLAGS-ioseekpos.c): Likewise.
19700 (CFLAGS-iosetbuffer.c): Likewise.
19701 (CFLAGS-iosetvbuf.c): Likewise.
19702 (CFLAGS-ioungetc.c): Likewise.
19703 (CFLAGS-ioungetwc.c): Likewise.
19704 (CFLAGS-oldfileops.c): Likewise.
19705 (CFLAGS-oldiofclose.c): Likewise.
19706 (CFLAGS-oldiofgetpos64.c): Likewise.
19707 (CFLAGS-oldiofgetpos.c): Likewise.
19708 (CFLAGS-oldiofsetpos64.c): Likewise.
19709 (CFLAGS-oldiofsetpos.c): Likewise.
19710 (CFLAGS-peekc.c): Likewise.
19711 (CFLAGS-putc.c): Likewise.
19712 (CFLAGS-putchar.c): Likewise.
19713 (CFLAGS-putwc.c): Likewise.
19714 (CFLAGS-putwchar.c): Likewise.
19715 (CFLAGS-rewind.c): Likewise.
19716 (CFLAGS-wfileops.c): Likewise.
19717 (CFLAGS-wgenops.c): Likewise.
19718 (CFLAGS-oldiofopen.c): Likewise.
19719 (CFLAGS-iofopen.c): Likewise.
19720 (CFLAGS-iofopen64.c): Likewise.
19721 (CFLAGS-oldtmpfile.c): Likewise.
19722 (CFLAGS-tst_putwc.c): Likewise.
19723 * locale/Makefile (CFLAGS-md5.c): Likewise.
19724 (CFLAGS-charmap.c): Likewise.
19725 (CFLAGS-locfile.c): Likewise.
19726 (CFLAGS-charmap-dir.c): Likewise.
19727 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19728 (CFLAGS-getpt.c): Likewise.
19729 (CFLAGS-pt_chown.c): Likewise.
19730 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19731 (CFLAGS-obstack.c): Likewise.
19732 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19733 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19734 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19735 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19736 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19737 (CFLAGS-test-tgmath.c): Likewise.
19738 (CFLAGS-test-tgmath2.c): Likewise.
19739 (CFLAGS-test-tgmath-ret.c): Likewise.
19740 (CFLAGS-test-powl.c): Likewise.
19741 (CFLAGS-test-snan.c): Likewise.
19742 (CFLAGS-test-signgam-finite.c): Likewise.
19743 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19744 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19745 (CFLAGS-test-signgam-uchar.c): Likewise.
19746 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19747 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19748 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19749 (CFLAGS-test-signgam-uint.c): Likewise.
19750 (CFLAGS-test-signgam-uint-init.c): Likewise.
19751 (CFLAGS-test-signgam-uint-static.c): Likewise.
19752 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19753 (CFLAGS-test-signgam-ullong.c): Likewise.
19754 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19755 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19756 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19757 (CFLAGS-test-math-cxx11.cc): Likewise.
19758 (CFLAGS-test-math-isinff.cc): Likewise.
19759 (CFLAGS-test-math-iszero.cc): Likewise.
19760 (CFLAGS-test-math-issignaling.cc): Likewise.
19761 (CFLAGS-test-math-iscanonical.cc): Likewise.
19762 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19763 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19764 (CFLAGS-test-flt-eval-method.c): Likewise.
19765 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19766 (CFLAGS-test-finite-macros.c): Likewise.
19767 * misc/Makefile (CFLAGS-select.c): Likewise.
19768 (CFLAGS-tsearch.c): Likewise.
19769 (CFLAGS-lsearch.c): Likewise.
19770 (CFLAGS-pselect.c): Likewise.
19771 (CFLAGS-readv.c): Likewise.
19772 (CFLAGS-writev.c): Likewise.
19773 (CFLAGS-preadv.c): Likewise.
19774 (CFLAGS-preadv64.c): Likewise.
19775 (CFLAGS-pwritev.c): Likewise.
19776 (CFLAGS-pwritev64.c): Likewise.
19777 (CFLAGS-preadv2.c): Likewise.
19778 (CFLAGS-preadv64v2.c): Likewise.
19779 (CFLAGS-pwritev2.c): Likewise.
19780 (CFLAGS-pwritev64v2.c): Likewise.
19781 (CFLAGS-usleep.c): Likewise.
19782 (CFLAGS-syslog.c): Likewise.
19783 (CFLAGS-error.c): Likewise.
19784 (CFLAGS-getpass.c): Likewise.
19785 (CFLAGS-mkstemp.c): Likewise.
19786 (CFLAGS-mkstemp64.c): Likewise.
19787 (CFLAGS-getsysstats.c): Likewise.
19788 (CFLAGS-getusershell.c): Likewise.
19789 (CFLAGS-err.c): Likewise.
19790 (CFLAGS-tst-tsearch.c): Likewise.
19791 (CFLAGS-msync.c): Likewise.
19792 (CFLAGS-fdatasync.c): Likewise.
19793 (CFLAGS-fsync.c): Likewise.
19794 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19795 (CFLAGS-unwind.c): Likewise.
19796 (CFLAGS-unwind-forcedunwind.c): Likewise.
19797 (CFLAGS-pthread_cancel.c): Likewise.
19798 (CFLAGS-pthread_setcancelstate.c): Likewise.
19799 (CFLAGS-pthread_setcanceltype.c): Likewise.
19800 (CFLAGS-cancellation.c): Likewise.
19801 (CFLAGS-libc-cancellation.c): Likewise.
19802 (CFLAGS-pthread_exit.c): Likewise.
19803 (CFLAGS-forward.c): Likewise.
19804 (CFLAGS-pthread_testcancel.c): Likewise.
19805 (CFLAGS-pthread_join.c): Likewise.
19806 (CFLAGS-pthread_timedjoin.c): Likewise.
19807 (CFLAGS-pthread_once.c): Likewise.
19808 (CFLAGS-pthread_cond_wait.c): Likewise.
19809 (CFLAGS-sem_wait.c): Likewise.
19810 (CFLAGS-sem_timedwait.c): Likewise.
19811 (CFLAGS-fcntl.c): Likewise.
19812 (CFLAGS-lockf.c): Likewise.
19813 (CFLAGS-pread.c): Likewise.
19814 (CFLAGS-pread64.c): Likewise.
19815 (CFLAGS-pwrite.c): Likewise.
19816 (CFLAGS-pwrite64.c): Likewise.
19817 (CFLAGS-wait.c): Likewise.
19818 (CFLAGS-waitpid.c): Likewise.
19819 (CFLAGS-sigwait.c): Likewise.
19820 (CFLAGS-msgrcv.c): Likewise.
19821 (CFLAGS-msgsnd.c): Likewise.
19822 (CFLAGS-tcdrain.c): Likewise.
19823 (CFLAGS-open.c): Likewise.
19824 (CFLAGS-open64.c): Likewise.
19825 (CFLAGS-pause.c): Likewise.
19826 (CFLAGS-recv.c): Likewise.
19827 (CFLAGS-send.c): Likewise.
19828 (CFLAGS-accept.c): Likewise.
19829 (CFLAGS-sendto.c): Likewise.
19830 (CFLAGS-connect.c): Likewise.
19831 (CFLAGS-recvfrom.c): Likewise.
19832 (CFLAGS-recvmsg.c): Likewise.
19833 (CFLAGS-sendmsg.c): Likewise.
19834 (CFLAGS-close.c): Likewise.
19835 (CFLAGS-read.c): Likewise.
19836 (CFLAGS-write.c): Likewise.
19837 (CFLAGS-nanosleep.c): Likewise.
19838 (CFLAGS-sigsuspend.c): Likewise.
19839 (CFLAGS-msync.c): Likewise.
19840 (CFLAGS-fdatasync.c): Likewise.
19841 (CFLAGS-fsync.c): Likewise.
19842 (CFLAGS-pt-system.c): Likewise.
19843 (CFLAGS-tst-cleanup2.c): Likewise.
19844 (CFLAGS-tst-cleanupx2.c): Likewise.
19845 (CFLAGS-flockfile.c): Likewise.
19846 (CFLAGS-ftrylockfile.c): Likewise.
19847 (CFLAGS-funlockfile.c): Likewise.
19848 (CFLAGS-tst-initializers1.c): Likewise.
19849 (CFLAGS-tst-initializers1-c89.c): Likewise.
19850 (CFLAGS-tst-initializers1-c99.c): Likewise.
19851 (CFLAGS-tst-initializers1-c11.c): Likewise.
19852 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19853 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19854 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19855 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19856 (CFLAGS-nscd_getgr_r.c): Likewise.
19857 (CFLAGS-nscd_gethst_r.c): Likewise.
19858 (CFLAGS-nscd_getai.c): Likewise.
19859 (CFLAGS-nscd_initgroups.c): Likewise.
19860 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19861 (CFLAGS-pause.c): Likewise.
19862 (CFLAGS-pread.c): Likewise.
19863 (CFLAGS-pread64.c): Likewise.
19864 (CFLAGS-pwrite.c): Likewise.
19865 (CFLAGS-pwrite64.c): Likewise.
19866 (CFLAGS-sleep.c): Likewise.
19867 (CFLAGS-wait.c): Likewise.
19868 (CFLAGS-waitid.c): Likewise.
19869 (CFLAGS-waitpid.c): Likewise.
19870 (CFLAGS-getopt.c): Likewise.
19871 (CFLAGS-wordexp.c): Likewise.
19872 (CFLAGS-sysconf.c): Likewise.
19873 (CFLAGS-pathconf.c): Likewise.
19874 (CFLAGS-fpathconf.c): Likewise.
19875 (CFLAGS-spawn.c): Likewise.
19876 (CFLAGS-spawnp.c): Likewise.
19877 (CFLAGS-spawni.c): Likewise.
19878 (CFLAGS-glob.c): Likewise.
19879 (CFLAGS-glob64.c): Likewise.
19880 (CFLAGS-getconf.c): Likewise.
19881 (CFLAGS-nanosleep.c): Likewise.
19882 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19883 (CFLAGS-getpwent.c): Likewise.
19884 (CFLAGS-getpw.c): Likewise.
19885 (CFLAGS-fgetpwent_r.c): Likewise.
19886 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19887 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19888 (CFLAGS-mq_timedreceive.c): Likewise.
19889 (CFLAGS-mq_timedsend.c): Likewise.
19890 (CFLAGS-clock_nanosleep.c): Likewise.
19891 (CFLAGS-librt-cancellation.c): Likewise.
19892 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19893 (CFLAGS-getspent.c): Likewise.
19894 (CFLAGS-fgetspent.c): Likewise.
19895 (CFLAGS-fgetspent_r.c): Likewise.
19896 (CFLAGS-putspent.c): Likewise.
19897 (CFLAGS-getspnam.c): Likewise.
19898 (CFLAGS-getspnam_r.c): Likewise.
19899 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19900 (CFLAGS-sigsuspend.c): Likewise.
19901 (CFLAGS-sigtimedwait.c): Likewise.
19902 (CFLAGS-sigwait.c): Likewise.
19903 (CFLAGS-sigwaitinfo.c): Likewise.
19904 (CFLAGS-sigreturn.c): Likewise.
19905 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19906 (CFLAGS-vfwprintf.c): Likewise.
19907 (CFLAGS-tmpfile.c): Likewise.
19908 (CFLAGS-tmpfile64.c): Likewise.
19909 (CFLAGS-tempname.c): Likewise.
19910 (CFLAGS-psignal.c): Likewise.
19911 (CFLAGS-vprintf.c): Likewise.
19912 (CFLAGS-cuserid.c): Likewise.
19913 (CFLAGS-errlist.c): Likewise.
19914 (CFLAGS-siglist.c): Likewise.
19915 (CFLAGS-scanf15.c): Likewise.
19916 (CFLAGS-scanf17.c): Likewise.
19917 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19918 (CFLAGS-msort.c): Likewise.
19919 (CFLAGS-qsort.c): Likewise.
19920 (CFLAGS-system.c): Likewise.
19921 (CFLAGS-fmtmsg.c): Likewise.
19922 (CFLAGS-strfmon.c): Likewise.
19923 (CFLAGS-strfmon_l.c): Likewise.
19924 (CFLAGS-strfromd.c): Likewise.
19925 (CFLAGS-strfromf.c): Likewise.
19926 (CFLAGS-strfroml.c): Likewise.
19927 (CFLAGS-tst-bsearch.c): Likewise.
19928 (CFLAGS-tst-qsort.c): Likewise.
19929 (CFLAGS-tst-makecontext2.c): Likewise.
19930 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19931 (CFLAGS-xnlm_prot.c): Likewise.
19932 (CFLAGS-xrstat.c): Likewise.
19933 (CFLAGS-xyppasswd.c): Likewise.
19934 (CFLAGS-xklm_prot.c): Likewise.
19935 (CFLAGS-xrex.c): Likewise.
19936 (CFLAGS-xsm_inter.c): Likewise.
19937 (CFLAGS-xmount.c): Likewise.
19938 (CFLAGS-xrusers.c): Likewise.
19939 (CFLAGS-xspray.c): Likewise.
19940 (CFLAGS-xnfs_prot.c): Likewise.
19941 (CFLAGS-xrquota.c): Likewise.
19942 (CFLAGS-xkey_prot.c): Likewise.
19943 (CFLAGS-auth_unix.c): Likewise.
19944 (CFLAGS-key_call.c): Likewise.
19945 (CFLAGS-pmap_rmt.c): Likewise.
19946 (CFLAGS-clnt_perr.c): Likewise.
19947 (CFLAGS-openchild.c): Likewise.
19948 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19949 (CFLAGS-msgsnd.c): Likewise.
19950 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19951 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19952 (CFLAGS-tzset.c): Likewise.
19953 (CFLAGS-getdate.c): Likewise.
19954 (CFLAGS-test_time.c): Likewise.
19955 (CPPFLAGS-tst-tzname.c): Likewise.
19956 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19957 (CFLAGS-zic.c): Likewise.
19958 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19959 (CFLAGS-wcswidth.c): Likewise.
19960 (CFLAGS-wcstol.c): Likewise.
19961 (CFLAGS-wcstoul.c): Likewise.
19962 (CFLAGS-wcstoll.c): Likewise.
19963 (CFLAGS-wcstoull.c): Likewise.
19964 (CFLAGS-wcstod.c): Likewise.
19965 (CFLAGS-wcstold.c): Likewise.
19966 (CFLAGS-wcstof128.c): Likewise.
19967 (CFLAGS-wcstof.c): Likewise.
19968 (CFLAGS-wcstol_l.c): Likewise.
19969 (CFLAGS-wcstoul_l.c): Likewise.
19970 (CFLAGS-wcstoll_l.c): Likewise.
19971 (CFLAGS-wcstoull_l.c): Likewise.
19972 (CFLAGS-wcstod_l.c): Likewise.
19973 (CFLAGS-wcstold_l.c): Likewise.
19974 (CFLAGS-wcstof128_l.c): Likewise.
19975 (CFLAGS-wcstof_l.c): Likewise.
19976 (CPPFLAGS-tst-wchar-h.c): Likewise.
19977 (CPPFLAGS-wcstold_l.c): Likewise.
19978
19979 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19980
19981 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19982
19983 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19984 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19985
19986 * manual/tunables.texi (Hardware Capability Tunables): Document
19987 glibc.tune.cached_memopt.
19988 * sysdeps/powerpc/cpu-features.c: New file.
19989 * sysdeps/powerpc/cpu-features.h: New file.
19990 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19991 _dl_powerpc_cpu_features.
19992 * sysdeps/powerpc/dl-tunables.list: New file.
19993 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19994 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19995 (INIT_ARCH): Initialize use_aligned_memopt.
19996 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19997 IS_IN(rtld))]: Restrict dl_platform_init availability and
19998 initialize CPU features used by tunables.
19999 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20000 Add memcpy-power8-cached.
20001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20002 __memcpy_power8_cached.
20003 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20004 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20005 New file.
20006
20007 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20008
20009 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20010 (CFLAGS-noinl-tester.c): Likewise.
20011 (CFLAGS-tst-strlen.c): Likewise.
20012 (CFLAGS-stratcliff.c): Likewise.
20013 (CFLAGS-test-ffs.c): Likewise.
20014 (CFLAGS-tst-inlcall.c): Likewise.
20015 (CFLAGS-tst-xbzero-opt.c): Likewise.
20016 (CFLAGS-memcpy.c): Likewise.
20017 (CFLAGS-wordcopy.c): Likewise.
20018
20019 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20020
20021 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20022 Store r15 on stack and add cfi rule.
20023 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20024 Likewise.
20025
20026 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20027
20028 [BZ #22577]
20029 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20030 call.
20031
20032 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20033
20034 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20035 Add s_sinf-sse2 and s_sinf-fma.
20036 (CFLAGS-s_sinf-fma.c): New.
20037 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20038 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20039 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20040
20041 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20042
20043 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20044
20045 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20046
20047 [BZ #22568]
20048 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20049 part of result to imaginary part of argument if it is zero and the
20050 real part of the argument is not finite.
20051 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20052 of result to real part of argument if it is zero and the imaginary
20053 part of the argument is not finite.
20054
20055 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20056
20057 [BZ #22524]
20058 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20059 and to the list of locales to be built for testing.
20060 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20061 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20062 and build the collation rules upon that.
20063
20064 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20065
20066 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20067 * manual/math.texi (Mathematics): Document support for _Float32.
20068 * math/Makefile (test-types): Add float32.
20069 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20070 * stdlib/Versions (GLIBC_2.27): Likewise.
20071 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20072 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20073 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20074 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20075 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20076 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20077 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20078 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20079 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20080 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20081 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20082 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20083 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20084 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20085 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20086 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20087 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20088 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20089 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20090 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20091 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20092 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20093 Likewise.
20094 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20095 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20096 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20097 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20098 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20100 Likewise.
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20102 Likewise.
20103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20104 Likewise.
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20106 Likewise.
20107
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20109 Likewise.
20110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20111 Likewise.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20113 Likewise.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20115 Likewise.
20116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20117 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20119 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20120 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20121 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20122 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20123 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20124 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20127 Likewise.
20128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20129 Likewise.
20130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20131 Likewise.
20132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20133 Likewise.
20134 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20135 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20136 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20137 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20138 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20139 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20140 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20141 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20142
20143 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20144
20145 * stdlib/strtof.c: Include <bits/floatn.h>
20146 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20147 and later undefine as macro. Define as weak alias if
20148 [!USE_WIDE_CHAR].
20149 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20150 and later undefine as macro. Define as weak alias if
20151 [USE_WIDE_CHAR].
20152 * stdlib/strtof_l.c: Include <bits/floatn.h>
20153 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20154 and later undefine as macro. Define as weak alias if
20155 [!USE_WIDE_CHAR].
20156 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20157 and later undefine as macro. Define as weak alias if
20158 [USE_WIDE_CHAR].
20159
20160 * stdlib/strfromf.c: Include <bits/floatn.h>.
20161 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20162 and later undefine as macro and define as weak alias.
20163
20164 * math/test-float32.h: New file.
20165
20166 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20167 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20168 (libm_alias_float_other_r): Create f32 alias.
20169 (libm_alias_float_r): Use semicolon before call to
20170 libm_alias_float_other_r.
20171
20172 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20173 second argument to libm_alias_float_other.
20174 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20175 second argument to libm_alias_float_other.
20176 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20177 argument to libm_alias_float_other.
20178
20179 [BZ #22561]
20180 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20181 real part of result for argument 0 + i * NaN.
20182 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20183 results for tests of 0 + i * NaN.
20184
20185 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20186
20187 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20188
20189 2017-12-06 David S. Miller <davem@davemloft.net>
20190
20191 * sysdeps/sparc/fpu/libm-test-ulps: Update
20192 exp_{downward,towardzero,upward} ulps.
20193
20194 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20195
20196 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20197 variables static.
20198
20199 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20200 (Y0_2D): Likewise.
20201 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20202 (Y0_2D): Likewise.
20203 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20204 (Y0_2D): Likewise.
20205 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20206 (Y0_2D): Likewise.
20207
20208 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20209
20210 [BZ #22515]
20211 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20212 and to the list of locales to be built for testing.
20213 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20214 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20215 and build the collation rules upon that.
20216
20217 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20218
20219 * NEWS: Add sinf to list of optimized functions.
20220
20221 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20222
20223 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20224 (__HAVE_FLOAT32X): Likewise.
20225 * manual/math.texi (Mathematics): Document support for _Float64
20226 and _Float32x.
20227 * math/Makefile (test-types): Add float64 and float32x.
20228 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20229 functions.
20230 * stdlib/Versions (GLIBC_2.27): Likewise.
20231 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20232 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20233 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20234 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20235 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20236 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20237 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20238 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20239 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20240 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20241 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20242 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20243 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20244 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20245 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20246 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20247 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20248 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20249 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20250 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20251 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20252 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20253 Likewise.
20254 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20255 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20256 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20257 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20258 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20260 Likewise.
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20262 Likewise.
20263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20264 Likewise.
20265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20266 Likewise.
20267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20268 Likewise.
20269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20270 Likewise.
20271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20272 Likewise.
20273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20274 Likewise.
20275 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20276 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20277 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20278 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20279 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20280 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20281 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20282 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20283 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20284 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20286 Likewise.
20287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20288 Likewise.
20289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20290 Likewise.
20291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20292 Likewise.
20293 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20294 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20295 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20296 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20297 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20298 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20299 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20300 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20301
20302 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20303
20304 * bits/floatn-common.h: Include <bits/long-double.h>.
20305 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20306 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20307 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20308 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20309 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20310 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20311 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20312 (__builtin_huge_valf64): Use __builtin_huge_vall.
20313 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20314 (__builtin_inff64): Use __builtin_infl.
20315 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20316 (__builtin_nanf64): Use __builtin_nanl.
20317 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20318 (__builtin_nansf64): Use __builtin_nansl.
20319
20320 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20321 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20322 Carlos O'Donnell <carlos@redhat.com>
20323
20324 * elf/dl-tunables.list: Add elision parameters.
20325 * manual/tunables.texi: Add entries about elision tunable.
20326 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20327 Add callback functions to dynamically enable/disable elision.
20328 Add multiple callbacks functions to set elision parameters.
20329 Deleted __libc_enable_secure check.
20330 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20331 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20332 * configure: Regenerated.
20333 * configure.ac: Option enable_lock_elision was deleted.
20334 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20335 * config.make.in: Remove references to enable_lock_elision.
20336 * manual/install.texi: Elision configure option was removed.
20337 * INSTALL: Regenerated to remove enable_lock_elision.
20338 * nptl/Makefile:
20339 Disable elision so it can verify error case for destroying a mutex.
20340 * sysdeps/powerpc/nptl/elide.h:
20341 Cleanup ENABLE_LOCK_ELISION check.
20342 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20343 * sysdeps/s390/configure: Regenerated.
20344 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20345 * nptl/tst-mutex8.c:
20346 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20347 * sysdeps/powerpc/powerpc32/sysdep.h:
20348 Deleted all ENABLE_LOCK_ELISION checks.
20349 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20350 * sysdeps/powerpc/sysdep.h: Likewise.
20351 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20352 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20353 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20354 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20355 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20356 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20357 enable-lock-elision.
20358
20359 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20360
20361 * stdlib/strtod.c: Include <bits/floatn.h>.
20362 (BUILD_DOUBLE): New macro.
20363 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20364 (strtof64): Define and later undefine as macro. Define as weak
20365 alias if [!USE_WIDE_CHAR].
20366 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20367 (wcstof64): Define and later undefine as macro. Define as weak
20368 alias if [USE_WIDE_CHAR].
20369 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20370 (strtof32x): Define and later undefine as macro. Define as weak
20371 alias if [!USE_WIDE_CHAR].
20372 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20373 (wcstof32x): Define and later undefine as macro. Define as weak
20374 alias if [USE_WIDE_CHAR].
20375 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20376 (BUILD_DOUBLE): New macro.
20377 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20378 (strtof64_l): Define and later undefine as macro. Define as weak
20379 alias if [!USE_WIDE_CHAR].
20380 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20381 (wcstof64_l): Define and later undefine as macro. Define as weak
20382 alias if [USE_WIDE_CHAR].
20383 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20384 (strtof32x_l): Define and later undefine as macro. Define as weak
20385 alias if [!USE_WIDE_CHAR].
20386 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20387 (wcstof32x_l): Define and later undefine as macro. Define as weak
20388 alias if [USE_WIDE_CHAR].
20389
20390 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20391
20392 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20393 (reduced): Use ones as double instead of integer.
20394
20395 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20396
20397 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20398
20399 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20400
20401 * stdlib/strfromd.c: Include <bits/floatn.h>.
20402 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20403 and later undefine as macro and define as weak alias.
20404 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20405 Likewise.
20406
20407 * math/test-float32x.h: New file.
20408 * math/test-float64.h: Likewise.
20409
20410 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20411 (libm_alias_double_other_r_f64): New macro.
20412 (libm_alias_double_other_r_f32x): Likewise.
20413 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20414 libm_alias_double_other_r_f32x.
20415 (libm_alias_double_r): Use semicolon before call to
20416 libm_alias_double_other_r.
20417 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20418 <bits/floatn.h>.
20419 (libm_alias_double_other_r_f64): New macro.
20420 (libm_alias_double_other_r_f32x): Likewise.
20421 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20422 libm_alias_double_other_r_f32x.
20423
20424 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20425
20426 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20427 int.
20428 (SINF_FUNC): Likewise. Replace floor with simple casts.
20429
20430 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20431
20432 [BZ #22517]
20433 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20434 and to the list of locales to be built for testing.
20435 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20436 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20437 and build the collation rules upon that.
20438
20439 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20440
20441 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20442 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20443 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20444 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20445 instead of __insn__xxx.
20446 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20447 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20448 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20449 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20450 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20451 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20452
20453 2017-12-05 Florian Weimer <fweimer@redhat.com>
20454
20455 Linux: Implement interfaces for memory protection keys
20456 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20457 xsignal, xsysconf.
20458 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20459 * support/xunistd.h (xsysconf): Declare.
20460 * support/xraise.c: New file.
20461 * support/xsigaction.c: Likewise.
20462 * support/xsignal.c: Likewise.
20463 * support/xsysconf.c: Likewise.
20464 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20465 pkey_set, pkey_get, pkey_mprotect.
20466 [misc] (tests): Add tst-pkey.
20467 (tst-pkey): Link with -lpthread.
20468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20469 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20470 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20471 (PKEY_DISABLE_WRITE): Define.
20472 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20473 Declare.
20474 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20475 (SEGV_PKUERR): Add.
20476 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20477 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20478 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20479 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20480 Add.
20481 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20482 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20483 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20484 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20485 * sysdeps/unix/sysv/linux/**.abilist: Update.
20486
20487 2017-12-05 Florian Weimer <fweimer@redhat.com>
20488
20489 * support/tst-test_compare.c (subprocess): Use long long instead
20490 of long argument for consistent type width across 32-bit and
20491 64-bit architectures.
20492 (do_test): Adjust expected output.
20493
20494 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20495
20496 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20497 (cosf): Define using libm_alias_float.
20498 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20499 (fabsf): Define using libm_alias_float.
20500 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20501 (fmaf): Define using libm_alias_float.
20502 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20503 (rintf): Define using libm_alias_float.
20504 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20505 (sinf): Define using libm_alias_float.
20506 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20507 <libm-alias-float.h>.
20508 (modff): Define using libm_alias_float.
20509 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20510 <libm-alias-float.h>.
20511 (logbf): Define using libm_alias_float.
20512 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20513 <libm-alias-float.h>.
20514 (ceilf): Define using libm_alias_float.
20515 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20516 <libm-alias-float.h>.
20517 (copysignf): Define using libm_alias_float.
20518 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20519 <libm-alias-float.h>.
20520 (floorf): Define using libm_alias_float.
20521 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20522 <libm-alias-float.h>.
20523 (llrintf): Define using libm_alias_float.
20524 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20525 <libm-alias-float.h>.
20526 (llroundf): Define using libm_alias_float.
20527 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20528 <libm-alias-float.h>.
20529 (lrintf): Define using libm_alias_float.
20530 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20531 <libm-alias-float.h>.
20532 (lroundf): Define using libm_alias_float.
20533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20534 <libm-alias-float.h>.
20535 (nearbyintf): Define using libm_alias_float.
20536 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20537 <libm-alias-float.h>.
20538 (rintf): Define using libm_alias_float.
20539 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20540 <libm-alias-float.h>.
20541 (roundf): Define using libm_alias_float.
20542 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20543 <libm-alias-float.h>.
20544 (truncf): Define using libm_alias_float.
20545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20546 Include <libm-alias-float.h>.
20547 (ceilf): Define using libm_alias_float.
20548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20549 Include <libm-alias-float.h>.
20550 (copysignf): Define using libm_alias_float.
20551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20552 Include <libm-alias-float.h>.
20553 (floorf): Define using libm_alias_float.
20554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20555 Include <libm-alias-float.h>.
20556 (llrintf): Define using libm_alias_float.
20557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20558 Include <libm-alias-float.h>.
20559 (llroundf): Define using libm_alias_float.
20560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20561 Include <libm-alias-float.h>.
20562 (logbf): Define using libm_alias_float.
20563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20564 Include <libm-alias-float.h>.
20565 (lrintf): Define using libm_alias_float.
20566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20567 Include <libm-alias-float.h>.
20568 (lroundf): Define using libm_alias_float.
20569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20570 Include <libm-alias-float.h>.
20571 (modff): Define using libm_alias_float.
20572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20573 Include <libm-alias-float.h>.
20574 (roundf): Define using libm_alias_float.
20575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20576 Include <libm-alias-float.h>.
20577 (truncf): Define using libm_alias_float.
20578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20579 <libm-alias-float.h>.
20580 (llrintf): Define using libm_alias_float.
20581 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20582 <libm-alias-float.h>.
20583 (llroundf): Define using libm_alias_float.
20584 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20585 <libm-alias-float.h>.
20586 (ceilf): Define using libm_alias_float.
20587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20588 <libm-alias-float.h>.
20589 (floorf): Define using libm_alias_float.
20590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20591 <libm-alias-float.h>.
20592 (llroundf): Define using libm_alias_float.
20593 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20594 <libm-alias-float.h>.
20595 (lroundf): Define using libm_alias_float.
20596 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20597 <libm-alias-float.h>.
20598 (roundf): Define using libm_alias_float.
20599 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20600 <libm-alias-float.h>.
20601 (truncf): Define using libm_alias_float.
20602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20603 <libm-alias-float.h>.
20604 (copysignf): Define using libm_alias_float.
20605 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20606 <libm-alias-float.h>.
20607 (llrintf): Define using libm_alias_float.
20608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20609 <libm-alias-float.h>.
20610 (llroundf): Define using libm_alias_float.
20611 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20612 <libm-alias-float.h>.
20613 (lrintf): Define using libm_alias_float.
20614 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20615 <libm-alias-float.h>.
20616 (lroundf): Define using libm_alias_float.
20617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20618 <libm-alias-float.h>.
20619 (ceilf): Define using libm_alias_float.
20620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20621 <libm-alias-float.h>.
20622 (copysignf): Define using libm_alias_float.
20623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20624 <libm-alias-float.h>.
20625 (cosf): Define using libm_alias_float.
20626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20627 <libm-alias-float.h>.
20628 (floorf): Define using libm_alias_float.
20629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20630 <libm-alias-float.h>.
20631 (llrintf): Define using libm_alias_float.
20632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20633 <libm-alias-float.h>.
20634 (llroundf): Define using libm_alias_float.
20635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20636 <libm-alias-float.h>.
20637 (logbf): Define using libm_alias_float.
20638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20639 <libm-alias-float.h>.
20640 (modff): Define using libm_alias_float.
20641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20642 <libm-alias-float.h>.
20643 (roundf): Define using libm_alias_float.
20644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20645 <libm-alias-float.h>.
20646 (sinf): Define using libm_alias_float.
20647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20648 <libm-alias-float.h>.
20649 (truncf): Define using libm_alias_float.
20650 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20651 <libm-alias-float.h>.
20652 (ceilf): Define using libm_alias_float.
20653 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20654 <libm-alias-float.h>.
20655 (copysignf): Define using libm_alias_float.
20656 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20657 <libm-alias-float.h>.
20658 (floorf): Define using libm_alias_float.
20659 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20660 <libm-alias-float.h>.
20661 (llrintf): Define using libm_alias_float.
20662 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20663 <libm-alias-float.h>.
20664 (llroundf): Define using libm_alias_float.
20665 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20666 <libm-alias-float.h>.
20667 (nearbyintf): Define using libm_alias_float.
20668 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20669 <libm-alias-float.h>.
20670 (rintf): Define using libm_alias_float.
20671 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20672 <libm-alias-float.h>.
20673 (roundf): Define using libm_alias_float.
20674 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20675 <libm-alias-float.h>.
20676 (truncf): Define using libm_alias_float.
20677 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20678 <libm-alias-float.h>.
20679 (ceilf): Define using libm_alias_float.
20680 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20681 <libm-alias-float.h>.
20682 (floorf): Define using libm_alias_float.
20683 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20684 <libm-alias-float.h>.
20685 (llroundf): Define using libm_alias_float.
20686 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20687 <libm-alias-float.h>.
20688 (roundf): Define using libm_alias_float.
20689 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20690 <libm-alias-float.h>.
20691 (truncf): Define using libm_alias_float.
20692 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20693 <libm-alias-float.h>.
20694 (copysignf): Define using libm_alias_float.
20695 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20696 <libm-alias-float.h>.
20697 (llrintf): Define using libm_alias_float.
20698 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20699 <libm-alias-float.h>.
20700 (llroundf): Define using libm_alias_float.
20701 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20702 <libm-alias-float.h>.
20703 (cosf): Define using libm_alias_float.
20704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20705 <libm-alias-float.h>.
20706 (llrintf): Define using libm_alias_float.
20707 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20708 <libm-alias-float.h>.
20709 (llroundf): Define using libm_alias_float.
20710 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20711 <libm-alias-float.h>.
20712 (sinf): Define using libm_alias_float.
20713
20714 2017-12-04 Florian Weimer <fweimer@redhat.com>
20715
20716 * support/check.h (TEST_COMPARE): Define.
20717 (support_test_compare_failure): Declare.
20718 * support/Makefile (libsupport-routines): Add
20719 support_test_compare_failure.
20720 (tests): Add tst-test_compare.
20721 * support /support_test_compare_failure.c: New file.
20722 * support/tst-test_compare.c: Likewise.
20723
20724 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20725
20726 [BZ #22527]
20727 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20728 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20729 available, this rewrite of the collation rules does reproduce
20730 the test file in the same order.
20731
20732 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20733
20734 [BZ #10580]
20735 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20736 digraphs in the month and day names. Using single code points for
20737 digraphs is deprecated. While there are dedicated Unicode
20738 codepoints, for the digraphs, these are included for backwards
20739 compatibility and modern texts use a sequence of Basic Latin
20740 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20741 This makes the month and day names agree exactly with CLDR now,
20742 CLDR does not use the single code points for the digraphs either.
20743
20744 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20745
20746 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20747
20748 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20749
20750 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20751 of floor.
20752
20753 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20754
20755 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20756 Define only for libc.so.
20757
20758 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20759
20760 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20761 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20762 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20763 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20765
20766 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20767
20768 [BZ #5997]
20769 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20770
20771 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20772
20773 [BZ libc/19170]
20774 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20775 PREINIT_FUNCTION_WEAK is nonzero.
20776 (gmon_initializer): New function. Put procedure label for it in
20777 .init_array section.
20778 (_init): Don't call PREINIT_FUNCTION.
20779 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20780 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20781 value when map argument is null.
20782
20783 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20784 depi instruction from PIC pc-relative sequence.
20785 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20786 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20787 (elf_machine_load_address): Likewise.
20788 (elf_machine_runtime_setup): Likewise.
20789
20790 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20791
20792 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20793 <libm-alias-double.h>.
20794 (logb): Define using libm_alias_double.
20795 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20796 <libm-alias-double.h>.
20797 (copysign): Define using libm_alias_double.
20798 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20799 <libm-alias-double.h>.
20800 (llrint): Define using libm_alias_double.
20801 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20802 <libm-alias-double.h>.
20803 (llround): Define using libm_alias_double.
20804 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20805 <libm-alias-double.h>.
20806 (lrint): Define using libm_alias_double.
20807 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20808 <libm-alias-double.h>.
20809 (lround): Define using libm_alias_double.
20810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20811 Include <libm-alias-double.h>.
20812 (copysign): Define using libm_alias_double.
20813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20814 Include <libm-alias-double.h>.
20815 (llrint): Define using libm_alias_double.
20816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20817 Include <libm-alias-double.h>.
20818 (llround): Define using libm_alias_double.
20819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20820 <libm-alias-double.h>.
20821 (logb): Define using libm_alias_double.
20822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20823 Include <libm-alias-double.h>.
20824 (lrint): Define using libm_alias_double.
20825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20826 Include <libm-alias-double.h>.
20827 (lround): Define using libm_alias_double.
20828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20829 <libm-alias-double.h>.
20830 (llrint): Define using libm_alias_double.
20831 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20832 <libm-alias-double.h>.
20833 (llround): Define using libm_alias_double.
20834 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20835 <libm-alias-double.h>.
20836 (llround): Define using libm_alias_double.
20837 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20838 <libm-alias-double.h>.
20839 (lround): Define using libm_alias_double.
20840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20841 <libm-alias-double.h>.
20842 (copysign): Define using libm_alias_double.
20843 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20844 <libm-alias-double.h>.
20845 (llrint): Define using libm_alias_double.
20846 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20847 <libm-alias-double.h>.
20848 (llround): Define using libm_alias_double.
20849 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20850 <libm-alias-double.h>.
20851 (lrint): Define using libm_alias_double.
20852 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20853 <libm-alias-double.h>.
20854 (lround): Define using libm_alias_double.
20855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20856 <libm-alias-double.h>.
20857 (copysign): Define using libm_alias_double.
20858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20859 <libm-alias-double.h>.
20860 (llrint): Define using libm_alias_double.
20861 (lrint): Likewise.
20862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20863 <libm-alias-double.h>.
20864 (llround): Define using libm_alias_double.
20865 (lround): Likewise.
20866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20867 <libm-alias-double.h>.
20868 (logb): Define using libm_alias_double.
20869 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20870 <libm-alias-double.h>.
20871 (copysign): Define using libm_alias_double.
20872 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20873 <libm-alias-double.h>.
20874 (llrint): Define using libm_alias_double.
20875 (lrint): Likewise.
20876 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20877 <libm-alias-double.h>.
20878 (llround): Define using libm_alias_double.
20879 (lround): Likewise.
20880 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20881 <libm-alias-double.h>.
20882 (llround): Define using libm_alias_double.
20883 (lround): Likewise.
20884 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20885 <libm-alias-double.h>.
20886 (copysign): Define using libm_alias_double.
20887 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20888 <libm-alias-double.h>.
20889 (llrint): Define using libm_alias_double.
20890 (lrint): Likewise.
20891 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20892 <libm-alias-double.h>.
20893 (llround): Define using libm_alias_double.
20894 (lround): Likewise.
20895 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20896 <libm-alias-double.h>.
20897 (llrint): Define using libm_alias_double.
20898 (lrint): Likewise.
20899 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20900 <libm-alias-double.h>.
20901 (llround): Define using libm_alias_double.
20902 (lround): Likewise.
20903
20904 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20905
20906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20907 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20908 compat symbol based on llround.
20909
20910 * sysdeps/powerpc/power7/fpu/s_logb.c
20911 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20912 symbol based on __logb, not on logb.
20913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20914 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20916 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20917
20918 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20919 (rint): Define using libm_alias_double.
20920 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20921 <libm-alias-double.h>.
20922 (modf): Define using libm_alias_double.
20923 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20924 <libm-alias-double.h>.
20925 (ceil): Define using libm_alias_double.
20926 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20927 <libm-alias-double.h>.
20928 (floor): Define using libm_alias_double.
20929 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20930 <libm-alias-double.h>.
20931 (nearbyint): Define using libm_alias_double.
20932 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20933 <libm-alias-double.h>.
20934 (rint): Define using libm_alias_double.
20935 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20936 <libm-alias-double.h>.
20937 (round): Define using libm_alias_double.
20938 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20939 <libm-alias-double.h>.
20940 (trunc): Define using libm_alias_double.
20941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20942 <libm-alias-double.h>.
20943 (ceil): Define using libm_alias_double.
20944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20945 Include <libm-alias-double.h>.
20946 (floor): Define using libm_alias_double.
20947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20948 <libm-alias-double.h>.
20949 (modf): Define using libm_alias_double.
20950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20951 Include <libm-alias-double.h>.
20952 (round): Define using libm_alias_double.
20953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20954 Include <libm-alias-double.h>.
20955 (trunc): Define using libm_alias_double.
20956 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20957 <libm-alias-double.h>.
20958 (ceil): Define using libm_alias_double.
20959 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20960 <libm-alias-double.h>.
20961 (floor): Define using libm_alias_double.
20962 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20963 <libm-alias-double.h>.
20964 (round): Define using libm_alias_double.
20965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20966 <libm-alias-double.h>.
20967 (trunc): Define using libm_alias_double.
20968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20969 <libm-alias-double.h>.
20970 (ceil): Define using libm_alias_double.
20971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20972 <libm-alias-double.h>.
20973 (floor): Define using libm_alias_double.
20974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20975 <libm-alias-double.h>.
20976 (modf): Define using libm_alias_double.
20977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20978 <libm-alias-double.h>.
20979 (round): Define using libm_alias_double.
20980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20981 <libm-alias-double.h>.
20982 (trunc): Define using libm_alias_double.
20983 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20984 <libm-alias-double.h>.
20985 (ceil): Define using libm_alias_double.
20986 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20987 <libm-alias-double.h>.
20988 (floor): Define using libm_alias_double.
20989 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20990 <libm-alias-double.h>.
20991 (nearbyint): Define using libm_alias_double.
20992 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20993 <libm-alias-double.h>.
20994 (rint): Define using libm_alias_double.
20995 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20996 <libm-alias-double.h>.
20997 (round): Define using libm_alias_double.
20998 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20999 <libm-alias-double.h>.
21000 (trunc): Define using libm_alias_double.
21001 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21002 <libm-alias-double.h>.
21003 (ceil): Define using libm_alias_double.
21004 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21005 <libm-alias-double.h>.
21006 (floor): Define using libm_alias_double.
21007 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21008 <libm-alias-double.h>.
21009 (round): Define using libm_alias_double.
21010 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21011 <libm-alias-double.h>.
21012 (trunc): Define using libm_alias_double.
21013
21014 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21015 (fabs): Define using libm_alias_double.
21016 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21017 (fma): Define using libm_alias_double.
21018 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21019 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21020 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21021 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21022
21023 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21024
21025 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21026
21027 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21028 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21029 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21030
21031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21032 due redirect macro.
21033
21034 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21035
21036 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21037
21038 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21039
21040 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21041 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21042 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21043 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21044
21045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21046 (libm-sysdep_routines): Add s_nearbyintf-generic and
21047 s_nearbyint-generic.
21048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21049 New file.
21050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21052 Likewise.
21053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21054 Likewise.
21055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21056 file.
21057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21058 Likewise.
21059
21060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21061 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21063 file.
21064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21066 Likewise.
21067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21070
21071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21072 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21074 file.
21075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21077 Likewise.
21078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21081
21082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21083 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21085 file.
21086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21088 Likewise.
21089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21092
21093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21094 (sysdep_calls): New rule.
21095 (sysdep_routines): Use sysdep_calls as base.
21096 (libm-sysdep_routines): Add generic rule for symbols shared with
21097 libc. Add s_copysign-generic and s_copysign-generic objects.
21098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21099 New file.
21100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21102 Likewise.
21103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21106
21107 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21108
21109 [BZ #22519]
21110 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21111 the list of locales to be built for testing.
21112 * localedata/is_IS.UTF-8.in: New file.
21113 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21114 on iso14651_t1.
21115
21116 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21117
21118 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21119 <libm-alias-float.h>.
21120 (fabsf): Define using libm_alias_float.
21121
21122 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21123
21124 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21125
21126 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21127
21128 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21129 <libm-alias-float.h>.
21130 (fabsf): Define using libm_alias_float.
21131 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21132 <libm-alias-float.h>.
21133 (lrintf): Define using libm_alias_float.
21134 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21135 <libm-alias-float.h>.
21136 (rintf): Define using libm_alias_float.
21137
21138 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21139 <libm-alias-double.h>.
21140 (fabs): Define using libm_alias_double.
21141 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21142 <libm-alias-double.h>.
21143 (lrint): Define using libm_alias_double.
21144 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21145 <libm-alias-double.h>.
21146 (rint): Define using libm_alias_double.
21147
21148 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21149 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21150 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21151 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21152 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21153 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21154 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21155 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21156 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21157 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21158 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21159 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21160 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21161 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21162 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21163 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21164 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21165 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21166 s_atan_template.c.
21167 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21168 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21169 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21170 s_ceil_template.c.
21171 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21172 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21173 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21174 s_cos_template.c.
21175 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21176 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21177 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21178 s_expm1_template.c.
21179 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21180 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21181 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21182 s_fabs_template.c.
21183 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21184 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21185 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21186 s_floor_template.c.
21187 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21188 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21189 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21190 s_frexp_template.c.
21191 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21192 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21193 s_lrint_template.c.
21194 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21195 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21196 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21197 s_modf_template.c.
21198 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21199 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21200 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21201 s_nearbyint_template.c.
21202 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21203 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21204 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21205 s_remquo_template.c.
21206 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21207 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21208 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21209 s_rint_template.c.
21210 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21211 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21212 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21213 s_sin_template.c.
21214 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21215 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21216 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21217 s_sincos_template.c.
21218 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21219 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21220 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21221 s_tan_template.c.
21222 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21223 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21224 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21225 s_tanh_template.c.
21226 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21227 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21228 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21229 s_trunc_template.c.
21230 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21231 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21232 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21233 s_atan.c instead of including s_atan.c.
21234 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21235 s_atanf.c instead of including s_atanf.c.
21236 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21237 s_atanl.c instead of including s_atanl.c.
21238 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21239 instead of s_atan.c.
21240 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21241 instead of s_atanf.c.
21242 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21243 instead of s_atanl.c.
21244
21245 * scripts/update-copyrights: Do not handle intl/plural.c
21246 specially.
21247
21248 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21249
21250 [BZ #22432]
21251 * configure.ac (BISON): Require to be present.
21252 * configure: Regenerated.
21253 * intl/Makefile (generated): Add plural.c.
21254 [$(BISON) != no]: Make code unconditional.
21255 (plural.c): Change rule to $(objpfx)plural.c.
21256 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21257 * intl/plural.c: Remove.
21258 * manual/install.texi (Tools for Compilation): Document bison as
21259 required.
21260 * INSTALL: Regenerated.
21261
21262 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21263
21264 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21265 <libm-alias-double.h>.
21266 (llrint): Define using libm_alias_double.
21267 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21268 <libm-alias-float.h>.
21269 (llrintf): Define using libm_alias_float.
21270 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21271 <libm-alias-ldouble.h>.
21272 (llrintl): Define using libm_alias_ldouble.
21273
21274 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21275 declare_mgen_alias instead of weak_alias.
21276 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21277 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21278 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21279
21280 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21281
21282 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21283 Add add_n-generic.
21284 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21285 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21286 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21287
21288 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21289 Add submul_1-generic.
21290 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21291 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21292 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21293
21294 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21295 Add addmul_1-generic.
21296 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21297 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21298 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21299
21300 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21301 Add sub_n-generic.
21302 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21303 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21304 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21305
21306 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21307 Add mul_1-generic.
21308 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21309 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21311
21312 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21313
21314 According to CLDR, collation rules for Serbian and Bosnian
21315 should be the same as for Croatian.
21316
21317 [BZ #22534]
21318 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21319 and to the list of locales to be built for testing.
21320 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21321 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21322 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21323 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21324
21325 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21326
21327 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21328 to make test case pass.
21329 * localedata/hr_HR.UTF-8.in: Add more test strings.
21330
21331 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21332
21333 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21334
21335 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21336
21337 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21338 the list of locales to built for testing.
21339 * localedata/hr_HR.UTF-8.in: New file.
21340
21341 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21342
21343 [BZ #10580]
21344 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21345 iso14651_t1.
21346 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21347 CLDR (except use ligatures for the digraphs, CLDR does not use
21348 the ligatures), add first_workday, some fixes in the date and time
21349 formats.
21350 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21351 for Đ and đ.
21352 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21353 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21354 Add int_p_cs_precedes and int_n_cs_precedes.
21355 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21356 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21357 LC_MONETARY now).
21358 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21359 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21360 name_miss.
21361 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21362 and lang_lib. Change postal_fmt.
21363
21364 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21365
21366 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21367 <setjmp.h>.
21368 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21369 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21370 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21371 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21372 * sysdeps/generic/setjmpP.h: New file.
21373 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21374 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21375 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21376 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21377 Add jmp_buf-ssp.sym.
21378 (tests): Add tst-saved_mask-1.
21379
21380 2017-11-30 Arjun Shankar <arjun@redhat.com>
21381
21382 [BZ #22375]
21383 CVE-2017-17426
21384 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21385 instead of request2size.
21386
21387 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21388
21389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21390 (__lllrint): Remove alias.
21391 (lllrint): Likewise.
21392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21393 (__lllrintf): Likewise.
21394 (lllrintf): Likewise.
21395
21396 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21397 <libm-alias-float.h>.
21398 (copysignf): Define using libm_alias_float.
21399 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21400 <libm-alias-float.h>.
21401 (fabsf): Define using libm_alias_float.
21402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21403 Include <libm-alias-float.h>.
21404 (copysignf): Define using libm_alias_float.
21405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21406 <libm-alias-float.h>.
21407 (fabsf): Define using libm_alias_float.
21408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21409 <libm-alias-float.h>.
21410 (fdimf): Define using libm_alias_float.
21411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21412 <libm-alias-float.h>.
21413 (fmaf): Define using libm_alias_float.
21414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21415 <libm-alias-float.h>.
21416 (llrintf): Define using libm_alias_float.
21417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21418 Include <libm-alias-float.h>.
21419 (nearbyintf): Define using libm_alias_float.
21420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21421 <libm-alias-float.h>.
21422 (rintf): Define using libm_alias_float.
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21424 <libm-alias-float.h>.
21425 (llrintf): Define using libm_alias_float.
21426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21427 <libm-alias-float.h>.
21428 (lrintf): Define using libm_alias_float.
21429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21430 <libm-alias-float.h>.
21431 (nearbyintf): Define using libm_alias_float.
21432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21433 <libm-alias-float.h>.
21434 (rintf): Define using libm_alias_float.
21435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21436 <libm-alias-float.h>.
21437 (ceilf): Define using libm_alias_float.
21438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21439 <libm-alias-float.h>.
21440 (floorf): Define using libm_alias_float.
21441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21442 <libm-alias-float.h>.
21443 (fmaf): Define using libm_alias_float.
21444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21445 <libm-alias-float.h>.
21446 (lrintf): Define using libm_alias_float.
21447 (llrintf): Likewise.
21448 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21449 <libm-alias-float.h>.
21450 (nearbyintf): Define using libm_alias_float.
21451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21452 <libm-alias-float.h>.
21453 (rintf): Define using libm_alias_float.
21454 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21455 <libm-alias-float.h>.
21456 (truncf): Define using libm_alias_float.
21457 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21458 <libm-alias-float.h>.
21459 (copysignf): Define using libm_alias_float.
21460 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21461 <libm-alias-float.h>.
21462 (fabsf): Define using libm_alias_float.
21463 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21464 <libm-alias-float.h>.
21465 (lrintf): Define using libm_alias_float.
21466 (llrintf): Likewise.
21467 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21468 <libm-alias-float.h>.
21469 (nearbyintf): Define using libm_alias_float.
21470 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21471 <libm-alias-float.h>.
21472 (rintf): Define using libm_alias_float.
21473
21474 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21475
21476 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21477 <libm-alias-double.h>.
21478 (copysign): Define using libm_alias_double.
21479 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21480 <libm-alias-double.h>.
21481 (fabs): Define using libm_alias_double.
21482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21483 Include <libm-alias-double.h>.
21484 (copysign): Define using libm_alias_double.
21485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21486 <libm-alias-double.h>.
21487 (fabs): Define using libm_alias_double.
21488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21489 <libm-alias-double.h>.
21490 (fdim): Define using libm_alias_double.
21491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21492 <libm-alias-double.h>.
21493 (fma): Define using libm_alias_double.
21494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21495 <libm-alias-double.h>.
21496 (llrint): Define using libm_alias_double.
21497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21498 Include <libm-alias-double.h>.
21499 (nearbyint): Define using libm_alias_double.
21500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21501 <libm-alias-double.h>.
21502 (rint): Define using libm_alias_double.
21503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21504 <libm-alias-double.h>.
21505 (fabs): Define using libm_alias_double.
21506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21507 <libm-alias-double.h>.
21508 (llrint): Define using libm_alias_double.
21509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21510 <libm-alias-double.h>.
21511 (nearbyint): Define using libm_alias_double.
21512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21513 <libm-alias-double.h>.
21514 (rint): Define using libm_alias_double.
21515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21516 <libm-alias-double.h>.
21517 (ceil): Define using libm_alias_double.
21518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21519 <libm-alias-double.h>.
21520 (floor): Define using libm_alias_double.
21521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21522 <libm-alias-double.h>.
21523 (fma): Define using libm_alias_double.
21524 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21525 <libm-alias-double.h>.
21526 (lrint): Define using libm_alias_double.
21527 (llrint): Likewise.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21529 <libm-alias-double.h>.
21530 (nearbyint): Define using libm_alias_double.
21531 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21532 <libm-alias-double.h>.
21533 (rint): Define using libm_alias_double.
21534 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21535 <libm-alias-double.h>.
21536 (trunc): Define using libm_alias_double.
21537 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21538 <libm-alias-double.h>.
21539 (copysign): Define using libm_alias_double.
21540 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21541 <libm-alias-double.h>.
21542 (fabs): Define using libm_alias_double.
21543 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21544 <libm-alias-double.h>.
21545 (lrint): Define using libm_alias_double.
21546 (llrint): Likewise.
21547 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21548 <libm-alias-double.h>.
21549 (nearbyint): Define using libm_alias_double.
21550 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21551 <libm-alias-double.h>.
21552 (rint): Define using libm_alias_double.
21553
21554 [BZ #22229]
21555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21556 <math_ldbl_opt.h>.
21557 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21558
21559 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21560 SPARC --disable-multi-arch glibc variants.
21561
21562 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21563 <libm-alias-float.h>.
21564 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21565 if [SHARED].
21566 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21567 <libm-alias-float.h>.
21568 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21569 if [SHARED].
21570 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21571 <libm-alias-float.h>.
21572 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21573 if [SHARED].
21574 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21575 <libm-alias-float.h>.
21576 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21577 if [SHARED].
21578 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21579 <libm-alias-float.h>.
21580 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21581 if [SHARED].
21582 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21583 <libm-alias-float.h>.
21584 (ceilf): Define using libm_alias_float.
21585 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21586 <libm-alias-float.h>.
21587 (floorf): Define using libm_alias_float.
21588 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21589 <libm-alias-float.h>.
21590 (fmaf): Define using libm_alias_float.
21591 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21592 <libm-alias-float.h>.
21593 (nearbyintf): Define using libm_alias_float.
21594 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21595 <libm-alias-float.h>.
21596 (rintf): Define using libm_alias_float.
21597 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21598 <libm-alias-float.h>.
21599 (truncf): Define using libm_alias_float.
21600 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21601 (copysignf): Define using libm_alias_float.
21602 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21603 (cosf): Define using libm_alias_float.
21604 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21605 (fabsf): Define using libm_alias_float.
21606 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21607 (fmaxf): Define using libm_alias_float.
21608 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21609 (fminf): Define using libm_alias_float.
21610 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21611 (llrintf): Define using libm_alias_float.
21612 [!__ILP32__] (lrintf): Likewise.
21613 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21614 (sincosf): Define using libm_alias_float.
21615 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21616 (sinf): Define using libm_alias_float.
21617 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21618 (lrintf): Define using libm_alias_float.
21619
21620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21621 <libm-alias-double.h>.
21622 (atan): Define using libm_alias_double.
21623 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21624 <libm-alias-double.h>.
21625 (ceil): Define using libm_alias_double.
21626 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21627 <libm-alias-double.h>.
21628 (floor): Define using libm_alias_double.
21629 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21630 <libm-alias-double.h>.
21631 (fma): Define using libm_alias_double.
21632 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21633 <libm-alias-double.h>.
21634 (nearbyint): Define using libm_alias_double.
21635 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21636 <libm-alias-double.h>.
21637 (rint): Define using libm_alias_double.
21638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21639 <libm-alias-double.h>.
21640 (sin): Define using libm_alias_double.
21641 (cos): Likewise.
21642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21643 <libm-alias-double.h>.
21644 (tan): Define using libm_alias_double.
21645 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21646 <libm-alias-double.h>.
21647 (trunc): Define using libm_alias_double.
21648 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21649 (copysign): Define using libm_alias_double.
21650 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21651 (fabs): Define using libm_alias_double.
21652 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21653 (fmax): Define using libm_alias_double.
21654 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21655 (fmin): Define using libm_alias_double.
21656 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21657 (llrint): Define using libm_alias_double.
21658 [!__ILP32__] (lrint): Likewise.
21659 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21660 (lrint): Define using libm_alias_double.
21661
21662 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21663
21664 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21665 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21666 objects.
21667 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21671 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21672 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21673
21674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21675 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21676 objects.
21677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21683
21684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21685 (libm-sysdep_routines): Add s_nearbyint-generic and
21686 s_nearbyintf-generic objects.
21687 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21688 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21689 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21690 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21691 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21692 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21693
21694 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21695 Add s_finitef-generic and s_finite-generic objects.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21702
21703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21704 Add s_isinff-generic and s_isinf-generic objects.
21705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21711
21712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21713 Add s_isnanf-generic and s_isnan-generic objects.
21714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21720
21721 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21722 macro.
21723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21724 rule.
21725 (sysdep_routines): Use sysdep_calls as base.
21726 (libm-sysdep_routines): Add generic rule for symbols shared with
21727 libc. Add s_signbit-generic and s_signbitf-generic objects.
21728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21729 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21734
21735 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21736
21737 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21738 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21739 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21740 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21741 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21742 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21743 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21744 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21745 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21746 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21747 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21748 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21749 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21750 libm_alias_float_r.
21751 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21752 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21753 (logf): Likewise.
21754 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21755 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21756 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21757 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21758 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21759 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21760 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21761 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21762 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21763 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21764 libm_alias_float.
21765 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21766 (cosf): Likewise.
21767 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21768 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21769 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21770 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21771 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21772 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21773 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21774 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21775 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21776 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21777 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21778 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21779 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21780 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21781 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21782 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21783 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21784 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21785 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21786 libm_alias_float.
21787 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21788 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21789 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21790 * sysdeps/ia64/fpu/w_lgammaf_main.c
21791 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21792 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21793
21794 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21795 Alexandre Oliva <aoliva@redhat.com>
21796
21797 [BZ #17750]
21798 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21799 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21800 accents sorting.
21801 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21802 sorting.
21803 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21804 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21805 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21806 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21807 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21808 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21809 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21810 instead of “ifdef DIACRIT_BACKWARD”.
21811
21812 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21813
21814 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21815 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21816 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21817 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21818 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21819 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21826 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21827 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21828 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21829 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21830 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21831 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21833 ($(have-as-vis3) == yes): Remove conditional.
21834 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21835 Likewise.
21836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21837 file.
21838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21839 file.
21840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21841 file.
21842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21843 file.
21844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21850 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21851 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21852
21853 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21854
21855 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21856 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21857 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21858 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21859 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21860 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21861 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21862 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21863 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21864 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21865 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21866 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21867 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21868 libm_alias_double_r.
21869 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21870 (log): Likewise.
21871 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21872 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21873 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21874 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21875 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21876 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21877 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21878 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21879 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21880 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21881 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21882 libm_alias_double.
21883 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21884 (cos): Likewise.
21885 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21886 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21887 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21888 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21889 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21890 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21891 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21892 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21893 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21894 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21895 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21896 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21897 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21898 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21899 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21900 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21901 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21902 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21903 libm_alias_double.
21904 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21905 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21906 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21907 * sysdeps/ia64/fpu/w_lgamma_main.c
21908 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21909 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21910
21911 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21912
21913 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21914 address of $global$ into %dp register earlier. Use pc-relative
21915 instruction sequence for PIC case.
21916
21917 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21918
21919 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21920 (asinhf): Define using libm_alias_float.
21921 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21922 (atanf): Define using libm_alias_float.
21923 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21924 (cbrtf): Define using libm_alias_float.
21925 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21926 (ceilf): Define using libm_alias_float.
21927 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21928 (copysignf): Define using libm_alias_float.
21929 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21930 (expm1f): Define using libm_alias_float.
21931 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21932 (fabsf): Define using libm_alias_float.
21933 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21934 (floorf): Define using libm_alias_float.
21935 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21936 (fmaxf): Define using libm_alias_float.
21937 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21938 (fminf): Define using libm_alias_float.
21939 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21940 (frexpf): Define using libm_alias_float.
21941 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21942 (llrintf): Define using libm_alias_float.
21943 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21944 (logbf): Define using libm_alias_float.
21945 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21946 (lrintf): Define using libm_alias_float.
21947 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21948 (nearbyintf): Define using libm_alias_float.
21949 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21950 (remquof): Define using libm_alias_float.
21951 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21952 (rintf): Define using libm_alias_float.
21953 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21954 (truncf): Define using libm_alias_float.
21955 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21956 <libm-alias-float.h>.
21957 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21958 if [SHARED].
21959 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21960 <libm-alias-float.h>.
21961 (expf): Define using libm_alias_float, or libm_alias_float_other
21962 if [SHARED].
21963 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21964 <libm-alias-float.h>.
21965 (log2f): Define using libm_alias_float, or libm_alias_float_other
21966 if [SHARED].
21967 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21968 <libm-alias-float.h>.
21969 (logf): Define using libm_alias_float, or libm_alias_float_other
21970 if [SHARED].
21971 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21972 <libm-alias-float.h>.
21973 (powf): Define using libm_alias_float, or libm_alias_float_other
21974 if [SHARED].
21975 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21976 <libm-alias-float.h>.
21977 (cosf): Define using libm_alias_float.
21978 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21979 <libm-alias-float.h>.
21980 (sincosf): Define using libm_alias_float.
21981 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21982 <libm-alias-float.h>.
21983 (sinf): Define using libm_alias_float.
21984 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21985 (fmaxf): Define using libm_alias_float.
21986 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21987 (fminf): Define using libm_alias_float.
21988 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21989 <libm-alias-float.h>.
21990 (fmaf): Define using libm_alias_float.
21991
21992 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21993 (asinh): Define using libm_alias_double.
21994 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21995 (atan): Define using libm_alias_double.
21996 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21997 (cbrt): Define using libm_alias_double.
21998 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21999 (ceil): Define using libm_alias_double.
22000 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22001 (copysign): Define using libm_alias_double.
22002 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22003 (expm1): Define using libm_alias_double.
22004 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22005 (fabs): Define using libm_alias_double.
22006 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22007 (fdim): Define using libm_alias_double.
22008 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22009 (floor): Define using libm_alias_double.
22010 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22011 (fmax): Define using libm_alias_double.
22012 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22013 (fmin): Define using libm_alias_double.
22014 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22015 (frexp): Define using libm_alias_double.
22016 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22017 (llrint): Define using libm_alias_double.
22018 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22019 (logb): Define using libm_alias_double.
22020 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22021 (lrint): Define using libm_alias_double.
22022 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22023 (nearbyint): Define using libm_alias_double.
22024 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22025 (remquo): Define using libm_alias_double.
22026 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22027 (rint): Define using libm_alias_double.
22028 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22029 (trunc): Define using libm_alias_double.
22030 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22031 (fmax): Define using libm_alias_double.
22032 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22033 (fmin): Define using libm_alias_double.
22034 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22035 (fma): Define using libm_alias_double.
22036
22037 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22038
22039 [BZ #22370]
22040 * elf/dl-hwcaps.c (ROUND): Removed.
22041 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22042 and ELF_NOTE_NEXT_OFFSET.
22043 * elf/dl-load.c (ROUND): Removed.
22044 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22045 * elf/readelflib.c (ROUND): Removed.
22046 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22047 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22048 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22049 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22050
22051 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22052
22053 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22054 [!__fmaf] (fmaf): Define using libm_alias_float.
22055
22056 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22057 [!__fma] (fma): Define using libm_alias_double.
22058 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22059
22060 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22061
22062 [BZ #22336]
22063 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22064 and implement the collation rules for cs from CLDR on top of that.
22065 * Makefile: Add cs_CZ.UTF-8 to test-input.
22066 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22067
22068 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22069
22070 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22071
22072 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22073 Icarus Sparry <icarus.w.sparry@intel.com>
22074
22075 * benchtests/Makefile:Add BENCHSET to allow subsets of
22076 benchmarks to be run.
22077 * benchtests/README: Add documentation for: Running subsets of
22078 benchmarks.
22079
22080 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22081
22082 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22083 range of tests names.
22084
22085 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22086 result from property and remove "max", min" and "mean" from
22087 required properties based on benchtests/bench-skeleton.c.
22088
22089 2017-11-28 Florian Weimer <fweimer@redhat.com>
22090
22091 [BZ #20826]
22092 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22093 due to Internet requirement.
22094 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22095 tst-getaddrinfo5.
22096 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22097
22098 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22099
22100 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22101 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22102 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22103 (sysdep_routines): Add memset-ultra1.
22104 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22105 file.
22106 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22107 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22108 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22109 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22110 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22111 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22112 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22114
22115 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22116 file.
22117 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22118 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22119 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22120 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22121 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22122 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22123 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22124 macro.
22125 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22126 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22127 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22128 (sysdep_routines): Add memcpy-ultra1.
22129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22130 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22131
22132 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22133
22134 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22135 (cfloat_versions): Take function argument without trailing 'f'.
22136 Call libm_alias_float_other.
22137 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22138 * sysdeps/alpha/fpu/cargf.c: Likewise.
22139 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22140 * sysdeps/alpha/fpu/conjf.c: Likewise.
22141 * sysdeps/alpha/fpu/crealf.c: Likewise.
22142 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22143 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22144 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22145 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22146 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22147 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22148 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22149 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22150 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22151 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22152 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22153 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22154 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22155 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22156 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22157 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22158 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22159 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22160 (clog10f): Use libm_alias_float_other.
22161 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22162 (ceilf): Define using libm_alias_float.
22163 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22164 (copysignf): Define using libm_alias_float.
22165 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22166 (fabsf): Define using libm_alias_float.
22167 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22168 (floorf): Define using libm_alias_float.
22169 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22170 (fmaxf): Define using libm_alias_float.
22171 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22172 (fminf): Define using libm_alias_float.
22173 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22174 (lrintf): Define using libm_alias_float.
22175 (llrintf): Likewise.
22176 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22177 (lroundf): Define using libm_alias_float.
22178 (llroundf): Likewise.
22179 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22180 (rintf): Define using libm_alias_float.
22181 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22182 (truncf): Define using libm_alias_float.
22183
22184 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22185 (ceilf): Define using libm_alias_float.
22186 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22187 (floorf): Define using libm_alias_float.
22188 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22189 (fmaf): Define using libm_alias_float.
22190 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22191 (fmaxf): Define using libm_alias_float.
22192 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22193 (fminf): Define using libm_alias_float.
22194 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22195 (llrintf): Define using libm_alias_float.
22196 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22197 (llroundf): Define using libm_alias_float.
22198 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22199 (lrintf): Define using libm_alias_float.
22200 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22201 (lroundf): Define using libm_alias_float.
22202 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22203 <libm-alias-float.h>.
22204 (nearbyintf): Define using libm_alias_float.
22205 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22206 (rintf): Define using libm_alias_float.
22207 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22208 (roundf): Define using libm_alias_float.
22209 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22210 (truncf): Define using libm_alias_float.
22211
22212 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22213 (ceil): Define using libm_alias_double.
22214 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22215 (copysign): Define using libm_alias_double.
22216 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22217 (fabs): Define using libm_alias_double.
22218 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22219 (floor): Define using libm_alias_double.
22220 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22221 (fmax): Define using libm_alias_double.
22222 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22223 (fmin): Define using libm_alias_double.
22224 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22225 (lrint): Define using libm_alias_double.
22226 (llrint): Likewise.
22227 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22228 (lround): Define using libm_alias_double.
22229 (llround): Likewise.
22230 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22231 (rint): Define using libm_alias_double.
22232 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22233 (trunc): Define using libm_alias_double.
22234
22235 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22236 (libm_alias_double_r): Add semicolon after weak_alias call.
22237
22238 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22239
22240 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22241 (ceil): Define using libm_alias_double.
22242 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22243 (floor): Define using libm_alias_double.
22244 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22245 (fma): Define using libm_alias_double.
22246 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22247 (fmax): Define using libm_alias_double.
22248 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22249 (fmin): Define using libm_alias_double.
22250 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22251 (llrint): Define using libm_alias_double.
22252 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22253 (llround): Define using libm_alias_double.
22254 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22255 (lrint): Define using libm_alias_double.
22256 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22257 (lround): Define using libm_alias_double.
22258 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22259 (nearbyint): Define using libm_alias_double.
22260 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22261 (rint): Define using libm_alias_double.
22262 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22263 (round): Define using libm_alias_double.
22264 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22265 (trunc): Define using libm_alias_double.
22266
22267 2017-11-27 Florian Weimer <fweimer@redhat.com>
22268
22269 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22270 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22271 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22272 (tests): Add tst-mlock2.
22273 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22274 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22275 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22276 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22277 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22278 for mlock. Document mlock2.
22279
22280 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22281
22282 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22283 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22284 Likewise.
22285 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22286 Likewise.
22287 * sysdeps/x86/Makeconfig: New file.
22288 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22289 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22290 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22291 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22292 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22293 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22294 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22295 Likewise.
22296 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22297 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22298 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22299 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22300 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22301 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22302 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22303 * manual/math.texi (Mathematics): Document support for _Float64x.
22304 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22305 * stdlib/Versions (GLIBC_2.27): Likewise.
22306 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22307 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22308 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22309 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22310 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22311 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22312 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22313 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22314 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22315 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22316 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22317 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22319 Likewise.
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22321 Likewise.
22322 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22323 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22324 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22325 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22326 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22328 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22329 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22330 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22331 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22332 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22333 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22334 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22335 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22336
22337 2017-11-27 Andreas Schwab <schwab@suse.de>
22338
22339 * elf/Makefile (dl-routines): Add dl-sort-maps.
22340 * elf/dl-sort-maps.c: New file.
22341 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22342 (_dl_sort_maps): Declare.
22343 * elf/dl-fini.c (_dl_sort_fini): Remove.
22344 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22345 * elf/dl-close.c (_dl_close_worker): Likewise.
22346 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22347 open-coding it.
22348 * elf/dl-open.c (dl_open_worker): Likewise.
22349
22350 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22351
22352 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22353 using libm_alias_float128.
22354 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22355 Likewise.
22356 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22357 Likewise.
22358 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22359 (setpayloadsigf128): Likewise.
22360 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22361 Likewise.
22362 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22363 Likewise.
22364
22365 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22366 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22367 -mfloat128 to CFLAGS.
22368 ($(foreach
22369 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22370 Likewise.
22371 (CFLAGS-libm-test-support-float64x.c): New variable.
22372 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22373 $(f128-loader-link) to gnulib-tests.
22374
22375 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22376 (libm_alias_float128_other_r): If
22377 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22378 alias.
22379 (libm_alias_float128_r): Add semicolon after weak_alias call.
22380 * sysdeps/generic/libm-alias-ldouble.h
22381 (libm_alias_ldouble_other_r_f128): New macro.
22382 (libm_alias_ldouble_other_r_f64x): Likewise.
22383 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22384 and libm_alias_ldouble_other_r_f64x.
22385 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22386 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22387 (libm_alias_ldouble_other_r_f128): New macro.
22388 (libm_alias_ldouble_other_r_f64x): Likewise.
22389 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22390 and libm_alias_ldouble_other_r_f64x.
22391
22392 * stdlib/strfroml.c: Always include <stdlib.h>.
22393 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22394 undefine as macro and define as weak alias.
22395 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22396 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22397 <stdlib.h>.
22398 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22399 Define and later undefine as macro and define as weak alias.
22400
22401 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22402 Define and later undefine as macro. Define as weak alias if
22403 [!USE_WIDE_CHAR].
22404 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22405 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22406 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22407 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22408 Define and later undefine as macro. Define as weak alias if
22409 [!USE_WIDE_CHAR].
22410 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22411 Define and later undefine as macro. Define as weak alias if
22412 [USE_WIDE_CHAR].
22413 * sysdeps/ieee754/float128/strtof128_l.c
22414 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22415 Define and later undefine as macro. Define as weak alias if
22416 [!USE_WIDE_CHAR].
22417 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22418 Define and later undefine as macro. Define as weak alias if
22419 [USE_WIDE_CHAR].
22420 * sysdeps/ieee754/ldbl-128/strtold_l.c
22421 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22422 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22423 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22424 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22425 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22426 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22427 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22428 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22429 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22430 * sysdeps/ieee754/ldbl-96/strtold_l.c
22431 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22432 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22433 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22434 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22435
22436 * math/test-float64x.h: New file.
22437 * math/Makefile (type-float64x-yes): New variable.
22438 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22439
22440 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22441 function-like macro.
22442 (min_of_type_): Likewise.
22443 (min_of_type_l): Likewise.
22444 (min_of_type_f128): Likewise.
22445 (min_of_type): Pass () as last argument of __MATH_TG.
22446
22447 * stdlib/tst-strtod-round-skeleton.c
22448 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22449 headers.
22450
22451 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22452 for combinations of long double with _Float64 and _Float64x.
22453
22454 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22455 (__DECL_SIMD_cosf32): Likewise.
22456 (__DECL_SIMD_cosf64): Likewise.
22457 (__DECL_SIMD_cosf32x): Likewise.
22458 (__DECL_SIMD_cosf64x): Likewise.
22459 (__DECL_SIMD_cosf128x): Likewise.
22460 (__DECL_SIMD_sinf16): Likewise.
22461 (__DECL_SIMD_sinf32): Likewise.
22462 (__DECL_SIMD_sinf64): Likewise.
22463 (__DECL_SIMD_sinf32x): Likewise.
22464 (__DECL_SIMD_sinf64x): Likewise.
22465 (__DECL_SIMD_sinf128x): Likewise.
22466 (__DECL_SIMD_sincosf16): Likewise.
22467 (__DECL_SIMD_sincosf32): Likewise.
22468 (__DECL_SIMD_sincosf64): Likewise.
22469 (__DECL_SIMD_sincosf32x): Likewise.
22470 (__DECL_SIMD_sincosf64x): Likewise.
22471 (__DECL_SIMD_sincosf128x): Likewise.
22472 (__DECL_SIMD_logf16): Likewise.
22473 (__DECL_SIMD_logf32): Likewise.
22474 (__DECL_SIMD_logf64): Likewise.
22475 (__DECL_SIMD_logf32x): Likewise.
22476 (__DECL_SIMD_logf64x): Likewise.
22477 (__DECL_SIMD_logf128x): Likewise.
22478 (__DECL_SIMD_expf16): Likewise.
22479 (__DECL_SIMD_expf32): Likewise.
22480 (__DECL_SIMD_expf64): Likewise.
22481 (__DECL_SIMD_expf32x): Likewise.
22482 (__DECL_SIMD_expf64x): Likewise.
22483 (__DECL_SIMD_expf128x): Likewise.
22484 (__DECL_SIMD_powf16): Likewise.
22485 (__DECL_SIMD_powf32): Likewise.
22486 (__DECL_SIMD_powf64): Likewise.
22487 (__DECL_SIMD_powf32x): Likewise.
22488 (__DECL_SIMD_powf64x): Likewise.
22489 (__DECL_SIMD_powf128x): Likewise.
22490
22491 * stdlib/Versions (libc): Move entries for wcstof128 and
22492 wcstof128_l to ....
22493 * wcsmbs/Versions (libc): ... here.
22494 Include <float128-abi.h>.
22495
22496 2017-11-24 Florian Weimer <fweimer@redhat.com>
22497
22498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22499 bits/mman-shared.h.
22500 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22501 <bits/mman-shared.h>.
22502 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22503 to ...
22504 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22505 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22506 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22507 <bits/mman-shared.h>.
22508
22509 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22510
22511 [BZ #22457]
22512 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22513 posix_memalign/free.
22514 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22515
22516 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22517
22518 [BZ #22469]
22519 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22520 and implement the collation rules for pl from CLDR on top of that.
22521 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22522 of locales to be built for testing.
22523 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22524
22525 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22526
22527 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22528 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22529 libm_alias_ldouble_other.
22530 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22531 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22532 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22533 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22534 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22535 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22536 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22537 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22538 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22539 libm_alias_ldouble_r.
22540 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22541 libm_alias_ldouble_other.
22542 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22543 (log10l): Likewise.
22544 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22545 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22546 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22547 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22548 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22549 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22550 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22551 (atan2l): Likewise.
22552 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22553 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22554 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22555 libm_alias_ldouble.
22556 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22557 (cosl): Likewise.
22558 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22559 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22560 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22561 (expl): Likewise.
22562 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22563 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22564 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22565 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22566 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22567 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22568 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22569 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22570 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22571 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22572 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22573 libm_alias_ldouble.
22574 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22575 libm_alias_ldouble_other.
22576 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22577 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22578 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22579 libm_alias_ldouble.
22580 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22581 libm_alias_ldouble_other.
22582 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22583 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22584 * sysdeps/ia64/fpu/w_lgammal_main.c
22585 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22586 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22587
22588 2017-11-23 Florian Weimer <fweimer@redhat.com>
22589
22590 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22591 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22592 alike. Remove freeres marker.
22593 * malloc/arena.c (arena_thread_freeres): Call
22594 tcache_thread_shutdown.
22595
22596 2017-11-23 Florian Weimer <fweimer@redhat.com>
22597
22598 [BZ #22459]
22599 Export nscd hash function as __nss_hash.
22600 * include/nss.h (__nss_hash): Declare.
22601 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22602 symbol.
22603 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22604 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22605 of __nscd_hash.
22606 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22607 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22608 * nss/Makefiles (routines): Add nss_hash.
22609 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22610 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22611 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22612 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22613
22614 2017-11-23 Florian Weimer <fweimer@redhat.com>
22615
22616 [BZ #22478]
22617 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22618 Return error code, not -1.
22619 * signal/tst-sigwait-eintr.c: New file.
22620 * signal/Makefile (tests): Add tst-sigwait-eintr.
22621
22622 2017-11-23 Florian Weimer <fweimer@redhat.com>
22623
22624 Linux: Add memfd_create system call wrapper
22625 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22626 tst-memfd_create.
22627 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22628 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22629 [__USE_GNU] (memfd_create): Declare.
22630 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22631 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22632 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22633 * sysdeps/unix/sysv/linux/**.abilist: Update.
22634 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22635
22636 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22637
22638 * localedata/gen-locale.sh: Fix typo in variable name.
22639
22640 * resolv/res_debug.c (p_secstodate): Condition definition on
22641 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22642 directly as __p_secstodate, and as a compat symbol. Do not use
22643 libresolv_hidden_def.
22644 * resolv/resolv.h (p_secstodate): Remove macro and function
22645 declaration.
22646 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22647 using p_secstodate.
22648 * include/resolv.h (__p_secstodate): Do not use
22649 libresolv_hidden_proto.
22650 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22651 (tests-internal): ... here.
22652 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22653 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22654 and declare and use __p_secstodate and use compat_symbol_reference
22655 in that case.
22656 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22657 implementation returning 77.
22658
22659 [BZ #22463]
22660 * resolv/res_debug.c: Include <libc-diag.h>.
22661 (p_secstodate): Assert time_t at least as wide as u_long. On
22662 overflow, use integer seconds since the epoch as output, or use
22663 "<overflow>" as output and set errno to EOVERFLOW if integer
22664 seconds since the epoch would be 14 or more characters.
22665 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22666 for sprintf call.
22667 * resolv/tst-p_secstodate.c: New file.
22668 * resolv/Makefile (tests): Add tst-p_secstodate.
22669 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22670
22671 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22672 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22673 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22674
22675 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22676
22677 * posix/regcomp.c (init_word_char): Add comments.
22678
22679 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22680
22681 [BZ #22447]
22682 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22683 strlen to compute length of ut_user and set trailing NUL byte of
22684 result explicitly.
22685
22686 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22687
22688 [BZ #15537]
22689 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22690 using “copy "iso14651_t1"” and then implementing the
22691 collation rules for lv from CLDR on top of that.
22692 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22693 of locales to be built for testing.
22694 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22695 sorting.
22696
22697 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22698
22699 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22700 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22701 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22702 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22703 [__USE_MISC] (MADV_HWPOISON): New macro.
22704 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22705
22706 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22707
22708 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22709 -Wmissing-braces on GCC 4.9.
22710
22711 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22712
22713 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22714 * sysdeps/s390/s390-32/start.S (_start): Likewise
22715 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22716 (thread_start): Likewise.
22717 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22718 (thread_start): Likewise.
22719 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22720 (__makecontext_ret): Likewise.
22721 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22722 (__makecontext_ret): Likewise.
22723
22724 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22725
22726 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22727 __wcschrnul): Remove attribute_hidden.
22728
22729 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22730
22731 regex: don't assume uint64_t or uint32_t
22732 This avoids -Werror=overflow errors for 32-bit systems in
22733 the 64-bit case. Problem reported by Joseph Myers in:
22734 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22735 Also, when this code is used in Gnulib it ports to platforms
22736 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22737 them, and on some 32-bit compilers there is no uint64_t.
22738 Problem reported by Gianluigi Tiesi in:
22739 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22740 * posix/regcomp.c (init_word_char): Don't assume that the types
22741 uint64_t and uint32_t exist. Adapted from Gnulib patch
22742 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22743 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22744
22745 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22746
22747 * sysdeps/aarch64/memset-reg.h: New file.
22748 * sysdeps/aarch64/memset.S: Use it.
22749 (__memset): Rename to MEMSET macro.
22750 [ZVA_MACRO]: Use zva_macro.
22751 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22752 Add memset_generic and memset_falkor.
22753 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22754 (__libc_ifunc_impl_list): Add memset ifuncs.
22755 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22756 local variable zva_size.
22757 * sysdeps/aarch64/multiarch/memset.c: New file.
22758 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22759 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22760 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22761 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22762 (DCZID_DZP_MASK): New macro.
22763 (DCZID_BS_MASK): Likewise.
22764 (init_cpu_features): Read and set zva_size.
22765 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22766 (struct cpu_features): New member zva_size.
22767
22768 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22769 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22770 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22771
22772 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22773 backwards. Fix timing computation.
22774 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22775 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22776 on memset by N at a time. Fix timing computation.
22777
22778 2017-11-20 Florian Weimer <fweimer@redhat.com>
22779
22780 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22781 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22782
22783 2017-11-19 Florian Weimer <fweimer@redhat.com>
22784
22785 manual: Document mprotect
22786 * manual/memory.texi (Memory Protection): New section.
22787 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22788 documentation of PROT_* flags and reference the Memory Protection
22789 section instead.
22790
22791 2017-11-19 Florian Weimer <fweimer@redhat.com>
22792
22793 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22794 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22795 (Scatter-Gather): ... to here. Remove misleading comment.
22796
22797 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22798
22799 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22800 style.
22801
22802 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22803 when /proc/<pid>/setgroups does not exist.
22804
22805 2017-11-18 Florian Weimer <fweimer@redhat.com>
22806
22807 * sysdeps/unix/sysv/linux/tst-ttyname.c
22808 (become_root_in_mount_ns): Remove.
22809 (do_in_chroot_1): Call support_enter_mount_namespace.
22810 (do_in_chroot_2): Likewise.
22811 (do_test): Call support_become_root early.
22812
22813 2017-11-18 Florian Weimer <fweimer@redhat.com>
22814
22815 * support/namespace.h (support_enter_mount_namespace): Declare.
22816 * support/support_enter_mount_namespace.c: New file.
22817 * support/Makefile (libsupport-routines): Add
22818 support_enter_mount_namespace.
22819
22820 2017-11-18 Florian Weimer <fweimer@redhat.com>
22821
22822 * support/temp_file.c (support_create_temp_directory): Use
22823 test_dir and do not rely on the presence of the XXXXXX suffix.
22824 * support/temp_file.h (support_create_temp_directory): Update
22825 comment.
22826 * support/tst-xreadlink.c (do_test): Adjust.
22827 * support/support_chroot.c (support_chroot_create): Likewise.
22828
22829 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22830
22831 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22832 macro.
22833 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22834 htm-no-suspend.
22835
22836 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22837
22838 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22839 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22840 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22841 (ceill): Define using libm_alias_ldouble.
22842 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22843 <libm-alias-ldouble.h>.
22844 (copysignl): Define using libm_alias_ldouble.
22845 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22846 (fabsl): Define using libm_alias_ldouble.
22847 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22848 (floorl): Define using libm_alias_ldouble.
22849 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22850 (fmaxl): Define using libm_alias_ldouble.
22851 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22852 (fminl): Define using libm_alias_ldouble.
22853 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22854 (llrintl): Define using libm_alias_ldouble.
22855 (lrintl): Likewise.
22856 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22857 <libm-alias-ldouble.h>.
22858 (nearbyintl): Define using libm_alias_ldouble.
22859 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22860 (truncl): Define using libm_alias_ldouble.
22861 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22862 <libm-alias-ldouble.h>.
22863 (lrintl): Define using libm_alias_ldouble.
22864
22865 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22866 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22867 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22868 (asinhl): Define using libm_alias_ldouble.
22869 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22870 (atanl): Define using libm_alias_ldouble.
22871 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22872 (cbrtl): Define using libm_alias_ldouble.
22873 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22874 (ceill): Define using libm_alias_ldouble.
22875 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22876 (copysignl): Define using libm_alias_ldouble.
22877 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22878 (fabsl): Define using libm_alias_ldouble.
22879 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22880 (floorl): Define using libm_alias_ldouble.
22881 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22882 (fmaxl): Define using libm_alias_ldouble.
22883 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22884 (fminl): Define using libm_alias_ldouble.
22885 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22886 (frexpl): Define using libm_alias_ldouble.
22887 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22888 (llrintl): Define using libm_alias_ldouble.
22889 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22890 (logbl): Define using libm_alias_ldouble.
22891 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22892 (lrintl): Define using libm_alias_ldouble.
22893 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22894 (nearbyintl): Define using libm_alias_ldouble.
22895 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22896 (nextafterl): Define using libm_alias_ldouble.
22897 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22898 (remquol): Define using libm_alias_ldouble.
22899 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22900 (rintl): Define using libm_alias_ldouble.
22901 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22902 (truncl): Define using libm_alias_ldouble.
22903 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22904 (fmaxl): Define using libm_alias_ldouble.
22905 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22906 (fminl): Define using libm_alias_ldouble.
22907
22908 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22909 to C syntax instead of availability and properties of types.
22910 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22911 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22912 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22913 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22914 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22915 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22916
22917 2017-11-17 Florian Weimer <fweimer@redhat.com>
22918
22919 support_become_root: Enable file creation in namespaces.
22920 * support/support_become_root.c (setup_mapping): New function.
22921 (support_become_root): Call it.
22922
22923 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22924
22925 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22926 macro.
22927
22928 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22929
22930 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22931 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22932
22933 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22934
22935 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22936
22937 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22938 version to 4.14.
22939
22940 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22941
22942 * INSTALL: Fix botched up regeneration.
22943
22944 * NEWS: Update sourceare link to https.
22945 * configure.ac: Likewise.
22946 * crypt/md5test-giant.c: Likewise.
22947 * dlfcn/bug-atexit1.c: Likewise.
22948 * dlfcn/bug-atexit2.c: Likewise.
22949 * localedata/README: Likewise.
22950 * malloc/tst-mallocfork.c: Likewise.
22951 * manual/install.texi: Likewise.
22952 * nptl/tst-pthread-getattr.c: Likewise.
22953 * stdio-common/tst-fgets.c: Likewise.
22954 * stdio-common/tst-fwrite.c: Likewise.
22955 * sunrpc/Makefile: Likewise.
22956 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22957 * wcsmbs/tst-mbrtowc2.c: Likewise.
22958 * configure: Regenerate.
22959 * INSTALL: Regenerate.
22960
22961 2017-11-15 Martin Sebor <msebor@redhat.com>
22962
22963 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22964 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22965 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22966
22967 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22968
22969 [BZ #22145]
22970 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22971 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22972
22973 [BZ #22145]
22974 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22975 Defer is_pty check until end of the function.
22976 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22977
22978 [BZ #22145]
22979 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22980 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22981 (ttyname): Likewise.
22982 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22983 (__ttyname_r): Likewise.
22984
22985 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22986 int to bool.
22987
22988 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22989
22990 * manual/terminal.texi (Is It a Terminal):
22991 Mention ENODEV for ttyname and ttyname_r.
22992
22993 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22994
22995 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22996 constant and macro.
22997
22998 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22999 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23000 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23001 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23002 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23003 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23004
23005 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23006
23007 * signal/sigrelse.c (sigrelse): Optimize implementation.
23008
23009 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23010 (__sigpause): Rely on __sigsuspend to implement single thread
23011 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23012
23013 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23014
23015 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23016 kernel version to 4.14.
23017
23018 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23019
23020 [BZ #22442]
23021 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23022 Check if ifname is too long.
23023
23024 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23025
23026 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23027
23028 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23029
23030 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23031 was accidentally lost.
23032
23033 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23034
23035 * localedata/locales/az_IR: Add standard copyright header.
23036
23037 2017-11-15 Florian Weimer <fweimer@redhat.com>
23038
23039 [BZ #22439]
23040 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23041 not just the top one. Output a new "subheaps" statistic.
23042
23043 2017-11-15 Florian Weimer <fweimer@redhat.com>
23044
23045 [BZ #22408]
23046 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23047 under the per-arena lock.
23048 * malloc/Makefile (tests): Add tst-malloc_info.
23049 (tst-malloc_info): Link with libpthread.
23050 * malloc/tst-malloc_info.c: New file.
23051
23052 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23053
23054 [BZ #21660]
23055 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23056 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23057 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23058 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23059 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23060 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23061 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23062 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23063 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23064 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23065 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23066 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23067 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23068 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23069 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23070 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23071 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23072 (__floating_type): Likewise.
23073 (__real_integer_type): Likewise.
23074 (__complex_integer_type): Likewise.
23075 (__expr_is_real): Likewise.
23076 (__tgmath_real_type_sub): Likewise.
23077 (__tgmath_real_type): Likewise.
23078 (__tgmath_complex_type_sub): Likewise.
23079 (__tgmath_complex_type): Likewise.
23080 (__TGMATH_F128): Likewise.
23081 (__TGMATH_CF128): Likewise.
23082 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23083 new macros.
23084 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23085 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23086 Likewise.
23087 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23088 Likewise.
23089 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23090 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23091 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23092 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23093 Likewise.
23094 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23095 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23096 Likewise.
23097 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23098 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23099 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23100 Likewise.
23101 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23102 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23103 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23104 (cimag): Likewise.
23105 (creal): Likewise.
23106
23107 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23108
23109 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23110 for stpncpy calls for GCC 8.
23111 (test_strncat): Disable -Wstringop-truncation warning for strncat
23112 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23113 strncat call for GCC 7.
23114 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23115 calls for GCC 8.
23116 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23117 trailing NUL.
23118
23119 * string/bug-strncat1.c: Include <libc-diag.h>.
23120 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23121
23122 2017-11-13 Claude Paroz <claude@2xlibre.net>
23123
23124 [BZ #22387]
23125 * localedata/locales/aa_DJ: Improved readibility by replacing
23126 <Uxxxx> sequences in the ASCII printable range by their ASCII
23127 character equivalents.
23128 * localedata/locales/aa_ER: Likewise.
23129 * localedata/locales/aa_ER@saaho: Likewise.
23130 * localedata/locales/aa_ET: Likewise.
23131 * localedata/locales/af_ZA: Likewise.
23132 * localedata/locales/agr_PE: Likewise.
23133 * localedata/locales/ak_GH: Likewise.
23134 * localedata/locales/am_ET: Likewise.
23135 * localedata/locales/anp_IN: Likewise.
23136 * localedata/locales/ar_AE: Likewise.
23137 * localedata/locales/ar_BH: Likewise.
23138 * localedata/locales/ar_DZ: Likewise.
23139 * localedata/locales/ar_EG: Likewise.
23140 * localedata/locales/ar_IN: Likewise.
23141 * localedata/locales/ar_IQ: Likewise.
23142 * localedata/locales/ar_JO: Likewise.
23143 * localedata/locales/ar_KW: Likewise.
23144 * localedata/locales/ar_LB: Likewise.
23145 * localedata/locales/ar_LY: Likewise.
23146 * localedata/locales/ar_MA: Likewise.
23147 * localedata/locales/ar_OM: Likewise.
23148 * localedata/locales/ar_QA: Likewise.
23149 * localedata/locales/ar_SA: Likewise.
23150 * localedata/locales/ar_SD: Likewise.
23151 * localedata/locales/ar_SS: Likewise.
23152 * localedata/locales/ar_SY: Likewise.
23153 * localedata/locales/ar_TN: Likewise.
23154 * localedata/locales/ar_YE: Likewise.
23155 * localedata/locales/as_IN: Likewise.
23156 * localedata/locales/ast_ES: Likewise.
23157 * localedata/locales/ayc_PE: Likewise.
23158 * localedata/locales/az_AZ: Likewise.
23159 * localedata/locales/az_IR: Likewise.
23160 * localedata/locales/be_BY: Likewise.
23161 * localedata/locales/be_BY@latin: Likewise.
23162 * localedata/locales/bem_ZM: Likewise.
23163 * localedata/locales/ber_DZ: Likewise.
23164 * localedata/locales/ber_MA: Likewise.
23165 * localedata/locales/bg_BG: Likewise.
23166 * localedata/locales/bhb_IN: Likewise.
23167 * localedata/locales/bho_IN: Likewise.
23168 * localedata/locales/bi_VU: Likewise.
23169 * localedata/locales/bn_BD: Likewise.
23170 * localedata/locales/bn_IN: Likewise.
23171 * localedata/locales/bo_CN: Likewise.
23172 * localedata/locales/bo_IN: Likewise.
23173 * localedata/locales/br_FR: Likewise.
23174 * localedata/locales/brx_IN: Likewise.
23175 * localedata/locales/bs_BA: Likewise.
23176 * localedata/locales/byn_ER: Likewise.
23177 * localedata/locales/ca_AD: Likewise.
23178 * localedata/locales/ca_ES: Likewise.
23179 * localedata/locales/ca_FR: Likewise.
23180 * localedata/locales/ca_IT: Likewise.
23181 * localedata/locales/ce_RU: Likewise.
23182 * localedata/locales/chr_US: Likewise.
23183 * localedata/locales/cmn_TW: Likewise.
23184 * localedata/locales/crh_UA: Likewise.
23185 * localedata/locales/cs_CZ: Likewise.
23186 * localedata/locales/csb_PL: Likewise.
23187 * localedata/locales/cv_RU: Likewise.
23188 * localedata/locales/cy_GB: Likewise.
23189 * localedata/locales/da_DK: Likewise.
23190 * localedata/locales/de_AT: Likewise.
23191 * localedata/locales/de_BE: Likewise.
23192 * localedata/locales/de_CH: Likewise.
23193 * localedata/locales/de_DE: Likewise.
23194 * localedata/locales/de_IT: Likewise.
23195 * localedata/locales/de_LI: Likewise.
23196 * localedata/locales/de_LU: Likewise.
23197 * localedata/locales/doi_IN: Likewise.
23198 * localedata/locales/dv_MV: Likewise.
23199 * localedata/locales/dz_BT: Likewise.
23200 * localedata/locales/el_CY: Likewise.
23201 * localedata/locales/el_GR: Likewise.
23202 * localedata/locales/en_AG: Likewise.
23203 * localedata/locales/en_AU: Likewise.
23204 * localedata/locales/en_BW: Likewise.
23205 * localedata/locales/en_CA: Likewise.
23206 * localedata/locales/en_DK: Likewise.
23207 * localedata/locales/en_GB: Likewise.
23208 * localedata/locales/en_HK: Likewise.
23209 * localedata/locales/en_IE: Likewise.
23210 * localedata/locales/en_IL: Likewise.
23211 * localedata/locales/en_IN: Likewise.
23212 * localedata/locales/en_NG: Likewise.
23213 * localedata/locales/en_NZ: Likewise.
23214 * localedata/locales/en_PH: Likewise.
23215 * localedata/locales/en_SG: Likewise.
23216 * localedata/locales/en_US: Likewise.
23217 * localedata/locales/en_ZA: Likewise.
23218 * localedata/locales/en_ZM: Likewise.
23219 * localedata/locales/en_ZW: Likewise.
23220 * localedata/locales/eo: Likewise.
23221 * localedata/locales/es_AR: Likewise.
23222 * localedata/locales/es_BO: Likewise.
23223 * localedata/locales/es_CL: Likewise.
23224 * localedata/locales/es_CO: Likewise.
23225 * localedata/locales/es_CR: Likewise.
23226 * localedata/locales/es_CU: Likewise.
23227 * localedata/locales/es_DO: Likewise.
23228 * localedata/locales/es_EC: Likewise.
23229 * localedata/locales/es_ES: Likewise.
23230 * localedata/locales/es_GT: Likewise.
23231 * localedata/locales/es_HN: Likewise.
23232 * localedata/locales/es_MX: Likewise.
23233 * localedata/locales/es_NI: Likewise.
23234 * localedata/locales/es_PA: Likewise.
23235 * localedata/locales/es_PE: Likewise.
23236 * localedata/locales/es_PR: Likewise.
23237 * localedata/locales/es_PY: Likewise.
23238 * localedata/locales/es_SV: Likewise.
23239 * localedata/locales/es_US: Likewise.
23240 * localedata/locales/es_UY: Likewise.
23241 * localedata/locales/es_VE: Likewise.
23242 * localedata/locales/et_EE: Likewise.
23243 * localedata/locales/eu_ES: Likewise.
23244 * localedata/locales/eu_ES@euro: Likewise.
23245 * localedata/locales/fa_IR: Likewise.
23246 * localedata/locales/ff_SN: Likewise.
23247 * localedata/locales/fi_FI: Likewise.
23248 * localedata/locales/fil_PH: Likewise.
23249 * localedata/locales/fo_FO: Likewise.
23250 * localedata/locales/fr_BE: Likewise.
23251 * localedata/locales/fr_CA: Likewise.
23252 * localedata/locales/fr_CH: Likewise.
23253 * localedata/locales/fr_FR: Likewise.
23254 * localedata/locales/fr_LU: Likewise.
23255 * localedata/locales/fur_IT: Likewise.
23256 * localedata/locales/fy_DE: Likewise.
23257 * localedata/locales/fy_NL: Likewise.
23258 * localedata/locales/ga_IE: Likewise.
23259 * localedata/locales/gd_GB: Likewise.
23260 * localedata/locales/gez_ER: Likewise.
23261 * localedata/locales/gez_ET: Likewise.
23262 * localedata/locales/gl_ES: Likewise.
23263 * localedata/locales/gu_IN: Likewise.
23264 * localedata/locales/gv_GB: Likewise.
23265 * localedata/locales/ha_NG: Likewise.
23266 * localedata/locales/hak_TW: Likewise.
23267 * localedata/locales/he_IL: Likewise.
23268 * localedata/locales/hi_IN: Likewise.
23269 * localedata/locales/hif_FJ: Likewise.
23270 * localedata/locales/hne_IN: Likewise.
23271 * localedata/locales/hr_HR: Likewise.
23272 * localedata/locales/hsb_DE: Likewise.
23273 * localedata/locales/ht_HT: Likewise.
23274 * localedata/locales/hu_HU: Likewise.
23275 * localedata/locales/hy_AM: Likewise.
23276 * localedata/locales/i18n: Likewise.
23277 * localedata/locales/ia_FR: Likewise.
23278 * localedata/locales/id_ID: Likewise.
23279 * localedata/locales/ig_NG: Likewise.
23280 * localedata/locales/ik_CA: Likewise.
23281 * localedata/locales/is_IS: Likewise.
23282 * localedata/locales/it_CH: Likewise.
23283 * localedata/locales/it_IT: Likewise.
23284 * localedata/locales/iu_CA: Likewise.
23285 * localedata/locales/ja_JP: Likewise.
23286 * localedata/locales/ka_GE: Likewise.
23287 * localedata/locales/kk_KZ: Likewise.
23288 * localedata/locales/kl_GL: Likewise.
23289 * localedata/locales/kn_IN: Likewise.
23290 * localedata/locales/ko_KR: Likewise.
23291 * localedata/locales/kok_IN: Likewise.
23292 * localedata/locales/ks_IN: Likewise.
23293 * localedata/locales/ks_IN@devanagari: Likewise.
23294 * localedata/locales/ku_TR: Likewise.
23295 * localedata/locales/kw_GB: Likewise.
23296 * localedata/locales/ky_KG: Likewise.
23297 * localedata/locales/lb_LU: Likewise.
23298 * localedata/locales/lg_UG: Likewise.
23299 * localedata/locales/li_BE: Likewise.
23300 * localedata/locales/li_NL: Likewise.
23301 * localedata/locales/lij_IT: Likewise.
23302 * localedata/locales/ln_CD: Likewise.
23303 * localedata/locales/lo_LA: Likewise.
23304 * localedata/locales/lt_LT: Likewise.
23305 * localedata/locales/lv_LV: Likewise.
23306 * localedata/locales/lzh_TW: Likewise.
23307 * localedata/locales/mag_IN: Likewise.
23308 * localedata/locales/mai_IN: Likewise.
23309 * localedata/locales/mg_MG: Likewise.
23310 * localedata/locales/mhr_RU: Likewise.
23311 * localedata/locales/mi_NZ: Likewise.
23312 * localedata/locales/mk_MK: Likewise.
23313 * localedata/locales/ml_IN: Likewise.
23314 * localedata/locales/mn_MN: Likewise.
23315 * localedata/locales/mni_IN: Likewise.
23316 * localedata/locales/mr_IN: Likewise.
23317 * localedata/locales/ms_MY: Likewise.
23318 * localedata/locales/mt_MT: Likewise.
23319 * localedata/locales/my_MM: Likewise.
23320 * localedata/locales/nan_TW: Likewise.
23321 * localedata/locales/nan_TW@latin: Likewise.
23322 * localedata/locales/nb_NO: Likewise.
23323 * localedata/locales/nds_DE: Likewise.
23324 * localedata/locales/nds_NL: Likewise.
23325 * localedata/locales/ne_NP: Likewise.
23326 * localedata/locales/nhn_MX: Likewise.
23327 * localedata/locales/niu_NU: Likewise.
23328 * localedata/locales/niu_NZ: Likewise.
23329 * localedata/locales/nl_AW: Likewise.
23330 * localedata/locales/nl_BE: Likewise.
23331 * localedata/locales/nl_NL: Likewise.
23332 * localedata/locales/nn_NO: Likewise.
23333 * localedata/locales/nr_ZA: Likewise.
23334 * localedata/locales/nso_ZA: Likewise.
23335 * localedata/locales/oc_FR: Likewise.
23336 * localedata/locales/om_ET: Likewise.
23337 * localedata/locales/om_KE: Likewise.
23338 * localedata/locales/or_IN: Likewise.
23339 * localedata/locales/os_RU: Likewise.
23340 * localedata/locales/pa_IN: Likewise.
23341 * localedata/locales/pa_PK: Likewise.
23342 * localedata/locales/pap_AW: Likewise.
23343 * localedata/locales/pap_CW: Likewise.
23344 * localedata/locales/pl_PL: Likewise.
23345 * localedata/locales/ps_AF: Likewise.
23346 * localedata/locales/pt_BR: Likewise.
23347 * localedata/locales/pt_PT: Likewise.
23348 * localedata/locales/quz_PE: Likewise.
23349 * localedata/locales/raj_IN: Likewise.
23350 * localedata/locales/ro_RO: Likewise.
23351 * localedata/locales/ru_RU: Likewise.
23352 * localedata/locales/ru_UA: Likewise.
23353 * localedata/locales/rw_RW: Likewise.
23354 * localedata/locales/sa_IN: Likewise.
23355 * localedata/locales/sat_IN: Likewise.
23356 * localedata/locales/sc_IT: Likewise.
23357 * localedata/locales/sd_IN: Likewise.
23358 * localedata/locales/sd_IN@devanagari: Likewise.
23359 * localedata/locales/se_NO: Likewise.
23360 * localedata/locales/sgs_LT: Likewise.
23361 * localedata/locales/shs_CA: Likewise.
23362 * localedata/locales/si_LK: Likewise.
23363 * localedata/locales/sid_ET: Likewise.
23364 * localedata/locales/sk_SK: Likewise.
23365 * localedata/locales/sl_SI: Likewise.
23366 * localedata/locales/sm_WS: Likewise.
23367 * localedata/locales/so_DJ: Likewise.
23368 * localedata/locales/so_ET: Likewise.
23369 * localedata/locales/so_KE: Likewise.
23370 * localedata/locales/so_SO: Likewise.
23371 * localedata/locales/sq_AL: Likewise.
23372 * localedata/locales/sq_MK: Likewise.
23373 * localedata/locales/sr_ME: Likewise.
23374 * localedata/locales/sr_RS: Likewise.
23375 * localedata/locales/sr_RS@latin: Likewise.
23376 * localedata/locales/ss_ZA: Likewise.
23377 * localedata/locales/st_ZA: Likewise.
23378 * localedata/locales/sv_FI: Likewise.
23379 * localedata/locales/sv_SE: Likewise.
23380 * localedata/locales/sw_KE: Likewise.
23381 * localedata/locales/sw_TZ: Likewise.
23382 * localedata/locales/szl_PL: Likewise.
23383 * localedata/locales/ta_IN: Likewise.
23384 * localedata/locales/ta_LK: Likewise.
23385 * localedata/locales/tcy_IN: Likewise.
23386 * localedata/locales/te_IN: Likewise.
23387 * localedata/locales/tg_TJ: Likewise.
23388 * localedata/locales/th_TH: Likewise.
23389 * localedata/locales/the_NP: Likewise.
23390 * localedata/locales/ti_ER: Likewise.
23391 * localedata/locales/ti_ET: Likewise.
23392 * localedata/locales/tig_ER: Likewise.
23393 * localedata/locales/tk_TM: Likewise.
23394 * localedata/locales/tl_PH: Likewise.
23395 * localedata/locales/tn_ZA: Likewise.
23396 * localedata/locales/to_TO: Likewise.
23397 * localedata/locales/tpi_PG: Likewise.
23398 * localedata/locales/tr_CY: Likewise.
23399 * localedata/locales/tr_TR: Likewise.
23400 * localedata/locales/ts_ZA: Likewise.
23401 * localedata/locales/tt_RU: Likewise.
23402 * localedata/locales/tt_RU@iqtelif: Likewise.
23403 * localedata/locales/ug_CN: Likewise.
23404 * localedata/locales/uk_UA: Likewise.
23405 * localedata/locales/unm_US: Likewise.
23406 * localedata/locales/ur_IN: Likewise.
23407 * localedata/locales/ur_PK: Likewise.
23408 * localedata/locales/uz_UZ: Likewise.
23409 * localedata/locales/uz_UZ@cyrillic: Likewise.
23410 * localedata/locales/ve_ZA: Likewise.
23411 * localedata/locales/vi_VN: Likewise.
23412 * localedata/locales/wa_BE: Likewise.
23413 * localedata/locales/wae_CH: Likewise.
23414 * localedata/locales/wal_ET: Likewise.
23415 * localedata/locales/wo_SN: Likewise.
23416 * localedata/locales/xh_ZA: Likewise.
23417 * localedata/locales/yi_US: Likewise.
23418 * localedata/locales/yo_NG: Likewise.
23419 * localedata/locales/yue_HK: Likewise.
23420 * localedata/locales/yuw_PG: Likewise.
23421 * localedata/locales/zh_CN: Likewise.
23422 * localedata/locales/zh_HK: Likewise.
23423 * localedata/locales/zh_SG: Likewise.
23424 * localedata/locales/zh_TW: Likewise.
23425 * localedata/locales/zu_ZA: Likewise.
23426
23427 2017-11-13 Florian Weimer <fweimer@redhat.com>
23428
23429 * support/next_to_fault.h, support/next_to_fault.c: New files.
23430 * support/Makefile (libsupport-routines): Add next_to_fault.
23431 * resolv/tst-inet_pton.c (struct next_to_fault)
23432 (next_to_fault_allocate, next_to_fault_free): Remove.
23433 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23434
23435 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23436
23437 * elf/dl-support.c: Include <dl-procruntime.c>.
23438 * include/link.h: Include <link_map.h>.
23439 * sysdeps/generic/dl-procruntime.c: New file.
23440 * sysdeps/generic/link_map.h: Likewise.
23441 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23442 the writable ld.so namespace.
23443
23444 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23445
23446 timezone: pacify GCC -Wstringop-truncation
23447 Problem reported by Martin Sebor in:
23448 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23449 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23450
23451 2017-11-12 Florian Weimer <fweimer@redhat.com>
23452
23453 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23454 tst-xreadlink.
23455 (tests): Add tst-xreadlink.
23456 * support/support.h (xstrndup): Declare.
23457 * support/xunistd.h (xunlink, xreadlink): Declare.
23458 * support/temp_file.h (support_create_temp_directory): Declare.
23459 * support/temp_file.c (support_create_temp_directory): New function.
23460 * support/support_chroot.c (support_chroot_create): Use it.
23461 * support/xreadlink.c: New file.
23462 * support/xstrndup.c: Likewise.
23463 * support/xunlink.c: Likewise.
23464 * support/tst-xreadlink.c: Likewise.
23465
23466 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23467
23468 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23469
23470 2017-11-11 Florian Weimer <fweimer@redhat.com>
23471
23472 [BZ #22409]
23473 [BZ #22412]
23474 * resolv/res_comp.c (printable_string, binary_hnok)
23475 (binary_leading_dash): New functions.
23476 (res_hnok): Reimplement using these functions and ns_name_pton.
23477 (res_ownok): Likewise.
23478 (res_mailok): Reimplement using printable_string, ns_name_pton and
23479 binary_hnok.
23480 (res_dnok): Reimplement using printable_string and ns_name_pton.
23481 * resolv/tst-res_hnok.c (tests): Add additional tests.
23482 (LETTERDIGITS, PRINTABLE): Define.
23483 (do_test): Adjust one_char results.
23484
23485 2017-11-11 Florian Weimer <fweimer@redhat.com>
23486
23487 [BZ #22413]
23488 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23489 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23490
23491 2017-11-11 Florian Weimer <fweimer@redhat.com>
23492
23493 * resolv/tst-ns_name_pton.c: New file.
23494 * resolv/Makefile (tests): Add tst-ns_name_pton.
23495 (tst-ns_name_pton): Link against libresolv.
23496
23497 2017-11-11 Florian Weimer <fweimer@redhat.com>
23498
23499 * resolv/tst-res_hnok.c: New file.
23500 * resolv/Makefile (tests): Add tst-res_hnok.
23501 (tst-res_hnok): Link against libresolv.
23502
23503 2017-11-11 Florian Weimer <fweimer@redhat.com>
23504
23505 * resolv/tst-resolv-network.c: Use test framework instead explicit
23506 main function.
23507
23508 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23509
23510 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23511 <jmp_buf-macros.h>.
23512 [!_ISOMAC] (STR_HELPER): New.
23513 [!_ISOMAC] (STR): Likewise.
23514 [!_ISOMAC] (TEST_SIZE): Likewise.
23515 [!_ISOMAC] (TEST_ALIGN): Likewise.
23516 [!_ISOMAC] (TEST_OFFSET): Likewise.
23517 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23518 field offsets of jmp_buf as well as sigjmp_buf.
23519 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23520 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23521 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23522 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23523 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23524 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23525 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23526 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23527 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23528 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23529 Likewise.
23530 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23531 Likewise.
23532 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23534 Likewise.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23536 Likewise.
23537 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23538 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23539 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23540 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23541 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23543 Likewise.
23544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23545 Likewise.
23546 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23547 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23548 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23549
23550 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23551
23552 * include/float.h
23553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23554 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23556 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23558 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23560 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23562 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23564 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23566 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23568 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23570 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23572 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23574 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23576 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23578 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23580 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23582 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23584 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23586 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23588 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23590 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23592 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23594 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23596 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23598 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23600 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23602 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23604 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23606 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23608 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23610 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23612 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23614 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23616 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23618 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23620 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23622 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23624 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23626 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23628 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23630 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23632 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23634 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23636 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23638 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23640 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23641
23642 * stdlib/tst-strtod.h (F16): New macro.
23643 (F32): Likewise.
23644 (F64): Likewise.
23645 (F32X): Likewise.
23646 (F64X): Likewise.
23647 (F128X): Likewise.
23648 (IF_FLOAT16): Likewise.
23649 (IF_FLOAT32): Likewise.
23650 (IF_FLOAT64): Likewise.
23651 (IF_FLOAT32X): Likewise.
23652 (IF_FLOAT64X): Likewise.
23653 (IF_FLOAT128X): Likewise.
23654 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23655 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23656 (STRTOD_TEST_FOREACH): Likewise.
23657 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23658 (CHOOSE_f64): Likewise.
23659 (CHOOSE_f32x): Likewise.
23660 (CHOOSE_f64x): Likewise.
23661
23662 2017-11-07 Andreas Schwab <schwab@suse.de>
23663
23664 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23665
23666 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23667
23668 [BZ #22403]
23669 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23670 to be escaped.
23671 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23672 to be escaped.
23673
23674 2017-11-07 Claude Paroz <claude@2xlibre.net>
23675
23676 [BZ #22403]
23677 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23678 to be escaped.
23679 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23680 to be escaped.
23681 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23682 to be escaped.
23683
23684 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23685
23686 [BZ #22298]
23687 * nptl/allocatestack.c (allocate_stack): Check if
23688 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23689 __PTHREAD_MUTEX_HAVE_PREV is defined.
23690 * nptl/descr.h (pthread): Likewise.
23691 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23692 Likewise.
23693 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23694 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23695 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23696 * sysdeps/nptl/bits/thread-shared-types.h
23697 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23698 defines.
23699 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23700 of __WORDSIZE for internal layout.
23701 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23702 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23703 instead of __WORDSIZE whether to use an union for __spins and __list
23704 fields.
23705 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23706 case.
23707 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23708 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23709 defines.
23710 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23711 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23712 Likewise.
23713 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23714 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23715 Likewise.
23716 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23717 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23718 Likewise.
23719 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23720 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23721 Likewise.
23722 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23723 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23724 Likewise.
23725 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23726 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23727 Likewise.
23728 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23729 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23730 Likewise.
23731 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23732 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23733 Likewise.
23734 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23735 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23736 Likewise.
23737 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23738 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23739 Likewise.
23740 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23741 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23742 Likewise.
23743 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23744 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23745 Likewise.
23746 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23747 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23748 Likewise.
23749 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23750 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23751 Likewise.
23752
23753 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23754 New macros.
23755 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23756 checks for expected input type size.
23757 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23758 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23759 Likewise.
23760 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23761 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23762 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23763 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23764 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23765 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23766 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23767 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23768 superflous runtime assert check.
23769 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23770 Likewise.
23771 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23772 Likewise.
23773 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23774 Likewise.
23775 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23776 Likewise.
23777 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23778 Likewise.
23779 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23780 Likewise.
23781 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23782 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23783 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23784 Likewise.
23785 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23786 Likewise.
23787 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23788 Likewise.
23789 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23790 Likewise.
23791 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23792 Likewise.
23793 * nptl/pthread_attr_setinheritsched.c
23794 (__pthread_attr_setinheritsched): Likewise.
23795 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23796 Likewise.
23797 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23798 Likewise.
23799 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23800 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23801 __old_pthread_attr_setstack): Likewise.
23802 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23803 Likewise.
23804 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23805 Likewise.
23806 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23807 Likewise.
23808 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23809 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23810 Likewise.
23811 * nptl/tst-typesizes.c: Remove file.
23812
23813 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23814 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23815 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23816 checks for internal pthread_mutex_t offsets.
23817 * sysdeps/aarch64/nptl/pthread-offsets.h
23818 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23819 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23820 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23821 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23822 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23823 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23824 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23825 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23826 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23827 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23828 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23829 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23830 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23831 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23832 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23833 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23834 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23835 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23836
23837 2017-11-07 Florian Weimer <fweimer@redhat.com>
23838
23839 * bits/mman-linux.h: Move ...
23840 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23841 comment.
23842 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23843 outdated comment.
23844
23845 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23846
23847 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23848 Redefine STRNLEN as __strnlen_power8.
23849
23850 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23851
23852 * signal/sighold.c (sighold): Optimize implementation.
23853
23854 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23855 __NR_rt_sigqueueinfo.
23856
23857 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23858 __sigtimedwait.
23859 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23860 assume __NR_rt_sigtimedwait.
23861 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23862 and add LIBC_CANCEL_HANDLED for cancellation marking.
23863 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23864
23865 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23866 (sysdeps_routines): Add memchr_noneon.
23867 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23868 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23869 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23870 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23871 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23872 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23873 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23874
23875 * sysdeps/arm/arm-ifunc.h: New file.
23876 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23877 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23878 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23879 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23880 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23881 (__memcpy_neon): Avoid create hidden alias.
23882 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23883 (__memcpy_vfp): Likewise.
23884 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23885 (sysdep_routines): Add memcpy_arm.
23886 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23887
23888 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23889
23890 [BZ #22362]
23891 * Makerules (make-link-multidir): New.
23892 * config.make.in (multidir): New.
23893 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23894 * configure: Regenerated.
23895 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23896 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23897 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23898 New target.
23899
23900 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23901
23902 [BZ #22402]
23903 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23904 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23905
23906 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23907
23908 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23909 to be escaped.
23910
23911 2017-11-04 Florian Weimer <fweimer@redhat.com>
23912
23913 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23914
23915 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23916
23917 * math/math.h [__HAVE_DISTINCT_FLOAT16
23918 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23919 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23920 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23921 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23922 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23923 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23924 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23925 (__MATH_TG_F32): New macro.
23926 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23927 (__MATH_TG_F64X): Likewise.
23928 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23929 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23930
23931 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23932
23933 * po/de.po: Update translations.
23934 * po/ru.po: Likewise.
23935
23936 2017-11-03 Florian Weimer <fweimer@redhat.com>
23937
23938 * manual/filesys.texi (Hard Links): Document linkat.
23939
23940 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23941
23942 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23943 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23944 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23945 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23946 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23947 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23948 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23949 the same as _Float128.
23950 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23951 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23952 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23953
23954 * stdlib/stdlib.h
23955 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23956 Declare.
23957 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23958 Likewise.
23959 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23960 Likewise.
23961 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23962 (strtof32x): Likewise.
23963 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23964 (strtof64x): Likewise.
23965 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23966 (strtof128x): Likewise.
23967 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23968 (strfromf16): Likewise.
23969 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23970 (strfromf32): Likewise.
23971 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23972 (strfromf64): Likewise.
23973 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23974 (strfromf32x): Likewise.
23975 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23976 (strfromf64x): Likewise.
23977 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23978 (strfromf128x): Likewise.
23979 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23980 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23981 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23982 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23983 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23984 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23985
23986 2017-11-03 Richard Henderson <rth@twiddle.net>
23987
23988 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23989
23990 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23991
23992 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23993
23994 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23995
23996 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23997 DT_TLSDESC_GOT initialization.
23998 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23999 (_dl_tlsdesc_resolve_hold): Likewise.
24000 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24001 (_dl_tlsdesc_resolve_hold): Likewise.
24002 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24003 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24004
24005 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24006
24007 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24008
24009 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24010
24011 [BZ #18572]
24012 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24013 non-lazily for R_ARM_TLS_DESC.
24014
24015 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24016
24017 [BZ #17078]
24018 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24019 R_ARM_TLS_DESC case.
24020 (elf_machine_lazy_rel): Remove the prelink check.
24021
24022 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24023
24024 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24025 DT_TLSDESC_GOT initialization.
24026 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24027 (_dl_tlsdesc_resolve_rela): Likewise.
24028 (_dl_tlsdesc_resolve_hold): Likewise.
24029 (_dl_tlsdesc_undefweak): Remove ldar.
24030 (_dl_tlsdesc_dynamic): Likewise.
24031 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24032 (_dl_tlsdesc_resolve_rela): Likewise.
24033 (_dl_tlsdesc_resolve_hold): Likewise.
24034 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24035 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24036 (_dl_tlsdesc_resolve_rela): Likewise.
24037 (_dl_tlsdesc_resolve_hold): Likewise.
24038
24039 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24040
24041 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24042 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24043
24044 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24045
24046 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24047 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24048
24049 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24050
24051 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24052 Declare.
24053 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24054 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24055 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24056 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24057 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24058 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24059 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24060 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24061 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24062 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24063 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24064
24065 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24066
24067 [BZ #22382]
24068 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24069 * localedata/locales/tpi_PG: Add standard header.
24070
24071 2017-11-02 Florian Weimer <fweimer@redhat.com>
24072
24073 test-errno-linux: quotactl can fail with EPERM in containers.
24074 * sysdeps/unix/sysv/linux/test-errno-linux.c
24075 (LIST, LIST_FORWARD): New macros.
24076 (check_error_in_list): New function.
24077 (test_wrp_rv): Accept list of permitted error codes.
24078 (test_wrp_rv2): Remove.
24079 (test_wrp): Call test_wrp_rv with list of error codes.
24080 (test_wrp2): Accept list of error codes.
24081 (do_test): Adjust. Allow EPERM for quotactl.
24082
24083 2017-11-02 Florian Weimer <fweimer@redhat.com>
24084
24085 * stdio-common/bug16.c (do_test): Use array_length.
24086 * stdio-common/errlist.c (_sys_nerr): Likewise.
24087 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24088 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24089 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24090 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24091 (do_test): Use array_length.
24092 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24093 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24094 * stdio-common/tst-printf-round.c (do_test): Likewise.
24095 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24096 (CHECK): Use array_length.
24097 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24098 * stdio-common/tstscanf.c (main): Likewise.
24099 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24100
24101 2017-11-02 Florian Weimer <fweimer@redhat.com>
24102
24103 Add array_length and array_end macros.
24104 * include/array_length.h: New file.
24105
24106 2017-11-02 Florian Weimer <fweimer@redhat.com>
24107
24108 [BZ #22332]
24109 * posix/tst-glob-tilde.c (do_noescape): New variable.
24110 (one_test): Process it.
24111 (do_test): Set do_noescape. Add unescaping test case.
24112
24113 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24114
24115 * math/complex.h
24116 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24117 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24118 with appropriate macros defined and undefined.
24119 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24120 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24121 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24122 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24123 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24124 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24125 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24126 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24127 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24129
24130 * math/complex.h
24131 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24132 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24133 that for long double. Do not condition define and undefine of
24134 _Mdouble_complex_ on [__CFLOAT128].
24135
24136 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24137
24138 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24139 of <sysdeps/generic/sysdep.h>.
24140 (ALIGNARG): Removed.
24141 (ASM_SIZE_DIRECTIVE): Likewise.
24142 (ENTRY): Likewise.
24143 (END): Likewise.
24144 (ENTRY_CHK): Likewise.
24145 (END_CHK): Likewise.
24146 (syscall_error): Likewise.
24147 (mcount): Likewise.
24148 (PSEUDO_END): Likewise.
24149 (L): Likewise.
24150 (atom_text_section): Likewise.
24151 * sysdeps/x86/sysdep.h: New file.
24152 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24153 of <sysdeps/generic/sysdep.h>.
24154 (ALIGNARG): Removed.
24155 (ASM_SIZE_DIRECTIVE): Likewise.
24156 (ENTRY): Likewise.
24157 (END): Likewise.
24158 (ENTRY_CHK): Likewise.
24159 (END_CHK): Likewise.
24160 (syscall_error): Likewise.
24161 (mcount): Likewise.
24162 (PSEUDO_END): Likewise.
24163 (L): Likewise.
24164 (atom_text_section): Likewise.
24165
24166 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24167
24168 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24169 category of LC_CTYPE set to "i18n:2012".
24170 * localedata/locales/i18n_ctype: Regenerate.
24171
24172 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24173
24174 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24175 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24176 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24177 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24178
24179 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24180 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24182 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24183
24184 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24185
24186 * math/complex.h
24187 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24188 New macro.
24189 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24190 Likewise.
24191 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24192 Likewise.
24193 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24194 (CMPLXF32X): Likewise.
24195 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24196 (CMPLXF64X): Likewise.
24197 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24198 (CMPLXF128X): Likewise.
24199
24200 * math/math.h
24201 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24202 (__MATH_EVAL_FMT2): Define to add 0.0f.
24203
24204 2017-10-31 Alan Modra <amodra@gmail.com>
24205
24206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24207 include sysdep.h.
24208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24222 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24223 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24225 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24226 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24228 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24229 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24230 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24231 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24232 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24233 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24234 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24235 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24236 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24237 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24238 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24239 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24240 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24241 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24242 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24243 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24244 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24245 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24246 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24247 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24248 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24249 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24250 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24251 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24252 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24253 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24254 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24255 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24256 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24257 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24258 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24259 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24260 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24261 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24262 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24263 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24264 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24265 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24266 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24267 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24268 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24269 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24270 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24271 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24272 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24273 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24274 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24275 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24276 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24277
24278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24279 include sysdep.h and math_ldbl_opt.h.
24280
24281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24282 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24307
24308 2017-10-31 Alan Modra <amodra@gmail.com>
24309
24310 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24311 string/strncase_l.c, not string/strncase.c.
24312 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24313 (libc_hidden_def): Redefine.
24314
24315 2017-10-31 Alan Modra <amodra@gmail.com>
24316
24317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24318 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24319 (__strcasecmp): Don't define.
24320
24321 2017-10-31 Alan Modra <amodra@gmail.com>
24322
24323 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24324 IS_IN (libc).
24325 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24326 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24327 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24328
24329 2017-10-31 Alan Modra <amodra@gmail.com>
24330
24331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24332 USE_AS_STPNCPY.
24333
24334 2017-10-31 Alan Modra <amodra@gmail.com>
24335
24336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24337 Redefine only when SHARED.
24338
24339 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24340
24341 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24342 Include <bits/math-finite.h> with appropriate macros defined and
24343 undefined.
24344 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24345 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24346 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24347 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24348 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24349
24350 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24351 [!_Mlong_double_] (_Mlong_double_): Likewise.
24352 [!_Mfloat16_] (_Mfloat16_): Likewise.
24353 [!_Mfloat32_] (_Mfloat32_): Likewise.
24354 [!_Mfloat64_] (_Mfloat64_): Likewise.
24355 [!_Mfloat128_] (_Mfloat128_): Likewise.
24356 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24357 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24358 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24359 (_Mdouble_): Define without indirection through those macros.
24360 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24361 [!_Mfloat128_] (_Mfloat128_): Likewise.
24362 [_Mlong_double_] (_Mlong_double_): Likewise.
24363 (_Mdouble_): Define without indirection through those macros.
24364 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24365 not add -D_Mlong_double_=double.
24366 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24367 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24368
24369 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24370
24371 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24372
24373 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24374
24375 * sysdeps/x86/libc-start.c: Reformat.
24376
24377 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24378
24379 [BZ #22353]
24380 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24381 (1): Renamed to ...
24382 (L(Src0)): This.
24383 (L(Src1)): New.
24384 (L(Src2)): Likewise.
24385 (L(1)): Renamed to ...
24386 (L(Src3)): This.
24387
24388 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24389
24390 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24391 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24392 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24393 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24394 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24395 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24396 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24397 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24398 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24399 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24400 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24401 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24402 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24403 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24404 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24405 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24406 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24407 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24408 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24409 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24410 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24411 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24412 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24413 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24414 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24415 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24416 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24417 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24418 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24419 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24420 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24421 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24422 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24423 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24424 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24425 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24426 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24427 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24428 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24429 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24430 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24431 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24432 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24433 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24434 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24435 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24436 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24437 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24438 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24439 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24440 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24441 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24442 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24443 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24444 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24445 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24446 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24447 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24448 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24449 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24450 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24451 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24452 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24453 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24454 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24455 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24456
24457 2017-10-30 Florian Weimer <fweimer@redhat.com>
24458
24459 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24460 always defined.
24461 * io/tst-mkdirat.c (do_test): Likewise.
24462 * io/tst-mkfifoat.c (do_test): Likewise.
24463 * io/tst-mknodat.c (do_test): Likewise.
24464 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24465 * locale/programs/locale.c (select_dirs): Likewise.
24466 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24467 * posix/bug-glob2.c (my_readdir): Likewise.
24468 * posix/tst-dir.c (main): Likewise.
24469 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24470 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24471
24472 2017-10-30 Florian Weimer <fweimer@redhat.com>
24473
24474 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24475 just __USE_GNU.
24476
24477 2017-10-30 Florian Weimer <fweimer@redhat.com>
24478
24479 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24480 Convert to support/test-driver.c.
24481 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24482 New macro parameters.
24483 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24484 * posix/tst-gnuglob.c: New file.
24485 * posix/tst-gnuglob64.c: Likewise.
24486 * posix/Makefile (tests): Add tst-gnuglob64.
24487
24488 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24489
24490 [BZ #19485]
24491 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24492 and use a better translation for March in “mon”.
24493 * localedata/locales/csb_PL: Use more ASCII to improve the
24494 readability of the source.
24495
24496 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24497
24498 [BZ #13953]
24499 * localedata/locales/km_KH: Use ASCII as much
24500 as possible for better readability of the source and
24501 remove useless comments.
24502 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24503 was commented out and apparently wrong anyway because it was
24504 using Lao characters. If Buddhist era should be used
24505 for km_KH, a native speaker should write the correct formaat
24506 for Khmer.
24507 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24508 (According to CLDR, the first weekday for Cambodia is Sunday).
24509 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24510 (These were using Lao characters which must be wrong. If we get
24511 the correct data from a native speaker, we could add it back, until
24512 then it is better not to have name_mr and name_mrs at all than
24513 having it wrong).
24514
24515 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24516
24517 * locale/loadlocale.c: Correct size of
24518 _nl_value_type_LC_<category> arrays.
24519
24520 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24521
24522 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24523 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24524 with appropriate macros defined and undefined.
24525 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24526 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24527 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24528 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24529 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24530
24531 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24532
24533 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24534 "-O2 -march=i586".
24535
24536 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24537
24538 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24539 with lowercase letters to make it agree with CLDR.
24540
24541 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24542
24543 [BZ #15260]
24544 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24545 first letters of yesstr and nostr in yesexpr and noexpr,
24546 not for the full words.
24547 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24548 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24549 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24550 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24551 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24552 first letters of yesstr and nostr in yesexpr and noexpr,
24553 until now only English was matched in yesexpr and noexpr.
24554 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24555 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24556 fil but not for tl. As tl and fil are very similar, using fil
24557 is probably better than using English.
24558
24559 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24560
24561 [BZ #21706]
24562 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24563 in yesstr and nostr.
24564
24565 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24566
24567 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24568 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24569 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24570 Likewise.
24571 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24572 Likewise.
24573 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24574 Likewise.
24575 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24576 Likewise.
24577 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24578 (SNANF128X): Likewise.
24579
24580 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24581 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24582 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24583 (HUGE_VAL_F32): Likewise.
24584 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24585 (HUGE_VAL_F64): Likewise.
24586 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24587 (HUGE_VAL_F32X): Likewise.
24588 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24589 (HUGE_VAL_F64X): Likewise.
24590 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24591 (HUGE_VAL_F128X): Likewise.
24592
24593 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24594
24595 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24596 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24597 for the br_FR locale.
24598
24599 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24600
24601 [BZ #21706]
24602 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24603
24604 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24605
24606 * locale/programs/record-status.h: Define globals, and function
24607 prototypes. Move function bodies...
24608 * locale/programs/record-status.c: ... to here. New file.
24609 * iconv/Makefile (iconv_prog-modules): Add record-status.
24610 * locale/Makefile (lib-modules): Likewise.
24611 * iconv/iconv_prog.c: Remove verbose.
24612 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24613 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24614 record a warning about ASCII compatibility.
24615 * locale/programs/ld-monetary.c (monetary_finish): If
24616 warn_int_curr_symbol is true then record a warning about the symbol
24617 not being in our ISO 4217 list.
24618 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24619 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24620 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24621 (OPT_NO_WARN): Define.
24622 (OPT_WARN): Define.
24623 (options): Add entry for --no-warnings, and --warnings.
24624 (set_warnings): New function to enable/disable warnings.
24625 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24626 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24627 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24628 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24629 Pass flags to generate_locale.
24630 (generate_locale): Accept new flag argument and pass it to localedef
24631 invocation.
24632 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24633 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24634
24635 * localedata/Makefile (test-input-data): Use full file name.
24636 * localedata/da_DK.in: Rename to...
24637 * localedata/da_DK.ISO-8859-1.in: ...this.
24638 * localedata/de_DE.in: Rename to...
24639 * localedata/de_DE.ISO-8859-1.in: ...this.
24640 * localedata/en_US.in: Rename to...
24641 * localedata/en_US.ISO-8859-1.in: ...this.
24642 * localedata/fr_FR.in: Rename to...
24643 * localedata/fr_FR.UTF-8.in: ... this.
24644 * localedata/hr_HR.in: Rename to...
24645 * localedata/hr_HR.ISO-8859-2.in: ...this.
24646 * localedata/hu_HU.in: Rename to...
24647 * localedata/hu_HU.UTF-8.in: ...this.
24648 * localedata/si_LK.in: Rename to...
24649 * localedata/si_LK.UTF-8.in: ...this.
24650 * localedata/sv_SE.in: Rename to...
24651 * localedata/sv_SE.ISO-8859-1.in: ...this.
24652 * localedata/tr_TR.in: Rename to...
24653 * localedata/tr_TR.UTF-8.in: ...this.
24654 * localedata/uk_UA.in: Rename to...
24655 * localedata/uk_UA.UTF-8.in: ...this.
24656 * localedata/sort-test.sh: Test file is locale name with the
24657 suffix.
24658
24659 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24660 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24661 file.
24662 * localedata/locales/i18n_ctype: Regenerate.
24663 * localedata/locales/tr_TR: Likewise.
24664 * localedata/locales/translit_circle: Likewise.
24665 * localedata/locales/translit_cjk_compat: Likewise.
24666 * localedata/locales/translit_combining: Likewise.
24667 * localedata/locales/translit_compat: Likewise.
24668 * localedata/locales/translit_font: Likewise.
24669 * localedata/locales/translit_fraction: Likewise.
24670
24671 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24672
24673 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24674 lxvd2x/stxvd2x with lvx/stvx.
24675 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24676
24677 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24678
24679 * include/alloc_buffer.h: Replace "if if " with "if " in
24680 comments.
24681 * sysdeps/mips/memcpy.S: Likkewise.
24682 * sysdeps/mips/memset.S: Likewise.
24683 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24684 Likewise.
24685 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24686 Likewise.
24687 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24688 Likewise.
24689
24690 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24691
24692 [BZ #15261]
24693 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24694 yesexpr and noexpr.
24695 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24696 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24697 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24698 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24699 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24700 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24701 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24702
24703 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24704
24705 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24706 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24707 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24708 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24709 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24710 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24711 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24712 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24713 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24714 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24715 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24716 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24717
24718 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24719
24720 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24721 as possible for better readability of the source.
24722 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24723 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24724 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24725 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24726 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24727 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24728 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24729 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24730 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24731 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24732 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24733 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24734 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24735 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24736 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24737 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24738 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24739 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24740 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24741 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24742 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24743 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24744 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24745 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24746 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24747 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24748 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24749 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24750 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24751 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24752 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24753 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24754 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24755 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24756 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24757 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24758 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24759 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24760 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24761 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24762 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24763 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24764 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24765 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24766 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24767 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24768 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24769 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24770 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24771 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24772 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24773 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24774 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24775 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24776 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24777 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24778 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24779 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24780 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24781 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24782 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24783 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24784 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24785 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24786 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24787 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24788 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24789 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24790 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24791 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24792 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24793 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24794 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24795 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24796 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24797 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24798 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24799 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24800 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24801 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24802 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24803 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24804 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24805 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24806 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24807 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24808 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24809 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24810 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24811 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24812 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24813 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24814 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24815 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24816 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24817 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24818 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24819 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24820 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24821 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24822 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24823 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24824 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24825 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24826 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24827 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24828 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24829 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24830 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24831 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24832 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24833 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24834 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24835 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24836 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24837 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24838 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24839 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24840 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24841 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24842 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24843 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24844 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24845 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24846 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24847 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24848 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24849 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24850 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24851 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24852 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24853 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24854 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24855 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24856 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24857 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24858 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24859 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24860 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24861 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24862 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24863 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24864 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24865 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24866 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24867 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24868 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24869 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24870 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24871 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24872 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24873 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24874 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24875 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24876 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24877 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24878 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24879 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24880 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24881 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24882 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24883 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24884 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24885 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24886 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24887 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24888 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24889 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24890 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24891 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24892 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24893 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24894 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24895 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24896
24897 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24898
24899 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24900 (Use first letters of yesstr and nostr correctly instead of using
24901 full words).
24902
24903 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24904
24905 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24906 (Use first letters of yesstr and nostr correctly).
24907
24908 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24909
24910 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24911 also check for the first characters of yesstr and nostr.
24912 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24913 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24914
24915 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24916
24917 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24918 also check for Chinese characters.
24919
24920 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24921
24922 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24923 match also for the contents of yesstr and nostr. As the first letter
24924 of yesstr and nostr is equal, checking only for the first letter
24925 is not enough.
24926
24927 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24928
24929 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24930 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24931
24932 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24933
24934 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24935 of main contributor.
24936
24937 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24938
24939 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24940 instead of using English.
24941
24942 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24943
24944 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24945 by including the first letters of nostr and yesexpr in the regexp.
24946 Also make it more readable by using ASCII where possible.
24947
24948 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24949
24950 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24951 the first letter of nostr in the regexp. It agrees with CLDR now.
24952 Also make it more readable by using ASCII where possible.
24953
24954 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24955
24956 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24957 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24958 these strings contain a U+17D6 (which somewhat looks like a colon)
24959 instead of a real colon to separate the full words for “yes”
24960 and “no” from the single letter responses.
24961
24962 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24963
24964 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24965 it agree with CLDR (include the first letter of yesstr).
24966 Also make it more readable by using ASCII where possible.
24967
24968 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24969
24970 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24971 and improve yesexpr and noexpr. The yesstr and nostr apparently
24972 came from CLDR. And CLDR has a bug there: these strings contain
24973 a U+0903 (which looks like a colon) instead of a real colon
24974 to separate the full words for “yes” and “no” from the single
24975 letter responses.
24976
24977 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24978
24979 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24980 letters of the full yesstr and nostr in yesexpr and noexpr.
24981
24982 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24983
24984 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24985 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24986 * localedata/locales/an_ES: Make source more readable by using ASCII
24987 where possible.
24988
24989 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24990
24991 [BZ #20952]
24992 * localedata/locales/yuw_PG: New file.
24993 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24994 * locale/iso-639.def: Add Yau (Uruwa).
24995
24996 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24997
24998 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24999
25000 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25001
25002 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25003 (__libc_realloc): Likewise.
25004 (_mid_memalign): Likewise.
25005 (__libc_calloc): Likewise.
25006
25007 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25008
25009 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25010 by adding the generic +1 and -0 as in all other locales.
25011 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25012 day names and make it more readable by using ASCII where possible.
25013
25014 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25015
25016 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25017 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25018
25019 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25020
25021 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25022 WNOHANG in waitpid call.
25023
25024 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25025
25026 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25027 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25028
25029 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25030 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25031 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25032 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25033 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25034 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25035 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25036 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25037 variables.
25038
25039 2017-10-23 Michael Collison <michael.collison@arm.com>
25040
25041 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25042 with __builtin_sqrt.
25043 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25044 with __builtin_sqrtf.
25045 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25046 with __builtin_ceil.
25047 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25048 with __builtin_ceilf.
25049 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25050 with __builtin_floor.
25051 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25052 with __builtin_floorf.
25053 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25054 with __builtin_fma.
25055 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25056 with __builtin_fmaf.
25057 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25058 with __builtin_fmax.
25059 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25060 with __builtin_fmaxf.
25061 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25062 with __builtin_fmin.
25063 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25064 with __builtin_fminf.
25065 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25066 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25067 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25068 with builtin_rint and conversion to int.
25069 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25070 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25071 with builtin_llround.
25072 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25073 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25074 with builtin_rint and conversion to long int.
25075 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25076 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25077 with builtin_lround.
25078 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25079 with builtin_lroundf.
25080 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25081 statements with __builtin_nearbyint.
25082 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25083 statements with __builtin_nearbyintf.
25084 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25085 with __builtin_rint.
25086 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25087 with __builtin_rintf.
25088 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25089 with __builtin_round.
25090 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25091 with __builtin_roundf.
25092 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25093 with __builtin_trunc.
25094 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25095 with __builtin_truncf.
25096 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25097 and s_l[l]round[f].c too.
25098
25099 2017-10-23 Alan Modra <amodra@gmail.com>
25100
25101 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25102 Adjust stack after restoring regs. Add missing LR cfi_restore.
25103
25104 2017-10-23 Alan Modra <amodra@gmail.com>
25105
25106 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25107 Move LR save and frame setup/teardown and LR restore to
25108 immediately around memset call. Provide cfi.
25109
25110 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25111
25112 * sysdeps/i386/fpu/e_powf.S: Removed.
25113 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25114 * sysdeps/i386/fpu/w_powf.c: Likewise.
25115 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25116 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25117 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25118 Add e_powf-sse2.
25119 (CFLAGS-e_powf-sse2.c): New.
25120 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25121 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25122
25123 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25124
25125 * sysdeps/i386/fpu/e_log2f.S: Removed.
25126 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25127 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25128 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25129 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25130 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25131 Add e_log2f-sse2.
25132 (CFLAGS-e_log2f-sse2.c): New.
25133 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25134 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25135
25136 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25137
25138 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25139 Add e_powf-fma.
25140 (CFLAGS-e_powf-fma.c): New.
25141 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25142 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25143
25144 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25145
25146 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25147 Add e_log2f-fma.
25148 (CFLAGS-e_log2f-fma.c): New.
25149 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25150 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25151
25152 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25153
25154 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25155 Add e_logf-fma.
25156 (CFLAGS-e_logf-fma.c): New.
25157 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25158 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25159
25160 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25161
25162 * sysdeps/i386/fpu/e_logf.S: Removed.
25163 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25164 * sysdeps/i386/fpu/w_logf.c: Likewise.
25165 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25166 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25167 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25168 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25169 Add e_logf-sse2.
25170 (CFLAGS-e_logf-sse2.c): New.
25171 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25172 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25173
25174 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25175
25176 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25177 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25178 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25179 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25180 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25181 Add e_exp2f-sse2.
25182 (CFLAGS-e_exp2f-sse2.c): New.
25183 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25184 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25185
25186 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25187
25188 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25189 Add e_exp2f-fma.
25190 (CFLAGS-e_exp2f-fma.c): New.
25191 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25192 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25193
25194 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25195
25196 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25197 * sysdeps/i386/fpu/e_expf.S: Likewise.
25198 * sysdeps/i386/fpu/math_errf.c: Likewise.
25199 * sysdeps/i386/fpu/w_expf.c: Likewise.
25200 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25201 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25202 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25203 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25204 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25205 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25206 Remove e_expf-ia32.
25207 (CFLAGS-e_expf-sse2.c): New.
25208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25209 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25210
25211 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25212
25213 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25214 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25215 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25216 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25217 e_expf.c.
25218 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25219 New.
25220 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25221 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25222 Renamed to ...
25223 (__redirect_expf): This.
25224 (SYMBOL_NAME): Changed to expf.
25225 (__ieee754_expf): Renamed to ...
25226 (__expf): This.
25227 (__GI___expf): This.
25228 (__ieee754_expf): Add strong_alias.
25229 (__expf_finite): Likewise.
25230 (__expf): New.
25231 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25232
25233 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25234
25235 [BZ #22332]
25236 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25237 unescaping.
25238
25239 2017-10-21 Florian Weimer <fweimer@redhat.com>
25240
25241 * posix/Makefile (tests): Add tst-glob-tilde.
25242 (tests-special): Add tst-glob-tilde-mem.out
25243 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25244 (tst-glob-tilde-mem.out): Add mtrace check.
25245 * posix/tst-glob-tilde.c: New file.
25246
25247 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25248
25249 * bits/floatn-common.h: New file.
25250 * math/Makefile (headers): Add bits/floatn-common.h.
25251 * bits/floatn.h: Include <bits/floatn-common.h>.
25252 * sysdeps/ia64/bits/floatn.h: Likewise.
25253 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25254 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25255 * sysdeps/powerpc/bits/floatn.h: Likewise.
25256 * sysdeps/x86/bits/floatn.h: Likewise.
25257
25258 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25259
25260 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25261 indicates whether compiler emits an warning for alias for
25262 functions with incompatible types.
25263
25264 [BZ #22273]
25265 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25266 the auxiliary process is terminated by a signal before calling _exit
25267 or execve.
25268
25269 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25270
25271 [BZ #21265]
25272 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25273 New.
25274 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25275 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25276 and bit_arch_XSAVEC_Usable if needed.
25277 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25278 and bit_arch_Use_dl_runtime_resolve_opt.
25279 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25280 Removed.
25281 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25282 (bit_arch_Prefer_No_AVX512): Updated.
25283 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25284 (bit_arch_XSAVEC_Usable): New.
25285 (STATE_SAVE_OFFSET): Likewise.
25286 (STATE_SAVE_MASK): Likewise.
25287 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25288 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25289 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25290 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25291 (index_arch_XSAVEC_Usable): New.
25292 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25293 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25294 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25295 is enabled.
25296 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25297 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25298 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25299 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25300 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25301 _dl_runtime_resolve_xsavec.
25302 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25303 Removed.
25304 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25305 instead of VEC_SIZE.
25306 (REGISTER_SAVE_BND0): Removed.
25307 (REGISTER_SAVE_BND1): Likewise.
25308 (REGISTER_SAVE_BND3): Likewise.
25309 (REGISTER_SAVE_RAX): Always defined to 0.
25310 (VMOV): Removed.
25311 (_dl_runtime_resolve_avx): Likewise.
25312 (_dl_runtime_resolve_avx_slow): Likewise.
25313 (_dl_runtime_resolve_avx_opt): Likewise.
25314 (_dl_runtime_resolve_avx512): Likewise.
25315 (_dl_runtime_resolve_avx512_opt): Likewise.
25316 (_dl_runtime_resolve_sse): Likewise.
25317 (_dl_runtime_resolve_sse_vex): Likewise.
25318 (USE_FXSAVE): New.
25319 (_dl_runtime_resolve_fxsave): Likewise.
25320 (USE_XSAVE): Likewise.
25321 (_dl_runtime_resolve_xsave): Likewise.
25322 (USE_XSAVEC): Likewise.
25323 (_dl_runtime_resolve_xsavec): Likewise.
25324 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25325 Removed.
25326 (_dl_runtime_resolve_avx512_opt): Likewise.
25327 (_dl_runtime_resolve_avx): Likewise.
25328 (_dl_runtime_resolve_avx_opt): Likewise.
25329 (_dl_runtime_resolve_sse): Likewise.
25330 (_dl_runtime_resolve_sse_vex): Likewise.
25331 (_dl_runtime_resolve_fxsave): New.
25332 (_dl_runtime_resolve_xsave): Likewise.
25333 (_dl_runtime_resolve_xsavec): Likewise.
25334
25335 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25336
25337 [BZ #22320]
25338 CVE-2017-15670
25339 * posix/glob.c (__glob): Fix one-byte overflow.
25340
25341 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25342
25343 * malloc/malloc.c (sysdep-cancel.h): Add include.
25344
25345 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25346
25347 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25348
25349 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25350
25351 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25352 (tests): Remove $(objpfx)ga_test depdendency.
25353 * resolv/ga_test.c: Remove file.
25354
25355 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25356
25357 [BZ #18812]
25358 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25359 * localedata/locales/kab_DZ: New file.
25360
25361 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25362
25363 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25364 _dl_relocate_static_pie instead of _dl_start to compute load
25365 address in static PIE.
25366
25367 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25368
25369 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25370
25371 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25372
25373 [BZ #13605]
25374 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25375 * localedata/locales/shn_MM: New file.
25376
25377 2017-10-20 Florian Weimer <fweimer@redhat.com>
25378
25379 [BZ #22321]
25380 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25381 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25382 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25383 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25384 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25385 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25386
25387 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25388
25389 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25390
25391 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25392
25393 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25394
25395 [BZ #22322]
25396 * sysdeps/mips/bits/long-double.h: Move to ....
25397 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25398
25399 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25400
25401 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25402
25403 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25404 H.J. Lu <hongjiu.lu@intel.com>
25405
25406 [BZ #22299]
25407 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25408 GLRO(dl_platform) to NULL.
25409 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25410 (modules-names): Add tst-platformmod-1 and
25411 x86_64/tst-platformmod-2.
25412 (CFLAGS-tst-platform-1.c): New.
25413 (CFLAGS-tst-platformmod-1.c): Likewise.
25414 (CFLAGS-tst-platformmod-2.c): Likewise.
25415 (LDFLAGS-tst-platformmod-2.so): Likewise.
25416 ($(objpfx)tst-platform-1): Likewise.
25417 ($(objpfx)tst-platform-1.out): Likewise.
25418 (tst-platform-1-ENV): Likewise.
25419 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25420 * sysdeps/x86_64/tst-platform-1.c: New file.
25421 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25422 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25423
25424 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25425
25426 [BZ #13994]
25427 * locale/iso-639.def: Add Karbi.
25428 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25429 * localedata/locales/mjw_IN: New file.
25430
25431 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25432
25433 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25434 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25435 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25436 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25437 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25438 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25439 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25440 <bits/floatn.h>.
25441 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25442 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25443 * manual/math.texi (Mathematics): Document additional architecture
25444 support for _Float128.
25445 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25446 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25447 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25448 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25449 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25450 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25451 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25452 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25453 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25454 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25455 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25456 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25457 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25459 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25460
25461 2017-10-18 Renlin Li <renlin.li@arm.com>
25462
25463 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25464 _DYNAMIC symbol to calculate load address.
25465
25466 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25467
25468 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25469 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25470 summary bits.
25471 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25472 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25473
25474 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25475
25476 [BZ #16777]
25477 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25478 and improve readability by using more ASCII.
25479 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25480 and improve readability by using more ASCII.
25481
25482 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25483
25484 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25485 not all targets support atomics on bool.
25486
25487 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25488
25489 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25490 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25491 __f128.
25492 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25493 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25494 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25495 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25496 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25497 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25498
25499 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25500
25501 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25502 defines.
25503
25504 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25505
25506 [BZ #22159]
25507 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25508 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25509 (do_check_remalloced_chunk): Fix build bug.
25510 (do_check_malloc_state): Add assert that checks arena->top.
25511 (malloc_consolidate): Remove initialization.
25512 (int_mallinfo): Remove call to malloc_consolidate.
25513 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25514
25515 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25516
25517 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25518 (have_fastchunks): Remove.
25519 (clear_fastchunks): Remove.
25520 (set_fastchunks): Remove.
25521 (malloc_state): Add have_fastchunks.
25522 (malloc_init_state): Use have_fastchunks.
25523 (do_check_malloc_state): Remove incorrect invariant checks.
25524 (_int_malloc): Use have_fastchunks.
25525 (_int_free): Likewise.
25526 (malloc_consolidate): Likewise.
25527
25528 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25529
25530 * malloc/malloc.c (tcache_put): Inline.
25531 (tcache_get): Inline.
25532
25533 2017-10-17 Jordi Mallach <jordi@gnu.org>
25534
25535 Aurelien Jarno <aurelien@aurel32.net>
25536 [BZ #2522]
25537 * localedata/locales/ca_ES@valencia: New file.
25538 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25539
25540 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25541
25542 [BZ #22296]
25543 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25544 < 6.x
25545
25546 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25547
25548 * scripts/build-many-glibcs.py (Context.add_all_configs):
25549 Add arm-linux-gnueabihf multiarch extra_glibcs.
25550
25551 * sysdeps/generic/ifunc-init.h: New file.
25552 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25553
25554 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25555
25556 [BZ #22019]
25557 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25558 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25559 * stdlib/tst-strfmon_l.c: adapt test case.
25560
25561 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25562
25563 * sysdeps/generic/float128-abi.h: New file.
25564 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25565 non-__prefixed symbols to ....
25566 * math/Versions: ... here. Include <float128-abi.h>.
25567 * stdlib/Versions ... and here. Include <float128-abi.h>
25568
25569 2017-10-16 Florian Weimer <fweimer@redhat.com>
25570
25571 * version.h (VERSION): Switch to ".9000" as the development
25572 version suffix.
25573
25574 2017-10-16 Florian Weimer <fweimer@redhat.com>
25575
25576 [BZ #22050]
25577 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25578 compat_symbol_reference to access non-default version.
25579
25580 2017-10-16 Florian Weimer <fweimer@redhat.com>
25581
25582 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25583
25584 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25585
25586 * include/shlib-compat.h (compat_symbol_reference): Update
25587 comment.
25588
25589 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25590
25591 * math/Makefile (test-types): Add
25592 $(type-float128-$(float128-alias-fcts)).
25593 * math/test-float128.h (TYPE_STR): Define conditional on
25594 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25595 (ULP_IDX): Likewise.
25596 (ULP_I_IDX): Likewise.
25597
25598 * stdlib/strtold.c: Include <bits/floatn.h>
25599 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25600 and later undefine as macro. Define as weak alias if
25601 [!USE_WIDE_CHAR].
25602 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25603 and later undefine as macro. Define as weak alias if
25604 [USE_WIDE_CHAR].
25605 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25606 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25607 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25608 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25609 Define and later undefine as macro. Define as weak alias if
25610 [USE_WIDE_CHAR].
25611 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25612 <bits/floatn.h>.
25613 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25614 Define and later undefine as macro. Define as weak alias if
25615 [!USE_WIDE_CHAR].
25616 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25617 Define and later undefine as macro. Define as weak alias if
25618 [USE_WIDE_CHAR].
25619
25620 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25621
25622 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25623 record_verbose messages.
25624
25625 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25626
25627 [BZ #22052]
25628 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25629 to silence -O3 -Wall warning with GCC 7.
25630
25631 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25632
25633 * Makeconfig (+link-static-before-libc): Use the first of
25634 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25635 * gmon/Makefile (tests): Add tst-gmon-static.
25636 (tests-static): Likewise.
25637 (CFLAGS-tst-gmon-static.c): New.
25638 (CRT-tst-gmon-static): Likewise.
25639 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25640 (tst-gmon-static-ENV): Likewise.
25641 (tests-special): Likewise.
25642 ($(objpfx)tst-gmon-static.out): Likewise.
25643 (clean-tst-gmon-static-data): Likewise.
25644 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25645 * gmon/tst-gmon-static-gprof.sh: New file.
25646 * gmon/tst-gmon-static.c: Likewise.
25647
25648 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25649
25650 [BZ #22295]
25651 * locale/programs/linereader.c (get_string): Don't warn on
25652 non-symbolic character.
25653
25654 [BZ #22294]
25655 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25656 int_curr_symbol.
25657
25658 [BZ #22292]
25659 * locale/programs/record-status.h: New file
25660 * locale/programs/locale.c: Add comment.
25661 * locale/programs/charmap-dir.c: Don't include error.h.
25662 (charmap_opendir): Use record_error.
25663 * locale/programs/charmap.c: Don't include error.h.
25664 (charmap_read): Use record_error, and record_warning.
25665 (parse_charmap): Likewise.
25666 * locale/programs/ld-address.c: Don't include error.h.
25667 (address_finish): Use record_error, and record_warning.
25668 * locale/programs/ld-collate.c: Don't include error.h.
25669 (collate_finish): Use record_error, and record_error_at_line.
25670 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25671 (ctype_class_new): Likewise.
25672 (ctype_map_new): Likewise.
25673 (set_one_default): Likewise.
25674 (set_class_defaults): Likewise.
25675 (translit_flatten): Likewise.
25676 (allocate_arrays): Use record_error, and record_verbose.
25677 * locale/programs/ld-identification.c: Don't include error.h.
25678 (indentation_finish): Use record_error and record_warning.
25679 * locale/programs/ld-measurement.c: Don't include error.h.
25680 (measurement_finish): Use record_error.
25681 * locale/programs/ld-messages.c
25682 (message_finish): Likewise.
25683 * locale/programs/ld-monetary.c
25684 (monetary_finish): Likewise.
25685 * locale/programs/ld-name.c (name_finish): Use record_error
25686 and record_warning.
25687 * locale/programs/ld-numeric.c
25688 (numeric_finish): Use record_error.
25689 * locale/programs/ld-paper.c: Don't include error.h.
25690 (paper_finish): Use record_error.
25691 * locale/programs/ld-telephone.c: Don't include error.h.
25692 (telephone_finish): Use record_error.
25693 * locale/programs/ld-time.c (time_finish): Likewise.
25694 * locale/programs/linereader.h (lr_error): Make inline func.
25695 * locale/programs/localedef.c: Define recorded_warning_count,
25696 and recorded_error_count.
25697 (main): Use record_error. Use recorded_error_count and
25698 recorded_warning_count to issue correct error returns.
25699 (add_to_readlist): Use record_error.
25700 (find_locale): Likewise.
25701 (load_locale): Likewise.
25702 * locale/programs/localedef.h: Remove be_quiet
25703 and WITH_CUR_LOCALE.
25704 * locale/programs/locarchive.c (compare_from_file): Use
25705 record_error.
25706 * locale/programs/locfile.c (write_locale_data): Use
25707 record_error.
25708 * locale/programs/repertoire.c: Dont include error.h.
25709 (repertoire_complain): Use record_error.
25710 * localedata/tst-fmon.sh: Expect failures from localedef.
25711 * localedata/tst-locale.sh: Likewise.
25712 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25713
25714 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25715 (REPORTS): Likewise.
25716 (check): Likewise.
25717 (i18n): Rename to...
25718 (i18n_ctype): ...this.
25719 (i18n-report): Rename to...
25720 (i18n_ctype-report): ...this.
25721 * localedata/locales/i18n_ctype: Regenerate.
25722 * localedata/locales/i18n: copy i18n_ctype.
25723
25724 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25725
25726 * stdlib/strfroml.c: Include <bits/floatn.h>.
25727 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25728 Define before include of <stdlib.h> and undefine afterwards, then
25729 define as weak alias.
25730
25731 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25732 Undefine and restore default definition. Use
25733 libm_alias_ldouble_other.
25734
25735 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25736
25737 [BZ #22153]
25738 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25739 in coredumps.
25740
25741 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25742
25743 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25744 Assign sym_map to be map for local symbols, as TLS relocations
25745 use sym_map to determine whether the symbol is defined and to
25746 extract the TLS information.
25747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25749
25750 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25751
25752 [BZ #22189]
25753 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25754 (math_force_eval): Add powerpc version.
25755
25756 [BZ #22142]
25757 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25758 -DBL_MAX.
25759 (do_test): Likewise.
25760 * stdio-common/tst-printf.sh: Likewise.
25761 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25762 ifdef clause in order to set the carry bit right. Replace r0 by
25763 0 without changing the behavior.
25764
25765 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25766
25767 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25768 <libm-alias-ldouble.h>.
25769 (fabsl): Define using libm_alias_ldouble.
25770 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25771 <libm-alias-ldouble.h>.
25772 (fabsl): Define using libm_alias_ldouble.
25773
25774 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25775 Remove conditional code.
25776
25777 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25778 Rename to __clog10_internal_l.
25779 (__clog10_internal_l): Define aliases using
25780 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25781 with __clog10.
25782
25783 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25784
25785 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25786 * benchtests/sincosf-inputs: New file.
25787 * benchtests/cosf-inputs: New file.
25788 * benchtests/sinf-inputs: New file.
25789
25790 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25791
25792 * posix/tst-spawn.c (do_test): Wait for both children.
25793
25794 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25795
25796 [BZ #22284]
25797 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25798 tests-pie): Add tst-gmon-pie.
25799 (CFLAGS-tst-gmon-pie.c): New.
25800 (CRT-tst-gmon-pie): Likewise.
25801 (tst-gmon-pie-ENV): Likewise.
25802 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25803 ($(objpfx)tst-gmon-pie.out): Likewise.
25804 (clean-tst-gmon-pie-data): Likewise.
25805 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25806 * gmon/gmon.c [PIC]: Include <link.h>.
25807 [PIC] (callback): New function.
25808 (write_hist): Add an argument for load address. Subtract load
25809 address from PCs.
25810 (write_call_graph): Likewise.
25811 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25812 it to write_hist and write_call_graph.
25813 * gmon/tst-gmon-pie.c: New file.
25814
25815 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25816
25817 * math/Makefile (test-types-basic): New variable.
25818 (test-types): Likewise.
25819 (libm-test-support): Use $(test-types) instead of $(types).
25820 (libm-tests-base-normal): Likewise.
25821 (libm-tests-base-finite): Likewise.
25822 (libm-tests-base-inline): Likewise.
25823 (generated): Likewise.
25824 ($(objpfx)libm-test-support-$(t).c): Likewise.
25825 (libm-tests-for-type iterator): Likewise.
25826 (libm-test-support iterator): Likewise.
25827 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25828 (ulp_idx): Use ULP_IDX.
25829 * math/test-ldouble.h: Include <float.h>.
25830 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25831 (ULP_IDX): New macro.
25832 (ULP_I_IDX): Likewise.
25833 * math/test-double.h (ULP_IDX): Likewise.
25834 (ULP_I_IDX): Likewise.
25835 * math/test-float.h (ULP_IDX): Likewise.
25836 (ULP_I_IDX): Likewise.
25837 * math/test-float128.h (ULP_IDX): Likewise.
25838 (ULP_I_IDX): Likewise.
25839
25840 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25841
25842 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25843 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25844 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25845 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25846 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25847 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25848 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25851 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25852 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25853 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25854 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25856 (SINGLE_THREAD_BY_GLOBAL): Define.
25857 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25858 Likewise.
25859 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25860 Likewise.
25861 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25862 Likewise.
25863 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25864 Likewise.
25865 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25866 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25868 Likewise.
25869
25870 2017-10-11 Andreas Schwab <schwab@suse.de>
25871
25872 * nis/Makefile (aux): Remove.
25873 * nscd/Makefile (aux): Add nscd_hash.
25874 (nscd-modules): Likewise.
25875 ($(objpfx)nscd): Don't depend on libnsl.
25876 * nscd/nscd_hash.c: New file.
25877 * nscd/nscd_hash.h: Likewise.
25878 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25879 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25880 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25881 instead of <nis/rpcsvc/nis.h>.
25882 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25883
25884 2017-10-11 Florian Weimer <fweimer@redhat.com>
25885
25886 [BZ #22078]
25887 Avoid large NSS buffers with many addresses, aliases.
25888 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25889 using dynarrays and struct alloc_buffer.
25890 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25891 (tst-nss-files-hosts-multi): Link with -ldl.
25892 * nss/tst-nss-files-hosts-multi.c: New file.
25893
25894 2017-10-11 Florian Weimer <fweimer@redhat.com>
25895
25896 [BZ #18023]
25897 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25898 scratch_buffer. Eliminate gotos.
25899
25900 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25901
25902 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25903 libm_alias_ldouble_other.
25904 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25905 undefine and redefine.
25906 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25907 (exp10l): Do not define here.
25908 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25909 (weak_alias): Undefine and redefine.
25910 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25911 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25912 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25913 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25914
25915 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25916 [!__fma] (fma): Define using libm_alias_double.
25917 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25918 [!__fmaf] (fmaf): Define using libm_alias_float.
25919 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25920 (fmal): Define using libm_alias_ldouble.
25921
25922 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25923
25924 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25925 New macro.
25926 (libm_alias_double_other): Likewise.
25927 (libm_alias_double_r): Use libm_alias_double_other_r.
25928 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25929 New macro.
25930 (libm_alias_float_other): Likewise.
25931 (libm_alias_float_r): Use libm_alias_float_other_r.
25932 * sysdeps/generic/libm-alias-float128.h
25933 (libm_alias_float128_other_r): New macro.
25934 (libm_alias_float128_other): Likewise.
25935 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25936 * sysdeps/generic/libm-alias-ldouble.h
25937 (libm_alias_ldouble_other_r): New macro.
25938 (libm_alias_ldouble_other): Likewise.
25939 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25940 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25941 (libm_alias_double_other_r): New macro.
25942 (libm_alias_double_other): Likewise.
25943 (libm_alias_double_r): Use libm_alias_double_other_r.
25944 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25945 (libm_alias_ldouble_other_r): New macro.
25946 (libm_alias_ldouble_other): Likewise.
25947 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25948 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25949 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25950 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25951 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25952 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25953 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25954 * math/w_exp2f.c: Use libm_alias_float_other.
25955 * math/w_expf.c: Likewise.
25956 * math/w_log2f.c: Likewise.
25957 * math/w_logf.c: Likewise.
25958 * math/w_powf.c: Likewise.
25959 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25960 [!__exp2f]: Use libm_alias_float_other.
25961 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25962 [!__expf]: Use libm_alias_float_other.
25963 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25964 [!__log2f]: Use libm_alias_float_other.
25965 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25966 [!__logf]: Use libm_alias_float_other.
25967 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25968 [!__powf]: Use libm_alias_float_other.
25969
25970 2017-10-10 Florian Weimer <fweimer@redhat.com>
25971
25972 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25973 function.
25974 (_nss_files_gethostbyname3_r): Call it.
25975
25976 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25977
25978 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25979 error. Remove default definition of declare_mgen_alias.
25980 [!declare_mgen_alias_r]: Likewise.
25981 * sysdeps/generic/math-type-macros-double.h
25982 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25983 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25984 (declare_mgen_alias_r): Likewise.
25985 * sysdeps/generic/math-type-macros-float128.h
25986 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25987 * sysdeps/generic/math-type-macros-ldouble.h
25988 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25989 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25990 macro.
25991 (declare_mgen_alias_r_s): Likewise.
25992 (declare_mgen_alias_r): Likewise.
25993 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25994 (lgamma_r): Define using libm_alias_double_r.
25995 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25996 (lgammaf_r): Define using libm_alias_float_r.
25997 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25998 (lgammal_r): Define using libm_alias_ldouble_r.
25999 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26000 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26001
26002 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26003
26004 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26005 extern declaration.
26006
26007 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26008
26009 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26010
26011 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26012
26013 [BZ #21326]
26014 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26015 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26016 * math/Makefile (test-math-cxx11): New test.
26017 * math/test-math-cxx11.cc: New file.
26018
26019 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26020
26021 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26022
26023 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26024 call to allocate the slave pty file descriptor.
26025
26026 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26027
26028 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26029 [!__fma] (fma): Define using libm_alias_double.
26030 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26031 [!__fma] (fma): Define using libm_alias_double.
26032
26033 * sysdeps/ieee754/float128/float128_private.h: Include
26034 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26035 (libm_alias_ldouble_r): Undefine and redefine.
26036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26037 <libm-alias-ldouble.h>.
26038 (asinhl): Define using libm_alias_ldouble.
26039 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26040 <libm-alias-ldouble.h>.
26041 (atanl): Define using libm_alias_ldouble.
26042 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26043 <libm-alias-ldouble.h>.
26044 (cbrtl): Define using libm_alias_ldouble.
26045 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26046 <libm-alias-ldouble.h>.
26047 (ceill): Define using libm_alias_ldouble.
26048 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26049 <libm-alias-ldouble.h>.
26050 (copysignl): Define using libm_alias_ldouble.
26051 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26052 <libm-alias-ldouble.h>.
26053 (cosl): Define using libm_alias_ldouble.
26054 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26055 <libm-alias-ldouble.h>.
26056 (erfl): Define using libm_alias_ldouble.
26057 (erfcl): Likewise.
26058 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26059 <libm-alias-ldouble.h>.
26060 (expm1l): Define using libm_alias_ldouble.
26061 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26062 <libm-alias-ldouble.h>.
26063 (fabsl): Define using libm_alias_ldouble.
26064 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26065 <libm-alias-ldouble.h>.
26066 (floorl): Define using libm_alias_ldouble.
26067 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26068 <libm-alias-ldouble.h>.
26069 (fmal): Define using libm_alias_ldouble.
26070 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26071 <libm-alias-ldouble.h>.
26072 (frexpl): Define using libm_alias_ldouble.
26073 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26074 libm_alias_ldouble.
26075 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26076 <libm-alias-ldouble.h>.
26077 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26078 libm_alias_ldouble.
26079 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26080 <libm-alias-ldouble.h>.
26081 (getpayloadl): Define using libm_alias_ldouble.
26082 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26083 <libm-alias-ldouble.h>.
26084 (llrintl): Define using libm_alias_ldouble.
26085 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26086 <libm-alias-ldouble.h>.
26087 (llroundl): Define using libm_alias_ldouble.
26088 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26089 <libm-alias-ldouble.h>.
26090 (logbl): Define using libm_alias_ldouble.
26091 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26092 <libm-alias-ldouble.h>.
26093 (lrintl): Define using libm_alias_ldouble.
26094 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26095 <libm-alias-ldouble.h>.
26096 (lroundl): Define using libm_alias_ldouble.
26097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26098 <libm-alias-ldouble.h>.
26099 (modfl): Define using libm_alias_ldouble.
26100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26101 <libm-alias-ldouble.h>.
26102 (nearbyintl): Define using libm_alias_ldouble.
26103 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26104 <libm-alias-ldouble.h>.
26105 (nextafterl): Define using libm_alias_ldouble.
26106 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26107 <libm-alias-ldouble.h>.
26108 (nextupl): Define using libm_alias_ldouble.
26109 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26110 <libm-alias-ldouble.h>.
26111 (remquol): Define using libm_alias_ldouble.
26112 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26113 <libm-alias-ldouble.h>.
26114 (rintl): Define using libm_alias_ldouble.
26115 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26116 <libm-alias-ldouble.h>.
26117 (roundevenl): Define using libm_alias_ldouble.
26118 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26119 <libm-alias-ldouble.h>.
26120 (roundl): Define using libm_alias_ldouble.
26121 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26122 using libm_alias_ldouble.
26123 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26124 <libm-alias-ldouble.h>.
26125 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26126 Define using libm_alias_ldouble.
26127 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26128 <libm-alias-ldouble.h>.
26129 (sincosl): Define using libm_alias_ldouble.
26130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26131 <libm-alias-ldouble.h>.
26132 (sinl): Define using libm_alias_ldouble.
26133 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26134 <libm-alias-ldouble.h>.
26135 (tanhl): Define using libm_alias_ldouble.
26136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26137 <libm-alias-ldouble.h>.
26138 (tanl): Define using libm_alias_ldouble.
26139 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26140 <libm-alias-ldouble.h>.
26141 (totalorderl): Define using libm_alias_ldouble.
26142 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26143 <libm-alias-ldouble.h>.
26144 (totalordermagl): Define using libm_alias_ldouble.
26145 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26146 <libm-alias-ldouble.h>.
26147 (truncl): Define using libm_alias_ldouble.
26148 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26149 libm_alias_ldouble.
26150 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26151 libm_alias_ldouble.
26152 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26153 <libm-alias-ldouble.h>.
26154 (weak_alias): Do not undefine and redefine.
26155 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26156 (copysignl): Define with long_double_symbol only if [IS_IN
26157 (libc)].
26158 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26159 <libm-alias-ldouble.h>.
26160 (weak_alias): Do not undefine and redefine.
26161 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26162 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26163 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26164 <libm-alias-ldouble.h>.
26165 (weak_alias): Do not undefine and redefine.
26166 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26167 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26168 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26169 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26171 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26172 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26175 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26177 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26178 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26185 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26187 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26192
26193 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26194
26195 [BZ #22111]
26196 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26197 (tcache_thread_freeres): Set tcache_shutting_down before
26198 freeing the tcache.
26199 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26200 * malloc/tst-malloc-tcache-leak.c: New file.
26201
26202 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26203
26204 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26205 back to powerpc32 file.
26206 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26207 (memrchr): Add __memrchr_power8 to ifunc list.
26208 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26209 extra bytes for unaligned inputs.
26210
26211 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26212
26213 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26214 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26218
26219 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26220
26221 * sysdeps/arm/libm-test-ulps: Update.
26222
26223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26224 <libm-alias-ldouble.h>.
26225 (asinhl): Define using libm_alias_ldouble.
26226 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26227 <libm-alias-ldouble.h>.
26228 (cbrtl): Define using libm_alias_ldouble.
26229 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26230 <libm-alias-ldouble.h>.
26231 (copysignl): Define using libm_alias_ldouble.
26232 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26233 <libm-alias-ldouble.h>.
26234 (cosl): Define using libm_alias_ldouble.
26235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26236 <libm-alias-ldouble.h>.
26237 (erfl): Define using libm_alias_ldouble.
26238 (erfcl): Likewise.
26239 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26240 <libm-alias-ldouble.h>.
26241 (fmal): Define using libm_alias_ldouble.
26242 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26243 <libm-alias-ldouble.h>.
26244 (frexpl): Define using libm_alias_ldouble.
26245 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26246 libm_alias_ldouble.
26247 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26248 <libm-alias-ldouble.h>.
26249 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26250 libm_alias_ldouble.
26251 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26252 <libm-alias-ldouble.h>.
26253 (getpayloadl): Define using libm_alias_ldouble.
26254 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26255 <libm-alias-ldouble.h>.
26256 (llrintl): Define using libm_alias_ldouble.
26257 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26258 <libm-alias-ldouble.h>.
26259 (llroundl): Define using libm_alias_ldouble.
26260 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26261 <libm-alias-ldouble.h>.
26262 (lrintl): Define using libm_alias_ldouble.
26263 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26264 <libm-alias-ldouble.h>.
26265 (lroundl): Define using libm_alias_ldouble.
26266 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26267 <libm-alias-ldouble.h>.
26268 (modfl): Define using libm_alias_ldouble.
26269 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26270 <libm-alias-ldouble.h>.
26271 (nextupl): Define using libm_alias_ldouble.
26272 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26273 <libm-alias-ldouble.h>.
26274 (remquol): Define using libm_alias_ldouble.
26275 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26276 <libm-alias-ldouble.h>.
26277 (roundevenl): Define using libm_alias_ldouble.
26278 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26279 <libm-alias-ldouble.h>.
26280 (roundl): Define using libm_alias_ldouble.
26281 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26282 using libm_alias_ldouble.
26283 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26284 <libm-alias-ldouble.h>.
26285 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26286 <libm-alias-ldouble.h>.
26287 (setpayloadsigl): Define using libm_alias_ldouble.
26288 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26289 <libm-alias-ldouble.h>.
26290 (sincosl): Define using libm_alias_ldouble.
26291 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26292 <libm-alias-ldouble.h>.
26293 (sinl): Define using libm_alias_ldouble.
26294 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26295 <libm-alias-ldouble.h>.
26296 (tanhl): Define using libm_alias_ldouble.
26297 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26298 <libm-alias-ldouble.h>.
26299 (tanl): Define using libm_alias_ldouble.
26300 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26301 <libm-alias-ldouble.h>.
26302 (totalorderl): Define using libm_alias_ldouble.
26303 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26304 <libm-alias-ldouble.h>.
26305 (totalordermagl): Define using libm_alias_ldouble.
26306 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26307 libm_alias_ldouble.
26308 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26309 libm_alias_ldouble.
26310
26311 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26312
26313 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26314 memmove_falkor.
26315 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26316 (__libc_ifunc_impl_list): Likewise.
26317 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26318 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26319
26320 * benchtests/bench-memmove-walk.c: New file.
26321 * benchtests/Makefile (string-benchset): Add it.
26322
26323 * benchtests/bench-memset-walk.c: New file.
26324 * benchtests/Makefile (string-benchset): Add it.
26325
26326 * benchtests/bench-memcpy-walk.c: New file.
26327 * benchtests/Makefile (string-benchset): Add it.
26328
26329 2017-10-05 Florian Weimer <fweimer@redhat.com>
26330
26331 nscd: Eliminate compilation time dependency in the build output.
26332 * nscd/nscd_stat.c (STATDATA_VERSION)
26333 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26334 (STATDATA_VERSION_FULL): New macro definitions.
26335 (compilation): Remove.
26336 (struct statdata): Adjust version member.
26337 (send_stats): Set version from STATDATA_VERSION_FULL.
26338 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26339
26340 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26341
26342 * configure.ac (--enable-add-ons): Remove option.
26343 (machine): Do not mention add-ons in comment.
26344 (LIBC_PRECONFIGURE): Likewise.
26345 (add_ons): Remove variable and sanity checks and logic to locate
26346 add-ons.
26347 (add_ons_automatic): Remove variable.
26348 (configured_add_ons): Likewise.
26349 (add_ons_sfx): Likewise.
26350 (add_ons_pfx): Likewise.
26351 (add_on_subdirs): Likewise.
26352 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26353 consideration of add-ons in Implies handling.
26354 (sysdeps_add_ons): Likewise.
26355 * configure: Regenerated.
26356 * libidn/configure.ac: Remove.
26357 * libidn/configure: Likewise.
26358 * sysdeps/unix/inet/configure.ac: New file.
26359 * sysdeps/unix/inet/configure: New generated file.
26360 * sysdeps/unix/inet/Subdirs: Add libidn.
26361 * Makeconfig (sysdeps-srcdirs): Remove variable.
26362 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26363 ($(common-objpfx)config.status): Do not depend on add-on files.
26364 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26365 comment.
26366 (all-subdirs): Do not include $(add-on-subdirs).
26367 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26368 * config.make.in (add-ons): Remove variable.
26369 (add-on-subdirs): Likewise.
26370 (sysdeps-add-ons): Likewise.
26371 * manual/Makefile (add-chapters): Remove.
26372 ($(objpfx)texis): Do not depend on $(add-chapters).
26373 (nonexamples): Do not handle $(add-chapters).
26374 (examples): Do not handle $(add-ons).
26375 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26376 libc-texinfo.sh.
26377 * manual/install.texi (Installation): Do not mention add-ons.
26378 (--enable-add-ons): Do not document configure option.
26379 * INSTALL: Regenerated.
26380 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26381 * manual/maint.texi (Hierarchy Conventions): Do not mention
26382 add-ons.
26383 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26384 --enable-add-ons.
26385 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26386 add-ons.
26387 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26388 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26389
26390 2017-10-05 Andreas Schwab <schwab@suse.de>
26391
26392 [BZ #15142]
26393 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26394 (_IO_flush_all_lockp): Always lock list_all_lock.
26395 (_IO_flush_all_linebuffered): Likewise.
26396 (_IO_unbuffer_all): Likewise.
26397
26398 2017-10-05 Florian Weimer <fweimer@redhat.com>
26399
26400 [BZ #15436]
26401 Do not flush stdio streams on abort.
26402 * stdlib/abort.c (fflush): Remove macro definition.
26403 (abort): Remove stages related to stdio flushing.
26404
26405 2017-10-05 Florian Weimer <fweimer@redhat.com>
26406
26407 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26408
26409 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26410
26411 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26412
26413 2017-10-05 Florian Weimer <fweimer@redhat.com>
26414
26415 * support/support_format_hostent.c (support_format_hostent): Add
26416 more error information for NETDB_INTERNAL.
26417
26418 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26419
26420 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26421 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26422 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26423 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26424 AC_DEFINE if multi-arch is enabled.
26425 * sysdeps/i386/configure: Regenerated.
26426
26427 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26428
26429 * Makeconfig (+link-static-before-libc): Use
26430 $(DEFAULT-LDFLAGS-$(@F)).
26431 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26432 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26433 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26434
26435 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26436
26437 * elf/Makefile (tests): Add tst-main1.
26438 (modules-names): Add tst-main1mod.
26439 ($(objpfx)tst-main1): New.
26440 (CRT-tst-main1): Likewise.
26441 (LDFLAGS-tst-main1): Likewise.
26442 (LDLIBS-tst-main1): Likewise.
26443 (tst-main1mod.so-no-z-defs): Likewise.
26444 * elf/tst-main1.c: New file.
26445 * elf/tst-main1mod.c: Likewise.
26446
26447 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26448
26449 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26450
26451 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26452
26453 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26454 (fma): Define using libm_alias_double.
26455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26456 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26457 <math_ldbl_opt.h>.
26458 (fmal): Do not define as compat symbol here.
26459 * sysdeps/alpha/fpu/s_fma.c: New file.
26460
26461 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26462
26463 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26464
26465 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26466
26467 [BZ #22229]
26468 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26469 <math_ldbl_opt.h>
26470 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26471 and libc.
26472 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26473 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26474 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26475 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26477 Include <math_ldbl_opt.h>
26478 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26479 and libc.
26480 (compat_symbol): Undefine and redefine.
26481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26482 <math_ldbl_opt.h>
26483 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26484 (compat_symbol): Undefine and redefine.
26485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26486 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26487 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26488 GLIBC_2_1 for libm.
26489 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26490 GLIBC_2.0 copysignl symbol.
26491 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26492 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26493
26494 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26495
26496 2017-10-04 Florian Weimer <fweimer@redhat.com>
26497
26498 * scripts/check-local-headers.sh: Ignore nspr4 header file
26499 directory in addition to nspr.
26500
26501 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26502
26503 [BZ #17956]
26504 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26505 * configure: Regenerate.
26506 * crypt/Makefile (nss-cpp-flags): New variable.
26507 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26508 (CPPFLAGS-md5-crypt.c): Use it.
26509 * scripts/check-local-headers.sh: Ignore nspr header file
26510 directory.
26511
26512 2017-10-04 Andreas Schwab <schwab@suse.de>
26513
26514 * nis/Makefile (services): Remove compat.
26515 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26516 ($(objpfx)libnss_compat.so): Remove rule.
26517 * nis/Versions (libnss_compat): Remove.
26518 * nss/Makefile (services): Add compat.
26519 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26520 * nss/Versions (libnss_compat): Define.
26521 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26522 Don't include <rpc/types.h>. Replace bool_t by bool.
26523 * nss/nss_compat/compat-initgroups.c: Likewise.
26524 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26525 instead of <rpcsrv/ypclnt.h>.
26526 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26527 yp_get_default_domain.
26528 * nss/nss_compat/compat-pwd.c: Likewise.
26529 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26530 yp_get_default_domain.
26531 * nss/nss_compat/nisdomain.c: New file.
26532 * nss/nss_compat/nisdomain.h: Likewise.
26533
26534 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26535
26536 [BZ #22244]
26537 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26538 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26539
26540 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26541
26542 [BZ #22243]
26543 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26544 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26545
26546 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26547
26548 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26549 "movl main@GOTOFF(%ebx), %eax".
26550
26551 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26552
26553 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26554 allow undefined _DYNAMIC in PIE libc.a.
26555 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26556 Likewse.
26557
26558 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26559
26560 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26561 check _DYNAMIC.
26562
26563 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26564
26565 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26566 check _DYNAMIC.
26567
26568 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26569
26570 * math/test-math-iscanonical.cc (error): Replace bool with int.
26571
26572 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26573
26574 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26575 (modf): Define using libm_alias_double, only if [!__modf].
26576 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26577 <libm-alias-double.h>.
26578 (modf): Define using libm_alias_double, only if [!__modf].
26579 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26580 compat symbol here.
26581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26582 (weak_alias): Do not undefine and redefine.
26583 (strong_alias): Likewise.
26584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26585 (weak_alias): Likewise.
26586 (strong_alias): Likewise.
26587
26588 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26589 (logb): Define using libm_alias_double, only if [!__logb].
26590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26591 <libm-alias-double.h>.
26592 (logb): Define using libm_alias_double, only if [!__logb].
26593 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26595 (weak_alias): Do not undefine and redefine.
26596 (strong_alias): Likewise.
26597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26598 (weak_alias): Likewise.
26599 (strong_alias): Likewise.
26600
26601 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26602
26603 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26604 Check SHARED instead PIC.
26605
26606 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26607
26608 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26609 [!__fmaf] (fmaf): Define using libm_alias_float.
26610
26611 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26612 (frexp): Define using libm_alias_double.
26613 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26614 <libm-alias-double.h>.
26615 (frexp): Define using libm_alias_double.
26616 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26617 compat symbol here.
26618
26619 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26620
26621 [BZ #22235]
26622 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26623 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26624 (CFLAGS-test-math-iscanonical.cc): New variable.
26625 * math/test-math-iscanonical.cc: New file.
26626 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26627 Provide a C++ implementation based on function overloading,
26628 rather than using __MATH_TG, which uses C-only builtins.
26629 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26630 Likewise.
26631 * sysdeps/powerpc/powerpc64le/Makefile
26632 (CFLAGS-test-math-iscanonical.cc): New variable.
26633
26634 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26635
26636 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26637 (ceil): Define using libm_alias_double.
26638 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26639 (floor): Define using libm_alias_double.
26640 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26641 <libm-alias-double.h>.
26642 (llround): Define using libm_alias_double.
26643 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26644 <libm-alias-double.h>.
26645 (lround): Define using libm_alias_double.
26646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26647 <libm-alias-double.h>.
26648 (nearbyint): Define using libm_alias_double.
26649 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26650 <libm-alias-double.h>.
26651 (remquo): Define using libm_alias_double.
26652 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26653 (rint): Define using libm_alias_double.
26654 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26655 (round): Define using libm_alias_double.
26656 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26657 (trunc): Define using libm_alias_double.
26658 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26659 <libm-alias-double.h>.
26660 (ceil): Define using libm_alias_double.
26661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26662 <libm-alias-double.h>.
26663 (floor): Define using libm_alias_double.
26664 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26665 <libm-alias-double.h>.
26666 (llround): Define using libm_alias_double.
26667 [_LP64] (lround): Likewise.
26668 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26669 <libm-alias-double.h>.
26670 [!_LP64] (lround): Define using libm_alias_double.
26671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26672 <libm-alias-double.h>.
26673 (nearbyint): Define using libm_alias_double.
26674 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26675 <libm-alias-double.h>.
26676 (remquo): Define using libm_alias_double.
26677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26678 <libm-alias-double.h>.
26679 (rint): Define using libm_alias_double.
26680 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26681 <libm-alias-double.h>.
26682 (round): Define using libm_alias_double.
26683 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26684 <libm-alias-double.h>.
26685 (trunc): Define using libm_alias_double.
26686 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26687 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26688 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26689 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26690 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26691 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26692 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26693 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26694 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26695
26696 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26697
26698 * math/w_remainder.c: New file.
26699 * math/w_remainderf.c: New file.
26700 * math/w_remainderl.c: New file.
26701
26702 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26703
26704 * elf/rtld.c (BOOTSTRAP_MAP): New.
26705 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26706 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26707 Likewise.
26708 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26709 Likewise.
26710 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26711 Likewise.
26712
26713 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26714
26715 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26716 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26717 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26718 rtld_hidden_data_ver): Define to empty.
26719 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26720 __assert_perror_fail): Likewise.
26721 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26722 (__rewinddir): Likewise.
26723 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26724 (__profile_frequency): Likewise.
26725 * include/setjmp.h (__sigsetjmp): Likewise.
26726 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26727 __libc_sigaction): Likewise.
26728 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26729 not set hidden attribute.
26730 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26731 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26732 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26733 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26734 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26735 __fxstatat64): Likewise.
26736 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26737 (__uname): Likewise.
26738 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26739 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26740 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26741 (NO_RTLD_HIDDEN): Set.
26742 * sysdeps/mach/hurd/configure: Refresh.
26743 * config.h.in: Refresh.
26744
26745 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26746
26747 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26748 (atan): Define using libm_alias_double.
26749 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26750 (tan): Define using libm_alias_double.
26751 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26752 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26753
26754 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26755 define as weak alias of __atan. Do not define any aliases if
26756 [__atan].
26757 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26758 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26759 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26760 as weak alias of __tan. Do not define any aliases if [__tan].
26761 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26762 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26763 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26764 __atan.
26765 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26766 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26767 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26768 and define as weak alias of __atan.
26769 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26770 __atan.
26771 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26772 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26773 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26774 define as weak alias of __tan.
26775
26776 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26777
26778 * math/w_lgamma.c: New file.
26779 * math/w_lgammaf.c: New file.
26780 * math/w_lgammal.c: New file.
26781
26782 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26783
26784 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26785 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26786 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26787 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26788 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26789 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26790 * sysdeps/i386/fpu/w_log2f.c: New file.
26791 * sysdeps/i386/fpu/w_logf.c: New file.
26792 * sysdeps/i386/fpu/w_powf.c: New file.
26793 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26794 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26795 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26796
26797 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26798 H.J. Lu <hongjiu.lu@intel.com>
26799
26800 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26801 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26802 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26803 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26805 the new expf code.
26806 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26807 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26808 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26809 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26810 * sysdeps/i386/fpu/w_exp2f.c: New file.
26811 * sysdeps/i386/fpu/w_expf.c: New file.
26812 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26813 * sysdeps/x86_64/fpu/w_expf.c: New file.
26814
26815 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26816
26817 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26818 (log2f): Likewise.
26819 (powf): Likewise.
26820 * math/w_log2f.c: New file.
26821 * math/w_logf.c: New file.
26822 * math/w_powf.c: New file.
26823 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26824 * math/w_logf_compat.c (__logf_compat): Likewise.
26825 * math/w_powf_compat.c (__powf_compat): Likewise.
26826 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26827 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26828 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26829 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26830 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26831 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26832 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26833 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26834 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26835 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26836 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26837 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26838 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26839 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26840 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26842 Likewise.
26843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26844 Likewise.
26845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26846 Likewise.
26847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26848 Likewise.
26849 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26850 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26851 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26852 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26853 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26855 Likewise.
26856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26857 Likewise.
26858 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26859 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26860 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26861
26862 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26863
26864 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26865 (sysdep_routines): Add memrchr_power8.
26866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26867 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26868 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26869 New file.
26870 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26871 (memrchr): Add __memrchr_power8 to ifunc list.
26872 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26873
26874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26875
26876 [BZ #18822]
26877 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26878 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26879 libc_hidden_def.
26880 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26881 (__posix_fallocate64_l64): Likewise.
26882
26883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26884
26885 [BZ #18822]
26886 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26887 (__sched_setaffinity_new): Add libc_hidden_proto and
26888 libc_hidden_def.
26889
26890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26891
26892 [BZ #18822]
26893 * include/glob.h (__glob64): Add libc_hidden_proto.
26894 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26895 libc_hidden_def.
26896
26897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26898
26899 [BZ #18822]
26900 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26901 attribute_hidden.
26902
26903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26904
26905 [BZ #18822]
26906 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26907
26908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26909
26910 [BZ #18822]
26911 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26912 libc_hidden_def.
26913
26914 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26915
26916 [BZ #18822]
26917 * csu/version.c (__libc_print_version): Add attribute_hidden.
26918
26919 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26920
26921 [BZ #18822]
26922 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26923
26924 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26925
26926 [BZ #18822]
26927 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26928
26929 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 [BZ #18822]
26932 * nscd/nscd_helper.c (__nis_hash): New prototype.
26933
26934 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26935
26936 [BZ #18822]
26937 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26938 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26939 libc_hidden_def.
26940 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26941 * termios/tcgetattr.c (__tcgetattr): Likewise.
26942
26943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26944
26945 [BZ #18822]
26946 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26947 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26948 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26949 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26950 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26951
26952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26953
26954 [BZ #18822]
26955 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26956
26957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26958
26959 [BZ #18822]
26960 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26961 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26962
26963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26964
26965 [BZ #18822]
26966 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26967
26968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26969
26970 [BZ #18822]
26971 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26972 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26973
26974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26975
26976 [BZ #18822]
26977 * include/ifreq.h: New file.
26978 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26979 (__ifreq): Likewise.
26980 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26981 (__ifreq): Likewise.
26982
26983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26984
26985 [BZ #18822]
26986 * include/idna.h: New file.
26987 * inet/getnameinfo.c: Include <idna.h> instead of
26988 <libidn/idna.h>.
26989 (__idna_to_unicode_lzlz): Removed.
26990 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26991 <libidn/idna.h>.
26992 (__idna_to_ascii_lz): Removed.
26993 (__idna_to_unicode_lzlz): Likewise.
26994
26995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26996
26997 [BZ #18822]
26998 * include/plural-exp.h: New file.
26999 * intl/plural-exp.c: Include <plural-exp.h> instead of
27000 "plural-exp.h".
27001
27002 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27003
27004 [BZ #18822]
27005 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27006 "getsourcefilter.h".
27007 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27008 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27009 "getsourcefilter.h".
27010 (__get_sol): Removed.
27011
27012 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27013
27014 [BZ #18822]
27015 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27016 to ...
27017 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27018
27019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27020
27021 [BZ #18822]
27022 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27023 attribute_hidden.
27024
27025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27026
27027 [BZ #18822]
27028 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27029
27030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27031
27032 [BZ #18822]
27033 * include/search.h (__tdestroy): Add libc_hidden_proto.
27034 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27035
27036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27037
27038 [BZ #18822]
27039 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27040
27041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27042
27043 [BZ #18822]
27044 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27045 attribute_hidden.
27046
27047 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27048
27049 [BZ #18822]
27050 * include/signal.h (__kill): Add libc_hidden_proto.
27051 (__sigblock): Likewise.
27052 (__sigprocmask): Likewise.
27053 (__sigaltstack): Likewise.
27054 * signal/kill.c (__kill): Add libc_hidden_def.
27055 * signal/sigblock.c (__sigblock): Likewise.
27056 * signal/sigprocmask.c (__sigprocmask): Likewise.
27057 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27058 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27059 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27060 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27061 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27062 Likewise.
27063 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27064 Likewise.
27065 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27066 (__sigprocmask): Likewise.
27067 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27068 Likewise.
27069 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27070 (__sigprocmask): Likewise.
27071 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27072 Likewise.
27073
27074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27075
27076 [BZ #18822]
27077 * include/string.h (__strsep): Add libc_hidden_proto.
27078 * string/strsep.c (__strsep): Add libc_hidden_def.
27079
27080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27081
27082 [BZ #18822]
27083 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27084 attribute_hidden.
27085 (__spawni): Likewise.
27086
27087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27088
27089 [BZ #18822]
27090 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27091 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27092 libc_hidden_def.
27093
27094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27095
27096 [BZ #18822]
27097 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27098
27099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27100
27101 [BZ #18822]
27102 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27103 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27104 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27105 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27106 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27107 Likewise.
27108 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27109 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27110
27111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27112
27113 [BZ #18822]
27114 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27115 (__dcigettext): Likewise.
27116
27117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27118
27119 [BZ #18822]
27120 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27121 libc_hidden_proto.
27122 (__get_nprocs): Likewise.
27123 (__get_phys_pages): Likewise.
27124 (__get_avphys_pages): Likewise.
27125 (__get_child_max): Add attribute_hidden.
27126 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27127 (__get_nprocs): Likewise.
27128 (__get_phys_pages): Likewise.
27129 (__get_avphys_pages): Likewise.
27130 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27131 libc_hidden_def.
27132 (__get_nprocs): Likewise.
27133 (__get_phys_pages): Likewise.
27134 (__get_avphys_pages): Likewise.
27135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27136 libc_hidden_def.
27137 (__get_nprocs_conf): Likewise.
27138 (__get_phys_pages): Likewise.
27139 (__get_avphys_pages): Likewise.
27140
27141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27142
27143 [BZ #18822]
27144 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27145 attribute_hidden.
27146 (__netlink_close): Likewise.
27147 (__netlink_free_handle): Likewise.
27148 (__netlink_request): Likewise.
27149
27150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27151
27152 [BZ #18822]
27153 * include/rpc/rpc.h (__rpc_thread_variables): Add
27154 attribute_hidden.
27155 (__rpc_thread_svc_cleanup): Likewise.
27156 (__rpc_thread_clnt_cleanup): Likewise.
27157 (__rpc_thread_key_cleanup): Likewise.
27158
27159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27160
27161 [BZ #18822]
27162 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27163 (__writev): Likewise.
27164 * misc/readv.c (__readv): Add libc_hidden_def.
27165 * misc/writev.c (__writev): Likewise.
27166 * sysdeps/posix/readv.c (__readv): Likewise.
27167 * sysdeps/posix/writev.c (__writev): Likewise.
27168 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27169 (__readv): Likewise.
27170 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27171 (__writev): Likewise.
27172
27173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27174
27175 [BZ #18822]
27176 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27177 (__regcomp): Add libc_hidden_proto.
27178 (__regexec): Likewise.
27179 (__regfree): Likewise.
27180 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27181 (__regfree): Likewise.
27182 * posix/regexec.c (__regexec): Likewise.
27183
27184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27185
27186 [BZ #18822]
27187 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27188 (__getutent): Likewise.
27189 (__getutid): Likewise.
27190 (__getutline): Likewise.
27191 (__pututline): Likewise.
27192 (__getutent_r): Likewise.
27193 (__getutid_r): Likewise.
27194 (__getutline_r): Likewise.
27195 (__utmpname): Add attribute_hidden.
27196 (__setutent): Likewise.
27197 (__endutent): Likewise.
27198 * login/getutent.c (__getutent): Add libc_hidden_def.
27199 * login/getutent_r.c (__getutent_r): Likewise.
27200 (__pututline): Likewise.
27201 * login/getutid.c (__getutid): Likewise.
27202 * login/getutid_r.c (__getutid_r): Likewise.
27203 * login/getutline.c (__getutline): Likewise.
27204 * login/getutline_r.c (__getutline_r): Likewise.
27205 * login/updwtmp.c (__updwtmp): Likewise.
27206
27207 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27208
27209 [BZ #18822]
27210 * include/dirent.h (__opendir): Always add attribute_hidden.
27211 (__fdopendir): Likewise.
27212 (__closedir): Likewise.
27213 (__readdir): Likewise.
27214 (__readdir64): Add libc_hidden_proto.
27215 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27216 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27217 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27218 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27219 New alias.
27220
27221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27222
27223 [BZ #18822]
27224 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27225 * include/netdb.h (__gethostbyaddr_r): Likewise.
27226 (__gethostbyname_r): Likewise.
27227 (__gethostbyname2_r): Likewise.
27228 (__getnetbyaddr_r): Likewise.
27229 (__getnetbyname_r): Likewise.
27230 (__getservbyname_r): Likewise.
27231 (__getservbyport_r): Likewise.
27232 (__getprotobyname_r): Likewise.
27233 (__getprotobynumber_r): Likewise.
27234 (__getnetgrent_r): Likewise.
27235 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27236 (__getrpcbynumber_r): Likewise.
27237 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27238
27239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27240
27241 [BZ #18822]
27242 * include/stdio.h (__fcloseall): Add attribute_hidden.
27243 (__getline): Likewise.
27244 (__path_search): Likewise.
27245 (__gen_tempname): Likewise.
27246 (__libc_message): Likewise.
27247 (__flockfile): Likewise.
27248 (__funlockfile): Likewise.
27249 (__fxprintf): Likewise.
27250 (__fxprintf_nocancel): Likewise.
27251
27252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27253
27254 [BZ #18822]
27255 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27256 (__sgetsgent_r): Likewise.
27257
27258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27259
27260 [BZ #18822]
27261 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27262 (__statfs64): Likewise.
27263 (__fstatfs64): Likewise.
27264 * include/sys/statvfs.h (__statvfs64): Likewise.
27265 (__fstatvfs64): Likewise.
27266 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27267 (__statfs_filesize_max): Likewise.
27268 (__statfs_symlinks): Likewise.
27269 (__statfs_chown_restricted): Likewise.
27270
27271 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27272
27273 [BZ #18822]
27274 * include/time.h (__tzstring): Add attribute_hidden.
27275 (__tzfile_read): Likewise.
27276 (__tzfile_compute): Likewise.
27277 (__tzfile_default): Likewise.
27278 (__tzset_parse_tz): Likewise.
27279 (__offtime): Likewise.
27280 (__asctime_r): Likewise.
27281 (__tzset): Likewise.
27282 (__tz_convert): Likewise.
27283 (__getdate_r): Likewise.
27284 (__getclktck): Likewise.
27285
27286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27287
27288 [BZ #18822]
27289 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27290 (__nscd_unmap): Likewise.
27291 (__nscd_cache_search): Likewise.
27292 (__nscd_get_nl_timestamp): Likewise.
27293 (__nscd_getpwnam_r): Likewise.
27294 (__nscd_getpwuid_r): Likewise.
27295 (__nscd_getgrnam_r): Likewise.
27296 (__nscd_getgrgid_r): Likewise.
27297 (__nscd_gethostbyname_r): Likewise.
27298 (__nscd_gethostbyname2_r): Likewise.
27299 (__nscd_gethostbyaddr_r): Likewise.
27300 (__nscd_getai): Likewise.
27301 (__nscd_getgrouplist): Likewise.
27302 (__nscd_getservbyname_r): Likewise.
27303 (__nscd_getservbyport_r): Likewise.
27304 (__nscd_innetgr): Likewise.
27305 (__nscd_setnetgrent): Likewise.
27306
27307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27308
27309 [BZ #18822]
27310 * include/gmp.h: Declare internal functions only if _ISOMAC is
27311 undefined.
27312 (__mpn_extract_double): Add attribute_hidden.
27313 (__mpn_extract_long_double): Likewise.
27314 (__mpn_extract_float128): Likewise.
27315 (__mpn_construct_float): Likewise.
27316 (__mpn_construct_double): Likewise.
27317 (__mpn_construct_long_double): Likewise.
27318 (__mpn_construct_float128): Likewise.
27319 (mpn_add_1): Likewise.
27320 (mpn_addmul_1): Likewise.
27321 (mpn_add_n): Likewise.
27322 (mpn_cmp): Likewise.
27323 (mpn_divrem): Likewise.
27324 (mpn_lshift): Likewise.
27325 (mpn_mul): Likewise.
27326 (mpn_mul_1): Likewise.
27327 (mpn_rshift): Likewise.
27328 (mpn_sub_1): Likewise.
27329 (mpn_submul_1): Likewise.
27330 (mpn_sub_n): Likewise.
27331
27332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27333
27334 [BZ #18822]
27335 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27336 (__wcscat): Likewise.
27337 (__btowc): Likewise.
27338 (__wcrtomb): Likewise.
27339 (__mbsrtowcs): Likewise.
27340 (__wcsrtombs): Likewise.
27341 (__mbsnrtowcs): Likewise.
27342 (__wcsnrtombs): Likewise.
27343 (__wcsncpy): Likewise.
27344 (__wcpncpy): Likewise.
27345 (__wmemcpy): Likewise.
27346 (__wmempcpy): Likewise.
27347 (__wmemmove): Likewise.
27348 (__wcschrnul): Likewise.
27349 (__vfwscanf): Likewise.
27350 (__vswprintf): Likewise.
27351 (__fwprintf): Likewise.
27352 (__vfwprintf): Likewise.
27353
27354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27355
27356 [BZ #18822]
27357 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27358 (__getgrgid_r): Likewise.
27359 (__getgrnam_r): Likewise.
27360 * include/pwd.h (__getpwuid_r): Likewise.
27361 (__getpwnam_r): Likewise.
27362 (__fgetpwent_r): Likewise.
27363 * include/shadow.h (__getspnam_r): Likewise.
27364 (__sgetspent_r): Likewise.
27365 (__fgetspent_r): Likewise.
27366
27367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27368
27369 [BZ #18822]
27370 * include/unistd.h (__access): Add attribute_hidden.
27371 (__lseek64): Likewise.
27372 (__libc_pread64): Likewise.
27373 (__pipe2): Likewise.
27374 (__sleep): Likewise.
27375 (__chdir): Likewise.
27376 (__fchdir): Likewise.
27377 (__getcwd): Likewise.
27378 (__rmdir): Likewise.
27379 (__execvpe): Likewise.
27380 (__execve): Likewise.
27381 (__setsid): Likewise.
27382 (__getuid): Likewise.
27383 (__geteuid): Likewise.
27384 (__getgid): Likewise.
27385 (__getegid): Likewise.
27386 (__getgroups): Likewise.
27387 (__group_member): Likewise.
27388 (__ttyname_r): Likewise.
27389 (__isatty): Likewise.
27390 (__readlink): Likewise.
27391 (__unlink): Likewise.
27392 (__gethostname): Likewise.
27393 (__profil): Likewise.
27394 (__getdtablesize): Likewise.
27395 (__brk): Likewise.
27396 (__ftruncate): Likewise.
27397 (__ftruncate64): Likewise.
27398
27399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27400
27401 [BZ #18822]
27402 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27403 * argp/argp-fs-xinl.c: Likewise.
27404 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27405 * argp/argp-parse.c: Include <argp.h>.
27406 * argp/argp-xinl.c: Likewise.
27407 * include/argp-fmtstream.h: New file.
27408 * include/argp.h (__argp_error): Add attribute_hidden.
27409 (__argp_failure): Likewise.
27410 (__argp_input): Likewise.
27411 (__argp_state_help): Likewise.
27412
27413 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27414
27415 [BZ #18822]
27416 * include/wchar.h (____wcstof_l_internal): New prototype.
27417 (____wcstod_l_internal): Likewise.
27418 (____wcstold_l_internal): Likewise.
27419 (____wcstol_l_internal): Likewise.
27420 (____wcstoul_l_internal): Likewise.
27421 (____wcstoll_l_internal): Likewise.
27422 (____wcstoull_l_internal): Likewise.
27423 (____wcstof128_l_internal): Likewise.
27424 * sysdeps/ieee754/float128/wcstof128.c
27425 (____wcstof128_l_internal): Removed.
27426 * sysdeps/ieee754/float128/wcstof128_l.c
27427 (____wcstof128_l_internal): Likewise.
27428 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27429 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27430 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27431 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27432 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27433 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27434 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27435 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27436 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27437 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27438
27439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27440
27441 [BZ #18822]
27442 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27443 instead of <sys/statvfs.h>.
27444 (__internal_statvfs): Removed.
27445 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27446 instead of <sys/statvfs.h>.
27447 (__internal_statvfs64): Removed.
27448 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27449 "internal_statvfs.h" instead of <sys/statvfs.h>.
27450 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27451 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27452 instead of <sys/statvfs.h>.
27453 (__internal_statvfs): Removed.
27454 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27455 instead of <sys/statvfs.h>.
27456 (__internal_statvfs64): Removed.
27457
27458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27459
27460 [BZ #18822]
27461 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27462 (__gconv_close): Likewise.
27463 (__gconv): Likewise.
27464 (__gconv_find_transform): Likewise.
27465 (__gconv_lookup_cache): Likewise.
27466 (__gconv_compare_alias_cache): Likewise.
27467 (__gconv_load_cache): Likewise.
27468 (__gconv_get_path): Likewise.
27469 (__gconv_close_transform): Likewise.
27470 (__gconv_release_cache): Likewise.
27471 (__gconv_find_shlib): Likewise.
27472 (__gconv_release_shlib): Likewise.
27473 (__gconv_get_builtin_trans): Likewise.
27474 (__gconv_compare_alias): Likewise.
27475 * include/dlfcn.h (_dlerror_run): Likewise.
27476 * include/stdio.h (__fortify_fail_abort): Likewise.
27477 * include/time.h (__tz_compute): Likewise.
27478 (__strptime_internal): Likewise.
27479 * intl/gettextP.h (_nl_find_domain): Likewise.
27480 (_nl_load_domain): Likewise.
27481 (_nl_find_msg): Likewise.
27482 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27483 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27484 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27485 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27486 (__gai_find_request): Likewise.
27487 (__gai_remove_request): Likewise.
27488 (__gai_notify): Likewise.
27489 (__gai_notify_only): Likewise.
27490 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27491 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27492 (_dl_non_dynamic_init): Likewise.
27493 (_dl_aux_init): Likewise.
27494 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27495 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27496 Likewise.
27497 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27498 (__wcsmbs_clone_conv): Likewise.
27499 (__wcsmbs_named_conv): Likewise.
27500
27501 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27502
27503 [BZ #18822]
27504 * include/stdlib.h (__random): Add attribute_hidden.
27505 (__random_r): Likewise.
27506 (__srandom_r): Likewise.
27507 (__initstate_r): Likewise.
27508 (__setstate_r): Likewise.
27509 (__erand48_r): Likewise.
27510 (__nrand48_r): Likewise.
27511 (__jrand48_r): Likewise.
27512 (__srand48_r): Likewise.
27513 (__seed48_r): Likewise.
27514 (__lcong48_r): Likewise.
27515 (__drand48_iterate): Likewise.
27516 (__setenv): Likewise.
27517 (__unsetenv): Likewise.
27518 (__clearenv): Likewise.
27519 (__ptsname_r): Likewise.
27520 (__posix_openpt): Likewise.
27521 (__add_to_environ): Likewise.
27522 (__realpath): Add libc_hidden_proto.
27523 (__ecvt_r): Likewise.
27524 (__fcvt_r): Likewise.
27525 (__qecvt_r): Likewise.
27526 (__qfcvt_r): Likewise.
27527 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27528 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27529
27530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27531
27532 [BZ #18822]
27533 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27534 * include/time.h (__mktime_internal): Likewise.
27535 * libio/iolibio.h (__fopen_internal): Likewise.
27536
27537 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27538
27539 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27540 pointer in frame.
27541 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27542 Correct offset used to restore PIC register.
27543
27544 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27545
27546 [BZ libc/22165]
27547 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27548 code to load address of __getcontext_ret when generating PIC code.
27549
27550 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27551
27552 * elf/Makefile (tests-static-internal): Add
27553 tst-tls1-static-non-pie.
27554 (LDFLAGS-tst-tls1-static-non-pie): New.
27555 * elf/tst-tls1-static-non-pie.c: New file.
27556
27557 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27558
27559 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27560 (asinh): Define using libm_alias_double.
27561 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27562 (cbrt): Define using libm_alias_double.
27563 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27564 <libm-alias-double.h>.
27565 (copysign): Define using libm_alias_double.
27566 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27567 (erf): Define using libm_alias_double.
27568 (erfc): Likewise.
27569 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27570 (expm1): Define using libm_alias_double.
27571 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27572 (fabs): Define using libm_alias_double.
27573 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27574 libm_alias_double.
27575 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27576 <libm-alias-double.h>.
27577 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27578 libm_alias_double.
27579 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27580 <libm-alias-double.h>.
27581 (getpayload): Define using libm_alias_double.
27582 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27583 <libm-alias-double.h>.
27584 (llrint): Define using libm_alias_double.
27585 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27586 (lrint): Define using libm_alias_double.
27587 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27588 <libm-alias-double.h>.
27589 (nextup): Define using libm_alias_double.
27590 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27591 <libm-alias-double.h>.
27592 (roundeven): Define using libm_alias_double.
27593 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27594 libm_alias_double.
27595 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27596 <libm-alias-double.h>.
27597 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27598 using libm_alias_double.
27599 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27600 (cos): Define using libm_alias_double.
27601 (sin): Likewise.
27602 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27603 <libm-alias-double.h>.
27604 (sincos): Define using libm_alias_double.
27605 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27606 (tanh): Define using libm_alias_double.
27607 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27608 <libm-alias-double.h>.
27609 (totalorder): Define using libm_alias_double.
27610 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27611 <libm-alias-double.h>.
27612 (totalordermag): Define using libm_alias_double.
27613 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27614 libm_alias_double.
27615 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27616 libm_alias_double.
27617 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27618 <libm-alias-double.h>.
27619 (getpayload): Define using libm_alias_double.
27620 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27621 <libm-alias-double.h>.
27622 (roundeven): Define using libm_alias_double.
27623 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27624 <libm-alias-double.h>.
27625 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27626 <libm-alias-double.h>.
27627 (totalorder): Define using libm_alias_double.
27628 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27629 <libm-alias-double.h>.
27630 (totalordermag): Define using libm_alias_double.
27631 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27632 libc compat symbol here.
27633 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27634 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27635 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27636 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27637 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27638 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27639 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27640 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27641 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27642 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27643
27644 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27645
27646 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27647 _dl_relocate_static_pie instead of _dl_start to compute load
27648 address in static PIE. Return 0 if _DYNAMIC is undefined for
27649 static executable.
27650
27651 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27652
27653 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27654 _DYNAMIC is undefined for static executable.
27655
27656 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27657
27658 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27659
27660 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27661
27662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27663
27664 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27665
27666 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27667 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27668 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27669 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27670 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27671 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27672 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27673 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27675 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27676 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27677 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27678 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27679 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27680 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27681 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27682 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27683
27684 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27685
27686 * math/bits/cmathcalls.h (cimag): Remove inline.
27687 (creal): Remove inline.
27688 (conj): Remove inline.
27689
27690 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27691
27692 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27693 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27694 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27695 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27696 (issignalingf_inline): Likewise.
27697 (POWF_LOG2_TABLE_BITS): Likewise.
27698 (POWF_LOG2_POLY_ORDER): Likewise.
27699 (POWF_SCALE_BITS): Likewise.
27700 (POWF_SCALE): Likewise.
27701 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27702 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27703 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27704
27705 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27706
27707 * math/Makefile (type-float-routines): Add e_log2f_data.
27708 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27709 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27710 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27711 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27712 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27713 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27714 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27715
27716 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27717
27718 * math/Makefile (type-float-routines): Add e_logf_data.
27719 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27720 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27721 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27722 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27723 * sysdeps/i386/fpu/e_logf_data.c: New file.
27724 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27725 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27726
27727 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27728
27729 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27730 undefined _DYNAMIC in PIE libc.a.
27731 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27732 Likewse.
27733
27734 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27735
27736 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27737 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27738 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27739 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27740 (__signbit): Remove.
27741 (__signbitl): Remove.
27742 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27743 (__signbit): Remove.
27744 (__signbitl): Remove.
27745 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27746 (__signbit): Remove.
27747 (__signbitl): Remove.
27748 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27749 (__signbit): Remove.
27750 (__signbitl): Remove.
27751 * sysdeps/tile/bits/mathinline.h: Delete file.
27752 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27753 (__signbit): Remove.
27754 (__signbitl): Remove.
27755
27756 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27757
27758 * math/math.h: Improve handling of C99 isgreater macros.
27759 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27760 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27761 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27762 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27763 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27764
27765 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27766
27767 * sysdeps/aarch64/libm-test-ulps: Update.
27768
27769 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27770
27771 [BZ #22225]
27772 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27773 math_opt_barrier on argument when doing arithmetic on it.
27774 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27775 Likewise. Use math_force_eval not math_opt_barrier after
27776 arithmetic.
27777 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27778 math_opt_barrier on argument when doing arithmetic on it.
27779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27780 Likewise.
27781
27782 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27783
27784 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27785 libc_hidden_def.
27786 (__freeifaddrs): Likewise.
27787
27788 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27789
27790 * include/dirent.h (__dirfd): New declaration.
27791 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27792 alias.
27793 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27794 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27795 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27796 * include/unistd.h (__revoke): New declaration.
27797 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27798 alias.
27799 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27800 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27801 revoke.
27802 * include/dirent.h (__seekdir): New declaration.
27803 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27804 redefine as weak alias.
27805 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27806 of seekdir.
27807 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27808 and use libc_hidden_def on them.
27809 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27810 them.
27811 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27812 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27813 instead of getifaddrs and freeifaddrs.
27814
27815 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27816
27817 [BZ #18822]
27818 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27819 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27820 (__dso_handle): Remove declaration.
27821 * dlfcn/tstatexit.c (__dso_handle): Removed.
27822 (main): Don't check __dso_handle.
27823 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27824 (main): Don't check __dso_handle.
27825 * include/dso_handle.h: New file.
27826 * malloc/mtrace.c: Include <dso_handle.h>.
27827 (mtrace): Pass __dso_handle directly.
27828 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27829 (__dso_handle): Remove declaration.
27830 (__pthread_atfork): Pass __dso_handle directly.
27831 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27832 (__dso_handle): Removed.
27833 * posix/wordexp-test.c: Include <dso_handle.h>.
27834 (__dso_handle): Remove declaration.
27835 (__app_register_atfork): Pass __dso_handle directly.
27836 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27837 (__dso_handle): Remove declaration.
27838 (at_quick_exit): Pass __dso_handle directly.
27839 * stdlib/atexit.c: Include <dso_handle.h>.
27840 (__dso_handle): Remove declaration.
27841 (atexit): Pass __dso_handle directly.
27842 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27843 (__dso_handle): Removed.
27844
27845 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27846
27847 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27848 using VDSO.
27849
27850 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27851
27852 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27853 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27854 values to correct default value for given type.
27855
27856 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27857
27858 [BZ #22101]
27859 * elf/Makefile (tests): Add tst-debug1.
27860 ($(objpfx)tst-debug1): New.
27861 ($(objpfx)tst-debug1.out): Likewise.
27862 ($(objpfx)tst-debug1mod1.so): Likewise.
27863 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27864 with p_filesz == 0.
27865 * elf/tst-debug1.c: New file.
27866
27867 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27868
27869 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27870 Define using __ifunc.
27871
27872 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27873
27874 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27875 exp2f() values.
27876
27877 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27878
27879 [BZ #22156]
27880 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27881
27882 2017-09-26 Florian Weimer <fweimer@redhat.com>
27883
27884 * resolv/Makefile (tests-internal): Fix typo in comment.
27885
27886 2017-09-26 Florian Weimer <fweimer@redhat.com>
27887
27888 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27889
27890 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27891
27892 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27893 Use an union instead of a max_align_t array for __space,
27894 so that __space is the same size on all platforms.
27895 * malloc/scratch_buffer_grow_preserve.c
27896 (__libc_scratch_buffer_grow_preserve): Likewise.
27897
27898 [BZ #22183]
27899 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27900 version to 2.
27901 * posix/Makefile (routines): Add glob-lstat-compat and
27902 glob64-lstat-compat.
27903 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27904 * posix/glob-lstat-compat.c: New file.
27905 * posix/glob64-lstat-compat.c: Likewise.
27906 * posix/tst-glob_lstat_compat.c: Likewise.
27907 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27908 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27909 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27910 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27911 Likewise.
27912 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27913 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27914 * posix/glob.c (glob_lstat): New function.
27915 (glob): Rename to __glob and add versioned symbol to 2.27.
27916 (glob_in_dir): Use glob_lstat.
27917 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27918 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27919 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27920 2.27.
27921 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27922 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27923 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27924 gl_lstat on glob call.
27925 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27926 and glob64 symbols.
27927 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27928 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27929 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27930 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27931 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27932 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27933 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27934 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27935 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27936 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27937 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27938 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27940 Likewise.
27941 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27943 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27944 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27945 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27946 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27947 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27950 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27951 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27952 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27953
27954 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27955
27956 * configure.ac (AS): Require binutils 2.25 or later.
27957 * configure: Regenerated.
27958
27959 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27960
27961 [BZ #22207]
27962 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27963 VM size.
27964
27965 2017-09-25 DJ Delorie <dj@redhat.com>
27966
27967 [BZ #22161]
27968 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27969 resetting timeout.
27970
27971 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27972
27973 * sysdeps/ieee754/dbl-64/sincos32.h
27974 [SINCCOS32_H]: Remove define.
27975 [SINCOS32_H]: Define.
27976
27977 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27978
27979 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27980 (exp2f): Likewise.
27981 * math/w_exp2f.c: New file.
27982 * math/w_expf.c: New file.
27983 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27984 * math/w_expf_compat.c (__expf_compat): Likewise.
27985 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27986 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27987 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27988 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27989 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27990 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27991 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27993 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27994 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27995 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27996 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27997 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27998 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28000 Likewise.
28001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28002 Likewise.
28003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28004 Likewise.
28005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28006 Likewise.
28007 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28008 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28009 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28010 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28011 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28013 Likewise.
28014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28015 Likewise.
28016 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28017 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28018 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28019
28020 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28021
28022 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28023 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28024 (roundtoint, converttoint): Likewise.
28025 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28026 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28027 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28028 * sysdeps/ieee754/flt-32/math_config.h: New file.
28029 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28030 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28031 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28032 * sysdeps/i386/fpu/math_errf.c: New file.
28033 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28034 * sysdeps/ia64/fpu/math_errf.c: New file.
28035 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28036 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28037
28038 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28039
28040 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28041 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28042 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28043 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28044 to make sure that these symbols are defined.
28045 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28046 of <limits.h>
28047 (__need_NULL): Do not define.
28048 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28049 alignment.
28050 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28051 CMGROUP_MAX, cmsgcred): Do not define.
28052 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28053 NULL.
28054 * bits/socket.h: Likewise.
28055 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28056 __gettimeofday instead of gettimeofday.
28057 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28058 instead of settimeofday.
28059
28060 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28061
28062 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28063 (asinhf): Define using libm_alias_float.
28064 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28065 (atanf): Define using libm_alias_float.
28066 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28067 (cbrtf): Define using libm_alias_float.
28068 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28069 (ceilf): Define using libm_alias_float.
28070 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28071 <libm-alias-float.h>.
28072 (copysignf): Define using libm_alias_float.
28073 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28074 (cosf): Define using libm_alias_float.
28075 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28076 (erff): Define using libm_alias_float.
28077 (erfcf): Likewise.
28078 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28079 (expm1f): Define using libm_alias_float.
28080 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28081 (fabsf): Define using libm_alias_float.
28082 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28083 (floorf): Define using libm_alias_float.
28084 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28085 (frexpf): Define using libm_alias_float.
28086 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28087 libm_alias_float.
28088 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28089 <libm-alias-float.h>.
28090 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28091 libm_alias_float.
28092 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28093 <libm-alias-float.h>.
28094 (getpayloadf): Define using libm_alias_float.
28095 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28096 <libm-alias-float.h>.
28097 (llrintf): Define using libm_alias_float.
28098 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28099 <libm-alias-float.h>.
28100 (llroundf): Define using libm_alias_float.
28101 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28102 (logbf): Define using libm_alias_float.
28103 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28104 (lrintf): Define using libm_alias_float.
28105 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28106 (lroundf): Define using libm_alias_float.
28107 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28108 (modff): Define using libm_alias_float.
28109 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28110 <libm-alias-float.h>.
28111 (nearbyintf): Define using libm_alias_float.
28112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28113 <libm-alias-float.h>.
28114 (nextafterf): Define using libm_alias_float.
28115 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28116 <libm-alias-float.h>.
28117 (nextupf): Define using libm_alias_float.
28118 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28119 <libm-alias-float.h>.
28120 (remquof): Define using libm_alias_float.
28121 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28122 (rintf): Define using libm_alias_float.
28123 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28124 <libm-alias-float.h>.
28125 (roundevenf): Define using libm_alias_float.
28126 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28127 (roundf): Define using libm_alias_float.
28128 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28129 using libm_alias_float.
28130 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28131 <libm-alias-float.h>.
28132 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28133 Define using libm_alias_float.
28134 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28135 <libm-alias-float.h>.
28136 (sincosf): Define using libm_alias_float.
28137 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28138 (sinf): Define using libm_alias_float.
28139 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28140 (tanf): Define using libm_alias_float.
28141 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28142 (tanhf): Define using libm_alias_float.
28143 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28144 <libm-alias-float.h>.
28145 (totalorderf): Define using libm_alias_float.
28146 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28147 <libm-alias-float.h>.
28148 (totalordermagf): Define using libm_alias_float.
28149 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28150 (truncf): Define using libm_alias_float.
28151 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28152 libm_alias_float.
28153 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28154 libm_alias_float.
28155
28156 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28157
28158 [BZ #22146]
28159 math/math.h: Let fpclassify use the builtin in C++ mode, even
28160 when optimazing for size.
28161
28162 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28163
28164 * csu/Makefile (generated): Do not add version-info.h.
28165 (before-compile): Likewise.
28166 (all-Banner-files): Remove variable.
28167 ($(objpfx)version-info.h): Remove rule.
28168 * csu/version.c (banner): Do not include "version-info.h".
28169 * libidn/Banner: Remove.
28170 * manual/contrib.texi (Simon Josefsson): New entry.
28171
28172 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28173
28174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28175 Remove conditionals on LDBL_MANT_DIG.
28176 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28177 (__ieee754_lgammal_r): Likewise.
28178
28179 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28180
28181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28182 _Float128 and L().
28183 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28184 _Float128 and L(). Replace _Float128 with long double and L(x)
28185 with xL, throughout the file.
28186 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28187 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28188 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28189 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28190
28191 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28192
28193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28194 sysdeps/ieee754/ldbl-128ibm.
28195 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28196 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28197 of including it. Keep _Float128 and L() intact. These will be
28198 reviewed by a separate patch.
28199 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28200 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28201 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28202 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28203
28204 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28205
28206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28207 (__finitef128): Define to __redirect___finitef128.
28208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28209 (__isinff128): Define to __redirect___isinff128.
28210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28211 (__isnanf128): Define to __redirect___isnanf128.
28212
28213 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28214
28215 * sysdeps/powerpc/powerpc64le/Makefile
28216 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28217 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28218
28219 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28220 Carlos O'Donell <carlos@redhat.com>
28221
28222 [BZ #22180]
28223 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28224 * stdlib/test-dlclose-exit-race.c: New file.
28225 * stdlib/test-dlclose-exit-race-helper.c: New file.
28226 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28227
28228 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28229
28230 * crypt/Banner: Remove file.
28231 * nptl/Banner: Likewise.
28232 * resolv/Banner: Likewise.
28233 * soft-fp/Banner: Likewise.
28234 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28235 ($(objpfx)version.d): Remove dependency on banner.h.
28236 ($(objpfx)version.os): Likewise.
28237 * nptl/version.c (banner): Do not include banner.h.
28238 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28239 Jelinek and BIND code.
28240
28241 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28242 Carlos O'Donell <carlos@redhat.com>
28243
28244 * support/xdlfcn.h: New file.
28245 * support/xdlfcn.c: New file.
28246 * support/Makefile (libsupport-routines): Add xdlfcn.
28247 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28248
28249 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28250
28251 [BZ #20142]
28252 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28253 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28254 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28255 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28256 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28257 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28258 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28259 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28260
28261 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28262 Ricky Zhou <rickyz@google.com>
28263 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28264
28265 [BZ #14333]
28266 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28267 Remove atomics.
28268 (__new_exitfn): Fail registration when we finished at_exit processing.
28269 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28270 * stdlib/on_exit.c (__on_exit): Likewise.
28271 * stdlib/exit.c (__exit_funcs_done): New variable.
28272 (__run_exit_handlers): Use __exit_funcs_lock.
28273 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28274 declarations.
28275 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28276 (test-cxa_atexit-race, test-on_exit-race): New tests.
28277 * stdlib/test-atexit-race-common.c: New file.
28278 * stdlib/test-atexit-race.c: New file.
28279 * stdlib/test-at_quick_exit-race.c: New file.
28280 * stdlib/test-cxa_atexit-race.c: New file.
28281 * stdlib/test-on_exit-race.c: New file.
28282
28283 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28284
28285 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28286 * benchtests/exp2f-inputs: Copy of expf-inputs.
28287 * benchtests/log2f-inputs: Copy of logf-inputs.
28288
28289 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28290
28291 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28292 Explicitly take address of first element of array arguments in
28293 call to INLINE_SYSCALL.
28294
28295 2017-09-19 Andreas Schwab <schwab@suse.de>
28296
28297 [BZ #22134]
28298 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28299 execveat first.
28300 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28301 unimplemented.
28302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28303 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28304 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28305 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28306 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28307 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28308 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28309 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28310 * posix/Makefile (tests): Add tst-fexecve.
28311 * posix/tst-fexecve.c: New file.
28312
28313 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28314
28315 * benchtests/Makefile: Add logf benchmark.
28316 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28317
28318 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28319
28320 * benchtests/Makefile: Add expf benchmark.
28321 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28322
28323 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28324
28325 * csu/Makefile: Add -funwind-tables to libc-start.c.
28326 * debug/Makefile: Add -funwind-tables to backtrace.c.
28327 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28328 * sysdeps/arm/Makefile: Likewise.
28329 * sysdeps/i386/Makefile: Likewise.
28330 * sysdeps/m68k/Makefile: Likewise.
28331 * sysdeps/mips/Makefile: Likewise.
28332 * sysdeps/nios2/Makefile: Likewise.
28333 * sysdeps/sh/Makefile: Likewise.
28334 * sysdeps/sparc/Makefile: Likewise.
28335
28336 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28337
28338 * benchtests/Makefile (bench-math): Add trunc and truncf.
28339 (CFLAGS-bench-trunc.c): New variable.
28340 (CFLAGS-bench-truncf.c): Likewise.
28341 * benchtests/trunc-inputs: New file.
28342 * benchtests/truncf-inputs: Likewise.
28343
28344 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28345
28346 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28347
28348 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28349
28350 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28351 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28352 redefine.
28353 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28354 (exp10l): Define as weak alias.
28355 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28356 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28357 and redefine.
28358 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28359 (remainderl): Define as weak alias.
28360
28361 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28362 (fmal): Define using libm_alias_ldouble.
28363 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28364 (acoshl): Define using libm_alias_ldouble.
28365 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28366 (acosl): Define using libm_alias_ldouble.
28367 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28368 (asinl): Define using libm_alias_ldouble.
28369 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28370 (atan2l): Define using libm_alias_ldouble.
28371 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28372 (atanhl): Define using libm_alias_ldouble.
28373 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28374 (coshl): Define using libm_alias_ldouble.
28375 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28376 (exp10l): Define using libm_alias_ldouble.
28377 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28378 (exp2l): Define using libm_alias_ldouble.
28379 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28380 (expl): Define using libm_alias_ldouble.
28381 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28382 (fmodl): Define using libm_alias_ldouble.
28383 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28384 (hypotl): Define using libm_alias_ldouble.
28385 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28386 (j0l): Define using libm_alias_ldouble.
28387 (y0l): Likewise.
28388 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28389 (j1l): Define using libm_alias_ldouble.
28390 (y1l): Likewise.
28391 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28392 (jnl): Define using libm_alias_ldouble.
28393 (ynl): Likewise.
28394 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28395 (log10l): Define using libm_alias_ldouble.
28396 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28397 (log2l): Define using libm_alias_ldouble.
28398 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28399 (logl): Define using libm_alias_ldouble.
28400 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28401 (powl): Define using libm_alias_ldouble.
28402 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28403 (remainderl): Define using libm_alias_ldouble.
28404 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28405 (sinhl): Define using libm_alias_ldouble.
28406 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28407 (sqrtl): Define using libm_alias_ldouble.
28408 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28409 (tgammal): Define using libm_alias_ldouble.
28410 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28411 (exp10l): Do not use long_double_symbol here.
28412 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28413 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28414 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28415 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28416 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28417 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28418 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28419 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28420 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28421 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28422 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28423 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28424 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28425 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28426 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28427 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28428 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28429 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28430 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28431 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28432 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28433 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28434
28435 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28436
28437 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28438 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28439
28440 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28441
28442 * io/read.c (read): Add libc_hidden_weak.
28443 * sysdeps/mach/hurd/read.c (read): Likewise.
28444 * io/write.c (write): Likewise.
28445 * sysdeps/mach/hurd/write.c (write): Likewise.
28446 * io/pread64.c (__pread64): Likewise.
28447 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28448 * posix/pread64.c (__pread64): Add libc_hidden_def.
28449
28450 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28451
28452 * benchtests/scripts/compare_strings.py: New option -g.
28453 (draw_graph): Print a message that a graph is being generated.
28454 (process_results): Generate graph only if -g is passed.
28455 (main): Process option -g.
28456
28457 * benchtests/scripts/compare_strings.py (process_results):
28458 Better spacing for output.
28459
28460 * benchtests/scripts/compare_strings.py: Use argparse.
28461 * benchtests/README: Document existence of compare_strings.py.
28462
28463 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28464
28465 * math/s_fma.c: Include <libm-alias-double.h>.
28466 (fma): Define using libm_alias_double.
28467 * math/s_nextafter.c: Include <libm-alias-double.h>.
28468 (nextafter): Define using libm_alias_double.
28469 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28470 (acos): Define using libm_alias_double.
28471 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28472 (aocsh): Define using libm_alias_double.
28473 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28474 (asin): Define using libm_alias_double.
28475 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28476 (atan2): Define using libm_alias_double.
28477 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28478 (atanh): Define using libm_alias_double.
28479 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28480 (cosh): Define using libm_alias_double.
28481 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28482 (exp10): Define using libm_alias_double.
28483 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28484 (exp2): Define using libm_alias_double.
28485 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28486 (exp): Define using libm_alias_double.
28487 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28488 (fmod): Define using libm_alias_double.
28489 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28490 (hypot): Define using libm_alias_double.
28491 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28492 (j0): Define using libm_alias_double.
28493 (y0): Likewise.
28494 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28495 (j1): Define using libm_alias_double.
28496 (y1): Likewise.
28497 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28498 (jn): Define using libm_alias_double.
28499 (yn): Likewise.
28500 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28501 (log10): Define using libm_alias_double.
28502 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28503 (log2): Define using libm_alias_double.
28504 * math/w_log_compat.c: Include <libm-alias-double.h>.
28505 (log): Define using libm_alias_double.
28506 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28507 (pow): Define using libm_alias_double.
28508 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28509 (remainder): Define using libm_alias_double.
28510 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28511 (sinh): Define using libm_alias_double.
28512 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28513 (sqrt): Define using libm_alias_double.
28514 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28515 (tgamma): Define using libm_alias_double.
28516 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28517 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28518 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28519 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28520 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28521 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28522 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28523 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28524 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28525 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28526 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28527 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28528 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28529 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28530 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28531 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28532 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28533 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28534 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28535 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28536 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28537 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28538 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28539 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28540 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28541
28542 * math/e_acoshl.c: Remove.
28543 * math/e_acosl.c: Likewise.
28544 * math/e_asinl.c: Likewise.
28545 * math/e_atan2l.c: Likewise.
28546 * math/e_atanhl.c: Likewise.
28547 * math/e_coshl.c: Likewise.
28548 * math/e_expl.c: Likewise.
28549 * math/e_fmodl.c: Likewise.
28550 * math/e_gammal_r.c: Likewise.
28551 * math/e_hypotl.c: Likewise.
28552 * math/e_j0l.c: Likewise.
28553 * math/e_j1l.c: Likewise.
28554 * math/e_jnl.c: Likewise.
28555 * math/e_lgammal_r.c: Likewise.
28556 * math/e_log10l.c: Likewise.
28557 * math/e_log2l.c: Likewise.
28558 * math/e_logl.c: Likewise.
28559 * math/e_powl.c: Likewise.
28560 * math/e_rem_pio2l.c: Likewise.
28561 * math/e_sinhl.c: Likewise.
28562 * math/e_sqrtf128.c: Likewise.
28563 * math/e_sqrtl.c: Likewise.
28564 * math/k_cosl.c: Likewise.
28565 * math/k_sinl.c: Likewise.
28566 * math/k_tanl.c: Likewise.
28567 * math/s_asinhl.c: Likewise.
28568 * math/s_atanl.c: Likewise.
28569 * math/s_cbrtl.c: Likewise.
28570 * math/s_erfl.c: Likewise.
28571 * math/s_expm1l.c: Likewise.
28572 * math/s_log1pl.c: Likewise.
28573 * math/s_tanhl.c: Likewise.
28574
28575 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28576
28577 [BZ #21745]
28578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28579 [$(subdir) = math] (sysdep_calls): New variable. Has the
28580 previous contents of sysdep_routines, but re-sorted..
28581 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28582 sysdep_calls.
28583 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28584 defined in sysdep_calls and replace by the respective m_* names.
28585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28586 (compat_symbol): Undefine to avoid duplicated compat symbols in
28587 libc.
28588
28589 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28590
28591 * math/s_fmaf.c: Include <libm-alias-float.h>.
28592 (fmaf): Define using libm_alias_float.
28593 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28594 (acosf): Define using libm_alias_float.
28595 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28596 (acoshf): Define using libm_alias_float.
28597 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28598 (asinf): Define using libm_alias_float.
28599 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28600 (atan2f): Define using libm_alias_float.
28601 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28602 (atanhf): Define using libm_alias_float.
28603 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28604 (coshf): Define using libm_alias_float.
28605 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28606 (exp10f): Define using libm_alias_float.
28607 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28608 (fmodf): Define using libm_alias_float.
28609 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28610 (hypotf): Define using libm_alias_float.
28611 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28612 (j0f): Define using libm_alias_float.
28613 (y0f): Likewise.
28614 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28615 (j1f): Define using libm_alias_float.
28616 (y1f): Likewise.
28617 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28618 (jnf): Define using libm_alias_float.
28619 (ynf): Likewise.
28620 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28621 (log10f): Define using libm_alias_float.
28622 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28623 (log2f): Define using libm_alias_float.
28624 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28625 (logf): Define using libm_alias_float.
28626 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28627 (powf): Define using libm_alias_float.
28628 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28629 (remainderf): Define using libm_alias_float.
28630 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28631 (sinhf): Define using libm_alias_float.
28632 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28633 (sqrtf): Define using libm_alias_float.
28634 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28635 (tgammaf): Define using libm_alias_float.
28636
28637 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28638
28639 * include/math.h (roundeven): Change hidden_proto call to
28640 __roundeven.
28641 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28642 alias.
28643 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28644 (y0): Rename to __y0 and define as weak alias.
28645 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28646 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28647 alias.
28648 (y0f): Rename to __y0f and define as weak alias.
28649 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28650 alias.
28651 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28652 (y1): Rename to __y1 and define as weak alias.
28653 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28654 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28655 alias.
28656 (y1f): Rename to __y1f and define as weak alias.
28657 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28658 alias.
28659 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28660 (yn): Rename to __yn and define as weak alias.
28661 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28662 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28663 alias.
28664 (ynf): Rename to __ynf and define as weak alias.
28665 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28666 (fromfp): Define as weak alias.
28667 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28668 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28669 (fromfpx): Define as weak alias.
28670 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28671 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28672 __getpayload and define as weak alias.
28673 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28674 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28675 __roundeven and define as weak alias.
28676 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28677 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28678 __setpayload.
28679 (setpayload): Define as weak alias.
28680 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28681 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28682 __setpayloadsig.
28683 (setpayloadsig): Define as weak alias.
28684 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28685 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28686 __totalorder and define as weak alias.
28687 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28688 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28689 to __totalordermag and define as weak alias.
28690 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28691 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28692 (ufromfp): Define as weak alias.
28693 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28694 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28695 __ufromfpx.
28696 (ufromfpx): Define as weak alias.
28697 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28698 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28699 Rename to __getpayload and define as weak alias.
28700 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28701 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28702 Rename to __roundeven and define as weak alias.
28703 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28704 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28705 Rename to __totalorder and define as weak alias.
28706 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28707 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28708 (totalordermag): Rename to __totalordermag and define as weak
28709 alias.
28710 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28711 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28712 macro.
28713 (__roundevenl): Likewise.
28714 (__totalorderl): Likewise.
28715 (__totalordermagl): Likewise
28716 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28717 __fromfpf128.
28718 (fromfpf128): Define as weak alias.
28719 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28720 __fromfpxf128.
28721 (fromfpxf128): Define as weak alias.
28722 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28723 __setpayloadf128.
28724 (setpayloadf128): Define as weak alias.
28725 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28726 __setpayloadsigf128.
28727 (setpayloadsigf128): Define as weak alias.
28728 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28729 __ufromfpf128.
28730 (ufromfpf128): Define as weak alias.
28731 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28732 __ufromfpxf128.
28733 (ufromfpxf128): Define as weak alias.
28734 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28735 (fromfpf): Define as weak alias.
28736 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28737 __fromfpxf.
28738 (fromfpxf): Define as weak alias.
28739 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28740 __getpayloadf and define as weak alias.
28741 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28742 __roundevenf and define as weak alias.
28743 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28744 __setpayloadf.
28745 (setpayloadf): Define as weak alias.
28746 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28747 __setpayloadsigf.
28748 (setpayloadsigf): Define as weak alias.
28749 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28750 __totalorderf and define as weak alias.
28751 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28752 Rename to __totalordermagf and define as weak alias.
28753 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28754 __ufromfpf.
28755 (ufromfpf): Define as weak alias.
28756 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28757 __ufromfpxf.
28758 (ufromfpxf): Define as weak alias.
28759 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28760 __fromfpl.
28761 (fromfpl): Define as weak alias.
28762 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28763 __fromfpxl.
28764 (fromfpxl): Define as weak alias.
28765 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28766 to __getpayloadl and define as weak alias.
28767 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28768 __roundevenl and define as weak alias.
28769 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28770 __setpayloadl.
28771 (setpayloadl): Define as weak alias.
28772 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28773 __setpayloadsigl.
28774 (setpayloadsigl): Define as weak alias.
28775 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28776 to __totalorderl and define as weak alias.
28777 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28778 Rename to __totalordermagl and define as weak alias.
28779 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28780 __ufromfpl.
28781 (ufromfpl): Define as weak alias.
28782 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28783 __ufromfpxl.
28784 (ufromfpxl): Define as weak alias.
28785 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28786 __fromfpl.
28787 (fromfpl): Define as weak alias.
28788 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28789 __fromfpxl.
28790 (fromfpxl): Define as weak alias.
28791 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28792 Rename to __getpayloadl and define as weak alias.
28793 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28794 to __roundevenl and define as weak alias. Call __roundeven
28795 instead of roundeven.
28796 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28797 __setpayloadl.
28798 (setpayloadl): Define as weak alias.
28799 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28800 __setpayloadsigl.
28801 (setpayloadsigl): Define as weak alias.
28802 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28803 Rename to __totalorderl and define as weak alias.
28804 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28805 Rename to __totalordermagl and define as weak alias.
28806 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28807 __ufromfpl.
28808 (ufromfpl): Define as weak alias.
28809 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28810 __ufromfpxl.
28811 (ufromfpxl): Define as weak alias.
28812 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28813 __fromfpl.
28814 (fromfpl): Define as weak alias.
28815 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28816 __fromfpxl.
28817 (fromfpxl): Define as weak alias.
28818 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28819 __getpayloadl and define as weak alias.
28820 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28821 __roundevenl and define as weak alias.
28822 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28823 __setpayloadl.
28824 (setpayloadl): Define as weak alias.
28825 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28826 __setpayloadsigl.
28827 (setpayloadsigl): Define as weak alias.
28828 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28829 __totalorderl and define as weak alias.
28830 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28831 Rename to __totalordermagl and define as weak alias.
28832 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28833 __ufromfpl.
28834 (ufromfpl): Define as weak alias.
28835 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28836 __ufromfpxl.
28837 (ufromfpxl): Define as weak alias.
28838
28839 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28840
28841 * benchtests/bench-string.h (realloc_bufs): New function.
28842 (test_init): Call it.
28843 * benchtests/bench-memset-large.c (do_test): Likewise.
28844 * benchtests/bench-memset.c (do_test): Likewise.
28845
28846 * benchtests/bench-memset-large.c: Print output in JSON
28847 format.
28848 * benchtests/bench-memset.c: Likewise.
28849
28850 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28851
28852 [BZ #21084]
28853 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28854 * iconvdata/Makefile: Add IBM858.
28855 * iconvdata/gconv-modules: Likewise.
28856 * iconvdata/tst-tables.sh: Likewise.
28857 * iconvdata/ibm858.c: New file.
28858 * localedata/charmaps/IBM858: Likewise.
28859
28860 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28861
28862 [BZ #22023]
28863 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28864 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28865
28866 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28867
28868 [BZ #22112]
28869 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28870 and add tel_int_fmt.
28871
28872 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28873
28874 * sysdeps/generic/libm-alias-float128.h: New file.
28875 * sysdeps/generic/math-type-macros-float128.h: Include
28876 <libm-alias-float128.h>.
28877 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28878
28879 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28880
28881 * sysdeps/generic/libm-alias-ldouble.h: New file.
28882 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28883 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28884 * sysdeps/generic/math-type-macros-ldouble.h: Include
28885 <libm-alias-ldouble.h>.
28886 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28887 libm_alias_ldouble.
28888
28889 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28890
28891 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28892 * math/w_exp_compat.c: ... here.
28893 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28894 * math/w_expf_compat.c: ... here.
28895 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28896 * math/w_expl_compat.c: ... here.
28897 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28898 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28899 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28900 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28901
28902 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28903
28904 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28905 redefine.
28906 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28907 macro.
28908 (ldexpl): Only define as compat symbol for libc, not libm.
28909 (scalbnl): Define as compat symbol for libc here.
28910 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28911 define for [IS_IN (libc)].
28912 (__ldexpl_2): Remove alias.
28913 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28914 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28915 name in long_double_symbol call.
28916 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28917 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28918 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28919 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28920 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28921 Remove macro.
28922 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28923 Define as compat symbol.
28924
28925 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28926
28927 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28928 * sysdeps/unix/sysv/linux/alpha/Makefile
28929 [$(subdir) = csu] (sysdep_routines): Remove rule.
28930
28931 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28932
28933 * sysdeps/generic/libm-alias-double.h: New file.
28934 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28935 * sysdeps/generic/math-type-macros-double.h: Include
28936 <libm-alias-double.h>.
28937 [declare_mgen_alias] (declare_mgen_alias): Define to use
28938 libm_alias_double.
28939 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28940 (M_LIBM_NEED_COMPAT): Remove macro.
28941 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28942 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28943 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28944 code.
28945 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28946 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28947 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28948 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28949 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28950 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28951 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28952 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28953 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28954 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28955 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28956 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28957 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28958 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28959 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28960 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28961 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28962 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28963 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28964 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28965 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28966 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28967 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28968 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28969 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28970 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28971 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28972 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28973 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28974 macro.
28975 (declare_mgen_alias): New macro.
28976 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28977 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28979 (M_LIBM_NEED_COMPAT): Remove macro.
28980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28981 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28982 <first-versions.h>.
28983 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28984 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28985
28986 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28987
28988 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28989 (declare_mgen_alias_2): Remove.
28990 * sysdeps/generic/math-type-macros-double.h
28991 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28992 Likewise.
28993 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28994 alias.
28995 (ldexp): Define with declare_mgen_alias.
28996 (scalbn): Likewise.
28997
28998 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28999
29000 * grp/initgroups.c: Include config.h.
29001 (DEFAULT_CONFIG): New macro.
29002 (internal_getgrouplist): Use DEFAULT_CONFIG.
29003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29004 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29005 (DEFAULT_DEFCONFIG): New macro.
29006 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29007 * nss/grp-lookup.c: Include config.h
29008 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29009 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29010 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29011 * manual/nss.texi: Update default values section.
29012
29013 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29014
29015 [BZ #21967]
29016 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29017 New.
29018 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29019 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29020 Handle MathVec_Prefer_No_AVX512.
29021 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29022 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29023 is set.
29024
29025 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29026
29027 * posix/sched_primax.c (__sched_get_priority_max): Add
29028 libc_hidden_def.
29029 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29030 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29031 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29032 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29033 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29034 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29035 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29036 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29037 Add aliases.
29038
29039 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29040
29041 * sysdeps/generic/libm-alias-float.h: New file.
29042 * sysdeps/generic/math-type-macros-float.h: Include
29043 <libm-alias-float.h>.
29044 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29045
29046 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29047
29048 [BZ #22093]
29049 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29050 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29051 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29052 (HWCAP_IMPORTANT): Likewise.
29053 (HWCAP_X86_64): New enum.
29054 (HWCAP_X86_AVX512_1): Updated.
29055 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29056 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29057 (modules-names): Add x86_64/tst-x86_64mod-1.
29058 (LDFLAGS-tst-x86_64mod-1.so): New.
29059 ($(objpfx)tst-x86_64-1): Likewise.
29060 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29061 (tst-x86_64-1-clean): Likewise.
29062 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29063 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29064
29065 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29066
29067 * po/sv.po: Update translations.
29068 * po/fr.po: Likewise.
29069
29070 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29071
29072 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29073 seconds.
29074 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29075 seconds.
29076 * elf/rtld-Rules: Fix $(error) use.
29077
29078 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29079
29080 [BZ #14925]
29081 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29082 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29083 * localedata/locales/bn_BD: “Bengali” was still used in some
29084 comments. Change it to “Bangla”.
29085
29086 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29087
29088 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29089
29090 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29091
29092 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29093 thunderx2t99p1 to list of cpu names.
29094 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29095 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29096
29097 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29098
29099 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29100 Use strcmp instead of tunable_is_name.
29101
29102 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29103
29104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29105 (F_GET_RW_HINT): New macro.
29106 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29107 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29108 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29109 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29110 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29111 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29112 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29113 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29114 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29115
29116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29117 (F_ADD_SEALS): New macro.
29118 [__USE_GNU] (F_GET_SEALS): Likewise.
29119 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29120 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29121 [__USE_GNU] (F_SEAL_GROW): Likewise.
29122 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29123
29124 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29125
29126 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29127 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29128 * posix/glob_internal.h (__glob_pattern_type):
29129 * posix/glob.c (glob):
29130 * posix/glob_pattern_p.c (__glob_pattern_p):
29131 Use them.
29132
29133 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29134 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29135 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29136 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29137 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29139 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29140 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29141 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29142 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29143 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29144 * sysdeps/wordsize-64/glob.c: Likewise.
29145 * sysdeps/wordsize-64/glob64.c: Likewise.
29146 * sysdeps/wordsize-64/globfree.c: Likewise.
29147 * sysdeps/wordsize-64/globfree64.c: Likewise.
29148 * sysdeps/unix/sysv/linux/glob.c: New file.
29149 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29150 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29151 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29152 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29153 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29154 adds !GLOB_NO_OLD_VERSION as an extra condition.
29155 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29156 using relative path instead of absolute one.
29157 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29158 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29159 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29160 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29161 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29162 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29163
29164 [BZ #1062]
29165 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29166 (glob): Use the same scratch buffer for both getlogin_r and
29167 getpwnam_r. Don’t require preallocation of the login name. This
29168 simplifies storage allocation, and corrects the handling of
29169 long login names.
29170
29171 [BZ #1062]
29172 * posix/glob.c (glob): Port recent patches to platforms
29173 lacking getpwnam_r.
29174 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29175 returns an error number rather than setting errno.
29176
29177 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29178 instead of GCC extension.
29179 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29180 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29181 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29182
29183 [BZ #866]
29184 [BZ #1062]
29185 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29186 * posix/bug-glob1.c: Remove file.
29187 * posix/tst-glob_symlinks.c: New file.
29188 * posix/glob.c (__lstat64): New macro.
29189 (is_dir): New function.
29190 (glob, glob_in_dir): Match symlinks even if they are dangling.
29191 (link_stat, link_exists_p): Remove. All uses removed.
29192
29193 [BZ #1062]
29194 [BZ #19971]
29195 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29196 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29197 All uses removed.
29198
29199 [BZ #1062]
29200 CVE-2017-15671
29201 * posix/Makefile (routines): Add globfree, globfree64, and
29202 glob_pattern_p.
29203 * posix/flexmember.h: New file.
29204 * posix/glob_internal.h: Likewise.
29205 * posix/glob_pattern_p.c: Likewise.
29206 * posix/globfree.c: Likewise.
29207 * posix/globfree64.c: Likewise.
29208 * sysdeps/gnu/globfree64.c: Likewise.
29209 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29210 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29211 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29212 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29213 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29214 * sysdeps/wordsize-64/globfree.c: Likewise.
29215 * sysdeps/wordsize-64/globfree64.c: Likewise.
29216 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29217 [NDEBUG): Remove comments.
29218 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29219 (dirent_type): New type. Use uint_fast8_t not
29220 uint8_t, as C99 does not require uint8_t.
29221 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29222 (struct readdir_result): Use dirent_type. Do not define skip_entry
29223 unless it is needed; this saves a byte on platforms lacking d_ino.
29224 (readdir_result_type, readdir_result_skip_entry):
29225 New functions, replacing ...
29226 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29227 these functions, which were removed. This makes the callers
29228 easier to read. All callers changed.
29229 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29230 (size_add_wrapv, glob_use_alloca): New static functions.
29231 (glob, glob_in_dir): Check for size_t overflow in several places,
29232 and fix some size_t checks that were not quite right.
29233 Remove old code using SHELL since Bash no longer
29234 uses this.
29235 (glob, prefix_array): Separate MS code better.
29236 (glob_in_dir): Remove old Amiga and VMS code.
29237 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29238 separate files.
29239 (glob_in_dir): Do not rely on undefined behavior in accessing
29240 struct members beyond their bounds. Use a flexible array member
29241 instead
29242 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29243 0/1. Caller changed.
29244 (glob): Fix memory leaks.
29245 * posix/glob64 (globfree64): Move to separate file.
29246 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29247 (globfree64): Remove hidden alias.
29248 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29249 oldglob.
29250 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29251 separate file.
29252 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29253 define.
29254 Move compat code to separate file.
29255 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29256 separate file.
29257
29258 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29259
29260 * resolv/tst-resolv-qtypes.c (domain): Changed to
29261 "const char domain[] =".
29262
29263 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29264
29265 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29266 version to 3.1.6.
29267
29268 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29269 (TCP_MD5SIG_EXT): Likewise.
29270 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29271 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29272 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29273
29274 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29275
29276 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29277
29278 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29279
29280 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29281
29282 [BZ #22100]
29283 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29284
29285 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29286
29287 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29288 before assuming that the file is empty. Avoid testing buffer content
29289 when nread == 0.
29290
29291 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29292
29293 [BZ #18858]
29294 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29295 Remove define.
29296 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29297 Likewise.
29298 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29299 Likewise.
29300 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29301 Likewise.
29302 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29303 Likewise.
29304 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29305 Likewise.
29306 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29307 Likewise.
29308
29309 2017-09-06 Florian Weimer <fweimer@redhat.com>
29310
29311 * malloc/dynarray_emplace_enlarge.c
29312 (__libc_dynarray_emplace_enlarge): Add missing else.
29313
29314 2017-09-06 Florian Weimer <fweimer@redhat.com>
29315
29316 [BZ #22096]
29317 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29318 case of failure to obtain the global conf object.
29319
29320 2017-09-06 Florian Weimer <fweimer@redhat.com>
29321
29322 [BZ #22095]
29323 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29324 dynarray allocation failure.
29325
29326 2017-09-06 Florian Weimer <fweimer@redhat.com>
29327
29328 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29329 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29330 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29331 New functions.
29332 (response): Call them. Add 'p', '6' flag processing.
29333 (test_reverse): New function.
29334 (test_get2_any): Call it.
29335 (test_no_inet6): Add 'p' test.
29336 (test_inet6): Likewise.
29337
29338 2017-09-06 Florian Weimer <fweimer@redhat.com>
29339
29340 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29341 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29342 the QNAME.
29343 (test_gai): Adjust query names. Add additional tests.
29344 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29345 test_get2. Adjust query names. Add additional tests.
29346 (test_no_inet6): New function, extracted from threadfunc.
29347 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29348 Add additional tests.
29349
29350 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29351
29352 [BZ #22070]
29353 * localedata/unicode-gen/utf8_gen.py: Set the width for
29354 characters with Prepended_Concatenation_Mark property to 1
29355 * localedata/charmaps/UTF-8: Updated using the improved script.
29356
29357 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29358
29359 [BZ #21750]
29360 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29361 use the range notation for all ranges of neighbouring characters
29362 with the same width.
29363
29364 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29365
29366 * sysdeps/generic/math-type-macros-double.h: Include
29367 <math-svid-compat.h>.
29368 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29369 * sysdeps/generic/math-type-macros-float.h: Include
29370 <math-svid-compat.h>.
29371 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29372 * sysdeps/generic/math-type-macros-ldouble.h: Include
29373 <math-svid-compat.h>.
29374 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29375 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29376 condition.
29377 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29378 * math/w_acosf_compat.c: Likewise.
29379 * math/w_acosh_compat.c: Likewise.
29380 * math/w_acoshf_compat.c: Likewise.
29381 * math/w_acoshl_compat.c: Likewise.
29382 * math/w_acosl_compat.c: Likewise.
29383 * math/w_asin_compat.c: Likewise.
29384 * math/w_asinf_compat.c: Likewise.
29385 * math/w_asinl_compat.c: Likewise.
29386 * math/w_atan2_compat.c: Likewise.
29387 * math/w_atan2f_compat.c: Likewise.
29388 * math/w_atan2l_compat.c: Likewise.
29389 * math/w_atanh_compat.c: Likewise.
29390 * math/w_atanhf_compat.c: Likewise.
29391 * math/w_atanhl_compat.c: Likewise.
29392 * math/w_cosh_compat.c: Likewise.
29393 * math/w_coshf_compat.c: Likewise.
29394 * math/w_coshl_compat.c: Likewise.
29395 * math/w_exp10_compat.c: Likewise.
29396 * math/w_exp10f_compat.c: Likewise.
29397 * math/w_exp10l_compat.c: Likewise.
29398 * math/w_exp2_compat.c: Likewise.
29399 * math/w_exp2f_compat.c: Likewise.
29400 * math/w_exp2l_compat.c: Likewise.
29401 * math/w_fmod_compat.c: Likewise.
29402 * math/w_fmodf_compat.c: Likewise.
29403 * math/w_fmodl_compat.c: Likewise.
29404 * math/w_hypot_compat.c: Likewise.
29405 * math/w_hypotf_compat.c: Likewise.
29406 * math/w_hypotl_compat.c: Likewise.
29407 * math/w_j0_compat.c: Likewise.
29408 * math/w_j0f_compat.c: Likewise.
29409 * math/w_j0l_compat.c: Likewise.
29410 * math/w_j1_compat.c: Likewise.
29411 * math/w_j1f_compat.c: Likewise.
29412 * math/w_j1l_compat.c: Likewise.
29413 * math/w_jn_compat.c: Likewise.
29414 * math/w_jnf_compat.c: Likewise.
29415 * math/w_jnl_compat.c: Likewise.
29416 * math/w_lgamma_r_compat.c: Likewise.
29417 * math/w_lgammaf_r_compat.c: Likewise.
29418 * math/w_lgammal_r_compat.c: Likewise.
29419 * math/w_log10_compat.c: Likewise.
29420 * math/w_log10f_compat.c: Likewise.
29421 * math/w_log10l_compat.c: Likewise.
29422 * math/w_log2_compat.c: Likewise.
29423 * math/w_log2f_compat.c: Likewise.
29424 * math/w_log2l_compat.c: Likewise.
29425 * math/w_log_compat.c: Likewise.
29426 * math/w_logf_compat.c: Likewise.
29427 * math/w_logl_compat.c: Likewise.
29428 * math/w_pow_compat.c: Likewise.
29429 * math/w_powf_compat.c: Likewise.
29430 * math/w_powl_compat.c: Likewise.
29431 * math/w_remainder_compat.c: Likewise.
29432 * math/w_remainderf_compat.c: Likewise.
29433 * math/w_remainderl_compat.c: Likewise.
29434 * math/w_sinh_compat.c: Likewise.
29435 * math/w_sinhf_compat.c: Likewise.
29436 * math/w_sinhl_compat.c: Likewise.
29437 * math/w_sqrt_compat.c: Likewise.
29438 * math/w_sqrtf_compat.c: Likewise.
29439 * math/w_sqrtl_compat.c: Likewise.
29440 * math/w_tgamma_compat.c: Likewise.
29441 * math/w_tgammaf_compat.c: Likewise.
29442 * math/w_tgammal_compat.c: Likewise.
29443 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29444 [LIBM_SVID_COMPAT].
29445 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29446 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29447 [LIBM_SVID_COMPAT].
29448 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29449 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29450 [LIBM_SVID_COMPAT].
29451 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29452 * sysdeps/i386/fpu/w_sqrt.c: New file.
29453 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29454 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29455 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29456 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29457 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29458 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29459 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29460 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29461 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29462 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29463 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29464 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29465 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29466 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29467 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29468 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29469 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29470 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29471 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29472 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29473 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29474 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29475 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29476 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29477 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29478 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29479 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29480 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29481 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29482 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29483 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29484 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29485 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29486 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29487 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29488 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29489 * sysdeps/ia64/fpu/w_log.c: Likewise.
29490 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29491 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29492 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29493 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29494 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29495 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29496 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29497 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29498 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29499 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29500 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29501 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29502 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29503 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29504 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29505 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29506 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29507 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29508 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29509 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29510 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29511 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29512 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29513 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29514 [LIBM_SVID_COMPAT].
29515 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29516 * sysdeps/ieee754/k_standard.c: Likewise.
29517 * sysdeps/ieee754/k_standardf.c: Likewise.
29518 * sysdeps/ieee754/k_standardl.c: Likewise.
29519 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29520 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29521 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29522 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29523 long_double_symbol call on [LIBM_SVID_COMPAT].
29524 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29525 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29526 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29527 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29528 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29529 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29530 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29531 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29532 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29533 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29534 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29535 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29536 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29537 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29538 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29539 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29540 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29541 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29542 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29543 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29544 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29545 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29546
29547 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29548
29549 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29550 * malloc/tst-mallocstate.c: Convert from test-skeleton
29551 to test-driver. Ifdef code using TEST_COMPAT macro.
29552 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29553 * math/test-matherr.c: Likewise.
29554
29555 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29556
29557 [BZ #22086]
29558 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29559 comparing word with byte-swapped constant.
29560
29561 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29562
29563 [BZ #20498]
29564 * locale/iso-639.def: add Miskito.
29565 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29566 * localedata/locales/miq_NI: New file.
29567
29568 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29569
29570 [BZ #18822]
29571 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29572 (__mkdir): Likewise.
29573 * io/chmod.c (__chmod): Add libc_hidden_def.
29574 * io/mkdir.c (__mkdir): Likewise.
29575 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29576 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29577 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29578 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29579
29580 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29581
29582 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29583 version to 4.13.
29584
29585 [BZ #22082]
29586 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29587 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29588
29589 2017-09-04 Florian Weimer <fweimer@redhat.com>
29590
29591 * math/math.h: Issue warning if log is defined.
29592
29593 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29594
29595 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29596 kernel version to 4.13.
29597
29598 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29599
29600 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29601 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29602 parameter.
29603 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29604 just <bits/types.h>.
29605 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29606 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29607 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29608 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29609 * misc/preadv2.c: Include <errno.h>.
29610 * misc/preadv64v2.c: Include <errno.h>.
29611 * misc/pwritev2.c: Include <errno.h>.
29612 * misc/pwritev64v2.c: Include <errno.h>.
29613 * sysdeps/posix/preadv2.c: Include <errno.h>.
29614 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29615 Fix <unistd.h> inclusion.
29616 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29617 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29618 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29619 __strtoul_internal): New functions.
29620 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29621 * sysdeps/posix/system.c: Include <sigsetops.h>.
29622 * sysdeps/mach/hurd/i386/Makefile
29623 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29624 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29625 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29626 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29627 __feraiseexcept_renamed to feraiseexcept instead of
29628 __GI_feraiseexcept.
29629 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29630 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29631 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29632 RWF_NOWAIT): Define to 0 if undefined already.
29633 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29634 boils down to 0.
29635 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29636 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29637
29638 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29639
29640 * manual/math.texi (pow10): Do not document.
29641 (pow10f): Likewise.
29642 (pow10l): Likewise.
29643 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29644 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29645 * math/libm-test-exp10.inc (pow10_test): Remove.
29646 (do_test): Do not call pow10.
29647 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29648 [NO_LONG_DOUBLE] (pow10l): Likewise.
29649 * math/w_exp10f_compat.c (pow10f): Likewise.
29650 * math/w_exp10l_compat.c (pow10l): Likewise.
29651 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29652 (pow10): Make into compat symbol.
29653 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29654 (pow10f): Make into compat symbol.
29655 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29656 (pow10l): Make into compat symbol.
29657 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29658 pow10.
29659 (CFLAGS-nldbl-pow10.c): Remove variable..
29660 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29661 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29662 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29663 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29664 Undefine and redefine.
29665 (pow10l): Make into compat symbol.
29666 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29667 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29668 * sysdeps/arm/libm-test-ulps: Likewise.
29669 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29670 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29671 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29672 * sysdeps/microblaze/libm-test-ulps: Likewise.
29673 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29674 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29675 * sysdeps/nios2/libm-test-ulps: Likewise.
29676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29677 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29678 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29679 * sysdeps/sh/libm-test-ulps: Likewise.
29680 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29681 * sysdeps/tile/libm-test-ulps: Likewise.
29682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29683
29684 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29685
29686 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29687
29688 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29689
29690 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29691 "../ChangeLog.old/ChangeLog.8".
29692 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29693 "../ChangeLog.old/ChangeLog.14".
29694
29695 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29696
29697 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29698 Threads Library.
29699
29700 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29701
29702 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29703
29704 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29705
29706 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29707 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29708
29709 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29710
29711 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29712 32 atexit handlers.
29713
29714 2017-09-01 Zack Weinberg <zackw@panix.com>
29715
29716 * math/math.h (HUGE_VAL): Improve commentary.
29717
29718 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29719 Andreas Schwab <schwab@suse.de>
29720
29721 [BZ #21530]
29722 * include/stdio.h (__gen_tempfd): New function.
29723 * stdio-common/Makefile (routines): Add gentempfd.
29724 * stdio-common/gentempfd.c: New file.
29725 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29726 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29727 unnamed file first.
29728
29729 2017-09-01 Florian Weimer <fweimer@redhat.com>
29730
29731 [BZ #21915]
29732 [BZ #21922]
29733 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29734 result to determine success or failure, not the errno value.
29735 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29736 (tst-nss-files-hosts-erange): Link with -ldl.
29737 * nss/tst-nss-files-hosts-erange.c: New file.
29738 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29739 (do_test): Add NO_DATA tests.
29740 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29741 (do_test): Call it.
29742
29743 2017-09-01 Florian Weimer <fweimer@redhat.com>
29744
29745 [BZ #21922]
29746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29747 coming from gethostbyname2_r.
29748
29749 2017-09-01 Florian Weimer <fweimer@redhat.com>
29750
29751 * support/namespace.h (struct support_chroot_configuration): Add
29752 hosts, host_conf.
29753 (struct support_chroot): Add path_hosts, path_host_conf.
29754 * support/support_chroot.c (write_file): New function.
29755 (support_chroot_create): Call it to process /etc/resolv.conf,
29756 /etc/hosts, /etc/host.conf.
29757 (support_chroot_free): Update.
29758
29759 2017-09-01 Florian Weimer <fweimer@redhat.com>
29760
29761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29762 status indicates it is set.
29763
29764 2017-09-01 Florian Weimer <fweimer@redhat.com>
29765
29766 [BZ #20532]
29767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29768 function lookup failures more reliable.
29769
29770 2017-09-01 Florian Weimer <fweimer@redhat.com>
29771
29772 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29773 (getcanonname): Likewise.
29774 (gaih_inet): Likewise.
29775
29776 2017-09-01 Florian Weimer <fweimer@redhat.com>
29777
29778 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29779 (getcanonname): Likewise.
29780 (gaih_inet): Likewise.
29781
29782 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29783 Richard Henderson <rth@twiddle.net>
29784
29785 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29786 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29787 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29788 (IREG_SIZE, OREG_SIZE): New macros.
29789 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29790 (IREG_SIZE, OREG_SIZE): New macros.
29791 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29792 (IREG_SIZE): New macro.
29793 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29794 (IREG_SIZE): New macro.
29795 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29796 New includes.
29797 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29798 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29799 (__CONCATX): Handle exceptions correctly on large values that may
29800 set FE_INVALID.
29801 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29802 Initialize if not already set.
29803 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29804
29805 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29806
29807 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29808 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29809 Likewise.
29810 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29811 Likewise.
29812 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29813 Likewise.
29814 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29815 Likewise.
29816 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29817 Likewise.
29818 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29819 Likewise.
29820 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29821 Likewise.
29822 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29823 (NO_CANCELLATION): Likewise.
29824 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29825 Likewise.
29826 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29827 Likewise.
29828 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29829 Likewise.
29830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29831 (NO_CANCELLATION): Likewise.
29832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29833 (NO_CANCELLATION): Likewise.
29834 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29835 Likewise
29836 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29837 Likewise.
29838 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29839 Likewise.
29840 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29841 Likewise.
29842 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29843 hidden prototype.
29844 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29845 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29846
29847 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29848
29849 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29850 in resolver call.
29851
29852 2017-08-31 Florian Weimer <fweimer@redhat.com>
29853
29854 * include/libc-symbols.h (internal_function): Remove.
29855
29856 2017-08-31 Florian Weimer <fweimer@redhat.com>
29857
29858 * stdlib/fmtmsg.c (internal_addseverity): Remove
29859 internal_function.
29860
29861 2017-08-31 Florian Weimer <fweimer@redhat.com>
29862
29863 * stdio-common/printf_fp.c (group_number): Remove
29864 internal_function.
29865 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29866
29867 2017-08-31 Florian Weimer <fweimer@redhat.com>
29868
29869 * posix/fnmatch.c (internal_function): Remove definition.
29870 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29871 * posix/regcomp.c (peek_token, init_word_char)
29872 (duplicate_node_closure, fetch_token, peek_token)
29873 (peek_token_bracket, build_range_exp, build_collating_symbol):
29874 Likewise.
29875 * posix/regex_internal.c (re_string_construct_common)
29876 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29877 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29878 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29879 (re_string_translate_buffer, re_string_reconstruct)
29880 (re_string_peek_byte_case, re_string_fetch_byte_case)
29881 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29882 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29883 (re_node_set_add_intersect, re_node_set_init_union)
29884 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29885 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29886 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29887 (re_acquire_state_context): Likewise.
29888 * posix/regex_internal.h (internal_function): Remove definition.
29889 (re_string_realloc_buffers, build_wcs_buffer)
29890 (build_wcs_upper_buffer, build_upper_buffer)
29891 (re_string_translate_buffer, re_string_context_at)
29892 (re_string_char_size_at, re_string_wchar_at)
29893 (re_string_elem_size_at): Likewise.
29894 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29895 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29896 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29897 (re_search_internal, re_search_2_stub, re_search_stub)
29898 (re_copy_regs, prune_impossible_nodes, check_matching)
29899 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29900 (free_fail_stack_return, sift_states_iter_mb)
29901 (sift_states_backward, build_sifted_states)
29902 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29903 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29904 (check_subexp_limits, sift_states_bkref, merge_state_array)
29905 (find_recover_state, transit_state, merge_state_with_log)
29906 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29907 (transit_state_mb, transit_state_bkref, get_subexp)
29908 (get_subexp_sub, find_subexp_node, check_arrival)
29909 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29910 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29911 (check_node_accept_bytes, find_collation_sequence_value)
29912 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29913 (acquire_init_state_context, check_halt_node_context)
29914 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29915 (sub_epsilon_src_nodes): Likewise.
29916 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29917 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29918 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29919 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29920 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29921 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29922 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29923 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29924 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29925 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29926 (PREADV): Likewise.
29927 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29928 (PREADV): Likewise.
29929 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29930 (PWRITEV): Likewise.
29931 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29932 (PWRITEV): Likewise.
29933 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29934 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29935
29936 2017-08-31 Florian Weimer <fweimer@redhat.com>
29937
29938 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29939 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29940 Remove internal_function.
29941 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29942 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29943 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29944 (__deallocate_stack, __libc_pthread_init)
29945 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29946 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29947 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29948 Likewise.
29949 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29950 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29951 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29952 Likewise.
29953 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29954 (__pthread_mutex_unlock_usercnt): Likewise.
29955
29956 2017-08-31 Florian Weimer <fweimer@redhat.com>
29957
29958 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29959 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29960 (fts_safe_changedir): Remove internal_function.
29961 * io/ftw.c (internal_function): Remove definition.
29962 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29963
29964 2017-08-31 Florian Weimer <fweimer@redhat.com>
29965
29966 * inet/deadline.c (__deadline_current_time)
29967 (__deadline_from_timeval, __deadline_to_ms): Remove
29968 internal_function.
29969 * inet/getnameinfo.c (nrl_domainname): Likewise.
29970 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29971 * inet/inet6_option.c (add_pad): Likewise.
29972 * inet/net-internal.h (__deadline_current_time)
29973 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29974 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29975 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29976 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29977
29978 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29979
29980 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29981 include <bits/nan.h>.
29982 * math/Makefile (headers): Remove bits/nan.h.
29983 * bits/nan.h: Remove.
29984 * sysdeps/ieee754/bits/nan.h: Likewise.
29985 * sysdeps/mips/bits/nan.h: Likewise.
29986
29987 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29988 not include <bits/inf.h>.
29989 * math/Makefile (headers): Remove bits/inf.h.
29990 * bits/inf.h: Remove.
29991 * sysdeps/ieee754/bits/inf.h: Likewise.
29992
29993 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29994 bits/huge_vall.h or bits/huge_val_flt128.h.
29995 (HUGE_VAL): Define directly here.
29996 [__USE_ISOC99] (HUGE_VALF): Likewise.
29997 [__USE_ISOC99] (HUGE_VALL): Likewise.
29998 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29999 (HUGE_VAL_F128): Likewise.
30000 * math/Makefile (headers): Remove bits/huge_val.h,
30001 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30002 * bits/huge_val.h: Remove.
30003 * bits/huge_val_flt128.h: Likewise.
30004 * bits/huge_valf.h: Likewise.
30005 * bits/huge_vall.h: Likewise.
30006 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30007 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30008 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30009 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30010 * sysdeps/sh/bits/huge_val.h: Likewise.
30011 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30012 * sysdeps/x86/bits/huge_vall.h: Likewise.
30013
30014 2017-08-31 Florian Weimer <fweimer@redhat.com>
30015
30016 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30017 internal_function.
30018 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30019 Likewise.
30020 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30021 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30022 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30023 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30024 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30025 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30026 * elf/dl-libc.c (dlerror_run): Likewise.
30027 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30028 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30029 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30030 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30031 Likewise.
30032 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30033 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30034 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30035 * elf/dl-profile.c (_dl_start_profile): Likewise.
30036 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30037 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30038 Likewise.
30039 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30040 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30041 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30042 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30043 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30044 (_dl_allocate_tls_storage): Likewise.
30045 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30046 (_dl_check_all_versions): Likewise.
30047 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30048 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30049 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30050 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30051 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30052 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30053 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30054 internal_function from __dl_start.
30055 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30056 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30057 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30058 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30059 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30060 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30061 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30062 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30063 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30064 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30065 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30066 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30067 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30068 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30069 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30070 Likewise.
30071 (struct rtld_global_ro): Remove internal_function from the
30072 _dl_lookup_symbol_x member.
30073 (_dl_symbol_value): Remove. No longer defined anywhere.
30074 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30075 internal_function.
30076 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30077 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30078 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30079 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30080 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30081 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30082 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30083 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30084 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30085 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30086 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30087 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30088
30089 2017-08-31 Florian Weimer <fweimer@redhat.com>
30090
30091 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30092 Remove internal_function.
30093 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30094 Likewise.
30095 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30096 Likewise.
30097
30098 2017-08-31 Florian Weimer <fweimer@redhat.com>
30099
30100 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30101 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30102 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30103
30104 2017-08-31 Florian Weimer <fweimer@redhat.com>
30105
30106 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30107 (__gai_enqueue_request): Remove internal_function.
30108 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30109 (__gai_remove_request, __gai_notify, __gai_notify_only)
30110 (__gai_sigqueue): Likewise.
30111 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30112 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30113 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30114 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30115 Likewise.
30116
30117 2017-08-31 Florian Weimer <fweimer@redhat.com>
30118
30119 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30120 * include/dirent.h (__opendirat, __getdents, __getdents64)
30121 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30122 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30123 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30124 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30125 Likewise.
30126 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30127
30128 2017-08-31 Florian Weimer <fweimer@redhat.com>
30129
30130 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30131 internal_function.
30132 (GETCWD_RETURN_TYPE): Likewise.
30133
30134 2017-08-31 Florian Weimer <fweimer@redhat.com>
30135
30136 * include/time.h (__tz_compute, __strptime_internal): Remove
30137 internal_function.
30138 * time/strptime_l.c (__strptime_internal): Likewise.
30139 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30140
30141 2017-08-31 Florian Weimer <fweimer@redhat.com>
30142
30143 * iconv/gconv.c (__gconv): Remove internal_function.
30144 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30145 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30146 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30147 (__gconv_release_cache): Likewise.
30148 * iconv/gconv_close.c (__gconv_close): Likewise.
30149 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30150 (read_conf_file, __gconv_get_path): Likewise.
30151 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30152 (__gconv_release_step, gen_steps, increment_counter)
30153 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30154 (__gconv_close_transform, free_modules_db): Likewise.
30155 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30156 Likewise.
30157 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30158 (__gconv_find_transform, __gconv_lookup_cache)
30159 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30160 (__gconv_close_transform, __gconv_release_cache)
30161 (__gconv_loaded_object, __gconv_release_shlib)
30162 (__gconv_compare_alias): Likewise.
30163 * iconv/gconv_open.c (__gconv_open): Likewise.
30164 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30165 * iconv/iconvconfig.c (add_module): Likewise.
30166 * intl/dcigettext.c (plural_lookup, guess_category_value)
30167 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30168 * intl/eval-plural.h (plural_eval): Likewise.
30169 * intl/finddomain.c (_nl_find_domain): Likewise.
30170 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30171 (_nl_load_domain, _nl_find_msg): Likewise.
30172 (internal_function): Remove definition.
30173 * intl/loadinfo.h (internal_function): Likewise.
30174 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30175 internal_function.
30176 * intl/localealias.c (internal_function): Remove definition.
30177 (read_alias_file): Remove internal_function.
30178 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30179 * intl/plural-exp.h (internal_function): Remove definition.
30180 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30181 internal_function.
30182 * intl/plural.c: Regenerate.
30183 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30184 * locale/coll-lookup.c (__collidx_table_lookup)
30185 (__collseq_table_lookup): Likewise.
30186 * locale/coll-lookup.h (__collidx_table_lookup)
30187 (__collseq_table_lookup): Likewise.
30188 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30189 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30190 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30191 (_nl_unload_locale): Likewise.
30192 * locale/localeinfo.h (struct __locale_data): Remove
30193 internal_function from cleanup member.
30194 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30195 (_nl_remove_locale, _nl_load_locale_from_archive)
30196 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30197 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30198 (_nl_cleanup_time): Remove internal_function.
30199 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30200 (_nl_parse_alt_digit): Likewise.
30201 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30202 (_nl_select_era_entry): Likewise.
30203 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30204 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30205 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30206 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30207 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30208
30209 2017-08-31 Florian Weimer <fweimer@redhat.com>
30210
30211 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30212 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30213 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30214 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30215 Likewise.
30216 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30217 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30218 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30219 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30220 Likewise.
30221 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30222
30223 2017-08-31 Florian Weimer <fweimer@redhat.com>
30224
30225 * misc/getttyent.c (skip, value): Remove internal_function.
30226 * misc/syslog.c (openlog_internal): Likewise.
30227 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30228
30229 2017-08-31 Florian Weimer <fweimer@redhat.com>
30230
30231 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30232 (__nss_rewrite_field): Remove internal_function.
30233 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30234 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30235 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30236 * nss/nsswitch.c (nss_parse_file, nss_getline)
30237 (nss_parse_service_list, nss_new_service): Likewise.
30238 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30239 * nss/valid_field.c (__nss_valid_field): Likewise.
30240 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30241
30242 2017-08-31 Florian Weimer <fweimer@redhat.com>
30243
30244 * malloc/arena.c (__malloc_fork_lock_parent)
30245 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30246 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30247 internal_function from defintions.
30248 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30249 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30250 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30251 internal_function from declarations.
30252 * malloc/malloc.c (internal_function): Do not define.
30253 (mem2mem_check): Remove internal_function from declaration.
30254 (munmap_chunk, mremap_chunk): Remove internal_function.
30255 * malloc/mtrace.c (tr_where): Likewise.
30256
30257 2017-08-31 Florian Weimer <fweimer@redhat.com>
30258
30259 * include/rpc/pmap_clnt.h (__get_socket): Remove
30260 internal_function.
30261 * sunrpc/auth_des.c (synchronize): Likewise.
30262 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30263 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30264 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30265 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30266 (key_call): Likewise.
30267 * sunrpc/pm_getport.c (__get_socket): Likewise.
30268 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30269 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30270 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30271 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30272 (invalidate): Likewise.
30273 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30274 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30275 (set_input_fragment, get_input_bytes): Likewise.
30276
30277 2017-08-31 Florian Weimer <fweimer@redhat.com>
30278
30279 * malloc/malloc.c (_int_free): Remove locked variable and related
30280 asserts.
30281
30282 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30283
30284 [BZ #22051]
30285 * Makerules (build-module-helper-objlist): Filter out
30286 $(elf-objpfx)sofini.os.
30287 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30288 needed.
30289
30290 2017-08-31 Florian Weimer <fweimer@redhat.com>
30291
30292 * libio/fcloseall.c: Assume weak_alias is defined.
30293 * libio/feof.c: Likewise.
30294 * libio/fileno.c: Likewise.
30295 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30296 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30297 definitions.
30298 (_IO_file_open): Call __open directly.
30299 (_IO_new_file_sync): Assume ESPIPE is defined.
30300 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30301 (_IO_new_file_write): Call __write directly.
30302 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30303 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30304 * libio/genops.c: Assume _LIBC is defined.
30305 (save_for_backup): Remove internal_function.
30306 * libio/getc.c: Assume weak_alias is defined.
30307 * libio/getwc.c: Likewise.
30308 * libio/iofclose.c: Assume _LIBC is defined.
30309 * libio/iofdopen.c: Likewise.
30310 (_IO_fcntl): Remove macro definition.
30311 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30312 Call __fcntl directly.
30313 * libio/iofflush.c: Assume weak_alias is defined.
30314 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30315 defined.
30316 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30317 * libio/iofgets.c: Likewise.
30318 * libio/iofopen.c: Assume _LIBC is defined.
30319 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30320 * libio/iofputs.c: Assume weak_alias is defined.
30321 * libio/iofread.c: Likewise.
30322 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30323 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30324 * libio/ioftell.c: Assume weak_alias is defined.
30325 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30326 * libio/iofwide.c: Assume _LIBC is defined.
30327 (_IO_fwide): Drop SHARED conditional because it is implied by
30328 SHLIB_COMPAT.
30329 * libio/iofwrite.c: Assume weak_alias is defined.
30330 * libio/iogetdelim.c: Likewise.
30331 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30332 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30333 (_IO_getwline): Call __wmemcpy directly.
30334 * libio/iopopen.c: Assume _LIBC is defined.
30335 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30336 (_IO_close): Remove macro definitions.
30337 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30338 _exit directly.
30339 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30340 directly.
30341 * libio/ioputs.c: Assume weak_alias is defined.
30342 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30343 * libio/iosetbuffer.c: Assume weak_alias is defined.
30344 * libio/iosetvbuf.c: Likewise.
30345 * libio/ioungetc.c: Likewise.
30346 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30347 libc_hidden_def, libc_hidden_weak, NULL are defined.
30348 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30349 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30350 defined.
30351 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30352 definitions.
30353 (_IO_old_file_init_internal): Drop SHARED conditional because it
30354 is implied by SHLIB_COMPAT.
30355 (_IO_old_file_fopen): Call __open directly.
30356 (_IO_old_file_sync): Assume ESPIPE is defined.
30357 (_IO_old_file_write): Call __write directly.
30358 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30359 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30360 Call __fcntl directly.
30361 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30362 (_IO_old_fgetpos): Assume EIO is defined.
30363 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30364 (_IO_old_fgetpos64): Assume EIO is defined.
30365 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30366 (_IO_old_fsetpos): Assume EIO is defined.
30367 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30368 (_IO_old_fsetpos64): Assume EIO is defined.
30369 * libio/oldiopopen.c: Assume _LIBC is defined.
30370 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30371 (_IO_close): Remove macro definitions.
30372 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30373 directly.
30374 (_IO_old_proc_close): Call __close, __waitpid directly.
30375 * libio/put.c: Assume weak_alias is defined.
30376 * libio/stdfiles.c: Assume _LIBC is defined.
30377 * libio/stdio.c: Likewise.
30378 * libio/wfileops.c: Likewise.
30379 (_IO_wfile_sync): Assume ESPIPE is defined.
30380 * libio/wgenops.c: Assume _LIBC is defined.
30381 (save_for_wbackup): Remove internal_function.
30382
30383 2017-08-31 Florian Weimer <fweimer@redhat.com>
30384
30385 * malloc/malloc.c (top_check): Change return type to void. Remove
30386 internal_function.
30387 * malloc/hooks.c (top_check): Likewise.
30388 (malloc_check, realloc_check, memalign_check): Adjust.
30389
30390 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30391
30392 [BZ #21457]
30393 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30394 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30395 sigcontext and namespace requirements.
30396 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30397 * sysdeps/m68k/sys/ucontext.h: Likewise.
30398 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30399 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30400 <bits/sigcontext.h>.
30401 (__ctx): Define earlier.
30402 (mcontext_t): Define structure contents rather than using struct
30403 sigcontext.
30404 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30405 __glibc_reserved1 instead of __reserved.
30406 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30407 <bits/sigcontext.h>.
30408 (__ctx): Define earlier.
30409 (mcontext_t): Define structure contents rather than using struct
30410 sigcontext.
30411 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30412 mcontext_t instead of struct sigcontext.
30413 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30414 <bits/sigcontext.h>.
30415 (__ctx): Define earlier.
30416 (mcontext_t): Define structure contents rather than using struct
30417 sigcontext.
30418 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30419 <bits/sigcontext.h>.
30420 (__ctx): Define earlier.
30421 (mcontext_t): Define structure contents rather than using struct
30422 sigcontext.
30423 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30424 mcontext_t instead of struct sigcontext.
30425 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30426 mcontext_t instead of struct sigcontext.
30427 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30428 <bits/sigcontext.h>.
30429 (__ctx): New macro.
30430 (struct __ia64_fpreg_mcontext): New type.
30431 (mcontext_t): Define structure contents rather than using struct
30432 sigcontext.
30433 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30434 (uc_sigmask): Define using __ctx.
30435 (uc_stack): Likewise.
30436 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30437 <bits/sigcontext.h>.
30438 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30439 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30440 <bits/sigcontext.h>.
30441 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30442 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30443 <bits/sigcontext.h>.
30444 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30445 <bits/sigcontext.h>.
30446 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30447 <bits/sigcontext.h>.
30448 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30449 <bits/sigcontext.h>.
30450 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30451 <bits/sigcontext.h>.
30452 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30453 <bits/sigcontext.h>.
30454 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30455 <bits/sigcontext.h>.
30456 (__ctx): Define earlier.
30457 (mcontext_t): Define structure contents rather than using struct
30458 sigcontext.
30459 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30460 <bits/sigcontext.h>. Include <bits/types.h>.
30461 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30462 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30463 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30464 (test-xfail-UNIX98/signal.h/conform): Likewise.
30465 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30466 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30467 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30468 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30469 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30470 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30471 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30472 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30473 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30474
30475 2017-08-30 Florian Weimer <fweimer@redhat.com>
30476
30477 * malloc/dynarray_emplace_enlarge.c
30478 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30479 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30480 * malloc/tst-dynarray.c (test_long_overflow): New function.
30481 (do_test): Call it.
30482
30483 2017-08-30 Florian Weimer <fweimer@redhat.com>
30484
30485 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30486 (set_arena_corrupt): Remove definitions.
30487 (mtrim): Do not check for corrupt arena.
30488 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30489 Likewise.
30490
30491 2017-08-30 Florian Weimer <fweimer@redhat.com>
30492
30493 [BZ #21754]
30494 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30495 check_action.
30496 (ptmalloc_init): Do not set or use check_action.
30497 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30498 call to malloc_printerr. Remove return statement.
30499 (free_check): Likewise. Remove arena unlock.
30500 (top_check): Update comment. Adjust call to malloc_printerr.
30501 Remove heap repair code.
30502 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30503 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30504 (sysmalloc): Adjust call to malloc_printerr.
30505 (munmap_chunk, __libc_realloc): Likewise. Remove return
30506 statement.
30507 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30508 Remove errout label and corresponding gotos.
30509 (_int_free): Likewise. Remove arena unlock.
30510 (do_set_mallopt_check): Do not set check_action.
30511 (malloc_printerr): Adjust parameter list. Do not mark arena as
30512 corrupt.
30513 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30514 comment.
30515 * manual/probes.texi (Memory Allocation Probes): Remove
30516 memory_mallopt_check_action.
30517
30518 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30519
30520 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30521 Use pointer to uint64_t instead of long int for sp.
30522
30523 2017-08-30 Florian Weimer <fweimer@redhat.com>
30524
30525 [BZ #21754]
30526 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30527 without printing a backtrace. Do not leak any information in the
30528 error message.
30529 * manual/memory.texi (Heap Consistency Checking): Update.
30530 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30531
30532 2017-08-30 Florian Weimer <fweimer@redhat.com>
30533
30534 Do not scale NPTL tests with available number of CPUs.
30535 * nptl/tst-cond16.c (count): Set to constant value of 8.
30536 * nptl/tst-cond18.c (count): Likewise.
30537
30538 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30539
30540 [BZ #22035]
30541 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30542 Define to take a second argument that is a macro that
30543 concatentates a suffix, not the suffix itself.
30544 (__CONCAT_d): New macro.
30545 (__CONCAT_f): Likewise.
30546 (__CONCAT_l): Likewise.
30547
30548 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30549
30550 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30551 by child.
30552
30553 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30554 Aurelien Jarno <aurelien@aurel32.net>
30555 Maciej W. Rozycki <macro@imgtec.com>
30556
30557 [BZ #21956]
30558 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30559 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30560 `mips16-syscall6' and `mips16-syscall7'.
30561 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30562 (CFLAGS-mips16-syscall7.c): Remove.
30563 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30564 Remove `__mips16_syscall5', `__mips16_syscall6' and
30565 `__mips16_syscall7'.
30566 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30567 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30568 `__mips_syscall_return'.
30569 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30570 (__mips16_syscall1): Likewise.
30571 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30572 (__mips16_syscall2): Likewise.
30573 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30574 (__mips16_syscall3): Likewise.
30575 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30576 (__mips16_syscall4): Likewise.
30577 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30578 Remove.
30579 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30580 Remove.
30581 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30582 Remove.
30583 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30584 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30585 `__mips16_syscall5'. Remove prototype.
30586 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30587 `__mips16_syscall6'. Remove prototype.
30588 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30589 `__mips16_syscall7'. Remove prototype.
30590 (__nomips16, __mips16_syscall_return): Move to...
30591 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30592 (__nomips16, __mips_syscall_return): ... here.
30593 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30594 `__mips16_syscall_return' to `__mips_syscall_return'.
30595 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30596 `internal_syscall##nr'.
30597 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30598 `internal_syscall##nr'.
30599 (FORCE_FRAME_POINTER): Remove.
30600 (__mips_syscall5): New prototype.
30601 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30602 (__mips_syscall6): New prototype.
30603 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30604 (__mips_syscall7): New prototype.
30605 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30606 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30607 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30608 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30609 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30610 (sysdep_routines): Add libc-do-syscall.
30611 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30612 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30613
30614 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30615
30616 [BZ #21672]
30617 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30618 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30619 (advise_stack_range): New function.
30620 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30621 stack non required to advise_stack_range at allocatestack.c
30622
30623 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30624
30625 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30626
30627 2017-08-29 Florian Weimer <fweimer@redhat.com>
30628
30629 [BZ #22026]
30630 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30631 __end_fct. Mangle __end_fct after setting it to NULL.
30632 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30633 (modules-names, modules-names-tests): Add
30634 tst-gconv-init-failure-mod.
30635 (gconv-modules): New target.
30636 (tst-gconv-init-failure-mod.so): Link against libsupport.
30637 (tst-gconv-init-failure): Depend on gconv-modules,
30638 tst-gconv-init-failure-mod.so.
30639 * iconv/tst-gconv-init-failure-mod.c: New file.
30640 * iconv/tst-gconv-init-failure.c: Likewise.
30641 * iconv/test-gconv-modules: Likewise.
30642
30643 2017-08-29 Florian Weimer <fweimer@redhat.com>
30644
30645 [BZ #22025]
30646 * iconv/gconv_db.c (free_derivation): Remove redundant
30647 parentheses.
30648 (gen_steps): Unconditionally mangle __btowc_fct after
30649 initialization.
30650 (increment_counter): Likewise. Do not call init_fct for internal
30651 modules.
30652
30653 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30654
30655 [BZ #22028]
30656 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30657 (_MSUF_): Remove macro.
30658 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30659 Likewise.
30660 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30661 (__REDIRFROM_X): New macro.
30662 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30663 Likewise.
30664 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30665 (__REDIRTO_X): Likewise.
30666 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30667 arguments.
30668 (__MATH_REDIRCALL_2): Likewise.
30669 (__MATH_REDIRCALL_INTERNAL): Likewise.
30670 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30671 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30672 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30673 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30674 * math/test-finite-macros.c: New file.
30675 * math/Makefile (tests): Add test-finite-macros.
30676 (CFLAGS-test-finite-macros.c): New variable.
30677
30678 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30679 Jeff Law <law@redhat.com>
30680
30681 [BZ #22025]
30682 Mangle NULL pointers in iconv/gconv.
30683 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30684 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30685 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30686 is non-NULL before demangling the end_fct. Check for NULL
30687 end_fct after demangling.
30688 (__gconv_release_step): Demangle the end_fct before checking
30689 it for NULL. Remove assert on __shlibc_handle != NULL.
30690 (gen_steps): Don't check btowc_fct for NULL before mangling.
30691 Demangle init_fct before checking for NULL.
30692 (increment_counter): Likewise.
30693 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30694 end_fct for NULL before mangling.
30695 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30696 for NULL.
30697
30698 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30699
30700 [BZ #21971]
30701 * locale/iso-639.def: add Morisyen.
30702
30703 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30704
30705 [BZ #21930]
30706 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30707 (iszero): New C++ implementation that does not use
30708 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30709 signaling nans are enabled, since __builtin_types_compatible_p
30710 is a C-only feature.
30711 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30712 defined, include ieee754_float128.h for access to the union and
30713 member ieee854_float128.ieee.
30714 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30715 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30716 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30717 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30718 options of test-math-zero on powerpc64le.
30719
30720 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30721
30722 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30723 Change double to float.
30724
30725 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30726
30727 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30728 unconditional.
30729 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30730 conditional code; define contents only for [LIBM_SVID_COMPAT].
30731
30732 2017-08-28 Florian Weimer <fweimer@redhat.com>
30733
30734 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30735 (abi-lp64_be-options): Remove.
30736 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30737 (abi-hard-options): Likewise.
30738 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30739 (abi-o32_hard-options, abi-o32_soft_2008-options)
30740 (abi-o32_hard_2008-options, abi-n32_soft-options)
30741 (abi-n32_hard-options, abi-n32_soft_2008-options)
30742 (abi-n32_hard_2008-options, abi-n64_soft-options)
30743 (abi-n64_hard-options, abi-n64_soft_2008-options)
30744 (abi-n64_hard_2008-options): Likewise.
30745 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30746 (abi-64-v1-options, abi-64-v2-options): Likewise.
30747 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30748 (abi-64-options): Likewise.
30749 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30750 (abi-64-options): Likewise.
30751 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30752 (abi-64-options): Likewise.
30753 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30754 (abi-64-options, abi-x32-options): Likewise.
30755
30756 2017-08-28 Florian Weimer <fweimer@redhat.com>
30757
30758 Store supported list of SYS_* system calls in the source tree.
30759 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30760 (bits/syscall.h): Generate from list file.
30761 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30762 [$(subdir) = misc] (tests): Add tst-syscall-list.
30763 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30764 [$(subdir) = misc] (tst-syscall-list-macros.list)
30765 [$(subdir) = misc] (tst-syscall-list-nr.list)
30766 (tst-syscall-list-sys.list): Helper targets for new
30767 tst-syscall-list test.
30768 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30769 tst-syscall-list.sh.
30770 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30771 target. Do not include bits/syscall.d.
30772 [$(subdir) = misc] (generated): Do not update.
30773 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30774 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30775 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30776 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30777
30778 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30779
30780 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30781 (tst-cxa_atexit, tst-on_exit): Likewise.
30782 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30783 tst-cxa_atexit, and tst-on_exit.
30784 * stdlib/tst-atexit-common.c: New file.
30785 * stdlib/tst-atexit.c: New file.
30786 * stdlib/tst-at_quick_exit.c: New file.
30787 * stdlib/tst-cxa_atexit.c: New file.
30788 * stdlib/tst-on_exit.c: New file.
30789
30790 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30791
30792 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30793 * mach/stack_chk_fail_local.c: New file.
30794 * hurd/stack_chk_fail_local.c: New file.
30795 * mach/Machrules ($(interface-library)-routines): Add
30796 stack_chk_fail_local.
30797 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30798 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30799 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30800 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30801 * hurd/Makefile (CFLAGS-hurdstartup.o,
30802 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30803
30804 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30805
30806 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30807 (index_cpu_*, index_arch_*): Removed.
30808
30809 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30810
30811 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30812 Use uint64_t instead of unsigned long.
30813
30814 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30815
30816 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30817 [__HAVE_DISTINCT_FLOAT128].
30818
30819 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30820 of <bits/math-finite.h>.
30821 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30822 inclusion of <bits/math-finite.h>.
30823 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30824 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30825 __NO_LONG_DOUBLE_MATH].
30826 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30827 (__MATH_REDIRCALL_2): Likewise.
30828 (__MATH_REDIRCALL_INTERNAL): Likewise.
30829 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30830 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30831 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30832
30833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30834 Remove file.
30835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30836 Likewise.
30837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30838 Likewise.
30839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30840 Likewise.
30841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30842 Likewise.
30843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30844 Likewise.
30845 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30846 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30847 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30848 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30850 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30851 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30852 w_sqrtf_compat-ppc32.
30853
30854 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30855
30856 * math/math.h [defined __cplusplus] (issignaling): In the long
30857 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30858 is not defined. Call __issignaling, otherwise.
30859
30860 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30861
30862 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30863 syscall definitions and replace __builtin_expect with __glibc_likely.
30864 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30865 syscall.
30866 (SYSCALL_CANCELLABLE): Removedefinition
30867 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30868 definition.
30869 (PSEUDO_END): Likewise.
30870 [IS_IN (libpthread)] (CENABLE): Likewise.
30871 [IS_IN (libpthread)] (CDISABLE): Likewise.
30872 [IS_IN (libc)] (CENABLE): Likewise.
30873 [IS_IN (libc)] (CENABLE): Likewise.
30874 [IS_IN (librt)] (CDISABLE): Likewise.
30875 [IS_IN (librt)] (CDISABLE): Likewise.
30876 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30877 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30878 definition.
30879 (PSEUDO_END): Likewise.
30880 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30881 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30882 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30883 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30884 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30885 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30886 (CENABLE): Likewise.
30887 (CDISABLE): Likewise.
30888 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30889 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30890 defintion.
30891 (PSEUDO_END): Likewise.
30892 [IS_IN (libpthread)] (CENABLE): Likewise.
30893 [IS_IN (libpthread)] (CDISABLE): Likewise.
30894 [IS_IN (libc)] (CENABLE): Likewise.
30895 [IS_IN (libc)] (CENABLE): Likewise.
30896 [IS_IN (librt)] (CDISABLE): Likewise.
30897 [IS_IN (librt)] (CDISABLE): Likewise.
30898 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30899 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30900 definition.
30901 (PSEUDO_END): Likewise.
30902 [IS_IN (libpthread)] (CENABLE): Likewise.
30903 [IS_IN (libpthread)] (CDISABLE): Likewise.
30904 [IS_IN (libc)] (CENABLE): Likewise.
30905 [IS_IN (libc)] (CENABLE): Likewise.
30906 [IS_IN (librt)] (CDISABLE): Likewise.
30907 [IS_IN (librt)] (CDISABLE): Likewise.
30908 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30909 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30910 definition.
30911 (PSEUDO_END): Likewise.
30912 [IS_IN (libpthread)] (CENABLE): Likewise.
30913 [IS_IN (libpthread)] (CDISABLE): Likewise.
30914 [IS_IN (libc)] (CENABLE): Likewise.
30915 [IS_IN (libc)] (CENABLE): Likewise.
30916 [IS_IN (librt)] (CDISABLE): Likewise.
30917 [IS_IN (librt)] (CDISABLE): Likewise.
30918 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30919 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30920 definition.
30921 (PSEUDO_END): Likewise.
30922 [IS_IN (libpthread)] (CENABLE): Likewise.
30923 [IS_IN (libpthread)] (CDISABLE): Likewise.
30924 [IS_IN (libc)] (CENABLE): Likewise.
30925 [IS_IN (libc)] (CENABLE): Likewise.
30926 [IS_IN (librt)] (CDISABLE): Likewise.
30927 [IS_IN (librt)] (CDISABLE): Likewise.
30928 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30929 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30930 definition.
30931 (PSEUDO_END): Likewise.
30932 [IS_IN (libpthread)] (CENABLE): Likewise.
30933 [IS_IN (libpthread)] (CDISABLE): Likewise.
30934 [IS_IN (libc)] (CENABLE): Likewise.
30935 [IS_IN (libc)] (CENABLE): Likewise.
30936 [IS_IN (librt)] (CDISABLE): Likewise.
30937 [IS_IN (librt)] (CDISABLE): Likewise.
30938 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30939 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30940 definition.
30941 (PSEUDO_END): Likewise.
30942 [IS_IN (libpthread)] (CENABLE): Likewise.
30943 [IS_IN (libpthread)] (CDISABLE): Likewise.
30944 [IS_IN (libc)] (CENABLE): Likewise.
30945 [IS_IN (libc)] (CENABLE): Likewise.
30946 [IS_IN (librt)] (CDISABLE): Likewise.
30947 [IS_IN (librt)] (CDISABLE): Likewise.
30948 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30949 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30950 Remove definition.
30951 (PSEUDO_END): Likewise.
30952 [IS_IN (libpthread)] (CENABLE): Likewise.
30953 [IS_IN (libpthread)] (CDISABLE): Likewise.
30954 [IS_IN (libc)] (CENABLE): Likewise.
30955 [IS_IN (libc)] (CENABLE): Likewise.
30956 [IS_IN (librt)] (CDISABLE): Likewise.
30957 [IS_IN (librt)] (CDISABLE): Likewise.
30958 (SINGLE_THREAD_P): Likewise.
30959 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30960 definition.
30961 (PSEUDO_END): Likewise.
30962 [IS_IN (libpthread)] (CENABLE): Likewise.
30963 [IS_IN (libpthread)] (CDISABLE): Likewise.
30964 [IS_IN (libc)] (CENABLE): Likewise.
30965 [IS_IN (libc)] (CENABLE): Likewise.
30966 [IS_IN (librt)] (CDISABLE): Likewise.
30967 [IS_IN (librt)] (CDISABLE): Likewise.
30968 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30969 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30970 definition.
30971 (PSEUDO_END): Likewise.
30972 [IS_IN (libpthread)] (CENABLE): Likewise.
30973 [IS_IN (libpthread)] (CDISABLE): Likewise.
30974 [IS_IN (libc)] (CENABLE): Likewise.
30975 [IS_IN (libc)] (CENABLE): Likewise.
30976 [IS_IN (librt)] (CDISABLE): Likewise.
30977 [IS_IN (librt)] (CDISABLE): Likewise.
30978 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30979 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30980 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30981 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30982 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30983 definition.
30984 (PSEUDO_END): Likewise.
30985 [IS_IN (libpthread)] (CENABLE): Likewise.
30986 [IS_IN (libpthread)] (CDISABLE): Likewise.
30987 [IS_IN (libc)] (CENABLE): Likewise.
30988 [IS_IN (libc)] (CENABLE): Likewise.
30989 [IS_IN (librt)] (CDISABLE): Likewise.
30990 [IS_IN (librt)] (CDISABLE): Likewise.
30991 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30993 definition.
30994 (PSEUDO_END): Likewise.
30995 [IS_IN (libpthread)] (CENABLE): Likewise.
30996 [IS_IN (libpthread)] (CDISABLE): Likewise.
30997 [IS_IN (libc)] (CENABLE): Likewise.
30998 [IS_IN (libc)] (CENABLE): Likewise.
30999 [IS_IN (librt)] (CDISABLE): Likewise.
31000 [IS_IN (librt)] (CDISABLE): Likewise.
31001 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31002 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31003 definition.
31004 (PSEUDO_END): Likewise.
31005 [IS_IN (libpthread)] (CENABLE): Likewise.
31006 [IS_IN (libpthread)] (CDISABLE): Likewise.
31007 [IS_IN (libc)] (CENABLE): Likewise.
31008 [IS_IN (libc)] (CENABLE): Likewise.
31009 [IS_IN (librt)] (CDISABLE): Likewise.
31010 [IS_IN (librt)] (CDISABLE): Likewise.
31011 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31014 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31015 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31016 definition.
31017 (PSEUDO_END): Likewise.
31018 [IS_IN (libpthread)] (CENABLE): Likewise.
31019 [IS_IN (libpthread)] (CDISABLE): Likewise.
31020 [IS_IN (libc)] (CENABLE): Likewise.
31021 [IS_IN (libc)] (CENABLE): Likewise.
31022 [IS_IN (librt)] (CDISABLE): Likewise.
31023 [IS_IN (librt)] (CDISABLE): Likewise.
31024 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31025 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31026 definition.
31027 (PSEUDO_END): Likewise.
31028 [IS_IN (libpthread)] (CENABLE): Likewise.
31029 [IS_IN (libpthread)] (CDISABLE): Likewise.
31030 [IS_IN (libc)] (CENABLE): Likewise.
31031 [IS_IN (libc)] (CENABLE): Likewise.
31032 [IS_IN (librt)] (CDISABLE): Likewise.
31033 [IS_IN (librt)] (CDISABLE): Likewise.
31034 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31035
31036 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31037
31038 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31039
31040 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31041
31042 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31043
31044 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31045
31046 [BZ #21982]
31047 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31048 middle and outer with size_t instead of int. Repleace %d and
31049 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31050 "MAX (outer, nchars - 64)" to support unsigned outer and
31051 nchars. Also exit loop when outer == 0.
31052
31053 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31054
31055 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31056 * include/signal.h (__sigsuspend_nocancel): Likewise.
31057 * include/time.h (__nanosleep_nocancel): Likewise.
31058 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31059 * login/utmp_file.c: Include non cancellable syscall header.
31060 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31061 prototype.
31062
31063 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31064
31065 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31066 .byte sequences with AVX512F instructions.
31067 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31068 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31069 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31071 Likewise.
31072 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31073 Likewise.
31074
31075 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31076 Steve Ellcey <sellcey@cavium.com>
31077
31078 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31079 Use PTR_REG macro in cmp instruction.
31080
31081 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31082
31083 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31084 Change the return type of the ifunc resolver to match the return
31085 type of the target function.
31086
31087 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31088
31089 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31090 (preadv64): Likewise.
31091 (pwrite64(: Likewise.
31092 (pwritev64): Likewise.
31093
31094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31095 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31096 (LOAD_ARGS_0): Likewise.
31097 (LOAD_ARGS_1): Likewise.
31098 (LOAD_ARGS_2): Likewise.
31099 (LOAD_ARGS_3): Likewise.
31100 (LOAD_ARGS_4): Likewise.
31101 (LOAD_ARGS_5): Likewise.
31102 (LOAD_ARGS_6): Likewise.
31103 (LOAD_REGS_0): Likewise.
31104 (LOAD_REGS_1): Likewise.
31105 (LOAD_REGS_2): Likewise.
31106 (LOAD_REGS_3): Likewise.
31107 (LOAD_REGS_4): Likewise.
31108 (LOAD_REGS_5): Likewise.
31109 (LOAD_REGS_6): Likewise.
31110 (ASM_ARGS_0): Likewise.
31111 (ASM_ARGS_1): Likewise.
31112 (ASM_ARGS_2): Likewise.
31113 (ASM_ARGS_3): Likewise.
31114 (ASM_ARGS_4): Likewise.
31115 (ASM_ARGS_5): Likewise.
31116 (ASM_ARGS_6): Likewise.
31117 (LOAD_ARGS_TYPES_1): Likewise.
31118 (LOAD_ARGS_TYPES_2): Likewise.
31119 (LOAD_ARGS_TYPES_3): Likewise.
31120 (LOAD_ARGS_TYPES_4): Likewise.
31121 (LOAD_ARGS_TYPES_5): Likewise.
31122 (LOAD_ARGS_TYPES_6): Likewise.
31123 (LOAD_REGS_TYPES_1): Likewise.
31124 (LOAD_REGS_TYPES_2): Likewise.
31125 (LOAD_REGS_TYPES_3): Likewise.
31126 (LOAD_REGS_TYPES_4): Likewise.
31127 (LOAD_REGS_TYPES_5): Likewise.
31128 (LOAD_REGS_TYPES_6): Likewise.
31129 (TYPEFY): New define.
31130 (ARGIFY): Likewise.
31131 (internal_syscall0): Likewise.
31132 (internal_syscall1): Likewise.
31133 (internal_syscall2): Likewise.
31134 (internal_syscall3): Likewise.
31135 (internal_syscall4): Likewise.
31136 (internal_syscall5): Likewise.
31137 (internal_syscall6): Likewise.
31138 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31139 (INTERNAL_SYSCALL_NCS): Remove define.
31140 (internal_syscall1): Add define.
31141
31142 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31143
31144 * math/w_remainder_compat.c: Remove duplicate inclusion of
31145 math-svid-compat.h.
31146 * math/w_remainderf_compat.c: Likewise.
31147 * math/w_remainderl_compat.c: Likewise.
31148
31149 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31150
31151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31152
31153 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31154
31155 [BZ #21684]
31156 * math/tgmath.h (__floating_type): Simplify definitions.
31157 (__real_integer_type): New macro.
31158 (__complex_integer_type): Likewise.
31159 (__expr_is_real): Likewise.
31160 (__tgmath_real_type_sub): Update comment to describe handling of
31161 complex types.
31162 (__tgmath_complex_type_sub): New macro.
31163 (__tgmath_complex_type): Likewise.
31164 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31165 (__TGMATH_CF128): Use __expr_is_real.
31166 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31167 __expr_is_real.
31168 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31169 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31170 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31171 integer types.
31172
31173 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31174
31175 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31176 macro.
31177 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31178 alias.
31179 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31180 Likewise.
31181
31182 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31183 nanosleep_not_cancel with __nanosleep_nocancel.
31184 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31185 (__nanosleep_nocancel): New macro.
31186 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31187 function.
31188 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31189 macro.
31190 (__nanosleep_nocancel): New prototype.
31191
31192 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31193 pause_not_cancel with __pause_nocancel.
31194 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31195 (__pause_nocancel): New macro.
31196 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31197 macro.
31198 (__pause_nocancel): New prototype.
31199 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31200
31201 2017-08-22 Martin Sebor <msebor@redhat.com>
31202
31203 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31204 to return a pointer to the same type as the target function.
31205
31206 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31207
31208 [BZ #18822]
31209 [BZ #21986]
31210 * include/printf.h (__printf_fphex): Add attribute_hidden.
31211 (__guess_grouping): New prototype.
31212 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31213 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31214 libc_hidden_proto and libc_hidden_def.
31215 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31216 (__vstrfmon_l): Remove the third argument passed to
31217 __guess_grouping.
31218
31219 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31220
31221 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31222 definition for issignaling that does not rely on __MATH_TG,
31223 since __MATH_TG uses __builtin_types_compatible_p, which is only
31224 available in C mode.
31225 (CFLAGS-test-math-issignaling.cc): New variable.
31226 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31227 * math/test-math-issignaling.cc: New test for C++ implementation
31228 of type-generic issignaling.
31229 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31230 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31231 options of test-math-issignaling on powerpc64le.
31232
31233 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31234
31235 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31236 building libc.a.
31237 (hidden_proto): Likewise.
31238 (hidden_tls_proto): Likewise.
31239 (__hidden_proto): Likewise.
31240
31241 2017-08-22 Florian Weimer <fweimer@redhat.com>
31242
31243 math: Statically link tests of internal functionality.
31244 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31245 atest-exp2.
31246 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31247 (gmp-objs): Remove assignment.
31248 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31249
31250 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31251
31252 [BZ #21987]
31253 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31254 and copy to ...
31255 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31256 ... here.
31257 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31258 ... and here.
31259
31260 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31261 variable definitions above inclusion of ../Rules.
31262
31263 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31264
31265 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31266 case calling __builtin_unreachable.
31267
31268 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31269
31270 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31271 __waitpid_nocancel.
31272 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31273 (__waitpid_nocancel): New macro.
31274 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31275 macro.
31276 (__waitpid_nocancel): Replace macro with a function.
31277 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31278 function.
31279
31280 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31281 __fcntl_nocancel.
31282 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31283 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31284
31285 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31286 __writev_nocancel_nostatus.
31287 (write_call_graph): Likewise.
31288 (write_bb_counts): Likewise.
31289 * resolv/herror.c (herror): Likewise.
31290 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31291 macro.
31292 (__writev_nocancel_nostatus): New macro.
31293 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31294 Remove macro.
31295 (__writev_nocancel_nostatus): New function.
31296
31297 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31298
31299 Revert:
31300 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31301
31302 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31303 building libc.a.
31304 (hidden_proto): Likewise.
31305 (hidden_tls_proto): Likewise.
31306 (__hidden_proto): Likewise.
31307
31308 [BZ #21973]
31309 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31310 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31312 Likewise.
31313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31314 Likewise.
31315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31316 Likewise.
31317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31318 Likewise.
31319 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31320 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31321 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31322 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31323 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31324 GLIBC_2.0 sqrtl symbol.
31325
31326 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31327 [__USE_MISC] (_LIB_VERSION): Likewise.
31328 [__USE_MISC] (struct exception): Likewise.
31329 [__USE_MISC] (matherr): Likewise.
31330 [__USE_MISC] (DOMAIN): Likewise.
31331 [__USE_MISC] (SING): Likewise.
31332 [__USE_MISC] (OVERFLOW): Likewise.
31333 [__USE_MISC] (UNDERFLOW): Likewise.
31334 [__USE_MISC] (TLOSS): Likewise.
31335 [__USE_MISC] (PLOSS): Likewise.
31336 [__USE_MISC] (HUGE): Likewise.
31337 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31338 * math/math-svid-compat.h: New file.
31339 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31340 and matherrl.
31341 * include/math.h [!_ISOMAC] (__matherr): Remove.
31342 * manual/arith.texi (FP Exceptions): Do not document matherr.
31343 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31344 (tests-internal): New variable.
31345 (install-lib): Do not add libieee.a.
31346 (non-lib.a): Likewise.
31347 (extra-objs): Do not add libieee.a and ieee-math.o.
31348 (CPPFLAGS-s_lib_version.c): Remove variable.
31349 ($(objpfx)libieee.a): Remove rule.
31350 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31351 * math/ieee-math.c: Remove.
31352 * math/libm-test-support.c (matherr): Remove.
31353 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31354 and license notices. Include <math-svid-compat.h> and
31355 <shlib-compat.h>.
31356 (matherr): Undefine as macro. Use compat_symbol_reference.
31357 (_LIB_VERSION): Likewise.
31358 * math/test-matherr-2.c: New file.
31359 * math/test-matherr-3.c: Likewise.
31360 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31361 declaration.
31362 (__kernel_standard_f): Likewise.
31363 (__kernel_standard_l): Likewise.
31364 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31365 <math_private.h>. Include <math-svid-compat.h>.
31366 (_LIB_VERSION): Undefine as macro.
31367 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31368 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31369 [LIBM_SVID_COMPAT], use compat_symbol.
31370 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31371 <math_private.h>. Include <math-svid-compat.h>.
31372 (matherr): Undefine as macro.
31373 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31374 compat_symbol.
31375 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31376 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31377 compat_symbol_reference.
31378 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31379 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31380 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31381 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31382 (MATHERR_D): Remove declaration.
31383 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31384 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31385 [LIBM_BUILD] (pmatherrf): Likewise.
31386 [LIBM_BUILD] (pmatherr): Likewise.
31387 [LIBM_BUILD] (pmatherrl): Likewise.
31388 (DOMAIN): Likewise.
31389 (SING): Likewise.
31390 (OVERFLOW): Likewise.
31391 (UNDERFLOW): Likewise.
31392 (TLOSS): Likewise.
31393 (PLOSS): Likewise.
31394 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31395 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31396 compat_symbol.
31397 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31398 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31399 compat_symbol.
31400 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31401 * math/w_acos_compat.c: Likewise.
31402 * math/w_acosf_compat.c: Likewise.
31403 * math/w_acosh_compat.c: Likewise.
31404 * math/w_acoshf_compat.c: Likewise.
31405 * math/w_acoshl_compat.c: Likewise.
31406 * math/w_acosl_compat.c: Likewise.
31407 * math/w_asin_compat.c: Likewise.
31408 * math/w_asinf_compat.c: Likewise.
31409 * math/w_asinl_compat.c: Likewise.
31410 * math/w_atan2_compat.c: Likewise.
31411 * math/w_atan2f_compat.c: Likewise.
31412 * math/w_atan2l_compat.c: Likewise.
31413 * math/w_atanh_compat.c: Likewise.
31414 * math/w_atanhf_compat.c: Likewise.
31415 * math/w_atanhl_compat.c: Likewise.
31416 * math/w_cosh_compat.c: Likewise.
31417 * math/w_coshf_compat.c: Likewise.
31418 * math/w_coshl_compat.c: Likewise.
31419 * math/w_exp10_compat.c: Likewise.
31420 * math/w_exp10f_compat.c: Likewise.
31421 * math/w_exp10l_compat.c: Likewise.
31422 * math/w_exp2_compat.c: Likewise.
31423 * math/w_exp2f_compat.c: Likewise.
31424 * math/w_exp2l_compat.c: Likewise.
31425 * math/w_fmod_compat.c: Likewise.
31426 * math/w_fmodf_compat.c: Likewise.
31427 * math/w_fmodl_compat.c: Likewise.
31428 * math/w_hypot_compat.c: Likewise.
31429 * math/w_hypotf_compat.c: Likewise.
31430 * math/w_hypotl_compat.c: Likewise.
31431 * math/w_j0_compat.c: Likewise.
31432 * math/w_j0f_compat.c: Likewise.
31433 * math/w_j0l_compat.c: Likewise.
31434 * math/w_j1_compat.c: Likewise.
31435 * math/w_j1f_compat.c: Likewise.
31436 * math/w_j1l_compat.c: Likewise.
31437 * math/w_jn_compat.c: Likewise.
31438 * math/w_jnf_compat.c: Likewise.
31439 * math/w_jnl_compat.c: Likewise.
31440 * math/w_lgamma_main.c: Likewise.
31441 * math/w_lgamma_r_compat.c: Likewise.
31442 * math/w_lgammaf_main.c: Likewise.
31443 * math/w_lgammaf_r_compat.c: Likewise.
31444 * math/w_lgammal_main.c: Likewise.
31445 * math/w_lgammal_r_compat.c: Likewise.
31446 * math/w_log10_compat.c: Likewise.
31447 * math/w_log10f_compat.c: Likewise.
31448 * math/w_log10l_compat.c: Likewise.
31449 * math/w_log2_compat.c: Likewise.
31450 * math/w_log2f_compat.c: Likewise.
31451 * math/w_log2l_compat.c: Likewise.
31452 * math/w_log_compat.c: Likewise.
31453 * math/w_logf_compat.c: Likewise.
31454 * math/w_logl_compat.c: Likewise.
31455 * math/w_pow_compat.c: Likewise.
31456 * math/w_powf_compat.c: Likewise.
31457 * math/w_powl_compat.c: Likewise.
31458 * math/w_remainder_compat.c: Likewise.
31459 * math/w_remainderf_compat.c: Likewise.
31460 * math/w_remainderl_compat.c: Likewise.
31461 * math/w_scalb_compat.c: Likewise.
31462 * math/w_scalbf_compat.c: Likewise.
31463 * math/w_scalbl_compat.c: Likewise.
31464 * math/w_sinh_compat.c: Likewise.
31465 * math/w_sinhf_compat.c: Likewise.
31466 * math/w_sinhl_compat.c: Likewise.
31467 * math/w_sqrt_compat.c: Likewise.
31468 * math/w_sqrtf_compat.c: Likewise.
31469 * math/w_sqrtl_compat.c: Likewise.
31470 * math/w_tgamma_compat.c: Likewise.
31471 * math/w_tgammaf_compat.c: Likewise.
31472 * math/w_tgammal_compat.c: Likewise.
31473 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31474 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31475 * sysdeps/ieee754/k_standard.c: Likewise.
31476 * sysdeps/ieee754/k_standardf.c: Likewise.
31477 * sysdeps/ieee754/k_standardl.c: Likewise.
31478 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31479 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31480 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31485 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31486 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31488 Likewise.
31489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31490 Likewise.
31491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31493 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31494 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31495
31496 2017-08-21 Florian Weimer <fweimer@redhat.com>
31497
31498 [BZ #21864]
31499 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31500 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31501 Move before inclusion of ../Rules.
31502
31503 2017-08-21 Florian Weimer <fweimer@redhat.com>
31504
31505 [BZ #21972]
31506 * assert/assert.h (assert): Use static_cast (bool) for C++.
31507 Use the ternary operator in the warning branch for GNU C.
31508 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31509 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31510 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31511 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31512 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31513
31514 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31515
31516 [BZ #18822]
31517 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31518 (__syscall_clock_gettime): Add attribute_hidden.
31519 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31520 (__start_context): Likewise.
31521
31522 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31523
31524 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31525 building libc.a.
31526 (hidden_proto): Likewise.
31527 (hidden_tls_proto): Likewise.
31528 (__hidden_proto): Likewise.
31529
31530 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31531
31532 * include/libc-symbols.h (attribute_hidden): Enable hidden
31533 visibility in libc.a compiled with PIE.
31534
31535 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 [BZ #18822]
31538 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31539 Add attribute_hidden.
31540
31541 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31542
31543 [BZ #21864]
31544 * Makerules (all-nonlib): Add $(others-extras).
31545 * catgets/Makefile (others-extras): New.
31546 * elf/Makefile (others-extras): Likewise.
31547 * nss/Makefile (others-extras): Likewise.
31548
31549 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31550
31551 [BZ #18822]
31552 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31553 * elf/dl-open.c: Include <libc-internal.h>.
31554 (__libc_multiple_libcs): Removed.
31555 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31556 <hp-timing.h>.
31557 * include/libc-internal.h (__libc_multiple_libcs): New.
31558 * misc/sbrk.c: Include <libc-internal.h>.
31559 (__libc_multiple_libcs): Removed.
31560
31561 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31562
31563 [BZ #18822]
31564 * grp/initgroups.c (__nss_group_database): Removed.
31565 (__nss_initgroups_database): Likewise.
31566 * nscd/gai.c (__nss_hosts_database): Likewise.
31567 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31568 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31569 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31570 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31571 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31572 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31573 attribute_hidden.
31574 * nss/nsswitch.c (__nss_database_custom): Define only if
31575 USE_NSCD is defined.
31576 (__nss_configure_lookup): Use __nss_database_custom only if
31577 USE_NSCD is defined.
31578 * nss/nsswitch.h (__nss_database_custom): Declare only if
31579 USE_NSCD is defined. Add attribute_hidden.
31580 (__nss_setent): Add attribute_hidden.
31581 (__nss_endent): Likewise.
31582 (__nss_getent_r): Likewise.
31583 (__nss_getent): Likewise.
31584 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31585
31586 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31587
31588 [BZ #18822]
31589 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31590 libc_hidden_proto and libc_hidden_def.
31591
31592 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31593
31594 [BZ #18822]
31595 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31596 Add libc_hidden_proto.
31597 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31598 Add libc_hidden_def.
31599
31600 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31601
31602 [BZ #21974]
31603 * gmon/Makefile (routines): Remove bb_init_func and
31604 bb_exit_func.
31605 (elide-routines.os): Removed.
31606 * gmon/bb_exit_func.c: Likewise.
31607 * gmon/bb_init_func.c: Likewise.
31608 * include/sys/gmon.h (__bb): Likewise.
31609 (__bb_init_func): Likewise.
31610 (__bb_exit_func): Likewise.
31611 * sysdeps/alpha/bb_init_func.S: Likewise.
31612
31613 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31614
31615 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31616 * include/setjmp.h (____longjmp_chk): Here. Add
31617 attribute_hidden.
31618
31619 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31620
31621 [BZ #18822]
31622 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31623 attribute_hidden.
31624 (__strspn_sse2): Likewise.
31625
31626 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31627
31628 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31629 (close_not_cancel_no_status): Likewise.
31630 (__close_nocancel): New macro.
31631 (__close_nocancel_nostatus): Likewise.
31632 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31633 macro.
31634 (close_not_cancel): Likewise.
31635 (close_not_cancel_no_status): Likewise.
31636 (__close_nocancel): New prototype.
31637 (__close_nocancel_nostatus): New function.
31638 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31639 * catgets/open_catalog.c (__open_catalog): Replace
31640 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31641 * gmon/gmon.c (write_gmon): Likewise.
31642 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31643 * intl/loadmsgcat.c (close): Likewise.
31644 * io/ftw.c (open_dir_stream): Likewise.
31645 (ftw_startup): Likewise.
31646 * libio/fileops.c (_IO_file_open): Likewise.
31647 (_IO_file_close_mmap): Likewise.
31648 (_IO_file_close): Likewise.
31649 * libio/iopopen.c (_IO_dup2): Likewise.
31650 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31651 * locale/loadlocale.c (_nl_load_locale): Likewise.
31652 * login/utmp_file.c (pututline_file): Likewise.
31653 (endutent_file): Likewise.
31654 * misc/daemon.c (daemon): Likewise.
31655 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31656 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31657 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31658 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31659 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31660 * nscd/nscd_helper.c (open_socket): Likewise.
31661 (__nscd_open_socket): Likewise.
31662 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31663 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31664 (__nscd_innetgr): Likewise.
31665 * nss/nss_db/db-open.c (internal_setent): Likewise.
31666 * resolv/res-close.c (__res_iclose): Likewise.
31667 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31668 * sysdeps/posix/closedir.c (__closedir): Likewise.
31669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31670 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31671 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31672 (opendir_tail): Likewise.
31673 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31674 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31675 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31676 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31677 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31678 (gethostid): Likewise.
31679 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31681 Likewise.
31682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31683 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31684 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31685 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31686 Likewise.
31687 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31688 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31689 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31690 Likewise.
31691 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31692 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31693 Likewise.
31694 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31695 Likewise.
31696 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31697 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31698 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31699 __close_nocancel.
31700
31701 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31702 (openat_not_cancel_3): Likewise.
31703 (openat64_not_cancel_3): Likewise).
31704 (openat_not_cancel_3): Likewise).
31705 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31706 macro.
31707 (openat_not_cancel_3): Likewise.
31708 (openat64_not_cancel): Likewise.
31709 (openat64_not_cancel_3): Likewise.
31710 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31711 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31712 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31713 __open{64}_nocancel.
31714 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31715 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31716 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31717
31718 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31719
31720 [BZ #18822]
31721 * include/argz.h (__argz_create_sep): New function prototype.
31722 (__argz_append): Likewise.
31723 (__argz_add): Likewise.
31724 (__argz_add_sep): Likewise.
31725 (__argz_delete): Likewise.
31726 (__argz_insert): Likewise.
31727 (__argz_replace): Likewise.
31728 * string/argz.h (__argz_create_sep): Removed.
31729 (__argz_append): Likewise.
31730 (__argz_add): Likewise.
31731 (__argz_add_sep): Likewise.
31732 (__argz_delete): Likewise.
31733 (__argz_insert): Likewise.
31734 (__argz_replace): Likewise.
31735
31736 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31739 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31740 (GNU_PROPERTY_STACK_SIZE): Likewie.
31741 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31742 (GNU_PROPERTY_LOPROC): Likewise.
31743 (GNU_PROPERTY_HIPROC): Likewise.
31744 (GNU_PROPERTY_LOUSER): Likewise.
31745 (GNU_PROPERTY_HIUSER): Likewise.
31746 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31747 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31748 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31749 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31750 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31751 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31752 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31753 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31754 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31755 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31756 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31757 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31758 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31759 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31760 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31761 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31762 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31763 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31764 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31765 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31766 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31767 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31768 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31769
31770 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31771
31772 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31773 in C++ mode.
31774
31775 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31776
31777 [BZ #21930]
31778 * math/math.h (isinf): Check if in C or C++ mode before using
31779 __builtin_types_compatible_p, since this is a C mode feature.
31780
31781 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31782
31783 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31784 (__write_nocancel): New macro.
31785 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31786 Rewrite as a function prototype.
31787 (write_not_cancel): Remove macro.
31788 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31789 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31790 (write_gmon): Likewise.
31791 * libio/fileops.c (_IO_new_file_write): Likewise.
31792 * login/utmp_file.c (pututline_file): Likewise.
31793 (updwtmp_file): Likewise.
31794 * stdio-common/psiginfo.c (psiginfo): Likewise.
31795 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31796 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31797 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31798 Likewise.
31799 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31800 Likewise.
31801
31802 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31803 (__read_nocancel): New macro.
31804 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31805 __read_nocancel.
31806 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31807 macro.
31808 (__read_nocancel): New prototype.
31809 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31810 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31811 with __read_nocancel.
31812 * intl/loadmsgcat.c (read): Likewise.
31813 * libio/fileops.c (_IO_file_read): Likewise.
31814 * locale/loadlocale.c (_nl_load_locale): Likewise.
31815 * login/utmp_file.c (getutent_r_file): Likewise.
31816 (internal_getut_r): Likewise.
31817 (getutline_r_file): Likewise.
31818 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31819 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31820 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31822 Likewise.
31823 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31824 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31825 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31826 Likewise.
31827 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31828 Likewise.
31829 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31830 Likewise.
31831 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31832 Likewise.
31833 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31834
31835 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31836
31837 [BZ #21966]
31838 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31839 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31840 usable.
31841
31842 2017-08-17 DJ Delorie <dj@redhat.com>
31843
31844 * bug17079.c: Update to new test harness.
31845 * test-digits-dots.c: Likewise.
31846 * test-netdb.c: Likewise.
31847 * tst-field.c: Likewise.
31848 * tst-nss-getpwent.c: Likewise.
31849 * tst-nss-static.c: Likewise.
31850 * tst-nss-test1.c: Likewise.
31851 * tst-nss-test2.c: Likewise.
31852 * tst-nss-test3.c: Likewise.
31853 * tst-nss-test4.c: Likewise.
31854 * tst-nss-test5.c: Likewise.
31855
31856 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31857
31858 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31859 (open_not_cancel_2): Likewise.
31860 (open_nocancel): New macro.
31861 (open64_nocancel): Likewise.
31862 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31863 (open_not_cancel_2): Likewise.
31864 (__open_nocancel): New prototype.
31865 (__open64_nocancel): Likewise.
31866 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31867 __open_nocancel.
31868 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31869 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31870 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31871 with __open_nocancel.
31872 * csu/check_fds.c (check_one_fd): Likewise.
31873 * gmon/gmon.c (write_gmon): Likewise.
31874 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31875 * intl/loadmsgcat.c (open): Likewise.
31876 * libio/fileops.c (_IO_file_open): Likewise.
31877 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31878 * locale/loadlocale.c (_nl_load_locale): Likewise.
31879 * login/utmp_file.c (setutent_file): Likewise.
31880 * misc/daemon.c (daemon): Likewise.
31881 * nss/nss_db/db-open.c (internal_setent): Likewise.
31882 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31883 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31884 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31885 (__opendir): Likewise.
31886 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31888 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31889 (gethostid): Likewise.
31890 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31892 Likewise.
31893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31894 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31895 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31896 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31897 Likewise.
31898 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31899 Likewise.
31900 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31901 Likewise.
31902 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31903 Likewise.
31904 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31905 Likewise.
31906 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31907 Likewise.
31908 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31910
31911 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31912
31913 * benchtests/bench-skeleton.c (main): Add support for
31914 latency benchmarking.
31915 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31916
31917 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31918
31919 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31920 the startup object.
31921
31922 2017-08-17 Florian Weimer <fweimer@redhat.com>
31923
31924 * include/sys/socket.h (__opensock): Remove internal_function.
31925 * socket/opensock.c (__opensock): Likewise.
31926 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31927
31928 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31929
31930 [BZ #21944]
31931 * signal/bits/types/__sigval_t.h: New file.
31932 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31933 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31934 and define sigval_t using __sigval_t.
31935 * include/bits/types/__sigval_t.h: New file.
31936 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31937 instead of <bits/types/__sigval_t.h>.
31938 (struct sigevent): Use __sigval_t instead of sigval_t.
31939 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31940 instead of <bits/types/__sigval_t.h>.
31941 (siginfo_t): Use __sigval_t instead of sigval_t.
31942 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31943 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31944 (struct sigevent): Use __sigval_t instead of sigval_t.
31945 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31946 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31947 (siginfo_t): Use __sigval_t instead of sigval_t.
31948 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31949
31950 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31951
31952 * NEWS: Remove "[Add new features here]" for 2.27.
31953
31954 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31955
31956 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31957 libc.so.
31958
31959 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31960
31961 * NEWS: Mention x86-64 FMA optimization.
31962
31963 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31964
31965 [BZ #21912]
31966 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31967 Add e_expf-fma.
31968 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31969 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31970 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31971
31972 2017-08-16 Andreas Schwab <schwab@suse.de>
31973
31974 [BZ #16750]
31975 CVE-2009-5064
31976 * elf/ldd.bash.in: Never run file directly.
31977
31978 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31979
31980 [BZ #21955]
31981 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31982 (L(SP_INF_0)): Likewise.
31983
31984 2017-08-15 Florian Weimer <fweimer@redhat.com>
31985
31986 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31987 run-built-tests.
31988
31989 2017-08-15 Florian Weimer <fweimer@redhat.com>
31990
31991 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31992 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31993 BROKEN_THREAD_SIGNALS code.
31994 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31995 request_list): Remove caller_pid member used for
31996 BROKEN_THREAD_SIGNALS.
31997 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31998 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31999 Remove BROKEN_THREAD_SIGNALS support.
32000 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32001 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32002
32003 2017-08-15 Florian Weimer <fweimer@redhat.com>
32004
32005 * gmon/Makefile (tests): Add tst-gmon.
32006 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32007 Set.
32008 (tests-special): Add tst-gmon-prof.out.
32009 (tst-gmon.out): Depend on clean-tst-gmon-data.
32010 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32011 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32012 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32013 startup object.
32014 * aclocal.m4 (GPROF): Set and substitute.
32015 * config.amke.in (GPROF): Set.
32016 * configure: Regenerate.
32017
32018 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32019
32020 * elf/elf.h A (NT_PPC_TAR): New macro.
32021 (NT_PPC_PPR): Likewise.
32022 (NT_PPC_DSCR): Likewise.
32023 (NT_PPC_EBB): Likewise.
32024 (NT_PPC_PMU): Likewise.
32025 (NT_PPC_TM_CGPR): Likewise.
32026 (NT_PPC_TM_CFPR): Likewise.
32027 (NT_PPC_TM_CVMX): Likewise.
32028 (NT_PPC_TM_CVSX): Likewise.
32029 (NT_PPC_TM_SPR): Likewise.
32030 (NT_PPC_TM_CTAR): Likewise.
32031 (NT_PPC_TM_CPPR): Likewise.
32032 (NT_PPC_TM_CDSCR): Likewise.
32033
32034 2017-08-15 Florian Weimer <fweimer@redhat.com>
32035
32036 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32037 regparm (2) instead of internal_function.
32038 (_MCOUNT_DECL): Adjust.
32039
32040 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32041
32042 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32043 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32044
32045 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32046
32047 * conform/data/sys/wait.h-data (si_value): Do not expect for
32048 XPG42.
32049
32050 2017-08-14 Florian Weimer <fweimer@redhat.com>
32051
32052 [BZ #21962]
32053 NSS: Create stubs for accidentally exported lookup functions.
32054 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32055 Remove declaration.
32056 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32057 (ether_hostton): Call __nss_ethers_lookup2 instead.
32058 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32059 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32060 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32061 (setup): Call __nss_netgroup_lookup2 instead.
32062 * nss/Makefile (routines): Add compat-lookup.
32063 * nss/Versions (GLIBC_2.27): Add symbol version.
32064 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32065 (DB_COMPAT_FCT): Remove.
32066 * nss/compat-lookup.c: New file.
32067 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32068 from databases.def.
32069 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32070 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32071 (netname2user): Call __nss_publickey_lookup2 instead.
32072 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32073 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32074 instead.
32075
32076 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32077 Sergei Trofimovich <slyfox@inbox.ru>
32078
32079 [BZ #21908]
32080 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32081 Rename to MMAP2_PAGE_UNIT.
32082 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32083 __OFF_T_MATCHES_OFF64_T is not defined.
32084 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32085 uint64_t.
32086 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32087 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32088
32089 2017-08-14 Florian Weimer <fweimer@redhat.com>
32090
32091 i386: Do not set internal_function.
32092 * config.h.in (USE_REGPARMS, internal_function): Remove.
32093 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32094 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32095
32096 2017-08-14 Florian Weimer <fweimer@redhat.com>
32097
32098 * elf/dl-init.c (_dl_init): Remove internal_function.
32099 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32100 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32101
32102 2017-08-14 Florian Weimer <fweimer@redhat.com>
32103
32104 * elf/rtld.c (_dl_start): Remove internal_function.
32105 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32106 _dl_start.
32107
32108 2017-08-14 Florian Weimer <fweimer@redhat.com>
32109
32110 * elf/dl-fini.c (_dl_fini): Remove internal_function
32111 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32112
32113 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32114
32115 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32116 (bit_cpu_SHSTK): Likewise.
32117 (index_cpu_IBT): Likewise.
32118 (index_cpu_SHSTK): Likewise.
32119 (reg_IBT): Likewise.
32120 (reg_SHSTK): Likewise.
32121 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32122 Handle index_cpu_IBT and index_cpu_SHSTK.
32123
32124 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32125
32126 [BZ #19982]
32127 * po/fr.po: Fix spelling mistake.
32128
32129 2017-08-13 Florian Weimer <fweimer@redhat.com>
32130
32131 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32132 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32133 (_dl_catch_error, _dl_receive_error): Likewise.
32134 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32135 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32136 (_dl_deallocate_tls): Likewise.
32137 * include/dlfcn.h (_dl_addr): Likewise.
32138 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32139 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32140 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32141 Likewise.
32142
32143 2017-08-13 Florian Weimer <fweimer@redhat.com>
32144
32145 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32146 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32147 internal_function.
32148 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32149
32150 2017-08-13 Florian Weimer <fweimer@redhat.com>
32151
32152 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32153 internal_function.
32154 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32155 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32156 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32157 internal_function from _dl_make_stack_executable_hook member.
32158 (_dl_make_stack_executable): Remove internal_function.
32159 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32160 Likewise.
32161 * sysdeps/unix/sysv/linux/dl-execstack.c
32162 (_dl_make_stack_executable): Likewise.
32163
32164 2017-08-13 Florian Weimer <fweimer@redhat.com>
32165
32166 * sysdeps/unix/sysv/linux/netlinkaccess.h
32167 (__netlink_assert_response): Remove internal_function.
32168 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32169 (__netlink_assert_response): Likewise.
32170
32171 2017-08-13 Florian Weimer <fweimer@redhat.com>
32172
32173 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32174 internal_function.
32175 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32176
32177 2017-08-13 Florian Weimer <fweimer@redhat.com>
32178
32179 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32180 internal_function.
32181 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32182 * inet/netgroup.h (__internal_setnetgrent)
32183 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32184 * inet/getnetgrent_r.c (__internal_setnetgrent)
32185 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32186 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32187 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32188 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32189 * nss/nsswitch.h (db_lookup_function): Likewise.
32190
32191 2017-08-13 Florian Weimer <fweimer@redhat.com>
32192
32193 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32194 Remove internal_function.
32195 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32196 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32197 message argument on the stack.
32198 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32199 Likeweise.
32200
32201 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32202
32203 Adapt test case data to the changes in the thousands
32204 separators.
32205
32206 [BZ #20756]
32207 * localedata/tst-langinfo.sh: Adapt test case data.
32208 * stdlib/tst-strfmon_l.c: Likewise.
32209 * stdlib/tst-strtod4.c: Likewise.
32210 * stdlib/tst-strtod5i.c: Likewise.
32211
32212 2017-08-11 Florian Weimer <fweimer@redhat.com>
32213
32214 [BZ #21242]
32215 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32216 Suppress pedantic warning resulting from statement expression.
32217 (__ASSERT_FUNCTION): Add missing __extension__.
32218
32219 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32220
32221 * benchtests/bench-memmove-large.c: Print output in JSON
32222 format.
32223 * benchtests/bench-memmove.c: Likewise.
32224
32225 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32226 * benchtests/bench-memchr.c (do_one_test): Likewise.
32227 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32228 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32229 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32230 * benchtests/bench-memmove.c (do_one_test): Likewise.
32231 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32232 * benchtests/bench-memset.c (do_one_test): Likewise.
32233 * benchtests/bench-string.h (test_init): Remove memsets.
32234
32235 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32236
32237 * manual/lang.texi
32238 (Computing the Width of an Integer Data Type): Rename section to
32239 "Width of an Integer Type". Remove inaccurate statement regarding
32240 lack of C language facilities for determining width of integer
32241 types, and reorder content to improve flow and context of
32242 discussion.
32243
32244 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32245
32246 * lang.texi (va_copy): Change standard from ISO to C99.
32247 (__va_copy): Add standard and header annotation.
32248 Update description for clarity of origins and current use.
32249
32250 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32251
32252 [BZ #21941]
32253 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32254 xssqrtqp requires operands to be in Vector Registers
32255 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32256 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32257 (__ieee754_sqrtf128): Likewise.
32258
32259 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32260
32261 * sysdeps/aarch64/memcmp.S (memcmp):
32262 Rewrite of optimized memcmp.
32263
32264 2017-08-10 Florian Weimer <fweimer@redhat.com>
32265
32266 Introduce ld.so exceptions.
32267 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32268 (_dl_exception_create, _dl_exception_create_format)
32269 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32270 (_dl_catch_exception): Declare.
32271 (_dl_catch_error): Update comment.
32272 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32273 errstring, malloced members with exception member.
32274 (_dl_out_of_memory): Remove.
32275 (fatal_error): New function, extracted from _dl_signal_error.
32276 (_dl_signal_exception, _dl_signal_cexception): New functions.
32277 (_dl_signal_error): Call _dl_exception_create to allocate an
32278 exception object.
32279 (_dl_catch_exception): New function, based on _dl_catch_error.
32280 (_dl_catch_error): Implement using _dl_catch_exception.
32281 * elf/dl-exception.c: New file.
32282 * elf/Makefile (dl-routines): Add dl-exception.
32283 (elide-routines.os): Likewise.
32284 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32285 _dl_exception_create_format, _dl_exception_free.
32286 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32287 _dl_signal_exception.
32288 * elf/dl-lookup.c (make_string): Remove.
32289 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32290 _dl_signal_cexception, _dl_exception_free.
32291 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32292 _dl_signal_exception.
32293 * elf/dl-sym.c (do_sym): Likewise.
32294 * elf/dl-version.c (make_string): Remove.
32295 (match_symbol): Use _dl_exception_create_format,
32296 _dl_signal_cexception, _dl_exception_free.
32297 (_dl_check_map_versions): Likewise.
32298 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32299 _dl_catch_exception.
32300 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32301 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32302 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32303 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32304 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32305 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32306 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32307 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32308 Likewise.
32309 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32311 (ld.so): Likewise.
32312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32313 (ld.so): Likewise.
32314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32315 Likewise.
32316 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32317 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32318 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32319 Likewise.
32320 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32321 Likewise.
32322 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32323
32324 2017-08-10 Florian Weimer <fweimer@redhat.com>
32325
32326 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32327 attribute_hidden, internal_function.
32328 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32329 internal_function.
32330
32331 2017-08-10 Florian Weimer <fweimer@redhat.com>
32332
32333 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32334 function which calls __builtin_unreachable.
32335
32336 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32337
32338 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32339 Indian monetary formatting
32340 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32341 test cases.
32342
32343 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32344
32345 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32346 Fix typo in comment.
32347
32348 [BZ #21928]
32349 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32350 PTRACE_SEIZE_DEVEL): Remove.
32351 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32352 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32353 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32355 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32356
32357 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32358
32359 * posix/bits/types.h (__qaddr_t): Remove.
32360
32361 [BZ #21457]
32362 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32363 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32364 __glibc_reserved1.
32365 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32366 (ucontext_t): Use __ctx with uc_flags.
32367 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32368 (__ctxt): Likewise.
32369 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32370 __glibc_reserved1.
32371 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32372 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32373 __glibc_reserved1.
32374 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32375 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32376 __glibc_reserved1.
32377 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32378 macro.
32379 (ucontext_t): Use __ctx with uc_flags.
32380 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32381 (ucontext_t): Use __ctx with uc_flags.
32382 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32383 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32384 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32385 (ucontext_t): Use __ctx with uc_flags.
32386 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32387 undefine further down.
32388 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32389 __glibc_reserved1.
32390 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32391 undefine further down.
32392 (ucontext_t): Use __ctx with uc_flags.
32393 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32394 undefine further down.
32395 (ucontext_t): Use __ctx with uc_flags.
32396 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32397 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32398 Rename uc_pad to __glibc_reserved1.
32399 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32400 undefine further down.
32401 (ucontext_t): Use __ctx with uc_flags.
32402 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32403 further down.
32404 (ucontext_t): Use __ctx with uc_flags.
32405 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32406 __ctx with uc_flags.
32407 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32408 (ucontext_t): Use __ctx with uc_flags.
32409 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32410 __ctx with uc_flags.
32411
32412 2017-08-09 Florian Weimer <fweimer@redhat.com>
32413
32414 [BZ #21932]
32415 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32416 before early return.
32417
32418 2017-08-09 Andreas Schwab <schwab@suse.de>
32419
32420 [BZ #21041]
32421 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32422 renamed alias.
32423
32424 [BZ #21041]
32425 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32426 tst-compat-forwarder.
32427 (modules-names): Add tst-compat-forwarder-mod.
32428 ($(objpfx)tst-compat-forwarder): Depend on
32429 $(objpfx)tst-compat-forwarder-mod.so.
32430 * nptl/tst-compat-forwarder.c: New file.
32431 * nptl/tst-compat-forwarder-mod.c: New file.
32432
32433 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32434
32435 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32436 comments.
32437
32438 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32439 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32440 memcpy_falkor.
32441 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32442 Bump.
32443 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32444 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32445 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32446 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32447 Add falkor.
32448 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32449 New macro.
32450
32451 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32452
32453 [BZ #759]
32454 * manual/setjmp.texi (getcontex): Document uc_stack value
32455 compatibility differences.
32456
32457 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32458
32459 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32460 (old_malloc_hook): Likewise.
32461 (old_memalign_hook): Likewise.
32462 (old_realloc_hook): Likewise.
32463 (struct hdr): Likewise.
32464 (flood): Likewise.
32465 (freehook): Likewise.
32466 (mallochook): Likewise.
32467 (memalignhook): Likewise.
32468 (reallochook): Likewise.
32469 (mprobe): Likewise.
32470 * malloc/mtrace.c (mallwatch): Likewise.
32471 (tr_old_free_hook): Likewise.
32472 (tr_old_malloc_hook): Likewise.
32473 (tr_old_realloc_hook): Likewise.
32474 (tr_old_memalign_hook): Likewise.
32475 (tr_where): Likewise.
32476 (lock_and_info): Likewise.
32477 (tr_freehook): Likewise.
32478 (tr_mallochook): Likewise.
32479 (tr_reallochook): Likewise.
32480 (tr_memalignhook): Likewise.
32481 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32482 * misc/mmap.c (__mmap): Likewise.
32483 * misc/mmap64.c (__mmap64): Likewise.
32484 * misc/mprotect.c (__mprotect): Likewise.
32485 * misc/msync.c (msync): Likewise.
32486 * misc/munmap.c (__munmap): Likewise.
32487 * posix/posix_madvise.c (posix_madvise): Likewise.
32488 * socket/send.c (__send): Likewise.
32489 * socket/sendto.c (__sendto): Likewise.
32490 * socket/setsockopt.c (__setsockopt): Likewise.
32491 * string/memcmp.c (__ptr_t): Remove macro.
32492 (MEMCMP): Use void * instead of ptr_t.
32493 * string/memrchr.c (__ptr_t): Remove macro.
32494 (__memrchr): Use void * instead of ptr_t.
32495 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32496 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32497 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32498 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32499 * sysdeps/mach/msync.c (msync): Likewise.
32500 * sysdeps/mach/munmap.c (__munmap): Likewise.
32501 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32502 Likewise.
32503 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32504 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32505 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32506 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32507 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32508 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32509 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32510 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32511 Likewise.
32512 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32513 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32514 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32515 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32516 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32517 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32518 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32519 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32520 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32521 Likewise.
32522 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32523 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32524 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32525 (MEMCMP): Use void * instead of ptr_t.
32526 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32527 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32528
32529 2017-08-08 Florian Weimer <fweimer@redhat.com>
32530
32531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32532 return statement.
32533
32534 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32535
32536 [BZ #21913]
32537 * csu/libc-tls.c: Include <startup.h> first.
32538 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32539 * elf/dl-tunables.c: Include <startup.h> first.
32540 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32541 * sysdeps/generic/startup.h: New file.
32542 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32543 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32544 (I386_USE_SYSENTER): New. Defined to 0.
32545
32546 2017-08-08 Andreas Schwab <schwab@suse.de>
32547
32548 [BZ #21041]
32549 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32550 * nptl/pt-system.c (system): Likewise.
32551
32552 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32553
32554 [BZ #21780]
32555 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32556 EOPNOTSUPP.
32557 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32558 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32559 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32560 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32561 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32562 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32563 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32564
32565 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32566
32567 [BZ #21899]
32568 * bits/sigaction.h (struct sigaction): Define sa_handler and
32569 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32570 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32571 [__USE_XOPEN_EXTENDED].
32572 (SA_RESTART): Likewise.
32573 (SA_NODEFER): Likewise.
32574 (SA_RESETHAND): Likewise.
32575 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32576 (struct sigaction): Define sa_handler and sa_sigaction using union
32577 also for [__USE_XOPEN_EXTENDED].
32578 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32579 [__USE_XOPEN_EXTENDED].
32580 (SA_RESTART): Likewise.
32581 (SA_NODEFER): Likewise.
32582 (SA_RESETHAND): Likewise.
32583 * sysdeps/unix/sysv/linux/bits/sigaction.h
32584 (struct sigaction): Define sa_handler and sa_sigaction using union
32585 also for [__USE_XOPEN_EXTENDED].
32586 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32587 [__USE_XOPEN_EXTENDED].
32588 (SA_RESTART): Likewise.
32589 (SA_NODEFER): Likewise.
32590 (SA_RESETHAND): Likewise.
32591 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32592 (struct sigaction): Define sa_handler and sa_sigaction using union
32593 also for [__USE_XOPEN_EXTENDED].
32594 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32595 [__USE_XOPEN_EXTENDED].
32596 (SA_RESTART): Likewise.
32597 (SA_NODEFER): Likewise.
32598 (SA_RESETHAND): Likewise.
32599 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32600 (struct sigaction): Define sa_handler and sa_sigaction using union
32601 also for [__USE_XOPEN_EXTENDED].
32602 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32603 [__USE_XOPEN_EXTENDED].
32604 (SA_RESTART): Likewise.
32605 (SA_NODEFER): Likewise.
32606 (SA_RESETHAND): Likewise.
32607 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32608 (struct sigaction): Define sa_handler and sa_sigaction using union
32609 also for [__USE_XOPEN_EXTENDED].
32610 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32611 [__USE_XOPEN_EXTENDED].
32612 (SA_RESTART): Likewise.
32613 (SA_NODEFER): Likewise.
32614 (SA_RESETHAND): Likewise.
32615 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32616 (struct sigaction): Define sa_handler and sa_sigaction using union
32617 also for [__USE_XOPEN_EXTENDED].
32618 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32619 [__USE_XOPEN_EXTENDED].
32620 (SA_RESTART): Likewise.
32621 (SA_NODEFER): Likewise.
32622 (SA_RESETHAND): Likewise.
32623 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32624 (struct sigaction): Define sa_handler and sa_sigaction using union
32625 also for [__USE_XOPEN_EXTENDED].
32626 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32627 [__USE_XOPEN_EXTENDED].
32628 (SA_RESTART): Likewise.
32629 (SA_NODEFER): Likewise. Define directly rather than as alias.
32630 (SA_RESETHAND): Likewise.
32631 (SA_INTERRUPT): Define only for [__USE_MISC].
32632 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32633 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32634 [__USE_MISC].
32635 (SA_STACK): Define only for [__USE_MISC].
32636 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32637 (struct sigaction): Define sa_handler and sa_sigaction using union
32638 also for [__USE_XOPEN_EXTENDED].
32639 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32640 [__USE_XOPEN_EXTENDED].
32641 (SA_RESTART): Likewise.
32642 (SA_NODEFER): Likewise.
32643 (SA_RESETHAND): Likewise.
32644 (SA_NOPTRACE): Define only for [__USE_MISC].
32645
32646 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32647 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32648 (struct catalog_info): Likewise.
32649 * inet/htontest.c (lo): Likewise.
32650 (foo): Likewise.
32651 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32652 * inet/inet_net.c (inet_network): Likewise.
32653 * inet/inet_netof.c (inet_netof): Likewise.
32654 * inet/rcmd.c (__ivaliduser): Likewise.
32655 (iruserok): Likewise.
32656 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32657 * locale/programs/locale-spec.c (locale_special): Likewise.
32658 * nis/nis_findserv.c (struct findserv_req): Likewise.
32659 (__nis_findfastest_with_timeout): Likewise.
32660 * nss/test-netdb.c (test_network): Likewise.
32661 * resolv/inet_neta.c (inet_neta): Likewise.
32662 * resolv/ns_date.c (ns_datetosecs): Likewise.
32663 (SECS_PER_DAY): Likewise.
32664 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32665 Likewise.
32666 * resolv/res_comp.c (__putlong): Likewise.
32667 (__putshort): Likewise.
32668 (_getlong): Likewise.
32669 (_getshort): Likewise.
32670 * resolv/res_debug.c (p_time): Likewise.
32671 (precsize_ntoa): Likewise.
32672 (precsize_aton): Likewise.
32673 (latlon2ul): Likewise.
32674 (loc_aton): Likewise.
32675 (loc_ntoa): Likewise.
32676 * resolv/res_hconf.c (struct netaddr): Likewise.
32677 (_res_hconf_reorder_addrs): Likewise.
32678 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32679 (clnttcp_control): Likewise.
32680 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32681 (clntudp_control): Likewise.
32682 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32683 (clntunix_control): Likewise.
32684 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32685 * sunrpc/rpc/auth.h (union des_block): Likewise.
32686 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32687 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32688 (xdrrec_create): Likewise.
32689 (xdrrec_endofrecord): Likewise.
32690 (flush_out): Likewise.
32691 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32692 (xdrstdio_putlong): Likewise.
32693 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32694 Likewise.
32695
32696 * misc/sys/cdefs.h (__long_double_t): Remove.
32697 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32698 instead of __long_double_t,
32699 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32700
32701 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32702
32703 * benchtests/scripts/compare_strings.py: Avoid display error when
32704 running on a text terminal.
32705
32706 * benchtests/scripts/compare_strings.py (main): Add an
32707 optional -base option.
32708 (process_results): New argument base_func.
32709
32710 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32711 hardcoding memcpy.
32712 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32713 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32714
32715 2017-08-07 Andreas Schwab <schwab@suse.de>
32716
32717 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32718 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32719 * intl/Makefile ($(objpfx)tst-gettext.out)
32720 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32721 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32722 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32723 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32724 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32725 * posix/Makefile ($(objpfx)globtest.out)
32726 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32727 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32728 ($(objpfx)tst-printf.out): Likewise.
32729 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32730 ($(objpfx)tst-setcontext3.out): Likewise.
32731
32732 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32733
32734 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32735 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32736 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32737 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32738 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32739 and mptan-fma.
32740 (CFLAGS-doasin-fma.c): New.
32741 (CFLAGS-dosincos-fma.c): Likewise.
32742 (CFLAGS-e_asin-fma.c): Likewise.
32743 (CFLAGS-e_atan2-fma.c): Likewise.
32744 (CFLAGS-e_exp-fma.c): Likewise.
32745 (CFLAGS-e_log-fma.c): Likewise.
32746 (CFLAGS-e_pow-fma.c): Likewise.
32747 (CFLAGS-halfulp-fma.c): Likewise.
32748 (CFLAGS-mpa-fma.c): Likewise.
32749 (CFLAGS-mpatan-fma.c): Likewise.
32750 (CFLAGS-mpatan2-fma.c): Likewise.
32751 (CFLAGS-mpexp-fma.c): Likewise.
32752 (CFLAGS-mplog-fma.c): Likewise.
32753 (CFLAGS-mpsqrt-fma.c): Likewise.
32754 (CFLAGS-mptan-fma.c): Likewise.
32755 (CFLAGS-s_atan-fma.c): Likewise.
32756 (CFLAGS-sincos32-fma.c): Likewise.
32757 (CFLAGS-slowexp-fma.c): Likewise.
32758 (CFLAGS-slowpow-fma.c): Likewise.
32759 (CFLAGS-s_sin-fma.c): Likewise.
32760 (CFLAGS-s_tan-fma.c): Likewise.
32761 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32762 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32763 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32764 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32765 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32766 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32767 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32768 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32769 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32770 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32771 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32772 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32773 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32774 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32775 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32777 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32781 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32784 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32786 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32787 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32788 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32789 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32790 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32791 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32792
32793 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32794
32795 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32796 (min_of_type_f): New macro.
32797 (min_of_type_): Likewise.
32798 (min_of_type_l): Likewise.
32799 (min_of_type_f128): Likewise.
32800 (min_of_type): Define using __MATH_TG and taking an expression
32801 argument.
32802 (math_check_force_underflow): Pass expression instead of type to
32803 min_of_type.
32804 (math_check_force_underflow_nonneg): Likewise.
32805
32806 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32809 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32810 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32811
32812 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32813
32814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32815 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32816 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32817 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32818 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32819 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32820 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32821 memmove_chk-nonshared and memset_chk-nonshared
32822 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32823 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32824 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32825 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32826 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32827 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32828 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32829 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32830 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32831 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32832 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32833 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32834 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32835 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32836 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32837 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32838 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32839 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32840 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32841 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32842 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32843 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32844 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32845 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32846 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32847 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32848 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32849 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32850 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32851 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32852 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32853 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32854 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32855 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32856 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32857 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32858 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32859 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32860 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32861 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32862 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32863 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32864 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32865 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32866 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32867 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32868 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32869 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32870 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32871 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32872 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32873 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32874 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32875 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32876 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32877 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32878 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32879 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32880 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32881 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32882 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32883 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32884 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32885 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32886 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32887 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32888 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32889 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32890 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32891 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32892 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32893 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32894 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32895 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32896 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32897 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32898 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32899 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32900 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32901 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32902 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32903 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32904 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32905 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32906 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32907 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32908 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32909 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32910 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32911 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32912 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32913 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32914 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32915 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32916 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32917 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32918 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32919 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32920 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32921 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32922 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32923 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32924 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32925 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32926 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32927 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32928 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32929 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32930
32931 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32932
32933 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32934 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32935 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32936 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32937 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32938 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32939 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32940 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32941 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32942 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32943 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32944 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32945 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32946 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32947 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32948 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32949 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32950 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32951 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32952 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32953 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32954 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32955 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32956 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32957 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32958 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32959 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32960 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32961 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32962 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32963 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32964 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32965 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32966 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32967 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32968 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32969 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32971 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32972 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32973 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32974 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32975 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32976 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32977 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32978 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32979 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32980 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32982 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32983 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32984 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32985 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32986 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32987 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32988 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32989 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32990 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32991 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32992 ...
32993 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32994 Don't include <sysdep.h> nor <init-arch.h>.
32995 (_ZGVbN2v_cos): Removed.
32996 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32997 ...
32998 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32999 Don't include <sysdep.h> nor <init-arch.h>.
33000 (_ZGVdN4v_cos): Removed.
33001 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33002 ...
33003 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33004 Don't include <sysdep.h> nor <init-arch.h>.
33005 (_ZGVeN8v_cos): Removed.
33006 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33007 ...
33008 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33009 Don't include <sysdep.h> nor <init-arch.h>.
33010 (_ZGVbN2v_exp): Removed.
33011 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33012 ...
33013 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33014 Don't include <sysdep.h> nor <init-arch.h>.
33015 (_ZGVdN4v_exp): Removed.
33016 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33017 ...
33018 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33019 Don't include <sysdep.h> nor <init-arch.h>.
33020 (_ZGVeN8v_exp): Removed.
33021 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33022 ...
33023 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33024 Don't include <sysdep.h> nor <init-arch.h>.
33025 (_ZGVbN2v_log): Removed.
33026 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33027 ...
33028 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33029 Don't include <sysdep.h> nor <init-arch.h>.
33030 (_ZGVdN4v_log): Removed.
33031 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33032 ...
33033 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33034 Don't include <sysdep.h> nor <init-arch.h>.
33035 (_ZGVeN8v_log): Removed.
33036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33037 ...
33038 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33039 Don't include <sysdep.h> nor <init-arch.h>.
33040 (_ZGVbN2vv_pow): Removed.
33041 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33042 ...
33043 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33044 Don't include <sysdep.h> nor <init-arch.h>.
33045 (_ZGVdN4vv_pow): Removed.
33046 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33047 ...
33048 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33049 Don't include <sysdep.h> nor <init-arch.h>.
33050 (_ZGVeN8vv_pow): Removed.
33051 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33052 ...
33053 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33054 Don't include <sysdep.h> nor <init-arch.h>.
33055 (_ZGVbN2v_sin): Removed.
33056 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33057 ...
33058 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33059 Don't include <sysdep.h> nor <init-arch.h>.
33060 (_ZGVbN4v_sin): Removed.
33061 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33062 ...
33063 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33064 Don't include <sysdep.h> nor <init-arch.h>.
33065 (_ZGVbN8v_sin): Removed.
33066 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33067 ...
33068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33069 Don't include <sysdep.h> nor <init-arch.h>.
33070 (_ZGVbN2vvv_sincos): Removed.
33071 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33072 ...
33073 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33074 Don't include <sysdep.h> nor <init-arch.h>.
33075 (_ZGVdN4vvv_sincos): Removed.
33076 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33077 ...
33078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33079 Don't include <sysdep.h> nor <init-arch.h>.
33080 (_ZGVeN8vvv_sincos): Removed.
33081 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33082 ...
33083 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33084 Don't include <sysdep.h> nor <init-arch.h>.
33085 (_ZGVeN16v_cosf): Removed.
33086 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33087 ...
33088 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33089 Don't include <sysdep.h> nor <init-arch.h>.
33090 (_ZGVbN4v_cosf): Removed.
33091 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33092 ...
33093 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33094 Don't include <sysdep.h> nor <init-arch.h>.
33095 (_ZGVdN8v_cosf): Removed.
33096 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33097 ...
33098 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33099 Don't include <sysdep.h> nor <init-arch.h>.
33100 (_ZGVeN16v_expf): Removed.
33101 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33102 ...
33103 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33104 Don't include <sysdep.h> nor <init-arch.h>.
33105 (_ZGVbN4v_expf): Removed.
33106 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33107 ...
33108 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33109 Don't include <sysdep.h> nor <init-arch.h>.
33110 (_ZGVdN8v_expf): Removed.
33111 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33112 ...
33113 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33114 Don't include <sysdep.h> nor <init-arch.h>.
33115 (_ZGVeN16v_logf): Removed.
33116 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33117 ...
33118 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33119 Don't include <sysdep.h> nor <init-arch.h>.
33120 (_ZGVbN4v_logf): Removed.
33121 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33122 ...
33123 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33124 Don't include <sysdep.h> nor <init-arch.h>.
33125 (_ZGVdN8v_logf): Removed.
33126 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33127 ...
33128 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33129 Don't include <sysdep.h> nor <init-arch.h>.
33130 (_ZGVeN16vv_powf): Removed.
33131 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33132 ...
33133 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33134 Don't include <sysdep.h> nor <init-arch.h>.
33135 (_ZGVbN4vv_powf): Removed.
33136 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33137 ...
33138 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33139 Don't include <sysdep.h> nor <init-arch.h>.
33140 (_ZGVdN8vv_powf): Removed.
33141 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33142 ...
33143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33144 Don't include <sysdep.h> nor <init-arch.h>.
33145 (_ZGVeN16vvv_sincosf): Removed.
33146 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33147 ...
33148 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33149 Don't include <sysdep.h> nor <init-arch.h>.
33150 (_ZGVbN4vvv_sincosf): Removed.
33151 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33152 ...
33153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33154 Don't include <sysdep.h> nor <init-arch.h>.
33155 (_ZGVdN8vvv_sincosf): Removed.
33156 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33157 ...
33158 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33159 Don't include <sysdep.h> nor <init-arch.h>.
33160 (_ZGVeN16v_sinf): Removed.
33161 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33162 ...
33163 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33164 Don't include <sysdep.h> nor <init-arch.h>.
33165 (_ZGVbN4v_sinf): Removed.
33166 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33167 ...
33168 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33169 Don't include <sysdep.h> nor <init-arch.h>.
33170 (_ZGVdN8v_sinf): Removed.
33171
33172 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33173
33174 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33175 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33176 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33177 s_rint-sse4_1 and s_rintf-sse4_1.
33178 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33179 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33181 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33182 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33183 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33184 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33185 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33186 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33187 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33188 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33189 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33190 (__ceil): Removed.
33191 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33192 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33193 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33194 (__ceilf): Removed.
33195 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33196 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33197 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33198 (__floor): Removed.
33199 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33200 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33201 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33202 (__floorf): Removed.
33203 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33204 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33205 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33206 (__nearbyint): Removed.
33207 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33208 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33209 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33210 (__nearbyintf): Removed.
33211 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33212 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33213 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33214 (__rint): Removed.
33215 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33216 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33217 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33218 (__rintf): Removed.
33219
33220 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33221
33222 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33223 SHARED. Avoid dynamic relocation against main in static PIE.
33224
33225 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33226
33227 [BZ #21815]
33228 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33229 (LDFLAGS-tst-prelink): Likewise.
33230
33231 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33232
33233 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33234 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33235 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33236 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33237 (INTERNAL_SYSCALL_NCS): Likewise.
33238 (LOADARGS_1): Likewise.
33239 (LOADARGS_5): Likewise.
33240 (RESTOREARGS_1): Likewise.
33241 (RESTOREARGS_5): Likewise.
33242
33243 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33244
33245 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33246 (MEMPCPY_SYMBOL): Likewise.
33247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33248 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33250 in libc.a.
33251 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33252 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33253 Likewise.
33254 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33255 (__hidden_ver1): Don't use in libc.a.
33256 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33257 (__mempcpy): Don't create a weak alias in libc.a.
33258 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33259 libc.a.
33260 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33261 (__hidden_ver1): Don't use in libc.a.
33262
33263 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33264
33265 * config.make.in (have-insert): New.
33266 * configure.ac (libc_cv_insert): New. Set to yes if linker
33267 supports INSERT in linker script.
33268 (AC_SUBST(libc_cv_insert): New.
33269 * configure: Regenerated.
33270 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33271 if $(have-insert) == yes.
33272
33273 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33274
33275 * elf/Makefile (tests): Add vismain only if
33276 $(have-protected-data) == yes.
33277 (tests-pie): Likewise.
33278
33279 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33280
33281 [BZ #21871]
33282 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33283 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33284
33285 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33286
33287 [BZ #21790]
33288 * sysdeps/i386/i586/memset.S
33289 (__memset_zero_constant_len_parameter): Removed.
33290 * sysdeps/i386/i686/memset.S
33291 (__memset_zero_constant_len_parameter): Likewise.
33292 * sysdeps/i386/i686/multiarch/memset_chk.S
33293 (__memset_zero_constant_len_parameter): Likewise.
33294 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33295 Likewise.
33296
33297 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33298
33299 * stdlib/getentropy.c (getentropy): Change return type to int.
33300
33301 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33302
33303 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33304
33305 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33306
33307 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33308 u_intN_t.
33309 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33310 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33311 Likewise.
33312 (ieee_float_shape_type): Likewise.
33313 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33314 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33315 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33316 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33317 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33318 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33319 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33320 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33321 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33322 Likewise.
33323 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33324 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33325 (__ieee754_yn): Likewise.
33326 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33327 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33328 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33329 Likewise.
33330 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33331 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33332 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33333 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33334 (__erfc): Likewise.
33335 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33336 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33337 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33338 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33339 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33340 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33341 Likewise.
33342 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33343 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33344 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33345 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33346 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33347 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33348 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33349 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33350 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33351 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33352 (__issignaling): Likewise.
33353 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33354 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33355 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33356 Likewise.
33357 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33358 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33359 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33360 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33361 Likewise.
33362 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33363 Likewise.
33364 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33365 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33366 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33367 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33368 (__erfcf): Likewise.
33369 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33370 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33371 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33372 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33373 Likewise.
33374 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33375 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33376 Likewise.
33377 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33378 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33379 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33380 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33381 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33382 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33383 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33384 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33385 Likewise.
33386 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33387 Likewise.
33388 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33389 Likewise.
33390 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33391 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33392 Likewise.
33393 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33394 Likewise.
33395 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33396 (__ieee754_ynl): Likewise.
33397 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33398 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33399 Likewise.
33400 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33401 Likewise.
33402 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33403 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33404 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33405 Likewise.
33406 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33407 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33408 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33409 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33410 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33411 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33412 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33413 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33414 Likewise.
33415 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33416 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33417 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33418 Likewise.
33419 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33420 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33421 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33422 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33423 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33424 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33425 Likewise.
33426 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33427 Likewise.
33428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33429 Likewise.
33430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33431 Likewise.
33432 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33433 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33434 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33435 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33436 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33437 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33438 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33439 Likewise.
33440 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33441 Likewise.
33442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33443 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33444 Likewise.
33445 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33446 (__ieee754_remainderl): Likewise.
33447 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33448 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33449 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33450 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33451 Likewise.
33452 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33453 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33454 Likewise.
33455 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33456 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33457 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33458 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33459 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33460 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33461 Likewise.
33462 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33463 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33464 (__ieee754_y0l): Likewise.
33465 (pzero): Likewise.
33466 (qzero): Likewise.
33467 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33468 (__ieee754_y1l): Likewise.
33469 (pone): Likewise.
33470 (qone): Likewise.
33471 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33472 (__ieee754_ynl): Likewise.
33473 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33474 (__ieee754_lgammal_r): Likewise.
33475 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33476 Likewise.
33477 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33478 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33479 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33480 (__erfcl): Likewise.
33481 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33482 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33483 Likewise.
33484 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33485 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33486 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33487 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33488 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33489 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33490 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33491 Likewise.
33492 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33493 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33494 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33495 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33496 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33497 Likewise.
33498 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33499 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33500 Likewise.
33501 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33502 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33503 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33504 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33505 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33506
33507 2017-08-03 Florian Weimer <fweimer@redhat.com>
33508
33509 [BZ #21885]
33510 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33511 on memory allocation failure.
33512
33513 2017-08-03 Alan Modra <amodra@gmail.com>
33514
33515 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33516 tst-tlsopt-powerpc.c with function name change and no test harness.
33517 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33518 Call tls_get_addr_opt_test.
33519 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33520 (modules-names): Add mod-tlsopt-powerpc.
33521 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33522 (tst-tlsopt-powerpc): Depend on .so.
33523 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33524 define. Expand use in TLS_GD and TLS_LD.
33525
33526 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33527
33528 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33529 function.
33530 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33531
33532 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33533
33534 [BZ #21686]
33535 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33536 comparing size with that of double.
33537 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33538 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33539 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33540 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33541 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33542 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33543 unsigned __int128 types.
33544
33545 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33546
33547 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33548 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33549 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33550 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33551 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33552
33553 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33554
33555 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33556
33557 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33558
33559 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33560 of SHARED.
33561 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33562 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33563 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33564 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33565 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33567 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33568
33569 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33570
33571 [BZ #21685]
33572 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33573 bit-field expressions passed to sizeof or typeof.
33574 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33575 (__TGMATH_F128): Likewise.
33576 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33577 (__TGMATH_CF128): Likewise.
33578 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33579 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33580 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33581 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33582 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33583 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33584 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33585 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33586 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33587 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33588 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33589 (__TGMATH_UNARY_IMAG): Likewise.
33590 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33591 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33592 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33593 type.
33594 (define_vars_for_type): Handle bit_field type specially.
33595 (Tests.__init__): Declare structure with bit-field element.
33596
33597 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33598
33599 [BZ #21791]
33600 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33601 (MEMCPY_CHK): Define only if SHARED is defined.
33602 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33603 Likewise.
33604 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33605 Likewise.
33606
33607 See ChangeLog.18 for earlier changes.