1 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3 * libio/libio.h: Remove redirection for _IO_vfprintf.
5 2018-12-11 Andreas Schwab <schwab@suse.de>
7 * Makerules: Remove all references to abilist-pattern.
8 (update-all-abi): Simplify find expression.
10 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13 * math/auto-libm-test-in: Add new test case.
14 * math/auto-libm-test-out-pow: Regenerated.
15 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
17 2018-12-10 DJ Delorie <dj@redhat.com>
20 * support/test-container.c: Move postclean step to before we
23 2018-12-10 Joseph Myers <joseph@codesourcery.com>
25 * scripts/gen-as-const.py (main): Handle --python option.
26 * scripts/gen-py-const.awk: Remove.
27 * Makerules (py-const-script): Use gen-as-const.py.
28 ($(py-const)): Likewise.
29 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
30 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
31 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
32 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
33 ~PTHREAD_MUTEX_NO_ELISION_NP.
34 * manual/README.pretty-printers: Update reference to
37 * scripts/glibcextract.py: New file.
38 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
39 or tempfile. Import glibcexctract.
40 (compute_c_consts): Remove. Moved to glibcextract.py.
41 (gen_test): Update reference to compute_c_consts.
43 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
44 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
45 * sysdeps/unix/sysv/linux/Makefile
46 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
47 Redirect stderr as well as stdout.
49 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
52 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
53 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
54 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
56 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
58 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
61 2018-12-10 Florian Weimer <fweimer@redhat.com>
64 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
65 offset instead of count for clarity. Fix typo in comment.
66 (__old_getdents64): Keep track of previous offset. Use it to call
68 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
69 that d_off is never zero.
71 2018-12-10 Andreas Schwab <schwab@suse.de>
73 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
74 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
75 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
76 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
77 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
79 2018-12-10 Joseph Myers <joseph@codesourcery.com>
81 * timezone/private.h: Update from tzcode 2018g.
82 * timezone/tzfile.h: Likewise.
83 * timezone/tzselect.ksh: Likewise.
84 * timezone/zdump.c: Likewise.
85 * timezone/zic.c: Likewise.
87 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
90 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
91 (do_test): Adjust buffer size and fix format.
93 2018-12-07 DJ Delorie <dj@redhat.com>
96 * malloc/tst-tcfree3.c: New.
97 * malloc/Makefile: Add it.
99 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
101 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
103 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
105 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
106 used as a mask for the mode argument of __vfscanf_internal and
108 * stdio-common/vfscanf-internal.c
109 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
110 (__strtof128_internal): Define to __wcstof128_internal.
111 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
112 __strtof128_internal or __wcstof128_internal when the format of
113 long double is the same as _Float128.
115 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
117 * include/unistd.h (__confstr): Add prototype and hidden prototype.
118 * posix/confstr.c (confstr): Rename to __confstr.
119 (__confstr): Add hidden def.
120 (confstr): Add weak alias for __confstr.
121 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
124 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
126 * NEWS: Mention getcpu.
127 * include/sched.h (__getcpu): New libc_hidden_proto.
128 * manual/resource.texi: Document getcpu.
129 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
130 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
131 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
132 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
133 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
134 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
135 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
136 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
137 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
138 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
139 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
140 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
141 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
143 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
144 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
145 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
154 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
155 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
157 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
158 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
159 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
160 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
161 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
162 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
163 * sysdeps/unix/sysv/linux/getcpu.c: New file.
164 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
167 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
169 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
171 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
173 2018-12-07 Florian Weimer <fweimer@redhat.com>
176 * posix/Makefile (routines): Add spawn_faction_addfchdir.
177 * posix/Versions (GLIBC_2.29): Export
178 posix_spawn_file_actions_addfchdir_np.
179 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
180 * posix/spawn_faction_destroy.c
181 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
182 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
183 and the field action.fchdir_action.
184 * posix/tst-spawn-chdir.c (add_chdir): New function.
185 (do_test): Add do_fchdir loop. Call add_chdir.
186 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
187 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
188 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
189 posix_spawn_file_actions_addfchdir_np.
190 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
192 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
194 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
195 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
197 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
199 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
201 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
203 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
205 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
207 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
208 (GLIBC_2.29): Likewise.
209 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
210 (GLIBC_2.29): Likewise.
211 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
212 (GLIBC_2.29): Likewise.
213 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
214 (GLIBC_2.29): Likewise.
215 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
218 (GLIBC_2.29): Likewise.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
220 (GLIBC_2.29): Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
222 (GLIBC_2.29): Likewise.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
224 (GLIBC_2.29): Likewise.
225 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
227 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
229 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
231 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
232 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
234 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
236 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
238 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
241 2018-12-06 Joseph Myers <joseph@codesourcery.com>
243 * manual/texinfo.tex: Update to version 2018-09-21.20 with
244 trailing whitespace removed.
245 * scripts/config.guess: Update to version 2018-11-28.
246 * scripts/config.sub: Update to version 2018-11-28.
247 * scripts/install-sh: Update to version 2018-03-11.20.
248 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
249 * scripts/move-if-change: Update to version 2018-03-07 03:47.
251 2018-12-07 Florian Weimer <fweimer@redhat.com>
255 * inet/tst-if_index-long.c: New file.
256 * inet/Makefile (tests): Add tst-if_index-long.
258 2018-12-07 Florian Weimer <fweimer@redhat.com>
260 * support/check.h (support_record_failure_is_failed): Declare.
261 * support/descriptors.h: New file.
262 * support/support_descriptors.c: Likewise.
263 * support/tst-support_descriptors.c: Likewise.
264 * support/support_record_failure.c
265 (support_record_failure_is_failed): New function.
266 * support/Makefile (libsupport-routines): Add support_descriptors.
267 (tests): Add tst-support_descriptors.
269 2018-12-05 Zack Weinberg <zackw@panix.com>
270 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
272 * stdio-common/vfprintf-internal.c
273 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
274 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
276 and __no_long_double.
277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
278 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
279 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
280 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
281 and __nldbl_*syslog* functions.
282 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
283 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
284 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
285 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
286 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
287 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
288 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
289 (__nldbl_vwprintf, __nldbl_wprintf):
290 Directly call the appropriate __v*printf_internal routine, passing
291 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
293 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
294 (__nldbl___printf_chk, __nldbl___snprintf_chk)
295 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
296 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
297 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
298 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
299 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
300 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
301 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
302 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
303 Likewise, and also pass PRINTF_FORTIFY when appropriate.
304 (__nldbl_syslog, __nldbl_vsyslog):
305 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
306 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
308 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
311 2018-12-05 Zack Weinberg <zackw@panix.com>
312 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
315 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
316 Moved here from debug/vsprintf_chk.c.
317 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
318 and completion logic for the strfile to match exactly what
319 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
320 _IO_str_init_static_internal instead of maxlen-1.
321 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
322 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
325 * debug/vsprintf_chk.c (__vsprintf_chk)
326 * debug/sprintf_chk.c (__sprintf_chk):
327 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
328 'flags' argument is positive, and slen as maxlen. No need to lock
329 the FILE and/or construct a temporary FILE. Minimize and normalize
330 header inclusions and variable names. Do not libc_hidden_def anything.
332 * debug/asprintf_chk.c (__asprintf_chk)
333 * debug/dprintf_chk.c (__dprintf_chk)
334 * debug/fprintf_chk.c (__fprintf_chk)
335 * debug/fwprintf_chk.c (__fwprintf_chk)
336 * debug/printf_chk.c (__printf_chk)
337 * debug/snprintf_chk.c (__snprintf_chk)
338 * debug/swprintf_chk.c (__swprintf_chk)
339 * debug/vasprintf_chk.c (__vasprintf_chk)
340 * debug/vdprintf_chk.c (__vdprintf_chk)
341 * debug/vfprintf_chk.c (__vfprintf_chk)
342 * debug/vfwprintf_chk.c (__vfwprintf_chk)
343 * debug/vprintf_chk.c (__vprintf_chk)
344 * debug/vsnprintf_chk.c (__vsnprintf_chk)
345 * debug/vswprintf_chk.c (__vswprintf_chk)
346 * debug/vwprintf_chk.c (__vwprintf_chk)
347 * debug/wprintf_chk.c (__wprintf_chk):
348 Directly call the corresponding vxxprintf_internal function, passing
349 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
350 the FILE and/or construct a temporary FILE. Minimize and normalize
351 header inclusions and variable names. Do not libc_hidden_def anything.
353 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
354 __obstack_vprintf_internal.
355 (__obstack_vprintf_chk): Convert into a wrapper that calls
356 __obstack_vprintf_internal (these two functions already had the
357 same code) and move to new file...
358 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
360 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
361 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
362 * debug/Makefile (routines): Add vobprintf_chk.
364 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
365 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
366 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
367 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
368 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
369 (__nldbl___obstack_vfprintf_chk):
370 Directly call the corresponding vxxprintf_internal function,
371 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
372 duplicate comparison of slen with 0 or maxlen from the corresponding
373 non-__nldbl function.
375 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
376 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
377 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
378 Remove libc_hidden_proto.
380 * stdio-common/vfprintf-internal.c
381 (__vfprintf_internal, __vfwprintf_internal):
382 Do not check _IO_FLAGS2_FORTIFY.
383 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
384 * libio/libioP.h: Update prototype of __vsprintf_internal and add
385 a comment explaining why it has the maxlen argument.
386 (_IO_acquire_lock_clear_flags2_fct): Remove.
387 (_IO_acquire_lock_clear_flags2): Remove.
388 (_IO_release_lock): Remove conditional statement which will
390 (_IO_acquire_lock): Remove variable which is now unused.
391 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
392 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
394 * stdio-common/Makefile (tests): Add tst-bz11319 and
395 tst-bz11319-fortify2.
396 (CFLAGS-tst-bz11319-fortify2.c): New macro.
397 * stdio-common/tst-bz11319-fortify2.c: New file.
398 * stdio-common/tst-bz11319.c: Likewise.
400 2018-12-05 Zack Weinberg <zackw@panix.com>
401 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
403 * misc/syslog.c: Include libioP.h, not iolibio.h.
404 (__vsyslog_internal): New function with the former body of
405 __vsyslog_chk; takes mode_flags argument same as
406 __v*printf_internal. Call __vfprintf_internal directly.
408 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
409 Remove libc_hidden_def.
410 (__syslog, __syslog_chk): Use __vsyslog_internal.
411 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
413 * include/sys/syslog.h: Add multiple inclusion guard.
414 Add prototype for __vsyslog_internal.
415 Remove declaration and libc_hidden_proto for __vsyslog_chk.
417 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
418 Use __vsyslog_internal.
420 2018-12-05 Zack Weinberg <zackw@panix.com>
421 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
423 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
424 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
425 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
427 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
428 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
430 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
431 Include wctype.h here if COMPILE_WPRINTF is defined.
432 Define __vfprintf_internal or __vfwprintf_internal, depending
434 Temporarily, on entry to this function, update mode_flags
435 according to the environmental settings corresponding to
436 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
437 Throughout, check mode_flags instead of __ldbl_is_dbl and
438 _IO_FLAGS2_FORTIFY on the destination FILE.
439 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
440 Include vfprintf-internal.c. Don't include wctype.h.
441 * stdio-common/vfprintf.c: New file. Just define __vfprintf
442 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
444 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
445 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
447 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
449 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
450 and add mode_flags argument; use __vfprintf_internal.
451 (__vdprintf): New function. Alias vdprintf to this.
452 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
453 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
454 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
455 (__obstack_printf): Use __obstack_printf_internal.
456 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
457 public aliases __vsnprintf and vsnprintf.
458 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
460 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
461 public aliases _IO_vsprintf and vsprintf.
462 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
463 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
464 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
465 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
466 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
468 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
469 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
470 * stdio-common/fprintf.c, stdio-common/fxprintf.c
471 * stdio-common/printf.c: Use __vfprintf_internal.
473 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
474 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
475 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
477 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
478 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
479 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
480 __vfwprintf_internal.
482 * libio/libio.h: Remove libc_hidden_proto and declaration for
484 Remove declaration of _IO_vfwprintf.
485 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
487 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
489 * include/stdio.h: Add prototype for __vasprintf.
490 (__vsnprintf): Remove declaration, because there are no more
492 * include/wchar.h (__vfwprintf, __vswprintf): Remove
493 declaration, because there are no more internal calls.
495 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
496 __vsnprintf_internal, instead of _IO_vsnprintf.
497 * argp/argp-help.c (__argp_error, __argp_failure): Use
498 __vasprintf_internal, instead of _IO_vasprintf.
499 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
500 redefine, because there are no more internal calls.
502 2018-12-05 Zack Weinberg <zackw@panix.com>
503 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
505 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
506 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
507 Include libio/strfile.h instead of libioP.h.
508 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
509 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
510 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
511 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
512 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
513 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
514 necessary. Do not set __no_long_double. Normalize variable names.
515 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
516 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
517 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
518 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
519 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
520 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
521 Call __vfscanf_internal / __vfwscanf_internal directly, passing
522 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
523 Do not set __no_long_double. Normalize variable names.
525 2018-12-05 Zack Weinberg <zackw@panix.com>
526 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
528 * stdio-common/isoc99_scanf.c
529 * stdio-common/isoc99_fscanf.c
530 * stdio-common/isoc99_sscanf.c
531 * stdio-common/isoc99_vscanf.c
532 * stdio-common/isoc99_vfscanf.c
533 * stdio-common/isoc99_vsscanf.c
534 * wcsmbs/isoc99_wscanf.c
535 * wcsmbs/isoc99_fwscanf.c
536 * wcsmbs/isoc99_swscanf.c
537 * wcsmbs/isoc99_vwscanf.c
538 * wcsmbs/isoc99_vfwscanf.c
539 * wcsmbs/isoc99_vswscanf.c:
540 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
541 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
542 No need to lock and unlock the FILE passed to that function.
544 * stdio-common/vfscanf-internal.c
545 (__vfscanf_internal, __vfwscanf_internal):
546 Don't look at _IO_FLAGS2_SCANF_STD.
547 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
548 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
549 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
551 2018-12-05 Zack Weinberg <zackw@panix.com>
552 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
554 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
555 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
556 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
557 * libio/strfile.h: Add multiple inclusion guard.
558 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
560 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
561 consistency with the other version of this file.
562 (ldbl_compat_symbol): New macro.
563 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
566 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
567 Define __vfscanf_internal or __vfwscanf_internal, depending on
568 COMPILE_WSCANF; don't define any other public symbols.
569 Remove errval and code to set errp.
570 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
571 as the mode_flags argument.
572 (encode_error, conv_error, input_error): Don't set errval.
573 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
574 Include vfscanf-internal.c.
575 * stdio-common/vfscanf.c: New file defining the public entry
576 point vfscanf, which calls __vfscanf_internal.
577 * stdio-common/vfwscanf.c: New file defining the public entry
578 point vfwscanf, which calls __vfwscanf_internal.
580 * stdio-common/iovfscanf.c: New file.
581 * stdio-common/iovfwscanf.c: Likewise.
583 * stdio-common/Makefile (routines): Add vfscanf-internal,
584 vfwscanf-internal, iovfscanf, iovfwscanf.
585 * stdio-common/Versions: Mention GLIBC_2.29, so that
586 it can be used in SHLIB_COMPAT expressions.
587 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
588 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
589 Call __vfscanf_internal, instead of _IO_vfscanf.
590 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
592 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
595 * libio/iovsscanf.c: Clean up includes, when possible. Use
596 _IO_strfile_read or _IO_strfile_readw, when needed. Call
597 __vfscanf_internal or __vfwscanf_internal directly.
598 * libio/iovswscanf.c: Likewise.
599 * libio/swscanf.c: Likewise.
600 * libio/vscanf.c: Likewise.
601 * libio/vwscanf.c: Likewise.
602 * libio/wscanf.c: Likewise.
603 * stdio-common/isoc99_fscanf.c: Likewise.
604 * stdio-common/isoc99_scanf.c: Likewise.
605 * stdio-common/isoc99_sscanf.c: Likewise.
606 * stdio-common/isoc99_vfscanf.c: Likewise.
607 * stdio-common/isoc99_vscanf.c: Likewise.
608 * stdio-common/isoc99_vsscanf.c: Likewise.
609 * stdio-common/scanf.c: Likewise.
610 * stdio-common/sscanf.c: Likewise.
611 * wcsmbs/isoc99_fwscanf.c: Likewise.
612 * wcsmbs/isoc99_swscanf.c: Likewise.
613 * wcsmbs/isoc99_vfwscanf.c: Likewise.
614 * wcsmbs/isoc99_vswscanf.c: Likewise.
615 * wcsmbs/isoc99_vwscanf.c: Likewise.
616 * wcsmbs/isoc99_wscanf.c: Likewise.
618 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
621 (__tz_compute): Replace time_t with __time64_t.
622 (__tz_convert): Replace time_t* with __time64_t.
623 (__offtime): Replace time_t* with __time64_t.
625 (__gmtime_r): Adjust call to __tz_convert.
628 (__localtime_r): Likewise.
629 (localtime): Likewise.
630 * time/offtime.c: Replace time_t with __time64_t.
631 * time/tzset.c: Likewise.
633 2018-12-04 Joseph Myers <joseph@codesourcery.com>
635 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
636 dynamic linker unless [$(run-built-tests) = yes].
638 2018-12-03 DJ Delorie <dj@delorie.com>
640 * support/test-container.c (check_for_unshare_hints): New.
641 (main): Call it if unshare fails. Add support for "su" scriptlet
644 2018-12-03 Joseph Myers <joseph@codesourcery.com>
646 * scripts/gen-as-const.py (compute_c_consts): Take an argument
647 'START' to indicate that start text should be output.
648 (gen_test): Likewise.
649 (main): Generate 'START' for first symbol or '--' line, or at end
650 of input if not previously generated.
652 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
655 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
656 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
657 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
660 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
663 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
666 2018-12-03 Carlos O'Donell <carlos@redhat.com>
669 * locale/programs/localedef.c: Declare boolean hard_links default true.
670 (options): Add --no-hard-links option.
671 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
672 * locale/programs/localedef.h: Declare prototype for hard_links.
673 * locale/programs/locfile.c (write_locale_data): Don't use hard
674 links if hard_links is false.
676 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
678 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
680 (__cache_sysconf): Likewise.
681 (init_cacheinfo): Likewise.
682 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
683 populate COMMON_CPUID_INDEX_80000007 and
684 COMMON_CPUID_INDEX_80000008.
685 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
686 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
687 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
688 (init_cpu_features): Use _Static_assert on
689 index_arch_Fast_Unaligned_Load.
690 __get_cpuid_registers and __get_arch_feature. Updated for
691 cpu_features_basic. Set stepping in cpu_features.
692 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
693 (FEATURE_INDEX_2): New.
694 (FEATURE_INDEX_MAX): Changed to enum.
695 (COMMON_CPUID_INDEX_D_ECX_1): New.
696 (COMMON_CPUID_INDEX_80000007): Likewise.
697 (COMMON_CPUID_INDEX_80000008): Likewise.
698 (cpuid_registers): Likewise.
699 (cpu_features_basic): Likewise.
700 (CPU_FEATURE_USABLE): Likewise.
701 (bit_arch_XXX_Usable): Likewise.
702 (cpu_features): Use cpuid_registers and cpu_features_basic.
703 (bit_arch_XXX): Reweritten.
704 (bit_cpu_XXX): Likewise.
705 (index_cpu_XXX): Likewise.
707 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
709 (CHECK_CPU_FEATURE): New.
710 (CHECK_CPU_FEATURE_USABLE): Likewise.
711 (cpu_kinds): Likewise.
712 (do_test): Print vendor, family, model and stepping. Check
713 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
714 (TEST_FUNCTION): Removed.
715 Include <support/test-driver.c> instead of
716 "../../test-skeleton.c".
717 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
718 Check POPCNT instead of POPCOUNT.
719 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
721 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
723 * scripts/gen-as-const.py (main): Avoid emitting empty line when
724 there is no element in `consts'.
726 2018-12-01 Florian Weimer <fweimer@redhat.com>
728 * support/support_capture_subprocess.c
729 (support_capture_subprocess): Check that pipe descriptors have
730 expected values. Close original pipe descriptors in subprocess.
732 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
735 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
736 attr with __pthread_default_barrierattr.
737 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
738 attr with __pthread_default_condattr.
739 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
740 attr with __pthread_default_mutexattr.
741 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
742 attr with __pthread_default_rwlockattr.
744 2018-12-01 Kemi Wang <kemi.wang@intel.com>
746 * manual/tunables.texi (POSIX Thread Tunables): New node.
747 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
748 * nptl/nptl-init.c: Include pthread_mutex_conf.h
749 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
750 __pthread_tunables_init.
751 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
752 (max_adaptive_count): Define.
753 * nptl/pthread_mutex_conf.c: New file.
754 * nptl/pthread_mutex_conf.h: New file.
755 * sysdeps/generic/adaptive_spin_count.h: New file.
756 * sysdeps/nptl/dl-tunables.list: New file.
757 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
758 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
759 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
762 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
765 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
766 * stdlib/on_exit.c (__on_exit): Likewise.
767 * stdlib/Makefile (tests): Add tst-bz20544.
768 * stdlib/tst-bz20544.c: New test.
770 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
773 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
774 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
777 2018-11-30 Florian Weimer <fweimer@redhat.com>
779 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
780 Extend error logging.
781 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
784 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
786 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
787 __sigismember instead of sigismember.
788 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
789 cancel_handler): New definitions.
790 (do_system): Use posix_spawn instead of fork and execl and remove
792 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
793 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
794 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
795 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
796 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
797 * sysdeps/unix/sysv/linux/system.c: Likewise.
801 * NEWS: Add new semantic for atfork with popen and system.
802 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
805 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
808 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
809 modification order when accessing reloc_result->addr.
810 * include/link.h (reloc_result): Add field init.
811 * nptl/Makefile (tests): Add tst-audit-threads.
812 (modules-names): Add tst-audit-threads-mod1 and
813 tst-audit-threads-mod2.
814 Add rules to build tst-audit-threads.
815 * nptl/tst-audit-threads-mod1.c: New file.
816 * nptl/tst-audit-threads-mod2.c: Likewise.
817 * nptl/tst-audit-threads.c: Likewise.
818 * nptl/tst-audit-threads.h: Likewise.
820 2018-11-30 Joseph Myers <joseph@codesourcery.com>
822 * scripts/gen-as-const.py: New file.
823 * scripts/gen-as-const.awk: Remove.
824 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
826 ($(objpfx)test-as-const-%.c): Likewise.
828 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
830 * elf/dl-exception.c: Include <_itoa.h>.
832 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
834 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
835 returned by __f_setlk.
837 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
838 Adhemerval Zanella <adhemerval.zanella@linaro.org>
840 * elf/Makefile (tests-internal): Add tst-create_format1.
841 * elf/dl-exception.c (_dl_exception_create_format): Support
843 * elf/tst-create_format1.c: New file.
845 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
847 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
848 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
850 * argp/argp-help.c (__argp_failure): Likewise.
852 2018-11-29 Mao Han <han_mao@c-sky.com>
854 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
855 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
856 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
857 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
858 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
859 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
860 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
861 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
862 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
863 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
864 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
865 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
866 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
867 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
868 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
869 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
870 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
871 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
872 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
873 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
874 (R_CKCORE_TLS_TPOFF32): New defines.
876 2018-11-29 Florian Weimer <fweimer@redhat.com>
878 * posix/Makefile (before-compile): Remove testcases.h and
880 (generated): Add testcases.h and ptestcases.h.
881 (testcases.h, ptestcases.h): Move to $(objpfx).
882 (runtests.o): Add dependency on testcases.h.
883 (runptests.o): Add dependency on ptestcases.h.
884 * posix/testcases.h, posix/ptestcases.h: Remove files.
885 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
886 not touch posix/testcases.h and posix/ptestcases.h.
888 2018-11-28 Florian Weimer <fweimer@redhat.com>
890 support: Add signal support to support_capture_subprocess_check.
891 * support/capture_subprocess.h (support_capture_subprocess_check):
892 Adjust comment and rename parameter.
893 * support/support_capture_subprocess_check.c
894 (print_actual_status): New function.
895 (support_capture_subprocess_check): Support negative
896 status_or_signal. Call print_actual_status.
897 * support/tst-support_capture_subprocess.c (do_test): Call
898 support_capture_subprocess_check.
899 * libio/tst-vtables-common.c (termination_status)
900 (init_termination_status): Remove.
901 (check_for_termination): Adjust support_capture_subprocess_check
903 (do_test): Remove call to init_termination_status.
905 2018-11-28 Joseph Myers <joseph@codesourcery.com>
907 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
908 source directory instead of a copy.
909 (CommandList.create_copy_dir): Remove.
911 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
913 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
915 2018-11-28 Florian Weimer <fweimer@redhat.com>
917 * support/support.h (support_quote_string): Do not use str
920 2018-11-27 Joseph Myers <joseph@codesourcery.com>
922 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
923 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
925 2018-11-27 Florian Weimer <fweimer@redhat.com>
927 * support/support.h (support_quote_string): Declare.
928 * support/support_quote_string.c: New file.
929 * support/tst-support_quote_string.c: Likewise.
930 * support/Makefile (libsupport-routines): Add
931 support_quote_string.
932 (tests): Add tst-support_quote_string.
934 2018-11-27 Florian Weimer <fweimer@redhat.com>
938 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
939 descriptor leak in case of ENODEV error.
941 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
944 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
945 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
946 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
948 2018-11-26 Carlos O'Donell <carlos@redhat.com>
950 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
951 Error for unknown lines.
953 2018-11-26 Joseph Myers <joseph@codesourcery.com>
955 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
956 Touch additional files.
958 2018-11-26 Florian Weimer <fweimer@redhat.com>
961 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
964 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
967 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
968 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
969 SHARED. Include sysdep.h.
970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
975 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
978 * nptl/Makefile (tests-static): Add tst-cond11-static.
980 * nptl/tst-cond11-static.c: New File.
981 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
984 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
986 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
987 (USE_VSYSCALL): Likewise.
988 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
989 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
991 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
996 2018-11-23 Joseph Myers <joseph@codesourcery.com>
999 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1000 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1003 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
1005 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
1006 (tst-cet-legacy-1a-ARGS): New.
1007 ($(objpfx)tst-cet-legacy-1a): New target.
1008 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
1010 2018-11-22 Joseph Myers <joseph@codesourcery.com>
1012 * conform/conformtest.py (CompileSubTest.__init__): Set
1013 self.run_early to False.
1014 (ExecuteSubTest.__init__): Likewise.
1015 (HeaderTests.run): Try running all non-optional, non-XFAILed
1016 compilation tests in a single execution of the compiler.
1018 * conform/conformtest.py (CompileSubTest): New class.
1019 (ExecuteSubTest): Likewise.
1020 (ElementTest.run): Rename to gen_subtests. Append tests to
1021 self.subtests instead of running them.
1022 (ConstantTest.run): Likewise.
1023 (SymbolTest.run): Likewise.
1024 (TypeTest.run): Likewise.
1025 (TagTest.run): Likewise.
1026 (FunctionTest.run): Likewise.
1027 (VariableTest.run): Likewise.
1028 (MacroFunctionTest.run): Likewise.
1029 (MacroStrTest.run): Likewise.
1030 (HeaderTests.handle_test_line): Generate subtests for tests.
1031 (HeaderTests.run): Run subtests for tests.
1033 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1035 * math/Versions (GLIBC_2.29): Add pow.
1036 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
1038 * math/w_pow.c: New file.
1039 * sysdeps/i386/fpu/w_pow.c: New file.
1040 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
1041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
1042 and add necessary aliases.
1043 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
1044 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
1045 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1046 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1047 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1048 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1049 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1050 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1051 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1052 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1053 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1054 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1055 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1056 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1057 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1062 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1063 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1064 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1065 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1066 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1067 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1068 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1069 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
1071 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
1072 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
1073 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
1075 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1077 * math/Versions (GLIBC_2.29): Add log2.
1078 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
1080 * math/w_log2.c: New file.
1081 * sysdeps/i386/fpu/w_log2.c: New file.
1082 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
1083 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
1084 and add necessary aliases.
1085 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
1086 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
1087 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1088 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1089 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1090 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1091 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1092 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1093 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1094 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1095 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1096 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1097 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1098 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1099 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1104 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1105 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1106 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1107 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1108 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1109 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1110 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1112 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1114 * math/Versions (GLIBC_2.29): Add log.
1115 * math/w_log_compat.c (__log_compat): Change to versioned compat
1117 * math/w_log.c: New file.
1118 * sysdeps/i386/fpu/w_log.c: New file.
1119 * sysdeps/ia64/fpu/e_log.S: Update.
1120 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
1121 and add necessary aliases.
1122 * sysdeps/ieee754/dbl-64/w_log.c: New file.
1123 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
1124 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1125 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1126 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1127 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1128 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1129 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1130 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1131 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1132 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1133 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1134 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1135 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1136 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1141 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1142 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1143 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1144 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1145 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1146 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1147 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1148 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
1150 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
1151 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
1152 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
1153 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
1155 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1157 * math/Versions (GLIBC_2.29): Add exp and exp2.
1158 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
1159 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
1160 * math/w_exp_compat.c (__exp_compat): Likewise.
1161 * math/w_exp.c: New file.
1162 * math/w_exp2.c: New file.
1163 * sysdeps/i386/fpu/w_exp.c: New file.
1164 * sysdeps/i386/fpu/w_exp2.c: New file.
1165 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
1166 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1167 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
1168 and add necessary aliases.
1169 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
1170 and add necessary aliases.
1171 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
1172 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
1173 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
1174 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
1175 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1176 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1177 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1178 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1179 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1180 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1181 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1182 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1183 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1184 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1185 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1186 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1187 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1192 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1193 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1194 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1195 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1196 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1197 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1198 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1199 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
1200 (__ieee754_exp): Rename to __exp.
1201 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
1202 (__ieee754_exp): Rename to __exp.
1203 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
1204 (__ieee754_exp): Rename to __exp.
1205 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
1207 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
1209 2018-11-20 DJ Delorie <dj@redhat.com>
1211 * malloc/malloc.c (tcache_entry): Add key field.
1212 (tcache_put): Set it.
1213 (tcache_get): Likewise.
1214 (_int_free): Check for double free in tcache.
1215 * malloc/tst-tcfree1.c: New.
1216 * malloc/tst-tcfree2.c: New.
1217 * malloc/Makefile: Run the new tests.
1218 * manual/probes.texi: Document memory_tcache_double_free probe.
1220 * dlfcn/dlerror.c (check_free): Prevent double frees.
1222 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
1224 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
1226 2018-11-20 Joseph Myers <joseph@codesourcery.com>
1228 * conform/conformtest.py (ElementTest.run): Use unique identifiers
1229 in tests. Use names for format arguments.
1230 (ConstantTest.run): Likewise.
1231 (SymbolTest.run): Likewise.
1232 (TypeTest.run): Likewise.
1233 (TagTest.run): Likewise.
1234 (FunctionTest.run): Likewise.
1235 (VariableTest.run): Likewise.
1236 (MacroFunctionTest.run): Likewise.
1237 (MacroStrTest.run): Likewise.
1238 (HeaderTests.__init__): Set self.num_tests.
1239 (HeaderTests.handle_test_line): Set test.num. Increment
1242 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
1244 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
1245 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
1248 2018-11-19 Mao Han <han_mao@c-sky.com>
1250 * scripts/config.guess: Update to version 2018-08-29.
1251 * scripts/config.sub: Update to version 2018-08-29.
1253 2018-11-19 Florian Weimer <fweimer@redhat.com>
1255 support: Print timestamps in timeout handler.
1256 * support/support_test_main.c (print_timestamp): New function.
1257 (signal_handler): Use it to print the termination time and the
1258 time of the last write to standard output.
1260 2018-11-16 Zack Weinberg <zackw@panix.com>
1261 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1263 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
1264 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
1266 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
1267 and add flags argument. Check flags instead of __ldbl_is_dbl when
1268 deciding whether to set is_long_double.
1269 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
1270 passing zero for flags argument.
1271 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
1273 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1274 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
1275 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
1276 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
1277 variable names. Remove libc_hidden_def/libc_hidden_proto from
1278 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
1279 longer called from within the library.
1280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
1281 for __nldbl___vstrfmon_l, declare it explicitly.
1283 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
1285 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
1287 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
1289 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
1290 F_SETLK64, F_SETLKW64, respectively.
1291 * sysdeps/mach/hurd/f_setlk.c: New file.
1292 * sysdeps/mach/hurd/f_setlk.h: New file.
1293 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
1295 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
1296 (__libc_fcntl): Move non-flock operations to...
1297 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
1298 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
1300 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
1302 mktime: DEBUG_MKTIME cleanup
1303 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
1304 And it’s no longer needed now that glibc and Gnulib both have
1305 their own testing mechanisms for mktime.
1306 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
1308 mktime: fix non-EOVERFLOW errno handling
1310 mktime was not properly reporting failures when the underlying
1311 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
1312 them like EOVERFLOW failures, and set errno to EOVERFLOW.
1313 The problem could happen on non-glibc platforms, with Gnulib.
1314 * time/mktime.c (guess_time_tm): Remove, replacing with ...
1315 (tm_diff): ... this simpler function, which does not change errno.
1316 All callers changed to deal with errno themselves.
1317 (ranged_convert, __mktime_internal): Return failure immediately if
1318 the underlying function reports any failure other than EOVERFLOW.
1319 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
1322 mktime: fix bug with Y2038 DST transition
1324 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
1325 mishandle a DST transition that jumps over the Y2038 boundary.
1326 No such DST transitions are known so this is only a theoretical
1327 bug, but we might as well do things right.
1329 mktime: make more room for overflow
1331 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
1332 This is so that we can add tm_diff results to a previous guess,
1333 which will be useful in a later patch.
1335 mktime: simplify offset guess
1337 * time/mktime.c (__mktime_internal): Omit excess precision.
1339 mktime: new test for mktime failure
1341 Based on a test suggested by Albert Aribaud in:
1342 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
1343 * time/Makefile (tests): Add bug-mktime4.
1344 * time/bug-mktime4.c: New file.
1346 mktime: fix EOVERFLOW bug
1348 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
1349 Include libc-config.h, not config.h, for __set_errno.
1350 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
1352 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
1354 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
1355 __attribute_copy__ to copy attributes from name. Drop static qualifier
1356 to avoid warnings about leaf attribute not having effect on static
1359 2018-11-13 Florian Weimer <fweimer@redhat.com>
1361 * malloc/malloc.c (fastbin_push_entry): New function.
1362 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
1363 (REMOVE_FB): Remove macro.
1364 (_int_malloc): Use fastbin_pop_entry and reindent.
1365 (_int_free): Use fastbin_push_entry.
1366 (malloc_consolidate): Use atomic_exchange_acquire.
1368 2018-11-13 Joseph Myers <joseph@codesourcery.com>
1370 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
1371 alias attribute, not with strong_alias.
1373 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
1374 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
1375 with additional parameter thread.
1376 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
1377 in terms of __hidden_ver2.
1378 (hidden_tls_def): New macro.
1379 (libc_hidden_tls_def): Likewise.
1380 (rtld_hidden_tls_def): Likewise.
1381 (libm_hidden_tls_def): Likewise.
1382 (libmvec_hidden_tls_def): Likewise.
1383 (libresolv_hidden_tls_def): Likewise.
1384 (librt_hidden_tls_def): Likewise.
1385 (libdl_hidden_tls_def): Likewise.
1386 (libnss_files_hidden_tls_def): Likewise.
1387 (libnsl_hidden_tls_def): Likewise.
1388 (libnss_nisplus_hidden_tls_def): Likewise.
1389 (libutil_hidden_tls_def): Likewise.
1390 (libutil_hidden_tls_def): Likweise.
1391 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
1392 libc_hidden_tls_def.
1393 (__sim_disabled_exceptions_thread): Likewise.
1394 (__sim_round_mode_thread): Likewise.
1396 * sysdeps/sparc/sparc-ifunc.h [SHARED]
1397 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
1398 copy attributes from name.
1400 2018-11-12 Joseph Myers <joseph@codesourcery.com>
1402 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
1403 Use __attribute_copy__ to copy attributes from name.
1405 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
1406 with __hidden_ver1 call.
1407 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
1408 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
1409 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
1410 (__cosf): Do not declare here.
1411 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
1412 (__sincosf): Do not declare here.
1413 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
1414 (__sinf): Do not declare here.
1416 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
1417 (__BIG_ENDIAN): Likewise.
1418 (__BYTE_ORDER): Likewise.
1419 (strong_alias): Likewise.
1420 (_strong_alias): Likewise.
1422 2018-11-12 Florian Weimer <fweimer@redhat.com>
1424 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
1425 function. Move after the definition of in_smallbin_range. Do not
1426 use __builtin_expect for paths that lead to a noreturn function.
1427 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
1428 because it is unclear whether this is in fact an unlikely
1430 (_int_malloc, _int_free): Adjust.
1431 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
1433 * malloc/arena.c (heap_trim): Likewise.
1435 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1437 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
1438 it, free it if needed.
1439 (reauthenticate): Test and use ccwdir.
1440 (child_init_port): In non-resetids case, test and use ccwdir.
1441 (child_chdir): New nested function to set ccwdir.
1442 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
1443 * hurd/hurd/port.h (_hurd_port_move): New function.
1444 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
1445 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
1446 * hurd/Versions (_hurd_port_move): Export function.
1447 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
1449 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
1450 of dtablesize for allocating dtable_cloexec.
1452 2018-11-09 Martin Sebor <msebor@redhat.com>
1454 * include/libc-symbols.h (__attribute_copy__): Define macro unless
1455 it's already defined.
1456 (_strong_alias): Use __attribute_copy__.
1457 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
1458 * misc/sys/cdefs.h (__attribute_copy__): New macro.
1459 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
1460 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
1461 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
1462 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
1463 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
1464 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
1465 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
1466 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
1467 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
1468 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
1469 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
1470 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
1471 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
1472 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
1473 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
1474 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
1475 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
1477 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1479 * misc/tst-efgcvt.c: Include support/check.h and
1480 support/test-driver.c. Do not include test-skeleton.c.
1481 (error_count): Remove.
1482 (output_error): Replace increments to error_count with calls to
1483 support_record_failure.
1484 (output_r_error): Likewise.
1485 (special): Likewise.
1486 (do_test): Unconditionally return zero.
1487 (TEST_FUNCTION): Remove.
1489 2018-11-09 Joseph Myers <joseph@codesourcery.com>
1491 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
1493 ($(linknamespace-header-tests)): Likewise.
1495 * conform/conformtest.py: New file.
1496 * conform/conformtest.pl: Remove.
1497 * conform/GlibcConform.pm: Likewise.
1498 * conform/glibcconform.py (KEYWORDS_C90): New constant.
1499 (KEYWORDS_C99): Likewise.
1500 (KEYWORDS): Likewise.
1501 * conform/Makefile ($(conformtest-header-tests)): Use
1502 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
1503 option. Use --header instead of --headers.
1504 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
1506 * conform/data/spawn.h-data: Likewise.
1507 * conform/data/fcntl.h-data (openat): Add space after function
1509 * conform/data/wchar.h-data (wcscasecmp): Likewise.
1510 (wcscasecmp_l): Likewise.
1511 * conform/data/termios.h-data (c_cc): Add space after element
1514 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1516 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
1517 instead of manually comparing and reporting mismatching strings.
1518 * misc/tst-ldbl-error.c (do_one_test): Likewise.
1519 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1521 2018-11-08 Joseph Myers <joseph@codesourcery.com>
1523 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
1524 __ASSUME_SOCKETCALL.
1525 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1526 (__ASSUME_SOCKETCALL): Remove.
1527 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1528 (__ASSUME_SOCKETCALL): Likewise.
1529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1530 (__ASSUME_SOCKETCALL): Likewise.
1531 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1532 (__ASSUME_SOCKETCALL): Likewise.
1533 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1534 (__ASSUME_SOCKETCALL): Likewise.
1535 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1536 (__ASSUME_SOCKETCALL): Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1538 (__ASSUME_SOCKETCALL): Likewise.
1540 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
1543 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
1544 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
1545 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
1546 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
1547 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
1550 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
1553 * resolv/tst-resolv-network.c: Add test for getnetbyname.
1555 2018-11-07 Joseph Myers <joseph@codesourcery.com>
1558 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1559 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
1560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1561 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
1563 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1565 * support/support_test_compare_string.c
1566 (support_test_compare_string): Fix printf format.
1568 2018-11-07 Florian Weimer <fweimer@redhat.com>
1570 Implement TEST_COMPARE_STRING.
1571 * support/check.h (TEST_COMPARE_STRING): Define.
1572 (support_test_compare_string): Declare.
1573 * support/Makefile (libsupport-routines): Add
1574 support_test_compare_string.
1575 (tests): Add tst-test_compare_string.
1576 * support/support_test_compare_string.c: New file.
1577 * support/tst-test_compare_string.c: Likewise.
1579 2018-11-07 Andreas Schwab <schwab@suse.de>
1582 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
1583 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
1586 2018-11-06 Joseph Myers <joseph@codesourcery.com>
1589 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1590 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
1591 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
1592 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1595 2018-11-06 Florian Weimer <fweimer@redhat.com>
1598 * posix/Makefile (routines): Add spawn_faction_addchdir.
1599 (tests): Add tst-spawn-chdir.
1600 * posix/Versions (GLIBC_2.29): Add
1601 posix_spawn_file_actions_addchdir_np.
1602 * posix/spawn_faction_addchdir.c: New file.
1603 * posix/spawn_faction_destroy.c
1604 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
1605 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
1606 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
1608 * posix/tst-spawn-chdir.c: New file.
1609 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
1610 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1611 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
1612 posix_spawn_file_actions_addchdir_np.
1613 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
1615 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
1617 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
1618 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
1620 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
1622 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
1624 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
1626 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
1628 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
1630 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1631 (GLIBC_2.29): Likewise.
1632 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1633 (GLIBC_2.29): Likewise.
1634 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1635 (GLIBC_2.29): Likewise.
1636 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1637 (GLIBC_2.29): Likewise.
1638 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1641 (GLIBC_2.29): Likewise.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1643 (GLIBC_2.29): Likewise.
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1645 (GLIBC_2.29): Likewise.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1647 (GLIBC_2.29): Likewise.
1648 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1650 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1652 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1654 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1655 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1657 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1659 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1661 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1664 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1666 * misc/Makefile (tests): Add tst-ldbl-error.
1667 * misc/tst-ldbl-error.c: New file.
1669 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1671 * misc/Makefile (tests): Add tst-ldbl-warn.
1672 * misc/tst-ldbl-warn.c: New file.
1674 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1676 * argp/Makefile (tests): Add tst-ldbl-argp.
1677 * argp/tst-ldbl-argp.c: New file.
1679 2018-11-05 Arjun Shankar <arjun@redhat.com>
1681 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
1682 __gconv_path_elem and call __gconv_get_path unconditionally.
1684 2018-11-05 Andreas Schwab <schwab@suse.de>
1687 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
1688 creating the first helper thread failed.
1690 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1692 * sysdeps/mach/hurd/msync.c: New file.
1694 2018-11-02 Florian Weimer <fweimer@redhat.com>
1696 * support/shell-container.c (copy_func): Call
1697 support_copy_file_range instead of copy_file_range to support
1698 cross-device copies.
1700 2018-11-02 Florian Weimer <fweimer@redhat.com>
1702 * support/test-container.c: Include <libc-pointer-arith.h> for
1705 2018-11-01 Zong Li <zong@andestech.com>
1707 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
1708 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
1709 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
1710 (__FP_FRAC_SET_8): Add implementation for RV32 use.
1712 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
1713 variable to avoid overlap arguments.
1715 2018-11-01 Joseph Myers <joseph@codesourcery.com>
1717 * posix/bug-regex22.c (main): Use puts with distinct error
1718 messages for unexpected success of re_compile_pattern, not printf
1719 with NULL argument to %s.
1721 * stdio-common/bug22.c: Include <libc-diag.h>.
1722 (do_test): Disable -Wformat-overflow= warnings around fprintf
1723 calls outputting more than INT_MAX characters.
1724 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
1725 around printf call with NULL %s argument.
1728 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
1729 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
1731 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1732 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1733 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1734 (__ASSUME_SENDTO_SYSCALL): Likewise.
1735 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1736 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
1738 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1739 (__ASSUME_CONNECT_SYSCALL): Likewise.
1740 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1741 (__ASSUME_RECVFROM_SYSCALL): Likewise.
1742 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
1744 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
1746 [__LINUX_KERNEL_VERSION >= 0x040400]
1747 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
1751 (setsockopt): Likewise.
1753 2018-11-01 Fredrik Noring <noring@nocrew.org>
1755 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
1756 with the ISA override.
1758 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
1760 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
1763 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1765 * manual/errno.texi (EIEIO): Document how translators should
1766 translate the error message.
1767 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
1768 printing trailing whitespaces refused by git.
1769 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
1770 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1771 * hurd/Makefile (user-interfaces): Add pci.
1773 2018-10-30 Joseph Myers <joseph@codesourcery.com>
1775 * conform/linknamespace.py: New file.
1776 * conform/linknamespace.pl: Remove file.
1777 * conform/Makefile ($(linknamespace-header-tests)): Use
1778 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
1781 2018-10-30 Florian Weimer <fweimer@redhat.com>
1783 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
1786 2018-10-30 Florian Weimer <fweimer@redhat.com>
1788 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
1790 2018-10-30 Florian Weimer <fweimer@redhat.com>
1792 * stdlib/tst-strtod-overflow.c (do_test): Switch to
1793 support_blob_repeat.
1795 2018-10-30 Florian Weimer <fweimer@redhat.com>
1797 Avoid spurious test failures in stdlib/test-bz22786.
1798 * support/Makefile (libsupport-routines): Add blob_repeat.
1799 (tests): Add tst-support_blob_repeat.
1800 * support/blob_repeat.h: New file.
1801 * support/blob_repeat.c: Likewise.
1802 * support/tst-support_blob_repeat.c: Likewise.
1803 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
1804 support_blob_repeat_allocate.
1806 2018-10-30 Andreas Schwab <schwab@suse.de>
1809 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
1810 Don't use tail call.
1811 * elf/tst-unwind-main.c: New file.
1812 * elf/Makefile (tests): Add tst-unwind-main.
1813 (CFLAGS-tst-unwind-main.c): Define.
1815 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
1818 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
1820 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
1822 2018-10-29 Joseph Myers <joseph@codesourcery.com>
1824 * conform/glibcconform.py: Do not import shutil.
1825 (list_exported_functions): Use tempfile.TemporaryDirectory instead
1828 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
1829 critic_missing for versions before 3.4.
1830 * configure: Regenerated.
1831 * manual/install.texi (Tools for Compilation): Document
1832 requirement for Python to build glibc.
1833 * INSTALL: Regenerated.
1834 * Rules [PYTHON]: Make code unconditional.
1835 * benchtests/Makefile [PYTHON]: Likewise.
1836 * conform/Makefile [PYTHON]: Likewise.
1837 * manual/Makefile [PYTHON]: Likewise.
1838 * math/Makefile [PYTHON]: Likewise.
1840 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1842 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
1843 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
1844 answer to interrupt_operation, return EIEIO instead of EINTR.
1845 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
1846 _hurd_intr_rpc_msg_about_to global point to start of controlled
1847 assembly snippet. Make it check canceled flag.
1848 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
1849 the _hurd_intr_rpc_msg_about_to point.
1850 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
1851 issue, remove cancel flag check.
1853 2018-10-26 Joseph Myers <joseph@codesourcery.com>
1855 * scripts/build-many-glibcs.py: Remove compatibility for missing
1856 os.cpu_count and re.fullmatch.
1858 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1861 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
1862 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
1863 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
1865 2018-10-25 Joseph Myers <joseph@codesourcery.com>
1867 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
1870 2018-10-25 Florian Weimer <fweimer@redhat.com>
1874 XFAIL siginfo_t si_band conform test on sparc64.
1875 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1876 (__SI_BAND_TYPE): Only override long int default type on sparc64.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1878 (conformtest-xfail-conds): Add sparc64-linux.
1879 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
1881 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
1883 2018-10-25 Joseph Myers <joseph@codesourcery.com>
1885 * elf/elf.h (NT_MIPS_DSP): New macro.
1886 (NT_MIPS_FP_MODE): Likewise.
1888 2018-10-25 Zong Li <zong@andestech.com>
1890 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
1891 name by adding the file extension (.so).
1893 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
1895 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
1896 (test-xfail-ISO11/threads.h/linknamespace,
1897 test-xfail-ISO11/threads.h/conform): Add.
1899 2018-10-24 Joseph Myers <joseph@codesourcery.com>
1901 * math/gen-libm-test.py: Import os.
1902 (ALL_FLOATS_MANUAL): New constant.
1903 (ALL_FLOATS_SUFFIX): Likewise.
1904 (Ulps.all_functions): New function.
1905 (real_all_ulps): Likewise.
1906 (generate_err_table_sub): Likewise.
1907 (generate_err_table): Likewise.
1908 (main): Handle -s and -m options.
1909 * manual/libm-err-tab.pl: Remove.
1910 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
1911 instead of libm-err-tab.pl.
1912 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
1914 * manual/install.texi (Tools for Compilation): Document
1915 requirement for Python to build manual.
1916 * INSTALL: Regenerated.
1918 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
1920 * bits/time64.h: New file.
1921 * include/time.h: Replace internal_time_t with __time64_t.
1922 * posix/bits/types (__time64_t): Add.
1923 * stdlib/Makefile: Add bits/time64.h to includes.
1924 * time/tzfile.c: Replace internal_time_t with __time64_t.
1926 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1928 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
1929 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
1930 __posix_spawn_file_actions_init, __posix_spawnattr_init,
1931 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
1932 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
1934 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
1935 * posix/spawn_faction_addclose.c
1936 (__posix_spawn_file_actions_addclose): Add hidden definition.
1937 * posix/spawn_faction_adddup2.c
1938 (__posix_spawn_file_actions_adddup2): Likewise.
1939 * posix/spawn_faction_destroy.c
1940 (__posix_spawn_file_actions_destroy): Likewise.
1941 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
1943 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
1944 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
1945 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
1947 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
1948 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
1951 2018-10-24 Andreas Schwab <schwab@suse.de>
1954 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
1956 * elf/cache.c (print_cache): Likewise.
1958 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
1960 * bits/timesize.h: New file.
1961 * stdlib/Makefile (headers): Add bits/timesize.h.
1962 * sysdeps/unix/sysv/linux/bits/msq-pad.h
1963 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
1964 * sysdeps/unix/sysv/linux/bits/sem-pad.h
1965 (__SEM_PAD_AFTER_TIME): Likewise.
1966 * sysdeps/unix/sysv/linux/bits/shm-pad.h
1967 (__SHM_PAD_AFTER_TIME): Likewise.
1968 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
1969 (__MSQ_PAD_BEFORE_TIME): Likewise.
1970 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
1971 (__SEM_PAD_BEFORE_TIME): Likewise.
1972 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
1973 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
1974 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
1975 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
1976 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
1977 (__MSQ_PAD_BEFORE_TIME): Likewise.
1978 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
1979 (__SEM_PAD_BEFORE_TIME): Likewise.
1980 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
1981 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
1982 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
1983 (__MSQ_PAD_BEFORE_TIME): Likewise.
1984 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
1985 (__SEM_PAD_BEFORE_TIME): Likewise.
1986 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
1987 (__SHM_PAD_BEFORE_TIME): Likewise.
1988 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
1989 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
1990 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
1992 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
1994 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
1995 USE_RDTSCP is defined.
1996 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
1997 USE_RDTSCP is defined.
1999 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2001 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
2005 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
2006 independently of other flags.
2008 2018-10-23 Florian Weimer <fweimer@redhat.com>
2010 * time/tst-mktime2.c (N_STRINGS): Remove.
2011 (set_timezone): New function.
2012 (spring_forward_gap): Call it. Use FAIL_EXIT1.
2013 (mktime_test1): Report localtime failure and check errno value.
2015 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
2016 (do_test): Remove alarm call. Use set_timezone and array_length.
2018 2018-10-23 Andreas Schwab <schwab@suse.de>
2020 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
2021 (__start_context): Use END instead of PSEUDO_END.
2023 2018-10-22 Joseph Myers <joseph@codesourcery.com>
2025 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2028 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2032 * wcsmbs/c32rtomb.c: New file.
2033 * wcsmbs/mbrtoc32.c: Likewise.
2034 * wcsmbs/tst-c32-state.c: Likewise.
2035 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
2036 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
2037 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
2038 (tests): Add tst-c32-state.
2039 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
2042 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
2044 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
2045 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
2047 2018-10-19 Joseph Myers <joseph@codesourcery.com>
2050 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
2051 pair and return 0 in that case, and use saved character to
2052 interpret following character.
2053 * wcsmbs/tst-c16-surrogate.c: New file.
2054 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
2055 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
2056 Depend on $(gen-locales)
2058 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
2061 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2062 (struct siginfo_t): Use correct type for si_band.
2064 2018-10-19 Florian Weimer <fweimer@redhat.com>
2067 * resource/bits/types/struct_rusage.h (struct rusage): Update
2068 comment on struct. Remove extraneous field comment.
2070 2018-10-18 David S. Miller <davem@davemloft.net>
2072 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
2073 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
2074 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
2075 sysdep_routines in subdir elf.
2076 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
2077 version for __vdso_clock_gettime.
2078 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
2080 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2081 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2083 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2085 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
2087 * sysdeps/i386/init-arch.h: Removed.
2088 * sysdeps/i386/i586/init-arch.h: Likewise.
2089 * sysdeps/i386/i686/init-arch.h: Likewise.
2090 * sysdeps/i386/i686/hp-timing.h: Likewise.
2091 * sysdeps/x86_64/hp-timing.h: Likewise.
2092 * sysdeps/i386/isa.h: New file.
2093 * sysdeps/i386/i586/isa.h: Likewise.
2094 * sysdeps/i386/i686/isa.h: Likewise.
2095 * sysdeps/x86_64/isa.h: Likewise.
2096 * sysdeps/x86/hp-timing.h: New file.
2097 * sysdeps/x86/init-arch.h: Include <isa.h>.
2099 2018-10-17 Joseph Myers <joseph@codesourcery.com>
2101 * math/libm-test-pow.inc (pow_test_data): Do not allow
2102 divide-by-zero exception for pow(+/- 0, -Inf).
2104 2018-10-17 Zack Weinberg <zackw@panix.com>
2106 * manual/job.texi (Job Control is Optional): Remove node, as
2107 job control has not been optional in quite some time.
2108 (Job Control): Mention briefly that systems older than
2109 POSIX.1-2001 might not support job control.
2110 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
2111 defined on systems conforming to POSIX.1-2001.
2113 2018-10-17 Arjun Shankar <arjun@redhat.com>
2116 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
2118 * (__gconv_read_conf): Mark function static.
2119 * (once): New static variable.
2120 * (__gconv_load_conf): New function.
2121 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
2122 * iconv/gconv_db.c (once): Remove static variable.
2123 * (__gconv_compare_alias): Use __gconv_load_conf instead of
2125 * (__gconv_find_transform): Likewise.
2126 * iconv/tst-iconv-mt.c: New test.
2127 * iconv/Makefile: Add tst-iconv_mt.
2129 2018-10-17 Joseph Myers <joseph@codesourcery.com>
2131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2133 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
2134 (shmatt_t): Define as __syscall_ulong_t.
2135 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
2136 and [__SHM_PAD_AFTER_TIME].
2137 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
2138 Define shm_segsz and associated padding based on
2139 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
2140 Use __syscall_ulong_t instead of unsigned long int.
2141 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
2143 [__USE_MISC] (struct shm_info): Likewise.
2144 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
2145 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
2146 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
2147 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
2148 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
2149 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2150 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
2151 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2152 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2153 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2154 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2158 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
2159 (SHMLBA): Remove macro.
2160 (__getpagesize): Remove function declaration.
2161 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
2163 (SHMLBA): Remove macro.
2164 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
2166 (SHMLBA): Remove macro.
2167 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
2169 (SHMLBA): Remove macro.
2170 (__getpagesize): Remove function declaration.
2171 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
2173 (SHMLBA): Remove macro.
2174 (__getshmlba): Remove function declaration.
2175 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
2176 (SHMLBA): Remove macro.
2177 (__getpagesize): Remove function declaration.
2178 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
2179 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
2180 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2181 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
2182 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
2183 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
2184 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
2185 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
2186 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
2187 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
2189 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
2192 * nptl/tst-mutex10.c: New File.
2193 * nptl/Makefile (tests): Add tst-mutex10.
2194 (tst-mutex10-ENV): New variable.
2195 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
2196 Ensure that elision path is used if elision is available.
2197 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
2199 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
2201 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
2202 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
2203 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
2204 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
2206 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
2207 (__pthread_mutex_cond_lock_adjust): Likewise.
2208 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2210 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
2211 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2212 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2213 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
2215 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2216 Use atomic_load_relaxed and atomic_store_relaxed.
2217 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
2218 Use atomic_store_relaxed.
2220 2018-10-17 Andreas Schwab <schwab@suse.de>
2222 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
2223 * crypt/badsalttest.c (TIMEOUT): Likewise.
2224 * crypt/sha256c-test.c (TIMEOUT): Likewise.
2225 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
2226 * io/test-lfs.c (TIMEOUT): Likewise.
2227 * libio/tst-atime.c (TIMEOUT): Likewise.
2228 * localedata/tst-leaks.c (TIMEOUT): Likewise.
2229 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
2230 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
2231 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
2232 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
2233 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
2234 * nptl/tst-cond11.c (TIMEOUT): Likewise.
2235 * nptl/tst-cond14.c (TIMEOUT): Likewise.
2236 * nptl/tst-cond15.c (TIMEOUT): Likewise.
2237 * nptl/tst-cond24.c (TIMEOUT): Likewise.
2238 * nptl/tst-cond25.c (TIMEOUT): Likewise.
2239 * nptl/tst-kill2.c (TIMEOUT): Likewise.
2240 * nptl/tst-kill3.c (TIMEOUT): Likewise.
2241 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
2242 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
2243 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
2244 * nptl/tst-once2.c (TIMEOUT): Likewise.
2245 * nptl/tst-once3.c (TIMEOUT): Likewise.
2246 * nptl/tst-once4.c (TIMEOUT): Likewise.
2247 * nptl/tst-robust8.c (TIMEOUT): Likewise.
2248 * nptl/tst-robust9.c (TIMEOUT): Likewise.
2249 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
2250 * nptl/tst-sem14.c (TIMEOUT): Likewise.
2251 * nptl/tst-sem6.c (TIMEOUT): Likewise.
2252 * nptl/tst-signal3.c (TIMEOUT): Likewise.
2253 * nptl/tst-spin4.c (TIMEOUT): Likewise.
2254 * nptl/tst-tls3.c (TIMEOUT): Likewise.
2255 * nptl/tst-tls4.c (TIMEOUT): Likewise.
2256 * posix/tst-chmod.c (TIMEOUT): Likewise.
2257 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
2258 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
2259 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
2260 * posix/tst-regex2.c (TIMEOUT): Likewise.
2261 * posix/tst-waitid.c (TIMEOUT): Likewise.
2262 * rt/tst-aio.c (TIMEOUT): Likewise.
2263 * rt/tst-aio10.c (TIMEOUT): Likewise.
2264 * rt/tst-aio4.c (TIMEOUT): Likewise.
2265 * rt/tst-aio5.c (TIMEOUT): Likewise.
2266 * rt/tst-aio6.c (TIMEOUT): Likewise.
2267 * rt/tst-aio64.c (TIMEOUT): Likewise.
2268 * rt/tst-aio7.c (TIMEOUT): Likewise.
2269 * rt/tst-aio9.c (TIMEOUT): Likewise.
2270 * rt/tst-clock.c (TIMEOUT): Likewise.
2271 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
2272 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
2273 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
2274 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
2275 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
2276 * rt/tst-timer4.c (TIMEOUT): Likewise.
2277 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
2278 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
2279 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
2280 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
2281 * time/tst-ftime.c (TIMEOUT): Likewise.
2282 * timezone/tst-tzset.c (TIMEOUT): Likewise.
2284 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2286 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
2287 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
2290 2018-10-15 Joseph Myers <joseph@codesourcery.com>
2292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2294 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
2295 instead of <bits/wordsize.h>.
2296 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
2297 and [__SEM_PAD_AFTER_TIME].
2298 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
2299 __syscall_ulong_t instead of unsigned long int.
2300 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
2301 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
2302 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
2304 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
2305 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
2306 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
2307 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
2308 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2309 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2310 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2312 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
2314 regex: simplify by using intprops.h
2316 * posix/regex_internal.h [_LIBC]: Include intprops.h.
2317 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
2318 intprops.h defines them.
2320 regex: __builtin_expect → __glibc_unlikely
2322 This refactoring was prompted by a problem when the regex code is
2323 used as part of Gnulib and when the builder’s compiler does not grok
2324 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
2325 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
2326 Although this refactoring does not fix the problem directly,
2327 we might as well have Gawk use the now-preferred glibc style for when
2328 __builtin_expect is unavailable.
2329 * posix/regex_internal.h (BE): Remove.
2330 All uses replaced by __glibc_unlikely or __glibc_likely.
2332 2018-10-11 Joseph Myers <joseph@codesourcery.com>
2334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2336 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
2337 instead of <bits/wordsize.h>.
2338 (msgqnum_t): Define as __syscall_ulong_t.
2339 (msglen_t): Likewise.
2340 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
2341 and [__MSQ_PAD_AFTER_TIME].
2342 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
2343 __syscall_ulong_t instead of unsigned long int.
2344 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
2345 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
2346 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
2348 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
2349 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
2350 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
2351 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
2352 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2353 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2354 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2356 2018-10-10 Joseph Myers <joseph@codesourcery.com>
2358 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
2359 (struct shmid_ds): Condition padding after time fields on
2361 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
2362 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
2363 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2365 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
2366 (struct semid_ds): Condition padding after time fields on
2368 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
2369 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
2370 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
2371 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2373 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
2374 (struct msqid_ds): Condition padding after time fields on
2376 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
2377 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
2378 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
2379 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2381 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2383 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
2385 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2387 * libio/tst-readline.c (TIMEOUT): Define.
2389 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
2391 mktime fix for Gnulib + coreutils
2393 This fix affects only Gnulib. Problem discovered when
2394 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
2396 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
2397 Do not define since it is not used. Defining an unused static
2398 function prompts a warning from GCC when Coreutils is configured
2399 with --enable-gcc-warnings.
2401 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2403 * benchtests/scripts/compare_bench.py (main): set float type on
2406 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
2409 * localedata/locales/kl_GL (mon): Update, the relative case.
2410 (alt_mon): Add, fill with month names in the nominative case.
2411 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
2412 (d_fmt): Set to "%b %d %Y".
2414 2018-10-04 Joseph Myers <joseph@codesourcery.com>
2416 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
2417 <bits/mman-linux.h>.
2418 (PROT_READ): Don't define here.
2419 (PROT_WRITE): Likewise.
2420 (PROT_EXEC): Likewise.
2421 (PROT_NONE): Likewise.
2422 (PROT_GROWSDOWN): Likewise.
2423 (PROT_GROWSUP): Likewise.
2424 (MAP_SHARED): Likewise.
2425 (MAP_PRIVATE): Likewise.
2426 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
2427 [__USE_MISC] (MAP_FILE): Likewise.
2428 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
2429 [__USE_MISC] (MAP_ANON): Likewise.
2430 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
2431 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
2432 (MCL_CURRENT): Likewise.
2433 (MCL_FUTURE): Likewise.
2434 (MCL_ONFAULT): Likewise.
2435 [__USE_MISC] (MADV_NORMAL): Likewise.
2436 [__USE_MISC] (MADV_RANDOM): Likewise.
2437 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
2438 [__USE_MISC] (MADV_WILLNEED): Likewise.
2439 [__USE_MISC] (MADV_DONTNEED): Likewise.
2440 [__USE_MISC] (MADV_FREE): Likewise.
2441 [__USE_MISC] (MADV_REMOVE): Likewise.
2442 [__USE_MISC] (MADV_DONTFORK): Likewise.
2443 [__USE_MISC] (MADV_DOFORK): Likewise.
2444 [__USE_MISC] (MADV_HWPOISON): Likewise.
2445 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
2446 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
2447 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
2448 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
2449 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
2450 (__MAP_ANONYMOUS): New macro.
2451 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
2452 <bits/mman-linux.h> inclusion.
2453 (MAP_FIXED): Likewise.
2454 (MS_SYNC): Likewise.
2455 (MS_ASYNC): Likewise.
2456 (MS_INVALIDATE): Likewise.
2457 [__USE_MISC] (MADV_MERGEABLE): Likewise.
2458 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
2459 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
2460 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
2461 [__USE_MISC] (MADV_DONTDUMP): Likewise.
2462 [__USE_MISC] (MADV_DODUMP): Likewise.
2463 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
2464 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
2467 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
2469 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
2470 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
2471 Add test-nldbl-redirect.
2472 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
2473 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
2474 $(objpfx)libnldbl_nonshared.a.
2476 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
2478 * support/support.h (support_objdir_elf_ldso): New variable.
2479 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
2480 * support/Makefile (CFLAGS-support_paths.c): Add definition
2481 for OBJDIR_ELF_LDSO_PATH.
2482 * support/test-container.c (main): Search for the ld.so
2483 which is also used by the testsuite.
2485 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
2488 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
2489 should be "sap" rather than "sab".
2490 (day): Fix spelling of Sunday, should be "sapaat" rather than
2493 2018-10-02 Joseph Myers <joseph@codesourcery.com>
2495 * math/libm-test-fma.inc (fma_test_data): Add more tests.
2497 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
2500 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
2501 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
2502 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
2504 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2506 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
2508 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
2510 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
2512 (CFLAGS-elision-unlock.c): Likewise.
2513 (CFLAGS-elision-timed.c): Likewise.
2514 (CFLAGS-elision-trylock.c): Likewise.
2515 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
2517 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2520 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
2521 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
2522 new fd_to_filename interface.
2523 * libio/freopen64.c (freopen64): Likewise.
2524 * libio/tst-memstream.h: New file.
2525 * libio/tst-memstream4.c: Likewise.
2526 * libio/tst-wmemstream4.c: Likewise.
2527 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
2528 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
2529 and remove internal dynamic allocation.
2531 2018-10-01 Joseph Myers <joseph@codesourcery.com>
2533 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
2534 (MREMAP_MAYMOVE): Do not define here.
2535 [__USE_GNU] (MREMAP_FIXED): Likewise.
2536 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
2537 (MREMAP_MAYMOVE): Define here instead.
2538 [__USE_GNU] (MREMAP_FIXED): Likewise.
2539 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
2540 (MREMAP_MAYMOVE): Remove.
2541 [__USE_GNU] (MREMAP_FIXED): Likewise.
2543 2018-09-28 Joseph Myers <joseph@codesourcery.com>
2545 * math/fromfp.h: Do not include <math_private.h>.
2546 * math/s_cacosh_template.c: Likewise.
2547 * math/s_casin_template.c: Likewise.
2548 * math/s_casinh_template.c: Likewise.
2549 * math/s_ccos_template.c: Likewise.
2550 * math/s_cproj_template.c: Likewise.
2551 * math/s_fdim_template.c: Likewise.
2552 * math/s_fmaxmag_template.c: Likewise.
2553 * math/s_fminmag_template.c: Likewise.
2554 * math/s_iseqsig_template.c: Likewise.
2555 * math/s_ldexp_template.c: Likewise.
2556 * math/s_nextdown_template.c: Likewise.
2557 * math/w_log1p_template.c: Likewise.
2558 * math/w_scalbln_template.c: Likewise.
2559 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
2560 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
2561 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
2562 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
2563 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
2564 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
2565 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
2566 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
2567 * sysdeps/i386/fpu/s_atanl.c: Likewise.
2568 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
2569 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
2570 * sysdeps/i386/fpu/s_fdim.c: Likewise.
2571 * sysdeps/i386/fpu/s_logbl.c: Likewise.
2572 * sysdeps/i386/fpu/s_rintl.c: Likewise.
2573 * sysdeps/i386/fpu/s_significandl.c: Likewise.
2574 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
2575 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
2576 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2577 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2578 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
2579 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2580 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2581 * sysdeps/ieee754/k_standardf.c: Likewise.
2582 * sysdeps/ieee754/k_standardl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2584 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2585 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2590 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
2591 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
2592 * sysdeps/ieee754/s_signgam.c: Likewise.
2593 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2594 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
2595 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
2596 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
2597 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
2598 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
2599 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2600 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
2601 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2602 * sysdeps/riscv/rvd/s_finite.c: Likewise.
2603 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
2604 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
2605 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
2606 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
2607 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
2608 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
2609 * sysdeps/riscv/rvf/fegetround.c: Likewise.
2610 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
2611 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
2612 * sysdeps/riscv/rvf/fesetround.c: Likewise.
2613 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
2614 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
2615 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
2616 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
2617 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
2618 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
2619 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
2620 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
2621 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
2622 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
2623 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
2624 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
2625 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
2626 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
2627 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2628 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2629 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
2631 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
2633 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
2636 * sysdeps/i386/dl-cet.c: Removed.
2637 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
2639 (_dl_runtime_profile_shstk): Likewise.
2640 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
2641 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
2643 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2646 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
2647 do_test_with_invalid_iov): New tests.
2648 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
2649 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
2650 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
2652 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2653 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2654 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
2656 2018-09-27 Joseph Myers <joseph@codesourcery.com>
2658 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2659 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
2660 (MATH_REDIRECT_BINARY_ARGS): New macro.
2661 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
2662 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
2663 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
2665 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
2666 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2667 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
2668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2669 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2670 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2678 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
2679 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
2680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
2682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
2684 * sysdeps/generic/math_private_calls.h
2685 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
2686 Do not declare and define as an inline function.
2687 * math/divtc3.c (__divtc3): Use copysign functions instead of
2688 __copysign variants.
2689 * math/multc3.c (__multc3): Likewise.
2690 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
2691 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
2692 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2693 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2695 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2696 (__ieee754_yn): Likewise.
2697 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2698 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
2699 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2700 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2701 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
2703 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
2704 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2706 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2710 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2711 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2713 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2714 (__ieee754_ynf): Likewise.
2715 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2716 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2717 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
2718 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2720 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2721 (__ieee754_ynl): Likewise.
2722 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2723 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2724 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2727 (__ieee754_ynl): Likewise.
2728 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
2729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2730 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2731 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2733 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2735 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
2736 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2737 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
2738 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
2739 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2741 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2742 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
2743 using MATH_REDIRECT.
2744 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
2746 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2749 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
2750 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2751 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2752 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
2754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
2755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
2756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
2757 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2758 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2759 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2760 (round): Redirect to __round.
2761 (__roundl): Call round instead of __round.
2762 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
2764 [_ARCH_PWR5X] (__roundf): Likewise.
2765 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
2766 functions instead of __round variants.
2767 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2768 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
2770 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
2772 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
2774 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
2775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
2777 (__ieee754_expl): Call roundl instead of __roundl.
2779 2018-09-27 Andreas Schwab <schwab@suse.de>
2782 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
2783 (do_test): Make st1 static.
2785 2018-09-26 Andreas Schwab <schwab@suse.de>
2788 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
2789 * elf/Makefile (tests): Add tst-unwind-ctor.
2790 (modules-names): Add tst-unwind-ctor-lib.
2791 ($(objpfx)tst-unwind-ctor): Depend on
2792 $(objpfx)tst-unwind-ctor-lib.so.
2794 2018-09-26 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
2797 file. Most contents moved from ....
2798 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
2799 and include <bits/mman-map-flags-generic.h>.
2800 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2801 (sysdep_headers): Add bits/mman-map-flags-generic.h.
2802 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
2803 <bits/mman-map-flags-generic.h>.
2804 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
2805 macros defined in <bits/mman-map-flags-generic.h>.
2806 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
2807 <bits/mman-map-flags-generic.h>.
2808 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
2809 defined in <bits/mman-map-flags-generic.h>.
2811 2018-09-26 Andreas Schwab <schwab@suse.de>
2813 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
2816 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
2817 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2818 Fangrui Song <maskray@google.com>
2821 * config.make.in (have-textrel_ifunc): New define.
2822 * configure.ac: Add check if linker supports textrel relocation with
2824 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
2826 (CFLAGS-tst-ifunc-textrel.c): New rule.
2827 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
2828 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
2829 * elf/tst-ifunc-textrel.c: New file.
2831 2018-09-25 Joseph Myers <joseph@codesourcery.com>
2833 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
2834 <bits/procfs-prregset.h>.
2835 (prgregset_t): Define using __prgregset_t.
2836 (prfpregset_t): Define using __prfpregset_t.
2837 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2838 (sysdep_headers): Add bits/procfs-prregset.h.
2839 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
2840 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
2841 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
2842 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
2844 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
2845 <bits/procfs-id.h> and <bits/procfs-extra.h>.
2846 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
2848 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2849 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
2850 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
2851 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
2852 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
2853 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
2854 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
2855 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
2856 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
2857 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
2858 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
2859 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
2860 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
2861 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
2862 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
2863 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
2864 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
2865 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
2866 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
2867 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
2868 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
2869 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2871 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
2873 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
2874 AArch64 version. Include <bits/procfs.h>.
2875 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2876 (sysdep_headers): Add bits/procfs.h.
2877 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
2878 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
2879 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
2880 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
2881 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
2882 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
2883 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
2884 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
2885 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
2886 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
2887 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
2888 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
2889 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
2890 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2891 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2893 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
2895 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2897 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
2900 2018-09-25 Arjun Shankar <arjun@redhat.com>
2902 * iconv/gconv_int.h (__gconv_path_elem): Remove.
2903 (__gconv_max_path_elem_len): Likewise.
2904 (__gconv_nmodules): Likewise.
2905 (__gconv_get_path): Likewise.
2906 (path_elem): Move to ...
2907 * iconv/gconv_conf.c: ... here.
2908 (__gconv_get_path): Mark function static.
2909 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
2910 * iconv/gconv_open.c: ... here.
2912 2018-09-24 Andreas Schwab <schwab@suse.de>
2914 * scripts/haveversions.awk: New file.
2915 * Makerules ($(common-objpfx)Versions.def)
2916 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
2917 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
2919 * Makeconfig ($(common-objpfx)Versions.def)
2920 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
2921 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
2923 ($(common-objpfx)Versions.mk): New rule. Include it.
2924 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
2925 Emit error if build-obsolete-nsl = yes.
2926 * manual/install.texi (Configuring and compiling): Describe
2927 --enable-obsolete-nsl as unavaiable after version 2.28.
2928 * INSTALL: Regenerate.
2930 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2932 * NEWS: Add note about new TLE support on powerpc64le.
2933 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
2934 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
2936 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
2937 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
2938 * sysdeps/powerpc/powerpc32/sysdep.h,
2939 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
2940 ABORT_TRANSACTION): Remove macros.
2941 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
2943 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
2945 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2946 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
2948 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
2950 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2953 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
2954 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
2955 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
2956 which is the same as in it_IT.
2957 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
2958 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
2960 2018-09-20 Joseph Myers <joseph@codesourcery.com>
2962 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2963 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
2964 using MATH_REDIRECT.
2965 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
2967 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2969 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2971 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2972 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
2974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
2975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
2976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
2977 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2978 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2979 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2980 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2981 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2982 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2983 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
2984 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2985 (ceil): Redirect to __ceil.
2986 (floor): Redirect to __floor.
2987 (trunc): Redirect to __trunc.
2988 (__truncl): Call trunc instead of __trunc.
2989 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
2991 [_ARCH_PWR5X] (__truncf): Likewise.
2992 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
2993 trunc functions instead of __trunc variants.
2994 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2998 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3000 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3003 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
3004 [__i586__ || __pentium__].
3005 [__i486__]: Handle explicitly.
3006 (HAS_CPUID): Define to 1 if above macros are undefined.
3007 (HAS_I586): Likewise.
3008 (HAS_I686): Likewise.
3010 2018-09-20 Florian Weimer <fweimer@redhat.com>
3012 * misc/tst-gethostid.c: New file.
3013 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
3014 (tst-gethostid): Link with -ldl.
3016 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
3018 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
3019 value from gethostbyname_r.
3021 2018-09-19 Carlos O'Donell <carlos@redhat.com>
3023 * stdlib/tst-setcontext9.c (f1): Rename to...
3025 (f1b): New function implementing lower half of f1 in alternate stack.
3027 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
3029 Fix mktime localtime offset confusion
3031 * include/time.h (__mktime_internal): The localtime offset is now
3032 of type long int instead of time_t. This is the longstanding type
3033 in glibc, and it is more than enough to represent difference
3034 between localtime and gmtime even if it is 32 bits and time_t is
3035 64. Changing it now will let us avoid an unnecessary change when
3036 time_t is widened to 64 bits on 32-bit platforms.
3037 * time/mktime-internal.h (mktime_offset_t): Now long int.
3039 Merge mktime, timegm from upstream Gnulib
3040 [BZ #23603][BZ #16346]
3041 This fixes some obscure problems with integer overflow.
3042 Although it looks scary, it is almost all a byte-for-byte copy
3043 from Gnulib, and the Gnulib code has been tested reasonably well.
3044 * include/intprops.h: New file, copied from Gnulib.
3045 * include/verify.h, time/mktime-internal.h:
3046 New tiny files, simplified from Gnulib.
3047 * time/mktime.c: Copy from Gnulib. This has the following changes:
3048 Do not include config.h if DEBUG_MKTIME is nonzero.
3049 Include stdbool.h, intprops.h, verify.h.
3050 Include string.h only if needed.
3051 Include stdlib.h on MS-Windows.
3052 Include mktime-internal.h.
3053 (DEBUG_MKTIME): Default to 0, and simplify later uses.
3054 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
3055 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
3056 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
3057 simplify later conditionals; default the others to zero. Use
3058 these conditionals to express only the code needed on the current
3059 platform. In uses of these conditionals, explicitly spell out how
3060 _LIBC affects things, so it’s easier to review from a glibc
3062 (WRAPV): Remove; no longer needed now that we have
3063 systematic overflow checking.
3064 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
3065 compartmentalize tzset issues. Move system-dependent tzsettish
3066 code here from mktime.
3067 (verify): Remove; now done by verify.h. All uses changed.
3068 (long_int): Use a more-conservative definition, to avoid
3070 (SHR): Remove, replacing with ...
3071 (shr): New function, which means we needn’t worry about side
3072 effects in args, and conversion analysis is simpler.
3073 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
3074 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
3075 (time_t_avg, time_t_add_ok): Remove.
3076 (mktime_min, mktime_max): New constants.
3077 (leapyear, isdst_differ): Use bool for booleans.
3078 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
3079 Use long_int, not time_t, for mktime differences.
3080 (long_int_avg): New function, replacing time_t_avg.
3081 INT_ADD_WRAPV replaces time_t_add_ok.
3082 (guess_time_tm): 6th arg is now long_int, not time_t const *.
3084 (convert_time): New function.
3085 (ranged_convert): Use it.
3086 (__mktime_internal): Last arg now points to mktime_offset_t, not
3087 time_t. All uses changed. This is a no-op on glibc, where
3088 mktime_offset_t is always time_t. Use int, not time_t, for UTC
3089 offset guess. Directly check for integer overflow instead of
3090 using a heuristic that works only 99.9...% of the time.
3091 Access *OFFSET only once, to avoid an unlikely race if the
3092 compiler delays a load and if this cascades into a signed integer
3094 (mktime): Move tzsettish code to my_tzset, and move
3095 localtime_offset to within mktime so that it doesn’t
3096 need a separate ifdef.
3097 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
3098 instead of localtime.
3099 * time/timegm.c: Copy from Gnulib. This has the following changes:
3100 Include mktime-internal.h.
3101 [!_LIBC]: Include config.h and time.h. Do not include
3102 timegm.h or time_r.h. Make __mktime_internal a macro,
3103 and include mktime-internal.h to get its declaration.
3104 (timegm): Temporary is now mktime_offset_t, not time_t.
3105 This affects only Gnulib.
3107 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3110 * string/test-strstr.c (pr23637): New function.
3111 (test_main): Add tests with longer needles.
3112 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
3113 * string/strstr.c (AVAILABLE): Likewise.
3115 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3117 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
3119 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3121 * NEWS: Mention pow improvements.
3122 * math/Makefile (type-double-routines): Add e_pow_log_data.
3123 * sysdeps/generic/math_private.h (__exp1): Remove.
3124 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
3125 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
3126 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
3128 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
3129 (exp_inline): Remove.
3130 (__ieee754_exp): Only single double input is handled.
3131 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
3132 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
3133 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
3134 (__pow_log_data): Define.
3135 * sysdeps/ieee754/dbl-64/upow.h: Remove.
3136 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
3137 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
3138 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
3140 (CFLAGS-e_pow-fma4.c): Likewise.
3142 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
3144 Simplify tzfile fstat failure code
3146 * time/tzfile.c (__tzfile_read): Simplify slightly.
3148 Fix tzfile low-memory assertion failure
3150 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
3151 when registering time zone abbreviations.
3153 2018-09-18 Joseph Myers <joseph@codesourcery.com>
3155 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
3156 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
3157 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
3158 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
3159 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
3160 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
3161 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
3162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3165 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
3167 (__ceill): Call ceil instead of __ceil.
3168 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
3170 (__floorl): Call floor instead of __floor.
3172 2018-09-17 Joseph Myers <joseph@codesourcery.com>
3174 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3175 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
3176 using MATH_REDIRECT.
3177 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
3179 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
3180 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3181 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3182 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
3183 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3185 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3186 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
3188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
3189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
3190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
3191 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3192 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3195 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3196 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3197 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
3199 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
3200 functions instead of __ceil variants.
3201 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3202 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
3204 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
3206 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3207 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
3209 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3210 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3213 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
3215 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
3216 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
3217 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
3218 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
3219 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
3220 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
3221 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
3222 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
3223 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
3224 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3225 (ILL_BADIADDR): Remove constant.
3226 (TRAP_BRANCH): Likewise.
3227 (TRAP_HWBKPT): Likewise.
3229 2018-09-14 Joseph Myers <joseph@codesourcery.com>
3232 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
3233 Remove [_MIPS_SIM = _ABIN32] conditional case.
3234 (struct elf_prpsinfo): Likewise.
3237 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
3238 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
3239 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
3241 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
3242 elf_prpsinfo): Likewise.
3243 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
3244 elf_prpsinfo): Likewise.
3245 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
3248 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3249 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
3250 using MATH_REDIRECT.
3251 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
3253 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
3254 * sysdeps/alpha/fpu/s_rint.c: Likewise.
3255 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
3256 * sysdeps/i386/fpu/s_rintl.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3259 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
3260 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3261 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3263 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
3264 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
3265 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
3266 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
3267 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
3268 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3269 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3270 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
3271 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
3275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
3276 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3277 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3278 * sysdeps/x86_64/fpu/math_private.h: Remove file.
3279 * math/e_scalb.c (invalid_fn): Use rint functions instead of
3281 * math/e_scalbf.c (invalid_fn): Likewise.
3282 * math/e_scalbl.c (invalid_fn): Likewise.
3283 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3285 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3287 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
3288 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
3289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3291 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3295 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
3296 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3298 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3299 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
3301 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3302 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
3303 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3304 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
3305 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3306 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
3307 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3308 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
3309 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3310 && !NO_MATH_REDIRECT] (floor): Likewise.
3311 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
3313 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
3314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3316 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
3317 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3318 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3320 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
3322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
3323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
3324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
3325 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3326 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3329 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3330 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3331 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
3333 [_ARCH_PWR5X] (__floorf): Likewise.
3334 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
3336 [__SSE4_1__] (__floorf): Likewise.
3337 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
3338 instead of __floor variants.
3339 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
3340 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
3341 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
3342 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
3343 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
3344 * math/w_tgamma_compat.c (__tgamma): Likewise.
3345 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
3346 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
3347 * math/w_tgammal_compat.c (__tgammal): Likewise.
3348 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
3349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3351 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3352 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
3353 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3356 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3357 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
3359 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
3362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3363 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
3365 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3366 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
3368 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
3369 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3370 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3372 2018-09-12 Joseph Myers <joseph@codesourcery.com>
3374 * elf/Makefile (modules-names-tests): New variable.
3376 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3378 * NEWS: Mention log2 improvements.
3379 * math/Makefile (type-double-routines): Add e_log2_data.
3380 * sysdeps/i386/fpu/e_log2_data.c: New file.
3381 * sysdeps/ia64/fpu/e_log2_data.c: New file.
3382 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
3383 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
3384 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
3385 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
3386 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
3388 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3390 * NEWS: Mention log improvement.
3391 * math/Makefile (type-double-routines): Add e_log_data.
3392 * sysdeps/i386/fpu/e_log_data.c: New file.
3393 * sysdeps/ia64/fpu/e_log_data.c: New file.
3394 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
3395 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
3396 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
3397 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
3398 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
3399 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
3401 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
3402 Xuepeng Guo <xuepeng.guo@intel.com>
3405 * sysdeps/i386/start.S: Include <sysdep.h>
3406 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
3407 enabled. Add cfi_undefined (eip).
3409 2018-09-11 Joseph Myers <joseph@codesourcery.com>
3411 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
3413 (EXTRACT_WORDS64): Likewise.
3414 (INSERT_WORDS64): Likewise.
3415 (GET_FLOAT_WORD): Likewise.
3416 (SET_FLOAT_WORD): Likewise.
3418 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
3420 (Config.build_gcc): Use --disable-libsanitizer for first GCC
3421 build, but not for second build if --full-gcc. Use
3422 --enable-languages=all for second build if --full-gcc.
3423 (get_parser): Add --full-gcc option.
3424 (main): Update call to Context.
3426 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
3429 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
3430 Single Quotation Mark).
3431 (thousands_sep): Likewise.
3432 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
3433 * localedata/locales/it_IT (thousands_sep): Use ".".
3434 (grouping): Use "3;3".
3436 2018-09-10 Joseph Myers <joseph@codesourcery.com>
3438 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3439 x86_64 and i686 configs using --enable-obsolete-rpc
3440 --enable-obsolete-nsl.
3442 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
3444 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3446 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
3448 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3449 Increment size of new_argv by one.
3451 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
3454 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
3455 * localedata/locales/ar_IN (d_fmt): Likewise.
3456 * localedata/locales/bhb_IN (d_fmt): Likewise.
3457 * localedata/locales/bho_IN (d_fmt): Likewise.
3458 * localedata/locales/bn_BD (d_fmt): Likewise.
3459 * localedata/locales/bn_IN (d_fmt): Likewise.
3460 * localedata/locales/doi_IN (d_fmt): Likewise.
3461 * localedata/locales/gu_IN (d_fmt): Likewise.
3462 * localedata/locales/hi_IN (d_fmt): Likewise.
3463 * localedata/locales/hne_IN (d_fmt): Likewise.
3464 * localedata/locales/kn_IN (d_fmt): Likewise.
3465 * localedata/locales/mag_IN (d_fmt): Likewise.
3466 * localedata/locales/mai_IN (d_fmt): Likewise.
3467 * localedata/locales/mjw_IN (d_fmt): Likewise.
3468 * localedata/locales/ml_IN (d_fmt): Likewise.
3469 * localedata/locales/mni_IN (d_fmt): Likewise.
3470 * localedata/locales/mr_IN (d_fmt): Likewise.
3471 * localedata/locales/pa_IN (d_fmt): Likewise.
3472 * localedata/locales/raj_IN (d_fmt): Likewise.
3473 * localedata/locales/sat_IN (d_fmt): Likewise.
3474 * localedata/locales/sd_IN (d_fmt): Likewise.
3475 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
3476 * localedata/locales/ta_IN (d_fmt): Likewise.
3477 * localedata/locales/ta_LK (d_fmt): Likewise.
3478 * localedata/locales/tcy_IN (d_fmt): Likewise.
3479 * localedata/locales/ur_IN (d_fmt): Likewise.
3481 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
3482 * localedata/locales/ks_IN (d_fmt): Likewise.
3483 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
3485 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
3486 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
3487 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
3488 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
3490 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
3492 * NEWS: Mention exp and exp2 improvements.
3493 * math/Makefile (libm-support): Remove t_exp.
3494 (type-double-routines): Add math_err and e_exp_data.
3495 * sysdeps/aarch64/libm-test-ulps: Update.
3496 * sysdeps/arm/libm-test-ulps: Update.
3497 * sysdeps/i386/fpu/e_exp_data.c: New file.
3498 * sysdeps/i386/fpu/math_err.c: New file.
3499 * sysdeps/i386/fpu/t_exp.c: Remove.
3500 * sysdeps/ia64/fpu/e_exp_data.c: New file.
3501 * sysdeps/ia64/fpu/math_err.c: New file.
3502 * sysdeps/ia64/fpu/t_exp.c: Remove.
3503 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
3504 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
3505 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
3506 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
3507 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
3508 * sysdeps/ieee754/dbl-64/math_config.h: New file.
3509 * sysdeps/ieee754/dbl-64/math_err.c: New file.
3510 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
3511 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
3512 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
3513 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
3514 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
3515 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
3516 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
3517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3520 2018-09-05 Joseph Myers <joseph@codesourcery.com>
3522 * sysdeps/alpha/fpu/math_private.h: Remove.
3524 * sysdeps/generic/math_private.h
3525 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
3526 Move this inline function ....
3527 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
3528 * include/math.h [!_ISOMAC]: To here....
3530 2018-09-04 Joseph Myers <joseph@codesourcery.com>
3532 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
3534 [!FE_HAVE_ROUNDING_MODES]: And this code ....
3535 * include/fenv.h [!_ISOMAC]: ... to here.
3536 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
3537 (feraiseexcept): Likewise.
3538 * math/fromfp.h: Do not include <fenv_private.h>.
3539 * math/s_cexp_template.c: Likewise.
3540 * math/s_csin_template.c: Likewise.
3541 * math/s_csinh_template.c: Likewise.
3542 * math/s_ctan_template.c: Likewise.
3543 * math/s_ctanh_template.c: Likewise.
3544 * math/s_iseqsig_template.c: Likewise.
3545 * math/w_acos_compat.c: Likewise.
3546 * math/w_acosf_compat.c: Likewise.
3547 * math/w_acosl_compat.c: Likewise.
3548 * math/w_asin_compat.c: Likewise.
3549 * math/w_asinf_compat.c: Likewise.
3550 * math/w_asinl_compat.c: Likewise.
3551 * math/w_j0_compat.c: Likewise.
3552 * math/w_j0f_compat.c: Likewise.
3553 * math/w_j0l_compat.c: Likewise.
3554 * math/w_j1_compat.c: Likewise.
3555 * math/w_j1f_compat.c: Likewise.
3556 * math/w_j1l_compat.c: Likewise.
3557 * math/w_jn_compat.c: Likewise.
3558 * math/w_jnf_compat.c: Likewise.
3559 * math/w_log10_compat.c: Likewise.
3560 * math/w_log10f_compat.c: Likewise.
3561 * math/w_log10l_compat.c: Likewise.
3562 * math/w_log2_compat.c: Likewise.
3563 * math/w_log2f_compat.c: Likewise.
3564 * math/w_log2l_compat.c: Likewise.
3565 * math/w_log_compat.c: Likewise.
3566 * math/w_logf_compat.c: Likewise.
3567 * math/w_logl_compat.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3573 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3574 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3575 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3576 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3577 * sysdeps/ieee754/k_standardl.c: Likewise.
3578 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3580 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3582 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3583 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3589 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3590 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3591 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3592 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3593 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3594 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3595 * math/w_ilogb_template.c: Include <fenv.h> instead of
3597 * math/w_llogb_template.c: Likewise.
3598 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3599 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3601 2018-09-03 Joseph Myers <joseph@codesourcery.com>
3603 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
3604 * math/fromfp.h: Include <fenv_private.h>.
3605 * math/math-narrow.h: Likewise.
3606 * math/s_cexp_template.c: Likewise.
3607 * math/s_csin_template.c: Likewise.
3608 * math/s_csinh_template.c: Likewise.
3609 * math/s_ctan_template.c: Likewise.
3610 * math/s_ctanh_template.c: Likewise.
3611 * math/s_iseqsig_template.c: Likewise.
3612 * math/w_acos_compat.c: Likewise.
3613 * math/w_acosf_compat.c: Likewise.
3614 * math/w_acosl_compat.c: Likewise.
3615 * math/w_asin_compat.c: Likewise.
3616 * math/w_asinf_compat.c: Likewise.
3617 * math/w_asinl_compat.c: Likewise.
3618 * math/w_ilogb_template.c: Likewise.
3619 * math/w_j0_compat.c: Likewise.
3620 * math/w_j0f_compat.c: Likewise.
3621 * math/w_j0l_compat.c: Likewise.
3622 * math/w_j1_compat.c: Likewise.
3623 * math/w_j1f_compat.c: Likewise.
3624 * math/w_j1l_compat.c: Likewise.
3625 * math/w_jn_compat.c: Likewise.
3626 * math/w_jnf_compat.c: Likewise.
3627 * math/w_llogb_template.c: Likewise.
3628 * math/w_log10_compat.c: Likewise.
3629 * math/w_log10f_compat.c: Likewise.
3630 * math/w_log10l_compat.c: Likewise.
3631 * math/w_log2_compat.c: Likewise.
3632 * math/w_log2f_compat.c: Likewise.
3633 * math/w_log2l_compat.c: Likewise.
3634 * math/w_log_compat.c: Likewise.
3635 * math/w_logf_compat.c: Likewise.
3636 * math/w_logl_compat.c: Likewise.
3637 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
3638 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
3639 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
3640 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3644 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3649 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3665 * sysdeps/ieee754/float128/float128_private.h: Likewise.
3666 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3667 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3668 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3669 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3670 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3671 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3672 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3673 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3674 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3675 * sysdeps/ieee754/k_standardl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3701 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3702 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3706 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3707 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3712 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3713 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3714 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3715 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3716 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3717 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3718 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3719 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3720 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3721 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3722 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3723 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3724 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3725 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3726 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3727 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3728 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3729 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3730 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3731 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3732 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3733 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3734 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3735 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3736 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3737 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3738 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3739 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3740 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3741 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3742 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3743 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3744 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3745 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3746 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3748 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3751 * include/stdio.h (__libc_fatal): Mention newline in comment.
3752 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
3753 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
3754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3755 * nss/nsswitch.c (__nss_next2): Likewise.
3756 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
3757 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
3758 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
3759 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3760 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
3761 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
3762 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
3763 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
3764 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
3765 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
3766 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
3767 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3768 (__netlink_assert_response): Likewise.
3770 2018-08-31 Joseph Myers <joseph@codesourcery.com>
3772 * conform/glibcconform.py: New file.
3773 * conform/list-header-symbols.py: Likewise.
3774 * conform/list-header-symbols.pl: Remove.
3775 * conform/Makefile (tests-special): Only add linknamespace tests
3777 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
3779 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
3782 * support/Makefile (libsupport-routines): Add
3783 support_copy_file_range and xcopy_file_range.
3784 * support/support.h: Include <sys/types.h>.
3785 (support_copy_file_range): New prototype.
3786 * support/support_copy_file_range.c: New file. Copied and
3787 modified from io/copy_file_range-compat.c.
3788 * support/test-container.c (copy_one_file): Call xcopy_file_rang
3789 instead of copy_file_range.
3790 * support/xcopy_file_range.c: New file.
3791 * support/xunistd.h (xcopy_file_range): New prototype.
3793 2018-08-30 Carlos O'Donell <carlos@redhat.com>
3795 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
3796 xpthread_create and xpthread_join.
3798 2018-08-30 Florian Weimer <fweimer@redhat.com>
3800 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
3802 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
3804 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
3807 2018-08-29 Joseph Myers <joseph@codesourcery.com>
3809 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
3810 and minus_oflow as non-finite.
3812 2018-08-28 Joseph Myers <joseph@codesourcery.com>
3814 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
3815 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
3816 moved to fenv_private.h except for ...
3817 (TOINT_INTRINSICS): Kept in math_private.h.
3818 (roundtoint): Likewise.
3819 (converttoint): Likewise.
3820 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
3821 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3822 * sysdeps/arm/math_private.h: Remove.
3823 * sysdeps/generic/fenv_private.h: New file. Contents moved from
3825 * sysdeps/generic/math_private.h: ... this file. Include
3826 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
3827 Include <fenv_private.h>. Remove functions and macros moved to
3829 * sysdeps/i386/fpu/math_private.h: Remove.
3830 * sysdeps/mips/math_private.h: Move to ....
3831 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
3832 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
3833 [__mips_hard_float] conditional. Include next <fenv_private.h>.
3834 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
3835 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3836 * sysdeps/powerpc/fpu/math_private.h: Do not include
3838 * sysdeps/riscv/rvf/math_private.h: Move to ....
3839 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
3840 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
3842 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
3843 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3844 * sysdeps/sparc/fpu/math_private.h: Remove.
3845 * sysdeps/i386/fpu/fenv_private.h: Move to ....
3846 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
3847 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
3849 * sysdeps/x86_64/fpu/math_private.h: Do not include
3850 <sysdeps/i386/fpu/fenv_private.h>.
3852 2018-08-28 Florian Weimer <fweimer@redhat.com>
3855 * posix/tst-regcomp-truncated.c: New file.
3856 * posix/Makefile (tests): Add it.
3857 (tst-regcomp-truncated.out): Depend on generated locales.
3859 2018-08-28 Florian Weimer <fweimer@redhat.com>
3861 * support/test-container.c (main): Treat unshare failure with
3862 EPERM as an unsupported test.
3864 2018-08-28 Florian Weimer <fweimer@redhat.com>
3867 nscd: Fix use-after-free in addgetnetgrentX and its callers.
3868 * nscd/netgroupcache.c
3869 (addgetnetgrentX): Add tofreep parameter. Do not free
3870 heap-allocated buffer.
3871 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
3872 (addgetnetgrentX_ignore): New function.
3873 (addgetnetgrent): Call it.
3874 (readdgetnetgrent): Likewise.
3876 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3878 * string/memmem.c: Use memcmp for first match.
3880 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3883 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
3885 2018-08-27 DJ Delorie <dj@redhat.com>
3887 * support/Makefile (others): Don't list programs explicitly as a
3888 dependency of "others".
3890 2018-08-27 Joseph Myers <joseph@codesourcery.com>
3892 * sysdeps/generic/math-tests-trap-force.h: New file.
3893 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
3894 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
3895 * sysdeps/powerpc/math-tests.h: Remove file.
3896 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
3898 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
3899 Torvald Riegel <triegel@redhat.com>
3902 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
3903 Update r to include the set wake-request flag if waiters are
3904 remaining after spinning.
3906 2018-08-27 Joseph Myers <joseph@codesourcery.com>
3908 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
3910 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
3913 regex: fix uninitialized memory access
3914 I introduced this bug into gnulib in commit
3915 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
3916 eventually it was merged into glibc. The bug was found by
3917 project-repo <bugs@feusi.co> and reported here:
3918 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
3919 Diagnosis and draft fix reported by Assaf Gordon here:
3920 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
3921 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
3922 * posix/regex_internal.c (build_wcs_upper_buffer):
3923 Fix bug when mbrtowc returns 0.
3925 2018-08-24 Carlos O'Donell <carlos@redhat.com>
3927 * po/be.po: Update translation.
3929 2018-08-24 DJ Delorie <dj@delorie.com>
3931 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
3934 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3937 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
3938 create temporary files in source tree.
3940 2018-08-24 Joseph Myers <joseph@codesourcery.com>
3942 * sysdeps/generic/math-tests-trap.h: New file.
3943 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
3944 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
3945 * sysdeps/aarch64/math-tests.h: Remove file.
3946 * sysdeps/arm/math-tests.h: Likewise.
3947 * sysdeps/riscv/math-tests.h: Likewise.
3948 * sysdeps/aarch64/math-tests-trap.h: New file.
3949 * sysdeps/arm/math-tests-trap.h: Likewise.
3950 * sysdeps/riscv/math-tests-trap.h: Likewise.
3952 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
3954 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
3955 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
3956 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
3957 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
3958 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
3959 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
3963 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3964 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3966 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3967 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
3968 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
3969 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
3970 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3971 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3973 2018-08-23 Joseph Myers <joseph@codesourcery.com>
3975 * sysdeps/generic/math-tests-exceptions.h: New file.
3976 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
3977 (EXCEPTION_TESTS_float): Do not define here.
3978 (EXCEPTION_TESTS_double): Likewise.
3979 (EXCEPTION_TESTS_long_double): Likewise.
3980 (EXCEPTION_TESTS_float128): Likewise.
3981 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
3983 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
3984 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
3985 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
3986 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
3987 * sysdeps/mips/math-tests.h: Likewise.
3988 * sysdeps/nios2/math-tests.h: Likewise.
3989 * sysdeps/riscv/math-tests.h [!__riscv_flen]
3990 (EXCEPTION_TESTS_float): Do not define here.
3991 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
3992 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
3993 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
3995 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
3997 * NEWS: Move optimized sinf entry to 2.29.
3999 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4001 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
4003 2018-08-22 DJ Delorie <dj@redhat.com>
4005 * Makefile (testroot.pristine): New rules to initialize the
4006 test-in-container "testroot".
4007 * Makerules (all-testsuite): Add tests-container.
4008 * Rules (tests-expected): Add tests-container.
4009 (binaries-all-tests): Likewise.
4010 (tests-container): New, run these tests in the testroot container.
4011 * support/Makefile (others): Add *-container, support_paths.c,
4012 xmkdirp, and links-dso-program.
4013 * support/links-dso-program-c.c: New.
4014 * support/links-dso-program.cc: New.
4015 * support/test-container.c: New.
4016 * support/shell-container.c: New.
4017 * support/echo-container.c: New.
4018 * support/true-container.c: New.
4019 * support/xmkdirp.c: New.
4020 * support/xsymlink.c: New.
4021 * support/support_paths.c: New.
4022 * support/support.h: Add support paths prototypes.
4023 * support/xunistd.h: Add xmkdirp () and xsymlink ().
4025 * nss/tst-nss-test3.c: Convert to test-in-container.
4026 * nss/tst-nss-test3.root/: New.
4028 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
4030 regex: port Gnulib code to z/OS POSIX environment
4031 Problem reported by Arnold Robbins in:
4032 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
4033 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
4036 2018-08-22 Joseph Myers <joseph@codesourcery.com>
4038 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
4039 (ROUNDING_TESTS_double): Remove.
4040 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
4041 (ROUNDING_TESTS_double): Remove.
4042 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
4043 (ROUNDING_TESTS_double): Remove.
4044 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
4045 (ROUNDING_TESTS_float): Remove.
4046 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
4047 (ROUNDING_TESTS_float): Remove.
4048 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
4049 (ROUNDING_TESTS_float): Remove.
4050 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
4052 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4053 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4055 * sysdeps/generic/math-tests-rounding.h: New file.
4056 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
4057 (ROUNDING_TESTS_float): Do not define here.
4058 (ROUNDING_TESTS_double): Likewise.
4059 (ROUNDING_TESTS_long_double): Likewise.
4060 (ROUNDING_TESTS_float128): Likewise.
4061 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
4062 (ROUNDING_TESTS_double): Undefine before defining.
4063 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
4064 (ROUNDING_TESTS_double): Undefine before defining.
4065 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
4066 (ROUNDING_TESTS_double): Undefine before defining.
4067 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
4068 (ROUNDING_TESTS_float): Undefine before defining.
4069 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
4070 (ROUNDING_TESTS_float): Undefine before defining.
4071 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
4072 (ROUNDING_TESTS_float): Undefine before defining.
4073 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
4074 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
4076 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
4077 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
4078 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
4079 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4080 (ROUNDING_TESTS_float): Do not define here.
4081 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
4082 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
4083 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
4084 (ROUNDING_TESTS_float): Likewise.
4085 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
4086 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
4087 * sysdeps/mips/math-tests.h [__mips_soft_float]
4088 (ROUNDING_TESTS_float): Likewise.
4089 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
4090 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
4091 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
4092 (ROUNDING_TESTS_double): Likewise.
4093 (ROUNDING_TESTS_long_double): Likewise.
4095 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
4097 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
4098 (PF_XDP): New macro.
4099 (AF_XDP): New macro.
4100 (SOL_XDP): New macro.
4102 2018-08-21 Joseph Myers <joseph@codesourcery.com>
4104 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
4105 (TCP_INQ): Likewise.
4106 (TCP_CM_INQ): Likewise.
4107 (TCP_REPAIR_ON): Likewise.
4108 (TCP_REPAIR_OFF): Likewise.
4109 (TCP_REPAIR_OFF_NO_WP): Likewise.
4110 (struct tcp_zerocopy_receive): New type.
4112 2018-08-21 Florian Weimer <fweimer@redhat.com>
4114 * support/support.h (support_descriptor_supports_holes): Declare.
4115 * support/Makefile (libsupport-routines): Add
4116 support_descriptor_supports_holes.
4117 * support/support_descriptor_supports_holes.c: New file.
4118 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
4119 and stop testing if holes are not supported.
4120 * io/test-lfs.c (do_prepare): Likewise.
4121 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
4123 * timezone/tst-tzset.c (create_tz_file): Likewise.
4124 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
4126 (do_prepare): Set it.
4127 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
4129 2018-08-21 Florian Weimer <fweimer@redhat.com>
4132 * Makeconfig (+cflags): Do not sort (and deduplicate).
4134 2018-08-21 Florian Weimer <fweimer@redhat.com>
4136 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
4137 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
4139 2018-08-20 Florian Weimer <fweimer@redhat.com>
4141 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
4142 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
4144 2018-08-20 Joseph Myers <joseph@codesourcery.com>
4146 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
4147 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
4148 and ssi_arch members.
4150 * elf/elf.c (NT_VMCOREDD): New macro.
4151 (AT_MINSIGSTKSZ): Likewise.
4153 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4156 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
4157 s_cosf-ppc64 and s_cosf-power8.
4158 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
4159 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4160 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4161 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
4163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
4166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4168 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4169 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4171 2018-08-17 Florian Weimer <fweimer@redhat.com>
4173 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4175 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
4177 * malloc/malloc.c (_int_malloc): Additional binning code checks.
4179 2018-08-16 Florian Weimer <fweimer@redhat.com>
4181 * configure.ac: Add --with-nonshared-cflags option.
4182 * config.make.in (extra-nonshared-cflags): Set variable.
4183 * Makeconfig (CFLAGS-.oS): Use it.
4184 * manual/install.texi (Configuring and compiling): Document
4185 --with-nonshared-cflags.
4186 * configure: Regenerate.
4187 * INSTALL: Likewise.
4189 2018-08-16 Florian Weimer <fweimer@redhat.com>
4191 * Makeconfig (ASFLAGS): Always append required assembler flags.
4193 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
4195 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
4196 (malloc_consolidate): Likewise.
4198 2018-08-16 Pochang Chen <johnchen902@gmail.com>
4200 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
4202 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4204 * benchtests/bench-strlen.c (do_test): Allocate buffers before
4207 * benchtests/bench-strlen.c: Print performance numbers in json.
4209 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4211 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4212 (sysdep_routines): Build strcmp-power9 and strncmp-power9
4213 only for little endian.
4214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4215 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
4216 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
4217 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
4218 Add check for little endian.
4219 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4220 (__strcmp_power9): Add check for little endian.
4221 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
4222 Add check for little endian.
4223 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4224 (__strncmp_power9): Add check for little endian.
4225 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
4226 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
4227 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4228 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
4229 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
4231 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
4233 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
4234 [!STRLEN](STRLEN): Set to __strlen.
4235 * sysdeps/aarch64/multiarch/strlen.c: New file.
4236 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
4237 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
4238 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4239 (__libc_ifunc_impl_list): Add strlen.
4240 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4241 strlen_generic and strlen_asimd.
4243 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
4245 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
4246 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
4247 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4249 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
4251 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
4253 2018-08-14 Florian Weimer <fweimer@redhat.com>
4256 * include/stdio.h (__vfxprintf): Declare.
4257 * stdio-common/fxprintf.c (__vfxprintf): New function.
4258 (__fxprintf): Call it.
4259 * misc/err.c (convert_and_print): Remove function.
4260 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
4261 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
4262 * misc/Makefile (tests): Add tst-warn-wide.
4263 * misc/tst-warn-wide.c: New file.
4265 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
4266 Szabolcs Nagy <szabolcs.nagy@arm.com>
4268 * NEWS: Mention sinf, cosf, sincosf.
4269 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
4270 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
4271 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
4272 constants rather than including generic sincosf.h.
4273 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
4274 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
4275 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
4276 (reduced_cos): Remove.
4277 (sinf_poly): New function.
4278 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
4280 2018-08-14 Florian Weimer <fweimer@redhat.com>
4284 * nss/nss_files/files-alias.c (get_next_alias): During :include:
4285 processing, bail out if no room, and close the stream before
4287 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
4288 (tst-nss-files-alias-leak): Link with libdl.
4289 (tst-nss-files-alias-leak.out): Depend on nss_files.
4291 * nss/tst-nss-files-alias-leak.c: New file.
4293 2018-08-14 Florian Weimer <fweimer@redhat.com>
4295 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
4296 server_user, stat_user.
4298 2018-08-13 Joseph Myers <joseph@codesourcery.com>
4300 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4302 (io_pgetevents): New syscall.
4305 * manual/install.texi (Configuring and compiling): Do not list
4306 tools used for testing pretty printers here.
4307 (Tools for Compilation): List Python, PExpect and GDB here.
4308 Update descriptions of uses of Perl and Python.
4309 * INSTALL: Regenerate.
4311 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4314 2018-08-13 Florian Weimer <fweimer@redhat.com>
4316 * misc/error.c (error): Add missing va_end call.
4317 (error_at_line): Likewise.
4319 2018-08-13 Florian Weimer <fweimer@redhat.com>
4321 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
4323 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4325 * benchtests/scripts/benchout.schema.json (properties): Add
4328 * benchtests/bench-skeleton.c (main): Add duration and
4329 iterations attributes.
4331 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
4333 regex: Gnulib unibyte RRI uses bytes not chars
4334 Adjust the non-glibc code to agree with what Gawk needs for
4335 rational range interpretation (RRI) for regular expression ranges.
4336 In unibyte locales, Gawk wants ranges to use the underlying byte
4337 rather than the character code point. This change does not affect
4339 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
4340 In unibyte locales, use the byte value rather than
4341 running it through btowc.
4343 2018-08-10 Joseph Myers <joseph@codesourcery.com>
4345 * sysdeps/generic/math-tests-snan.h: New file.
4346 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
4347 (SNAN_TESTS_float): Do not define here.
4348 (SNAN_TESTS_double): Likewise.
4349 (SNAN_TESTS_long_double): Likewise.
4350 (SNAN_TESTS_float128): Likewise.
4351 * sysdeps/i386/fpu/math-tests-snan.h: New file.
4352 * sysdeps/i386/fpu/math-tests.h: Remove file.
4353 * sysdeps/ia64/math-tests-snan.h: New file.
4354 * sysdeps/ia64/math-tests.h: Remove file.
4355 * sysdeps/x86/math-tests.h: Likewise.
4356 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
4358 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4359 Szabolcs Nagy <szabolcs.nagy@arm.com>
4361 * math/Makefile: Add s_sincosf_data.c.
4362 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
4363 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
4364 (sincosf_poly): Likewise.
4365 (reduce_small): Likewise.
4366 (reduce_large): Likewise.
4367 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
4368 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
4369 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
4370 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
4372 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4373 Szabolcs Nagy <szabolcs.nagy@arm.com>
4375 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
4376 (converttoint): Use lround.
4377 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
4378 document the semantics when TOINT_INTRINSICS is set.
4379 (converttoint): Likewise.
4380 (TOINT_RINT): Remove.
4381 (TOINT_SHIFT): Remove.
4382 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
4385 2018-08-10 Florian Weimer <fweimer@redhat.com>
4388 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
4390 (__old_getdents64): Use getdents64. Convert entries without
4392 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
4393 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
4394 tst-readdir64-compat.
4396 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4398 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
4401 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4403 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
4404 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
4405 code to s390x-mcount.h and #include it.
4406 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
4407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4410 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4412 * stdlib/Versions: Remove __fentry__.
4413 * sysdeps/i386/Versions: Add __fentry__.
4414 * sysdeps/x86_64/Versions: Add __fentry__.
4416 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4418 * sysdeps/s390/Makefile: Register the new tests.
4419 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
4420 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
4421 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
4422 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
4423 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
4424 * sysdeps/s390/tst-dl-runtime.c: New file.
4426 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4428 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4431 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4433 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4436 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4438 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4441 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4443 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4446 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4448 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4449 Use symbolic offsets for stack variables.
4451 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4453 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4454 Use symbolic offsets for stack variables.
4456 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4458 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4459 Use symbolic offsets for stack variables.
4461 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4463 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4464 Use symbolic offsets for stack variables.
4466 2018-08-09 Joseph Myers <joseph@codesourcery.com>
4468 * math/gen-libm-test.py: New file.
4469 * math/gen-libm-test.pl: Remove.
4470 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
4471 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
4473 ($(libm-test-c-noauto-obj)): Likewise.
4474 ($(libm-test-c-auto-obj)): Likewise.
4475 ($(libm-test-c-narrow-obj)): Likewise.
4476 (regen-ulps): Likewise.
4477 * math/README.libm-test: Update references to gen-libm-test.pl.
4478 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
4479 referencing gen-libm-test.pl.
4480 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
4481 * math/libm-test-support.c: Likewise.
4482 * math/libm-test-support.h: Likewise.
4483 * sysdeps/generic/libm-test-ulps: Likewise.
4485 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
4487 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
4490 2018-08-08 Joseph Myers <joseph@codesourcery.com>
4492 * math/libm-test-nextdown.inc (do_test): Move comment to ....
4493 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
4495 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4497 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
4499 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
4500 __pthread_setspecific): Add hidden proto.
4501 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
4502 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
4504 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4506 * benchtests/bench-string.h (buf1_size, buf2_size): New
4508 (init_sizes): New function.
4509 (test_init): Use it.
4510 (alloc_buf, exit_error): New functions.
4511 (alloc_bufs): Use ALLOC_BUF.
4512 (realloc_bufs): Remove.
4513 * benchtests/bench-memcmp.c (do_test): Adjust.
4514 * benchtests/bench-memset-large.c (do_test): Likewise.
4515 * benchtests/bench-memset-walk.c (do_test): Likewise.
4516 * benchtests/bench-memset.c (do_test): Likewise.
4517 * benchtests/bench-strncmp.c (do_test): Likewise.
4519 2018-08-06 Andreas Schwab <schwab@suse.de>
4521 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
4522 of CONST_THREAD_AREA.
4524 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
4526 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
4527 (STATE_SAVE_MASK): Likewise.
4528 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
4529 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
4530 (STATE_SAVE_MASK): Likewise.
4531 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
4532 instead of <cpu-features.h>.
4534 2018-08-03 DJ Delorie <dj@redhat.com>
4536 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
4537 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
4539 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4541 2018-08-03 Joseph Myers <joseph@codesourcery.com>
4543 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
4545 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
4546 * math/libm-test-logb.inc (logb_test_data): Likewise.
4548 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
4550 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
4551 * string/strstr.c (AVAILABLE): Likewise.
4553 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
4555 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
4557 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
4558 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
4559 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
4561 2018-08-03 Carlos O'Donell <carlos@redhat.com>
4563 * po/be.po: Update translation.
4565 * po/be.po: Update translation.
4567 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
4569 * sysdeps/x86/cpu-features-offsets.sym
4570 (rtld_global_ro_offsetof): Removed.
4571 (CPU_FEATURES_SIZE): Likewise.
4572 (CPUID_OFFSET): Likewise.
4573 (CPUID_SIZE): Likewise.
4574 (CPUID_EAX_OFFSET): Likewise.
4575 (CPUID_EBX_OFFSET): Likewise.
4576 (CPUID_ECX_OFFSET): Likewise.
4577 (CPUID_EDX_OFFSET): Likewise.
4578 (FAMILY_OFFSET): Likewise.
4579 (MODEL_OFFSET): Likewise.
4580 (FEATURE_OFFSET): Likewise.
4581 (FEATURE_SIZ): Likewise.
4582 (COMMON_CPUID_INDEX_1): Likewise.
4583 (COMMON_CPUID_INDEX_7): Likewise.
4584 (FEATURE_INDEX_1): Likewise.
4585 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
4587 2018-08-02 Carlos O'Donell <carlos@redhat.com>
4589 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
4590 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
4591 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
4592 (install-locales): Depend on install-locale-archive.
4593 (install-locale-archive): Define.
4594 (install-locale-files): Define.
4595 (build-one-locale): Define macro.
4596 * manual/install.texi (Running make install): Document.
4597 * manual/INSTALL: Regenerate.
4599 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
4601 * benchtests/scripts/compare_strings.py: Import traceback.
4602 (parse_file): Pretty-print error.
4604 * NEWS: Mention the change.
4605 * elf/dl-tunables.list: Rename tune namespace to cpu.
4606 * sysdeps/powerpc/dl-tunables.list: Likewise.
4607 * sysdeps/x86/dl-tunables.list: Likewise.
4608 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
4610 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
4611 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
4612 * manual/README.tunables: Likewise.
4613 * manual/tunables.texi: Likewise.
4614 * sysdeps/powerpc/cpu-features.c: Likewise.
4615 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
4616 (init_cpu_features): Likewise.
4617 * sysdeps/x86/cpu-features.c: Likewise.
4618 * sysdeps/x86/cpu-features.h: Likewise.
4619 * sysdeps/x86/cpu-tunables.c: Likewise.
4620 * sysdeps/x86_64/Makefile: Likewise.
4621 * sysdeps/x86/dl-cet.c: Likewise.
4623 2018-08-02 Joseph Myers <joseph@codesourcery.com>
4626 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
4627 [__mips_hard_float].
4628 (FE_UNDERFLOW): Likewise.
4629 (FE_OVERFLOW): Likewise.
4630 (FE_DIVBYZERO): Likewise.
4631 (FE_INVALID): Likewise.
4632 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
4633 (FE_TOWARDZERO): Define only if [__mips_hard_float].
4634 (FE_UPWARD): Likewise.
4635 (FE_DOWNWARD): Likewise.
4636 (__FE_UNDEFINED): Define if [!__mips_hard_float]
4637 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
4638 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
4639 [__mips_hard_float].
4640 (FP_ROUNDMODE): Likewise.
4641 (FP_RND_NEAREST): Likewise.
4642 (FP_RND_ZERO): Likewise.
4643 (FP_RND_PINF): Likewise.
4644 (FP_RND_MINF): Likewise.
4645 (FP_EX_INVALID): Likewise.
4646 (FP_EX_OVERFLOW): Likewise.
4647 (FP_EX_UNDERFLOW): Likewise.
4648 (FP_EX_DIVZERO): Likewise.
4649 (FP_EX_INEXACT): Likewise.
4650 (FP_INIT_ROUNDMODE): Likewise.
4651 * sysdeps/mips/nofpu/fesetenv.c: New file.
4652 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
4654 2018-08-01 Joseph Myers <joseph@codesourcery.com>
4656 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
4657 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
4658 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
4659 conditional on [FE_UPWARD].
4661 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
4663 regex: fix memory leak in Gnulib
4664 Problem and fix reported by Assaf Gordon in:
4665 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
4666 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
4667 range_ends members too, as they are defined in 'struct
4668 re_charset_t' even if not _LIBC. This affects only Gnulib.
4670 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
4672 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
4674 (get_common_indices): This.
4675 (init_cpu_features): Updated.
4677 2018-08-01 Joseph Myers <joseph@codesourcery.com>
4679 * sysdeps/generic/math-tests-snan-payload.h: New file.
4680 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
4681 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
4682 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
4683 * sysdeps/generic/math-tests.h: Include
4684 <math-tests-snan-payload.h>.
4685 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
4686 * sysdeps/hppa/math-tests.h: Remove file.
4687 * sysdeps/mips/math-tests.h [!__mips_nan2008]
4688 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
4689 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
4692 * sysdeps/generic/math-tests-snan-cast.h: New file.
4693 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
4694 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
4695 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
4696 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
4698 2018-08-01 Carlos O'Donel <carlos@redhat.com>
4700 * version.h (RELEASE): Set to "development".
4701 (VERSION): Set to "2.28.9000".
4702 * NEWS (2.29): New section.
4704 * version.h (RELEASE): Set to "stable".
4705 (VERSION): Set to "2.28".
4706 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
4707 * NEWS: Add the list of bugs fixed in 2.28.
4709 * po/ca.po: Update to latest version.
4710 * po/cs.po: Likewise
4711 * po/da.po: Likewise
4712 * po/el.po: Likewise
4713 * po/eo.po: Likewise
4714 * po/es.po: Likewise
4715 * po/fi.po: Likewise
4716 * po/fr.po: Likewise
4717 * po/gl.po: Likewise
4718 * po/hu.po: Likewise
4719 * po/ia.po: Likewise
4720 * po/id.po: Likewise
4721 * po/it.po: Likewise
4722 * po/ja.po: Likewise
4723 * po/ko.po: Likewise
4724 * po/lt.po: Likewise
4725 * po/nb.po: Likewise
4726 * po/nl.po: Likewise
4727 * po/pt_BR.po: Likewise
4728 * po/ru.po: Likewise
4729 * po/rw.po: Likewise
4730 * po/sk.po: Likewise
4731 * po/sl.po: Likewise
4732 * po/tr.po: Likewise
4733 * po/zh_CN.po: Likewise
4734 * po/zh_TW.po: Likewise
4736 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4738 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
4740 (init): ... before initializing libpthread.
4742 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
4743 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
4744 (__mach_setup_tls): ... new function.
4745 (mach_setup_tls): New alias.
4746 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
4747 __mach_setup_thread.
4748 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
4749 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
4750 * mach/Versions [libc] (mach_setup_tls): Add symbol.
4751 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
4753 2018-07-31 Carlos O'Donell <carlos@redhat.com>
4755 * manual/install.texi: Update versions.
4756 * INSTALL: Regenerate.
4758 * manual/contrib.texi (Contributors): Update contributions.
4760 2018-07-31 Carlos O'Donell <carlos@redhat.com>
4762 * po/be.po: Update translations.
4764 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4766 * sysdeps/sh/libm-test-ulps: Update.
4768 2018-07-30 Carlos O'Donell <carlos@redhat.com>
4770 * po/bg.po: Update translations.
4771 * po/de.po: Likewise.
4772 * po/hr.po: Likewise.
4773 * po/pt_BR.po: Likewise.
4774 * po/sv.po: Likewise.
4775 * po/vi.po: Likewise.
4777 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
4780 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
4781 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
4782 (CFLAGS-tst-cet-property-1.o): New.
4783 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
4784 ($(objpfx)tst-cet-property-2): Likewise.
4785 ($(objpfx)tst-cet-property-2.out): Likewise.
4786 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
4787 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
4788 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
4789 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
4790 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
4792 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
4795 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
4797 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4799 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
4800 __sbrk): Do not set attribute_hidden.
4801 * sysdeps/mach/hurd/not-errno.h: New file.
4802 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
4803 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
4805 2018-07-27 Carlos O'Donell <carlos@redhat.com>
4807 * po/uk.po: Update translations.
4808 * po/cs.po: Likewise.
4809 * po/pl.po: Likewise.
4811 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4813 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
4814 parse beyond the note end.
4816 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4818 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
4819 kernel does not support OFD locks.
4820 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
4822 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4824 * sysdeps/mach/hurd/Versions (libc): Make __access and
4825 __access_noerrno external so they can override the ld symbols.
4826 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
4827 __writev, __open64, __access_noerrno extern so they can be overrided.
4828 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
4829 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
4831 2018-07-26 Carlos O'Donell <carlos@redhat.com>
4833 * po/libc.pot: Regenerate.
4835 2018-07-26 Joseph Myers <joseph@codesourcery.com>
4837 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4839 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
4842 * sysdeps/x86/cpu-features.c (get_extended_indices): New
4844 (init_cpu_features): Call get_extended_indices for both Intel
4846 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
4847 Remove "for AMD" comment.
4849 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
4852 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
4853 COMMON_CPUID_INDEX_80000001.
4855 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
4857 * string/tst-xbzero-opt.c (use_test_buffer): New function.
4858 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
4860 2018-07-26 Florian Weimer <fweimer@redhat.com>
4862 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
4863 aliases for symbols not in the implementation namespace.
4865 2018-07-25 Carlos O'Donell <carlos@redhat.com>
4868 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
4869 lowercase in LATIN script.
4870 * localedata/Makefile (test-input): Add en_US.UTF-8.
4871 * localedata/en_US.UTF-8.in: New file.
4872 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
4873 and restore old tests.
4874 * posix/tst-regexloc.c (do_test): Add back range expression test.
4876 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4878 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
4880 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4882 * nptl/threads.h: Move to ...
4883 * sysdeps/nptl/threads.h: ... here.
4884 * sysdeps/hurd/stdc-predef.h: New file.
4886 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4888 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
4889 tst-cet-setcontext-1 if CET is enabled.
4890 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
4891 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
4893 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4895 * include/threads.h: Move to ...
4896 * sysdeps/nptl/threads.h: ... here.
4897 * sysdeps/htl/threads.h: New file.
4898 * conform/Makefile (linknamespace-libs-ISO11): Use
4899 static-thread-library instead of linking libpthread.
4900 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
4902 2018-07-25 Florian Weimer <fweimer@redhat.com>
4904 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
4905 nanoseconds into seconds.
4906 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
4907 (do_test): Likewise.
4908 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
4909 (do_test): Likewise. Avoid nanosecond overflow and spurious
4910 timeouts due to system load.
4911 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
4912 (child_wait): Increment it.
4913 (do_test): Wait as long as necessary until all expected threads
4916 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
4917 H.J. Lu <hongjiu.lu@intel.com>
4919 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
4921 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
4922 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
4923 (__push___start_context): New.
4924 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
4926 (__getcontext): Record the current shadow stack base. Save the
4927 caller's shadow stack pointer and base.
4928 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
4929 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
4930 (__push___start_context): New prototype.
4931 (__makecontext): Call __push___start_context to allocate a new
4932 shadow stack, push __start_context onto the new stack as well
4933 as the new shadow stack.
4934 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
4936 (__setcontext): Restore the target shadow stack.
4937 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
4939 (__swapcontext): Record the current shadow stack base. Save
4940 the caller's shadow stack pointer and base. Restore the target
4942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4943 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
4944 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
4946 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4948 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
4949 tst-setcontext8 and tst-setcontext9.
4950 * stdlib/tst-setcontext6.c: New file.
4951 * stdlib/tst-setcontext7.c: Likewise.
4952 * stdlib/tst-setcontext8.c: Likewise.
4953 * stdlib/tst-setcontext9.c: Likewise.
4955 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4957 * stdlib/Makefile ((tests): Add tst-setcontext5.
4958 * stdlib/tst-setcontext5.c: New file.
4960 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4962 * stdlib/Makefile (tests): Add tst-setcontext4.
4963 * stdlib/tst-setcontext4.c: New file.
4965 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4967 * stdlib/Makefile (tests): Add tst-swapcontext1.
4968 * stdlib/tst-swapcontext1.c: New test.
4970 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4972 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
4973 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
4974 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
4975 and tst-cet-legacy-4c.
4976 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
4977 and tst-cet-legacy-mod-4.
4978 (CFLAGS-tst-cet-legacy-2.c): New.
4979 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
4980 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
4981 (CFLAGS-tst-cet-legacy-3.c): Likewise.
4982 (CFLAGS-tst-cet-legacy-4.c): Likewise.
4983 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
4984 ($(objpfx)tst-cet-legacy-1): Likewise.
4985 ($(objpfx)tst-cet-legacy-2): Likewise.
4986 ($(objpfx)tst-cet-legacy-2.out): Likewise.
4987 ($(objpfx)tst-cet-legacy-2a): Likewise.
4988 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
4989 ($(objpfx)tst-cet-legacy-4): Likewise.
4990 ($(objpfx)tst-cet-legacy-4.out): Likewise.
4991 ($(objpfx)tst-cet-legacy-4a): Likewise.
4992 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
4993 (tst-cet-legacy-4a-ENV): Likewise.
4994 ($(objpfx)tst-cet-legacy-4b): Likewise.
4995 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
4996 (tst-cet-legacy-4b-ENV): Likewise.
4997 ($(objpfx)tst-cet-legacy-4c): Likewise.
4998 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
4999 (tst-cet-legacy-4c-ENV): Likewise.
5000 * sysdeps/x86/tst-cet-legacy-1.c: New file.
5001 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
5002 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
5003 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
5004 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
5005 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
5006 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
5007 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
5008 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
5009 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
5010 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
5012 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5014 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
5015 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
5017 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
5018 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
5021 2018-07-25 Andreas Schwab <schwab@suse.de>
5024 * locale/weightwc.h (findidx): Handle the case where usrc is a
5025 prefix of cp but one character too short.
5027 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5029 * NEWS: Add ISO C threads addition.
5031 2018-07-24 Florian Weimer <fweimer@redhat.com>
5033 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5034 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
5035 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
5038 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5040 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
5041 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
5042 <sys/prctl.h> and <asm/prctl.h>.
5043 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
5044 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
5046 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
5047 ARCH_CET_LEGACY_BITMAP.
5048 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
5049 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
5050 * sysdeps/x86/libc-start.c: Include <startup.h>.
5052 2018-07-24 Florian Weimer <fweimer@redhat.com>
5054 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
5055 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
5057 2018-07-24 Rical Jasan <rj@2c3t.io>
5058 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5059 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5062 * manual/debug.texi: Update adjacent chapter name.
5063 * manual/probes.texi: Likewise.
5064 * manual/threads.texi (ISO C Threads): New section.
5065 (POSIX Threads): Convert to a section.
5067 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5068 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5071 * nptl/Makefile (tests): Add new test files.
5072 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
5073 * nptl/tst-cnd-basic.c: Likewise.
5074 * nptl/tst-cnd-broadcast.c: Likewise.
5075 * nptl/tst-cnd-timedwait.c: Likewise.
5076 * nptl/tst-mtx-basic.c: Likewise.
5077 * nptl/tst-mtx-recursive.c: Likewise.
5078 * nptl/tst-mtx-timedlock.c: Likewise.
5079 * nptl/tst-mtx-trylock.c: Likewise.
5080 * nptl/tst-thrd-basic.c: Likewise.
5081 * nptl/tst-thrd-detach.c: Likewise.
5082 * nptl/tst-thrd-sleep.c: Likewise.
5083 * nptl/tst-tss-basic.c: Likewise.
5085 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5088 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
5089 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
5091 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5092 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5093 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5094 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5095 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5096 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5097 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5098 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5099 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5100 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5101 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5102 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5110 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5111 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5112 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5113 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5114 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5115 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5116 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5117 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5118 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
5119 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
5120 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
5121 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
5122 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
5124 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
5125 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
5126 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
5127 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
5128 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
5129 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
5130 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
5131 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
5132 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
5133 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
5134 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
5135 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5142 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
5143 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
5144 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
5145 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
5147 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
5148 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
5149 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
5152 * conform/data/threads.h-data (thread_local): New macro.
5153 (TSS_DTOR_ITERATIONS): Likewise.
5155 (tss_dtor_t): Likewise.
5156 (tss_create): New function.
5157 (tss_get): Likewise.
5158 (tss_set): Likewise.
5159 (tss_delete): Likewise.
5160 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
5161 tss_get, and tss_set objects.
5162 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5163 * nptl/tss_create.c: New file.
5164 * nptl/tss_delete.c: Likewise.
5165 * nptl/tss_get.c: Likewise.
5166 * nptl/tss_set.c: Likewise.
5167 * sysdeps/nptl/threads.h (thread_local): New define.
5168 (TSS_DTOR_ITERATIONS): Likewise.
5169 (tss_t): New typedef.
5170 (tss_dtor_t): Likewise.
5171 (tss_create): New prototype.
5172 (tss_get): Likewise.
5173 (tss_set): Likewise.
5174 (tss_delete): Likewise.
5177 * conform/data/threads.h-data (cnd_t): New type.
5178 (cnd_init): New function.
5179 (cnd_signal): Likewise.
5180 (cnd_broadcast): Likewise.
5181 (cnd_wait): Likewise.
5182 (cnd_timedwait): Likewise.
5183 (cnd_destroy): Likewise.
5184 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
5185 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
5187 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5188 * nptl/cnd_broadcast.c: New file.
5189 * nptl/cnd_destroy.c: Likewise.
5190 * nptl/cnd_init.c: Likewise.
5191 * nptl/cnd_signal.c: Likewise.
5192 * nptl/cnd_timedwait.c: Likewise.
5193 * nptl/cnd_wait.c: Likewise.
5194 * sysdeps/nptl/threads.h (cnd_t): New type.
5195 (cnd_init): New prototype.
5196 (cnd_signa): Likewise.
5197 (cnd_broadcast): Likewise.
5198 (cnd_wait): Likewise.
5199 (cnd_timedwait): Likewise.
5200 (cnd_destroy): Likewise.
5203 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
5204 (once_flag): New type.
5205 (call_once): New function.
5206 * nptl/Makefile (libpthread-routines): Add call_once object.
5207 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
5208 * nptl/call_once.c: New file.
5209 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
5210 (once_flag): New type.
5211 (call_once): New prototype.
5214 * conform/data/threads.h-data (mtx_plain): New constant.
5215 (mtx_recursive): Likewise.
5216 (mtx_timed): Likewise.
5218 (mtx_init): New function.
5219 (mtx_lock): Likewise.
5220 (mtx_timedlock): Likewise.
5221 (mtx_trylock): Likewise.
5222 (mtx_unlock): Likewise.
5223 (mtx_destroy): Likewise.
5224 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
5225 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
5226 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
5227 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
5228 * nptl/mtx_destroy.c: New file.
5229 * nptl/mtx_init.c: Likewise.
5230 * nptl/mtx_lock.c: Likewise.
5231 * nptl/mtx_timedlock.c: Likewise.
5232 * nptl/mtx_trylock.c: Likewise.
5233 * nptl/mtx_unlock.c: Likewise.
5234 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
5235 (mtx_recursive): Likewise.
5236 (mtx_timed): Likewise.
5238 (mtx_init): New prototype.
5239 (mtx_lock): Likewise.
5240 (mtx_timedlock): Likewise.
5241 (mtx_trylock): Likewise.
5242 (mtx_unlock): Likewise.
5243 (mtx_destroy): Likewise.
5246 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
5247 (linknamespace-libs-ISO11): Add libpthread.a.
5248 * conform/data/threads.h-data: New file: add C11 thrd_* types and
5250 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
5251 * nptl/Makefile (headers): Add threads.h.
5252 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
5253 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
5255 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
5256 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
5257 thrd_join, thrd_sleep, and thrd_yield symbols.
5258 * nptl/descr.h (struct pthread): Add c11 field.
5259 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
5260 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
5261 routine with expected function prototype.
5262 (__pthread_create_2_1): Add C11 threads check based on attribute
5264 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
5265 * nptl/thrd_create.c: New file.
5266 * nptl/thrd_current.c: Likewise.
5267 * nptl/thrd_detach.c: Likewise.
5268 * nptl/thrd_equal.c: Likewise.
5269 * nptl/thrd_exit.c: Likewise.
5270 * nptl/thrd_join.c: Likewise.
5271 * nptl/thrd_priv.h: Likewise.
5272 * nptl/thrd_sleep.c: Likewise.
5273 * nptl/thrd_yield.c: Likewise.
5274 * include/threads.h: Likewise.
5276 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5278 * bits/indirect-return.h: New file.
5279 * misc/sys/cdefs.h (__glibc_has_attribute): New.
5280 * sysdeps/x86/bits/indirect-return.h: Likewise.
5281 * stdlib/Makefile (headers): Add bits/indirect-return.h.
5282 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
5283 (swapcontext): Add __INDIRECT_RETURN.
5284 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
5285 (prepare_test_buffer): Use it.
5287 2018-07-24 Andreas Schwab <schwab@suse.de>
5290 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
5291 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
5293 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5295 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
5296 Redefine if shadow stack is enabled.
5297 (SYSCALL_ERROR_LABEL): Likewise.
5298 (__vfork): Pop shadow stack and jump back to to caller directly
5299 when shadow stack is in use.
5300 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
5301 Redefine if shadow stack is enabled.
5302 (SYSCALL_ERROR_LABEL): Likewise.
5303 (__vfork): Pop shadow stack and jump back to to caller directly
5304 when shadow stack is in use.
5306 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5308 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
5311 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
5314 2018-07-20 Joseph Myers <joseph@codesourcery.com>
5316 * scripts/build-many-glibcs.py (Context.checkout): Default
5317 binutils version to 2.31 branch.
5319 2018-07-20 Zong Li <zong@andestech.com>
5321 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
5322 URL of gcc's tarball.
5324 2018-07-20 Florian Weimer <fweimer@redhat.com>
5327 * posix/regcomp.c (build_equiv_class): When comparing weights, do
5328 not compare an extra byte after the end of the weights.
5330 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5332 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
5334 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
5336 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
5337 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
5338 * scripts/check-execstack.awk: Consider `xfail' variable containing a
5339 list of libraries whose stack executability is expected.
5340 * elf/Makefile ($(objpfx)check-execstack.out): Pass
5341 $(check-execstack-xfail) to check-execstack.awk through `xfail'
5343 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
5344 libc.so libpthread.so.
5346 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
5348 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
5350 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
5352 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
5354 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
5356 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5358 * benchtests/scripts/compare_bench.py (__main__): use the argparse
5359 library to improve command line parsing.
5360 (__main__): make schema file as optional parameter (--schema),
5361 defaulting to benchtests/scripts/benchout.schema.json.
5362 (main): move out of the parsing stuff to __main_ and leave it
5363 only as caller of main comparison functions.
5365 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
5367 * NEWS: Add a note for Intel CET status.
5368 * manual/install.texi: Likewise.
5369 * INSTALL: Regenerated.
5371 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
5374 * localedata/locales/oc_FR (mon): Rename to...
5375 (alt_mon): This, then update October (typo fix).
5376 (mon): New content (genitive case, month names preceded by
5380 * localedata/locales/oc_FR (abday): Update all items.
5381 (day): Update Wednesday and Saturday (typo fixes).
5382 (abmon): Update all items, except May.
5383 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
5384 (LC_IDENTIFICATION): Bump the revision number and date.
5385 Keep the "category" entries in alphabetic order.
5386 (LC_ADDRESS): Remove no longer needed comment.
5387 (LC_COLLATE): Use “copy "ca_ES"”.
5388 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
5391 2018-07-18 Joseph Myers <joseph@codesourcery.com>
5393 * grp/tst_fgetgrent.c: Include <unistd.h>.
5394 (main): Use mkstemp instead of tmpnam.
5395 * io/test-utime.c (main): Likewise.
5396 * posix/annexc.c (macrofile): Change to modifiable array.
5397 (main): Remove macrofile here.
5398 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
5400 (check_header): Do not remove macrofile here.
5401 * posix/bug-getopt1.c: Include <stdlib.h>.
5402 (do_test): Use mkstemp instead of tmpnam.
5403 * posix/bug-getopt2.c: Include <stdlib.h>.
5404 (do_test): Use mkstemp instead of tmpnam.
5405 * posix/bug-getopt3.c: Include <stdlib.h>.
5406 (do_test): Use mkstemp instead of tmpnam.
5407 * posix/bug-getopt4.c: Include <stdlib.h>.
5408 (do_test): Use mkstemp instead of tmpnam.
5409 * posix/bug-getopt5.c: Include <stdlib.h>.
5410 (do_test): Use mkstemp instead of tmpnam.
5411 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
5412 (main): Use mkstemp instead of tmpnam.
5413 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
5414 (main): Use mkstemp instead of tmpnam.
5415 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
5416 (main): use mkstemp instead of tmpnam.
5417 * stdlib/isomac.c (macrofile): Change to modifiable array.
5418 (main): Remove macrofile here.
5419 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
5421 (check_header): Do not remove macrofile here.
5423 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5425 * manual/tunables.texi: Document glibc.tune.x86_ibt and
5426 glibc.tune.x86_shstk.
5428 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5430 * NEWS: Mention --enable-cet.
5431 * manual/install.texi: Document --enable-cet.
5432 * INSTALL: Regenerated.
5434 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5436 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
5437 Add _CET_NOTRACK before indirect jump to jump table.
5439 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5441 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
5442 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5445 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5447 * sysdeps/i386/i686/multiarch/strcat-sse2.S
5448 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5451 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
5454 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5457 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5459 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
5460 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5463 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
5466 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5468 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
5470 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5472 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
5473 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5476 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5478 * sysdeps/i386/i686/multiarch/memset-sse2.S
5479 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5482 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5484 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
5485 indirect jump to jump table.
5487 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5489 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
5490 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5494 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
5497 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5501 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5503 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
5504 _CET_NOTRACK before indirect jump to jump table.
5506 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5508 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
5509 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5512 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5514 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
5515 indirect jump to jump table.
5517 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
5520 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
5521 (LOCALES): Likewise.
5522 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
5523 * localedata/locales/sah_RU: New file.
5524 * localedata/sah_RU.UTF-8.in: New file.
5526 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5528 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
5530 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
5531 _CET_ENDBR to indirect jump targets and adjust jump destination
5533 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
5535 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
5536 _CET_ENDBR to indirect jump targets and adjust jump destination
5538 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
5540 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
5541 _CET_ENDBR to indirect jump targets and adjust jump destination
5544 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5546 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
5549 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5551 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
5553 (_dl_tlsdesc_undefweak): Likewise.
5554 (_dl_tlsdesc_dynamic): Likewise.
5555 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
5556 (_dl_tlsdesc_resolve_rel): Likewise.
5557 (_dl_tlsdesc_resolve_rela): Likewise.
5558 (_dl_tlsdesc_resolve_hold): Likewise.
5559 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
5560 (_dl_tlsdesc_undefweak): Likewise.
5561 (_dl_tlsdesc_dynamic): Likewise.
5562 (_dl_tlsdesc_resolve_rela): Likewise.
5563 (_dl_tlsdesc_resolve_hold): Likewise.
5565 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5567 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
5569 * sysdeps/x86_64/crti.S (_init): Likewise.
5572 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
5575 * localedata/locales/os_RU (mon): Rename to...
5577 (mon): Import from CLDR (genitive case).
5579 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5581 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
5582 cet-tunables.h> when CET is enabled.
5584 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
5587 * configure.ac: Add --enable-cet.
5588 * configure: Regenerated.
5589 * elf/Makefille (all-built-dso): Add a comment.
5590 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
5591 Include <dl-prop.h>.
5592 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
5594 * elf/dl-open.c: Include <dl-prop.h>.
5595 (dl_open_worker): Call _dl_open_check.
5596 * elf/rtld.c: Include <dl-prop.h>.
5597 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
5599 * sysdeps/generic/dl-prop.h: New file.
5600 * sysdeps/i386/dl-cet.c: Likewise.
5601 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
5602 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
5603 * sysdeps/x86/cet-tunables.h: Likewise.
5604 * sysdeps/x86/check-cet.awk: Likewise.
5605 * sysdeps/x86/configure: Likewise.
5606 * sysdeps/x86/configure.ac: Likewise.
5607 * sysdeps/x86/dl-cet.c: Likewise.
5608 * sysdeps/x86/dl-procruntime.c: Likewise.
5609 * sysdeps/x86/dl-prop.h: Likewise.
5610 * sysdeps/x86/libc-start.h: Likewise.
5611 * sysdeps/x86/link_map.h: Likewise.
5612 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
5614 (_dl_runtime_profile): Likewise.
5615 (_dl_runtime_resolve_shstk): New.
5616 (_dl_runtime_profile_shstk): Likewise.
5617 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
5619 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
5620 (CFLAGS-.os): Likewise.
5621 (CFLAGS-.op): Likewise.
5622 (CFLAGS-.oS): Likewise.
5623 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
5625 (tests-special): Add $(objpfx)check-cet.out.
5626 (cet-built-dso): New.
5627 (+$(cet-built-dso:=.note)): Likewise.
5628 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
5629 ($(objpfx)check-cet.out): New.
5630 (generated): Add check-cet.out.
5631 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
5633 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
5634 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
5635 (init_cpu_features): Call get_cet_status to check CET status
5636 and update dl_x86_feature_1 with CET status. Call
5637 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
5638 (set_x86_shstk). Disable and lock CET in libc.a.
5639 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
5640 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
5641 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
5642 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
5643 (_CET_ENDBR): Define if not defined.
5644 (ENTRY): Add _CET_ENDBR.
5645 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
5647 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
5649 (_dl_runtime_profile): Likewise.
5651 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
5654 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
5655 restore r2 on longjmp.
5656 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
5658 Added rules to build test tst-setjmp-bug21895-static.
5659 Added module setjmp-bug21895 and rules to build a shared object from it.
5660 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
5661 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
5663 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
5665 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
5666 * benchtests/bench-strstr.c: Likewise.
5667 * string/memmem.c (FASTSEARCH): Define.
5668 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
5669 Add support for FASTSEARCH.
5670 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
5671 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
5672 (FASTSEARCH): Define.
5673 * string/test-strcasestr.c: Rename __strnlen to strnlen.
5674 * string/test-strstr.c: Likewise.
5676 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
5678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
5679 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
5681 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5682 H.J. Lu <hongjiu.lu@intel.com>
5684 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
5685 (__longjmp): Restore shadow stack pointer if shadow stack is
5686 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
5687 isn't defined for __longjmp_cancel.
5688 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
5689 (_setjmp): Save shadow stack pointer if shadow stack is enabled
5690 and SHADOW_STACK_POINTER_OFFSET is defined.
5691 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
5692 (setjmp): Save shadow stack pointer if shadow stack is enabled
5693 and SHADOW_STACK_POINTER_OFFSET is defined.
5694 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
5695 (__sigsetjmp): Save shadow stack pointer if shadow stack is
5696 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
5699 (____longjmp_chk): Restore shadow stack pointer if shadow stack
5700 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5701 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
5702 Remove jmp_buf-ssp.sym.
5703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5705 (____longjmp_chk): Restore shadow stack pointer if shadow stack
5706 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5707 * sysdeps/x86/Makefile (gen-as-const-headers): Add
5709 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
5710 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
5711 (__longjmp): Restore shadow stack pointer if shadow stack is
5712 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
5713 isn't defined for __longjmp_cancel.
5714 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
5715 (__sigsetjmp): Save shadow stack pointer if shadow stack is
5716 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5718 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
5721 * nptl/pthread_create.c: Include <tls-setup.h>.
5722 (__pthread_create_2_1): Call tls_setup_tcbhead.
5723 * sysdeps/generic/tls-setup.h: New file.
5724 * sysdeps/x86/nptl/tls-setup.h: Likewise.
5725 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
5726 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
5728 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
5730 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
5731 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
5732 (X86_FEATURE_1_SHSTK): Likewise.
5733 (CET_ENABLED): Likewise.
5734 (IBT_ENABLED): Likewise.
5735 (SHSTK_ENABLED): Likewise.
5737 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
5740 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
5741 (LOCALES): Likewise.
5742 * localedata/dsb_DE.UTF-8.in: New file.
5743 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
5745 2018-07-12 Florian Weimer <fweimer@redhat.com>
5747 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
5748 __mprotect, not mprotect.
5750 2018-07-11 Florian Weimer <fweimer@redhat.com>
5752 * io/Makefile (headers): Add bits/statx.h.
5754 2018-07-10 Mike FABIAN <mfabian@redhat.com>
5756 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
5757 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
5759 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
5760 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
5763 2018-07-10 Florian Weimer <fweimer@redhat.com>
5765 * io/Makefile (routines): Add statx.
5766 (tests-internal): Add tst-statx.
5767 * io/Versions (GLIBC_2.28): Export statx.
5768 * io/bits/statx.h: New file.
5769 * io/sys/stat.h [__USE_GNU]: Include it.
5770 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
5771 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
5773 * io/statx.c: New file.
5774 * io/statx_generic.: Likewise.
5775 * io/tst-statx.: Likewise.
5776 * include/bits/statx.h: Likewise.
5777 * sysdeps/unix/sysv/linux/kernel-features.h
5778 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
5779 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5780 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
5781 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
5783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5784 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
5785 * sysdeps/unix/sysv/linux/statx.c: New file.
5786 * manual/filesys.texi: Note that statx is undocumented.
5787 * sysdeps/**/libc*.abilist: Update.
5789 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5791 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
5792 a kernel issue which lead to test failure in some cases.
5794 2018-07-10 Florian Weimer <fweimer@redhat.com>
5797 * posix/regexec.c (check_node_accept_bytes): When comparing
5798 weights, do not compare an extra byte after the end of the
5801 2018-07-10 Florian Weimer <fweimer@redhat.com>
5803 * libio/readline.c: Fix copyright year.
5804 * libio/tst-readline.c Likewise.
5805 * nss/tst-nss-files-hosts-getent.c: Likewise.
5807 2018-07-06 Florian Weimer <fweimer@redhat.com>
5810 * nss/nss_files/files-XXX.c (internal_getent): Use
5811 __libc_readline_unlocked. Seek back to the start of the line if
5812 parsing failes with ERANGE.
5813 (get_contents_ret, get_contents): Remove.
5814 * nss/tst-nss-files-hosts-getent.c: New file.
5815 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
5816 (tst-nss-files-hosts-getent): Link with -ldl.
5818 2018-07-06 Florian Weimer <fweimer@redhat.com>
5820 * include/stdio.h (__libc_readline_unlocked): Declare.
5821 (__ftello64, __fseeko64): Declare aliases.
5822 * libio/readline.c: New file.
5823 * libio/tst-readline.c: Likewise.
5824 (routines): Add readline.
5825 (tests-internal): Add tst-readlime.
5826 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
5827 __libc_readline_unlocked.
5828 * libio/fseeko.c (__fseeko): Rename from fseeko.
5829 (fseeko): Add alias.
5830 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
5831 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
5832 (fseeko64): Add alias.
5833 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
5834 * libio/ftello64.c (__ftello64): Rename from ftello64.
5835 (ftello64): Add alias.
5837 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5839 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
5842 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5844 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
5845 Use dl_hwcap without masking.
5846 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
5849 2018-07-06 Florian Weimer <fweimer@redhat.com>
5851 * conform/conformtest.pl (checknamespace): Escape literal braces
5852 in regular expressions.
5854 2018-07-06 Amit Pawar <amit.pawar@amd.com>
5856 * sysdeps/x86/cpu-features.c (get_common_indeces):
5857 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
5858 * sysdeps/x86/cpu-features.c (init_cpu_features):
5859 AVX_Fast_Unaligned_Load is disabled for Excavator core.
5861 2018-07-05 Florian Weimer <fweimer@redhat.com>
5863 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
5865 (CFLAGS-elf-init.oS): Likewise.
5867 2018-07-05 Florian Weimer <fweimer@redhat.com>
5868 Carlos O'Donell <carlos@redhat.com>
5870 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
5871 $(no-stack-protector). stack_chk_fail_local.c can be compiled
5872 with stack protector enabled because there is no risk of infinite
5875 2018-07-05 Maciej W. Rozycki <macro@mips.com>
5879 * libc-abis (ABSOLUTE): New ABI.
5880 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
5881 * NEWS: Mention the new ABI.
5883 2018-07-05 Florian Weimer <fweimer@redhat.com>
5886 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
5887 (RENAME_WHITEOUT): Define.
5888 [__USE_GNU] (renameat2): Declare.
5889 * stdio-common/Makefile (routines): Add renameat2.
5890 (tests): Add tst-renameat2.
5891 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
5892 * stdio-common/renameat2.c: New file.
5893 * stdio-common/tst-renameat2.c: Likewise.
5894 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
5895 * manual/filesys.texi (Temporary Files): Note that renameat2 is
5897 * sysdeps/unix/sysv/linux/kernel-features.h
5898 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
5899 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5900 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
5901 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5902 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
5903 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5904 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
5905 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5906 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
5907 * include/stdio.h (__renameat): Add alias for renameat.
5908 * stdio-common/renameat.c (__renameat): Rename from renameat.
5909 Add hidden definition and alias.
5910 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5911 * sysdeps/mach/hurd/renameat.c: Likewise.
5912 * sysdeps/**/libc*.abilist: Add renameat2.
5914 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5916 * posix/bug-regex33.c: Fix build after regex sync.
5918 2018-07-04 Carlos O'Donell <carlos@redhat.com>
5921 * localedata/tst-langinfo-setlocale.c: New file.
5922 * localedata/tst-langinfo-setlocale-static.c: New file.
5923 * localedata/tst-langinfo-newlocale.c: New file.
5924 * localedata/tst-langinfo-newlocale-static.c: New file.
5925 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
5926 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
5927 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
5928 (tests-static): Remove tst-langinfo-static. Add
5929 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
5930 (tests-special): Remove $(objpfx)tst-langinfo.out,
5931 $(objpfx)tst-langinfo-static.out. Add
5932 $(objpfx)tst-langinfo-setlocale.out,
5933 $(objpfx)tst-langinfo-newlocale.out,
5934 $(objpfx)tst-langinfo-setlocale-static.out,
5935 $(objpfx)tst-langinfo-newlocale-static.out.
5936 ($(objpfx)tst-langinfo.out): Remove.
5937 ($(objpfx)tst-langinfo-static.out): Remove.
5938 ($(objpfx)tst-langinfo-newlocale.out): New target.
5939 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
5940 (test-xfail-tst-langinfo-newlocale-static): Add.
5941 ($(objpfx)tst-langinfo-setlocale.out): New target.
5942 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
5943 * localedata/tst-langinfo.c: Call test_locale.
5944 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
5947 2018-07-04 Florian Weimer <fweimer@redhat.com>
5949 testrun.sh: Implement --tool=strace, --tool=valgrind
5950 * Makefile (testrun-script): Define variable.
5951 (testrun.sh): Use variable.
5952 * manual/install.texi (Tools for Compilation): make 4.0 or later
5954 * configure.ac: Check for make 4.0 or later.
5955 * INSTALL: Regenerate.
5956 * configure: Likewise.
5958 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5964 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
5965 * posix/PCRE.tests: Remove invalid test.
5966 * posix/bug-regex28.c: Fix expected values for used syntax.
5967 * posix/bug-regex37.c: New file.
5968 * posix/bug-regex38.c: Likewise.
5969 * posix/regcomp.c: Sync with gnulib.
5970 * posix/regex.c: Likewise.
5971 * posix/regex.h: Likewise.
5972 * posix/regex_internal.c: Likewise.
5973 * posix/regex_internal.h: Likewise.
5974 * posix/regexec.c: Likewise.
5976 2018-06-26 Mike FABIAN <mfabian@redhat.com>
5979 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
5980 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
5981 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
5982 * localedata/unicode-gen/PropList.txt: likewise.
5983 * localedata/unicode-gen/UnicodeData.txt: likewise.
5984 * localedata/charmaps/UTF-8: Regenerate.
5985 * localedata/locales/i18n_ctype: likewise.
5986 * localedata/locales/tr_TR: likewise.
5987 * localedata/locales/translit_circle: likewise.
5988 * localedata/locales/translit_cjk_compat: likewise.
5989 * localedata/locales/translit_combining: likewise.
5990 * localedata/locales/translit_compat: likewise.
5991 * localedata/locales/translit_font: likewise.
5992 * localedata/locales/translit_fraction: likewise.
5994 2018-07-03 Florian Weimer <fweimer@redhat.com>
5997 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
5998 * stdio-common/tst-printf.sh: Adjust expected output.
6001 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6003 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
6006 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6008 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
6009 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
6010 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
6011 * stdio-common/tst-printfsz-islongdouble.c: New file.
6012 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
6013 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
6014 [subdir == stdio-common] (routines): Add ieee128-printf_size.
6015 [subdir == stdio-common] (tests-internal): Add
6016 test-printf-size-ieee128, and test-printf-size-ibm128.
6017 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
6018 (CFLAGS-test-printf-size-ibm128.c): New variables.
6019 [subdir == stdio-common] (tests-special): Add
6020 $(objpfx)test-printf-size-ieee128.out and
6021 $(objpfx)test-printf-size-ibm128.out.
6022 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
6023 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
6024 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
6025 __printf_sizeieee128.
6026 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
6028 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
6030 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
6033 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6035 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
6036 (exp2f_inline): Likewise.
6037 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
6038 (__math_uflowf): Likewise.
6039 (__math_may_uflowf): Likewise.
6040 (__math_divzerof): Likewise.
6041 (__math_invalidf): Likewise.
6042 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
6043 (__math_oflowf): Likewise.
6044 (__math_uflowf): Likewise.
6045 (__math_may_uflowf): Likewise.
6046 (__math_divzerof): Likewise.
6047 (__math_invalidf): Likewise.
6049 2018-06-29 DJ Delorie <dj@redhat.com>
6050 Carlos O'Donell <carlos@redhat.com>
6053 * include/libc-symbols.h: Comment the freeres framework.
6054 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
6055 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
6056 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
6057 * dlfcn/dlerror.c: Include libc-symbols.h
6058 (__dlerror_main_freeres): New function.
6059 * dlfcn/dlfreeres.c: New file.
6060 * dlfcn/sdlfreeres.c: New file.
6061 * include/dlfcn.h: Declare __dlerror_main_freeres.
6062 * malloc/set-freeres.c: Declare __libdl_freeres, and
6063 __libpthread_freeres.
6064 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
6065 the releavant libraries are loaded.
6066 * malloc/thread-freeres.c: Add comments.
6067 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
6068 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
6069 * nptl/allocatestack.c (__nptl_free_stacks): New function.
6070 (__free_stacks): Rename to...
6071 (free_stacks): ...this. Mark static.
6072 (queue_stack): Call free_stacks.
6073 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
6074 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
6075 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
6076 ptr_freeres element from struct.
6077 (pthread_functions): Remove .ptr_freeres from struct initializer.
6078 [SHARED] (nptl_freeres): Remove.
6079 * nptl/nptlfreeres.c: New file.
6081 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
6082 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
6084 (__free_stacks): Rename to...
6085 (__nptl_stacks_freeres): ...this.
6086 (__shm_directory_freeres): Declare.
6087 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
6088 (__nptl_unwind_freeres): ...this.
6089 * resolv/res-close.c: Add comment.
6090 * resolv/resolv_conf.c: Include libc-symbols.h.
6091 * string/strerror_l.c: Include libc-symbols.h.
6092 * sunrpc/rpc_thread.c: Include libc-symbols.h.
6093 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
6094 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
6095 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
6097 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6099 * stdlib/tst-strfmon_l.c: Add tests for long double.
6101 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
6104 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
6105 * localedata/locales/dsb_DE: New file.
6107 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6110 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
6112 (alt_mon): New entry, import from CLDR (nominative case).
6114 2018-06-29 Sylvain Lesage <severo@rednegra.net>
6117 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
6119 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
6121 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
6122 Use vector registers.
6124 * sysdeps/aarch64/multiarch/memmove_falkor.S
6125 (__memcpy_falkor): Use vector registers.
6127 2018-06-29 Martin Sebor <msebor@redhat.com>
6129 * manual/stdio.texi (Customizing Printf): Mention interaction
6132 2018-06-29 Maciej W. Rozycki <macro@mips.com>
6135 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
6136 `st_value' is 0 if `st_shndx' is SHN_ABS.
6137 * elf/tst-absolute-zero.c: New file.
6138 * elf/tst-absolute-zero-lib.c: New file.
6139 * elf/tst-absolute-zero-lib.lds: New file.
6140 * elf/Makefile (tests): Add `tst-absolute-zero'.
6141 (modules-names): Add `tst-absolute-zero-lib'.
6142 (LDLIBS-tst-absolute-zero-lib.so): New variable.
6143 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
6144 ($(objpfx)tst-absolute-zero: New dependency.
6146 2018-06-29 Zack Weinberg <zackw@panix.com>
6148 * configure.ac: New command-line option --disable-crypt.
6149 Force --disable-nss-crypt when --disable-crypt is given, with a
6150 warning if it was explicitly enabled.
6151 * configure: Regenerate.
6152 * config.make.in: New boolean substitution variable $(build-crypt).
6153 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
6154 when $(build-crypt).
6155 * manual/install.texi: Document --disable-crypt.
6156 * INSTALL: Regenerate.
6158 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
6160 * conform/Makefile: Only include libcrypt.a in
6161 linknamespace-libs-xsi and linknamespace-libs-XPG4
6162 when $(build-crypt).
6163 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
6164 USE_CRYPT to 1 when $(build-crypt).
6165 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
6166 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
6167 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
6169 2018-06-29 Zack Weinberg <zackw@panix.com>
6171 * crypt/crypt.h, posix/unistd.h: Update comments and
6172 prototypes for crypt and crypt_r.
6174 * manual/crypt.texi (Cryptographic Functions): New initial
6176 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
6177 (Unpredictable Bytes): Improve initial exposition. Clarify error
6178 behavior of getentropy and getrandom.
6179 * manual/examples/genpass.c: Generate a salt using getentropy
6180 instead of the current time. Use hash $5$ (SHA-2-256).
6181 * manual/examples/testpass.c: Demonstrate validation against
6182 hashes generated with three different one-way functions.
6184 * manual/intro.texi: crypt.texi does not need an overview
6187 * manual/nss.texi, manual/memory.texi, manual/socket.texi
6188 * manual/terminal.texi: Consistently refer to "passphrases"
6189 * instead of "passwords", and to the "user database" instead
6190 * of the "password database".
6191 * manual/users.texi: Similarly. Add notes about how actual
6192 passphrase hashes are now stored in the shadow database.
6193 Remove 20-year-old junk todo note.
6195 2018-06-29 Zack Weinberg <zackw@panix.com>
6197 * manual/crypt.texi: Use a normal top-level @node declaration.
6198 Move most of the introductory text to the 'crypt' section.
6199 Move the example programs below the @deftypefun for 'crypt_r'.
6200 Move the 'getpass' section...
6201 * manual/terminal.texi: ...here.
6203 2018-06-29 Zack Weinberg <zackw@panix.com>
6204 Florian Weimer <fweimer@redhat.com>
6206 * posix/unistd.h: Do not declare encrypt.
6207 (_XOPEN_CRYPT): Remove macro definition.
6208 (crypt): Declare only for _USE_MISC.
6209 * stdlib/stdlib.h: Do not declare setkey.
6210 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
6211 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
6213 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
6214 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
6215 into compat symbols. Don't define initial_perm if it's not
6217 * crypt/cert.c: Link explicitly with the expected versions for
6218 setkey and encrypt. If they are not available at all, mark
6219 the test as unsupported.
6221 * sunrpc/des_crypt.c: Unconditionally block linkage with
6222 cbc_crypt and ecb_crypt for new binaries.
6223 * sunrpc/des_soft.c: Unconditionally block linkage with
6224 des_setparity for new binaries.
6226 * manual/crypt.texi: Remove the entire "DES Encryption"
6227 section. Also remove the paragraph talking about FIPS 140-2
6228 from the introduction.
6229 * manual/string.texi (strfry, memfrob): Revise. Recommend use
6230 of libgcrypt for "real" encryption, not DES.
6231 * manual/conf.texi (Constants for Sysconf): Mention that
6232 _XOPEN_CRYPT is no longer impelemented.
6234 * conform/data/unistd.h-data: Remove crypt function declaration.
6236 2018-06-29 Florian Weimer <fweimer@redhat.com>
6239 * malloc/hooks.c: Update comments on restoring of dumped heaps.
6240 (disallow_malloc_check): Remove variable.
6241 (__malloc_check_init): Adjust.
6242 (malloc_set_state): Update comment.
6243 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
6246 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6249 * localedata/locales/ast_ES (mon): Rename to...
6251 (mon): Import from CLDR (genitive case).
6253 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
6254 Jakub Sitnicki <jkbs@redhat.com>
6257 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
6260 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
6262 * manual/llio.texi: Remove spurious space.
6264 2018-06-28 Florian Weimer <fweimer@redhat.com>
6267 * time/bits/types/struct_timespec.h: Change header inclusion guard to
6270 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6272 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6273 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
6274 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
6275 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
6276 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
6277 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
6278 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
6280 2018-06-27 Maciej W. Rozycki <macro@mips.com>
6283 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
6284 Copy and null-terminate entries that are not terminated, in
6285 addition to empty ones.
6287 2018-06-27 Florian Weimer <fweimer@redhat.com>
6290 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
6291 (extend_alloca_account): Remove.
6292 * manual/stdio.texi (Variable Arguments Output): Update comment.
6294 2018-06-27 Joseph Myers <joseph@codesourcery.com>
6296 * nptl/sockperf.c: Remove file.
6298 2018-06-27 Florian Weimer <fweimer@redhat.com>
6301 * elf/dl-deps.c (_dl_map_object_deps): Use struct
6302 scratch_buffer instead of extend_alloca.
6304 2018-06-27 Florian Weimer <fweimer@redhat.com>
6307 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
6308 scratch_buffer instead of extend_alloca. Update comments.
6310 2018-06-27 Florian Weimer <fweimer@redhat.com>
6313 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
6314 instead of extend_alloca.
6316 2018-06-26 Joseph Myers <joseph@codesourcery.com>
6319 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
6320 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
6322 * scripts/test-installation.pl: Put temporary files in build
6323 directory, not /tmp.
6324 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
6325 (CFLAGS-bug4.c): Likewise.
6326 (CFLAGS-bug5.c): Likewise.
6327 (CFLAGS-test-fseek.c): Likewise.
6328 (CFLAGS-test-popen.c): Likewise.
6329 (CFLAGS-test_rdwr.c): Likewise.
6330 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
6332 * stdio-common/bug4.c (main): Likewise.
6333 * stdio-common/bug5.c (main): Likewise.
6334 * stdio-common/test-fseek.c (TESTFILE): Likewise.
6335 * stdio-common/test-popen.c (do_test): Likewise.
6336 * stdio-common/test_rdwr.c (main): Likewise.
6338 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
6340 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
6341 (sem_open): Set sem.newsem.pad to zero for valgrind.
6343 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6346 * NEWS: Mention fcntl64 addition.
6347 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
6348 * login/utmp_file.c: Likewise.
6349 * sysdeps/posix/fdopendir.c: Likewise.
6350 * sysdeps/posix/opendir.c: Likewise.
6351 * sysdeps/unix/pt-fcntl.c: Likewise.
6352 * include/fcntl.h (__libc_fcntl64, __fcntl64,
6353 __fcntl64_nocancel_adjusted): New prototype.
6354 (__fcntl_nocancel_adjusted): Remove prototype.
6355 * io/Makefile (routines): Add fcntl64.
6356 (CFLAGS-fcntl64.c): New rule.
6357 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
6358 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
6359 * io/fcntl.h (fcntl64): Add prototype and redirect if
6360 __USE_FILE_OFFSET64 is defined.
6361 * io/fcntl64.c: New file.
6362 * manual/llio.text: Add a note for which commands fcntl acts a
6364 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
6365 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
6366 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
6368 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
6369 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
6371 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
6372 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
6373 to __fcntl64_nocancel.
6374 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
6375 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
6376 to __fcntl64_nocancel.
6377 * sysdeps/generic/not-cancel.h: Likewise.
6378 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
6379 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
6380 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
6381 (fcntl64): New symbol.
6382 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6383 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6384 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6387 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6388 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6389 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6390 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6391 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6392 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
6394 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6395 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
6396 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6397 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6398 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6399 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6400 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6401 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6402 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6407 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6408 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6409 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6411 2018-06-26 Florian Weimer <fweimer@redhat.com>
6413 Run thread shutdown functions in an explicit order.
6414 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
6416 (__libc_thread_freeres): Call thread shutdown functions
6418 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
6419 * include/string.h (__strerror_thread_freeres): Declare.
6420 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
6421 arena_thread_freeres. No longer static. Remove thread shutdown
6423 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
6425 * resolv/res-close.c (__res_thread_freeres): Renamed from
6426 res_thread_freeres. No longer static. Remove thread shutdown
6428 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
6429 * resolv/resolv_conf.c (freeres): Remove incorrect section
6430 attribute and use libc_freeres_fn.
6431 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
6432 strerror_thread_freeres. No longer static. Remove thread
6433 shutdown hook registration.
6434 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
6435 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
6436 shutdown hook registration.
6437 * Makerules (shlib.lds): Do not provide section boundary symbols
6438 for __libc_thread_subfreeres.
6439 * manual/memory.texi (Basic Allocation): Update comment.
6441 2018-06-26 Florian Weimer <fweimer@redhat.com>
6443 Remove always-defined _RPC_THREAD_SAFE_ macro.
6444 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
6445 Do not define _RPC_THREAD_SAFE_.
6446 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
6448 * sunrpc/clnt_perr.c: Likewise.
6449 * sunrpc/clnt_raw.c: Likewise.
6450 * sunrpc/clnt_simp.c: Likewise.
6451 * sunrpc/key_call.c: Likewise.
6452 * sunrpc/rpc_common.c: Likewise.
6453 * sunrpc/rpc_main.c: Likewise.
6454 * sunrpc/rpc_thread.c: Likewise.
6455 * sunrpc/svc.c: Likewise.
6456 * sunrpc/svc_raw.c: Likewise.
6457 * sunrpc/svc_simple.c: Likewise.
6458 * sumrpc/svcauth_des.c: Likewise.
6460 2018-06-26 Florian Weimer <fweimer@redhat.com>
6462 * libio/Makefile (tests-internal): Add tst-vtables,
6463 tst-vtables-interposed.
6464 * libio/tst-vtables.c: New file.
6465 * libio/tst-vtables-common.c: Likewise.
6466 * libio/tst-vtables-interposed.c: Likewise.
6468 2018-06-26 Florian Weimer <fweimer@redhat.com>
6470 * support/support_test_main.c (support_test_main): Only call
6471 setvbuf if not disables.
6472 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
6473 * support/test-driver.h (struct test_config): Add no_setvbuf member.
6475 2018-06-26 Florian Weimer <fweimer@redhat.com>
6478 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
6480 2018-06-25 Florian Weimer <fweimer@redhat.com>
6483 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6484 Use struct scratch_buffer instead of extend_alloca.
6486 2018-06-25 Florian Weimer <fweimer@redhat.com>
6489 * nss/getent.c (initgroups_keys): Use dynarray instead of
6492 2018-06-25 Florian Weimer <fweimer@redhat.com>
6495 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
6496 Use struct scratch_buffer instead of extend_alloca.
6498 2018-06-25 Florian Weimer <fweimer@redhat.com>
6501 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
6502 back to malloc directly, without stack allocations.
6504 2018-06-25 Florian Weimer <fweimer@redhat.com>
6507 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
6510 2018-06-25 Florian Weimer <fweimer@redhat.com>
6513 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
6515 * nscd/hstcache.c (addhstbyX): Likewise.
6516 * nscd/pwdcache.c (addpwbyX): Likewise.
6517 * nscd/servicescache.c (addservbyX): Likewise.
6519 2018-06-25 Florian Weimer <fweimer@redhat.com>
6522 * nscd/connections.c (read_cmdline): New function.
6523 (restart): Use it. Update comment.
6525 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
6528 * localedata/locales/csb_PL (mon): Rename to...
6530 (abmon): Rename to...
6532 (mon): Add with proper genitive forms, copy from Wikipedia.
6535 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
6538 * localedata/locales/csb_PL (mon): Fix typos:
6539 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
6540 (yesstr): Add, value is "jo".
6541 (nostr): Add, value is "nié".
6543 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6545 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
6546 all log1p and significand functions on m680x0.
6547 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
6548 of s_significand.c..
6549 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6550 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
6551 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
6552 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
6553 s_log1p.c and include it..
6555 2018-06-21 Vincent Chen <vincentc@andestech.com>
6557 * elf/elf.h (R_NDS32_NONE): New define.
6558 (R_NDS32_32_RELA): Likewise.
6559 (R_NDS32_COPY): Likewise.
6560 (R_NDS32_GLOB_DAT): Likewise.
6561 (R_NDS32_JUMP_SLOT): Likewise.
6562 (R_NDS32_RELATIVE): Likewise.
6563 (R_NDS32_TLS_TPOFF): Likewise.
6564 (R_NDS32_TLS_DESC): Likewise.
6566 2018-06-21 Mark Wielaard <mark@klomp.org>
6568 * elf/elf.h (R_BPF_MAP_FD): Removed.
6569 (R_BPF_64_64, R_BPF_64_32): New.
6571 2018-06-21 Florian Weimer <fweimer@redhat.com>
6574 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
6575 Renamed from libc_feholdsetround_ctx.
6576 (default_libc_feresetround_ctx): Renamed from
6577 libc_feresetround_ctx.
6578 (default_libc_feholdsetround_noex_ctx): Renamed from
6579 libc_feholdsetround_noex_ctx.
6580 (default_libc_feresetround_noex_ctx): Renamed from
6581 libc_feresetround_noex_ctx.
6582 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
6583 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
6584 forwardning to the old implementations under the new names.
6585 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
6586 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
6587 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
6588 (libc_feresetround_ctx): Forward to default implements for i386
6589 and MATH_SET_BOTH_ROUNDING_MODES.
6590 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
6591 Add -DMATH_SET_BOTH_ROUNDING_MODES.
6593 2018-06-20 Joseph Myers <joseph@codesourcery.com>
6595 * string/tst-cmp.c: Include <libc-diag.h>.
6596 (strncmp_max): Disable -Wstringop-overflow= around call to
6598 (strncasecmp_max): Disable -Wstringop-overflow= around call to
6601 * string/bug-strpbrk1.c: Include <libc-diag.h>.
6602 (main): Disable -Wunused-value around call to strpbrk.
6603 * string/bug-strspn1.c: Include <libc-diag.h>.
6604 (main): Disable -Wunused-value around call to strspn.
6606 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6607 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6609 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
6610 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
6612 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6614 * math/Makefile (libm-calls): Move s_significandF to...
6615 (gen-libm-calls): ... here.
6616 * math/s_significand_template.c: New file.
6617 * math/s_significand.c: Removed.
6618 * math/s_significandf.c: Removed.
6619 * math/s_significandl.c: Removed.
6620 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
6621 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
6623 * math/e_exp2_template.c (declare_mgen_finite_alias,
6624 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
6625 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
6626 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
6628 2018-06-20 Florian Weimer <fweimer@redhat.com>
6630 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
6632 2018-06-19 Joseph Myers <joseph@codesourcery.com>
6635 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
6636 floating-point number to strtod functions rather than possibly
6637 negating result of those functions.
6638 * stdio-common/tst-scanf-round.c: New file.
6639 * stdio-common/Makefile (tests): Add tst-scanf-round.
6640 ($(objpfx)tst-scanf-round): Depend on $(libm).
6642 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6644 * sysdeps/mach/hurd/localplt.data: Move to...
6645 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
6646 R_386_GLOB_DAT like on Linux i386.
6648 2018-06-18 Joseph Myers <joseph@codesourcery.com>
6650 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
6651 (SHM_STAT_ANY): New macro.
6652 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
6653 (SHM_STAT_ANY): Likewise.
6654 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
6655 (SHM_STAT_ANY): Likewise.
6656 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
6657 (SHM_STAT_ANY): Likewise.
6658 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
6659 (SHM_STAT_ANY): Likewise.
6660 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
6661 (SHM_STAT_ANY): Likewise.
6662 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
6663 (SHM_STAT_ANY): Likewise.
6664 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
6665 (SHM_STAT_ANY): Likewise.
6666 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
6667 (SHM_STAT_ANY): Likewise.
6668 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
6669 (SHM_STAT_ANY): Likewise.
6670 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
6671 (SHM_STAT_ANY): Likewise.
6672 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
6673 (SHM_STAT_ANY): Likewise.
6675 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
6676 (SEM_STAT_ANY): New macro.
6677 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
6678 (SEM_STAT_ANY): Likewise.
6679 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
6680 (SEM_STAT_ANY): Likewise.
6681 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
6682 (SEM_STAT_ANY): Likewise.
6683 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
6684 (SEM_STAT_ANY): Likewise.
6685 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
6686 (SEM_STAT_ANY): Likewise.
6687 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
6688 (SEM_STAT_ANY): Likewise.
6689 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
6690 (SEM_STAT_ANY): Likewise.
6691 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
6692 (SEM_STAT_ANY): Likewise.
6693 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
6694 (SEM_STAT_ANY): Likewise.
6696 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
6697 (MSG_STAT_ANY): New macro.
6698 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
6699 (MSG_STAT_ANY): Likewise.
6700 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
6701 (MSG_STAT_ANY): Likewise.
6702 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
6703 (MSG_STAT_ANY): Likewise.
6704 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
6705 (MSG_STAT_ANY): Likewise.
6706 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
6707 (MSG_STAT_ANY): Likewise.
6708 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
6709 (MSG_STAT_ANY): Likewise.
6710 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
6711 (MSG_STAT_ANY): Likewise.
6712 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
6713 (MSG_STAT_ANY): Likewise.
6714 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
6715 (MSG_STAT_ANY): Likewise.
6717 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6718 (MAP_TYPE): Change value to 0x2b.
6720 2018-06-18 Florian Weimer <fweimer@redhat.com>
6723 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
6724 socket with SOCK_CLOEXEC.
6726 2018-06-18 Joseph Myers <joseph@codesourcery.com>
6729 * sysdeps/powerpc/powerpc64/le/Makefile
6730 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
6731 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
6732 (gnulib-tests): Also add $(f128-loader-link) for
6733 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
6735 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6737 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
6738 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
6740 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
6741 (sendfile64): New strong alias.
6742 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
6743 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
6744 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
6745 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
6747 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
6748 ___pthread_get_cleanup_stack.
6749 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
6750 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
6751 * mach/shortcut.awk: Make syscall stubs include
6752 <mach-shortcuts-hidden.h> and add hidden definition.
6753 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
6754 (__mach_msg): Add hidden prototype.
6755 * mach/msg.c: Include <mach.h>.
6756 (__mach_msg): Add hidden definition.
6757 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
6758 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
6759 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
6760 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
6761 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
6762 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
6763 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
6764 prototype and definition.
6765 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
6766 hidden target for _hurd_self_sigstate.
6768 2018-06-15 Joseph Myers <joseph@codesourcery.com>
6771 * stdlib/tst-strtod-nan-sign-main.c: New file.
6772 * stdlib/tst-strtod-nan-sign.c: Likewise.
6773 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
6774 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
6775 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
6776 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
6777 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
6779 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
6782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
6785 2018-06-14 Florian Weimer <fweimer@redhat.com>
6788 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
6789 that the result stays within the ISO-8859-1 range.
6790 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
6791 characters are defined in IBM273.
6793 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6795 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
6796 __mach_task_self): Remove attribute_hidden.
6798 2018-06-14 Joseph Myers <joseph@codesourcery.com>
6800 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
6801 ignore -Wrestrict for one test.
6803 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
6804 Szabolcs Nagy <szabolcs.nagy@arm.com>
6806 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
6808 2018-06-14 Florian Weimer <fweimer@redhat.com>
6810 * scripts/update-abilist.sh: Accept empty list of files to patch.
6812 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
6814 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
6815 test-xfail-check-abi-libmachuser): Add.
6816 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
6817 __libc_read and __libc_write to __read and __write.
6818 * sysdeps/hurd/include/hurd/port.h: New file.
6819 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
6820 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
6821 __thread_switch, __evc_wait): Move declarations to...
6822 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
6824 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
6825 use PLT to call _hurd_self_sigstate.
6827 2018-06-13 Joseph Myers <joseph@codesourcery.com>
6830 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
6831 MAX_EXP as overflowing.
6832 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
6834 (round_str): Output also whether result overflows in each rounding
6836 * stdlib/tst-strtod-round-data: Add more tests.
6837 * stdlib/tst-strtod-round-data.h: Regenerated.
6838 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
6839 (TEST): Handle extra arguments for overflow flags.
6840 (struct test_overflow): New type.
6841 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
6842 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
6843 (test_in_one_mode): Take argument with overflow information.
6844 (do_test): Update calls to test_in_one_mode.
6846 2018-06-12 Carlos O'Donell <carlos@redhat.com>
6848 * elf/dl-load (_dl_dst_substitute): Correct comment.
6849 (_dl_dst_count): Likewise.
6851 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
6852 lll_futex_timed_wait.
6854 2018-06-12 Joseph Myers <joseph@codesourcery.com>
6857 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
6859 * math/test-nan-const.c: New file.
6860 * math/Makefile (tests): Add test-nan-const.
6861 (CFLAGS-test-nan-const.c): New variable.
6863 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
6865 * benchtests/scripts/compare_strings.py (process_results): Add
6866 funcs argument. Compare only functions which are selected.
6867 (main): Check if base function is among selected functions.
6868 Pass selected functions to process_results.
6869 (__main__): Add -f/--functions argument.
6871 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
6872 Hongbo Zhang <hongbo.zhang@linaro.org>
6874 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
6875 __memcpy_falkor for phecda core.
6876 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
6877 __memmove_falkor for phecda core.
6878 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
6879 __memset_falkor for phecda core.
6880 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
6882 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
6883 macro to identify phecda core.
6885 2018-06-12 Carlos O'Donell <carlos@redhat.com>
6886 Andreas Schwab <schwab@suse.de>
6887 Dmitry V. Levin <ldv@altlinux.org>
6888 Florian Weimer <fweimer@redhat.com>
6895 * elf/dl-dst.h: Remove DL_DST_COUNT.
6896 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
6897 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
6898 (is_dst): Comment. Support ELF gABI.
6899 (_dl_dst_count): Comment. Simplify and count DSTs.
6900 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
6901 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
6904 2018-06-12 Zack Weinberg <zackw@panix.com>
6906 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
6907 * sysdeps/unix/sysv/linux/dl-sysdep.c
6908 Include not-cancel.h. Use __close_nocancel instead of __close,
6909 __open64_nocancel instead of __open, __read_nocancel instead of
6910 __libc_read, and __write_nocancel instead of __libc_write.
6912 * csu/check_fds.c (check_one_fd)
6913 * sysdeps/posix/fdopendir.c (__fdopendir)
6914 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
6915 instead of __fcntl and/or __libc_fcntl.
6917 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
6918 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
6919 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
6920 Use __open64_nocancel instead of __open_nocancel.
6922 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
6923 hidden_proto declarations to the end and issue them if either
6924 IS_IN(libc) or IS_IN(rtld).
6925 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
6926 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
6927 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
6928 read_nocancel, waitpid_nocancel, write_nocancel.
6930 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
6931 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
6932 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
6934 * nptl/pt-fcntl.c: New file.
6935 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
6936 (libpthread-routines): Add pt-fcntl.
6937 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
6938 (__libc_fcntl): Remove attribute_hidden.
6939 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
6940 __fcntl_nocancel_adjusted, not fcntl_common.
6941 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
6942 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
6943 to fcntl_nocancel.c.
6944 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6947 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
6949 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
6950 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
6951 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
6952 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
6953 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
6954 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
6955 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
6956 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
6957 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
6958 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
6959 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
6960 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
6961 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
6962 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
6963 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
6964 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
6965 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
6966 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
6967 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
6968 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
6970 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
6971 libpthread-routines.
6972 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
6975 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
6976 __libc_read, and __write instead of __libc_write. Define
6977 __open64 in addition to __open.
6979 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
6983 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
6984 to _private_tm[3] and add __glibc_reserved2.
6985 Add _Static_assert of offset of __private_ss == 0x30.
6986 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
6987 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
6989 2018-06-12 Florian Weimer <fweimer@redhat.com>
6991 x86: Make strncmp usable from rtld.
6992 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
6993 __strncmp_ia32 if in libc (and not in rtld).
6994 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
6995 strncmp if not in libc (and not to __strncmp_sse2).
6997 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
7000 * localedata/locales/gd_GB (mon): Rename to...
7002 (mon): Import from CLDR (genitive case).
7003 * localedata/locales/hsb_DE (mon): Rename to...
7005 (mon): Import from CLDR (genitive case).
7006 * localedata/locales/wa_BE (mon): Rename to...
7008 (mon): Add, fill with the proper genitive forms, but CLDR data
7009 is incomplete; completed according to the comments in this file.
7010 (d_t_fmt): Do not use "di" before the month name, no longer needed.
7012 * localedata/locales/wa_BE (country_name): Reword
7013 "Beljike" -> "Beldjike".
7015 2018-06-11 Joseph Myers <joseph@codesourcery.com>
7018 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
7019 cases of non-finite arguments.
7020 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7022 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
7025 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
7027 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7030 * include/unistd.h (__execvpex): New prototype.
7031 * posix/Makefile (tests): Add tst-spawn4.
7032 (tests-internal): Add tst-spawn4-compat.
7033 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
7034 * posix/tst-spawn4-compat.c: New file.
7035 * posix/tst-spawn4.c: Likewise.
7036 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
7037 binaries as shell scripts.
7038 * sysdeps/posix/spawni.c (__spawni): Likewise.
7040 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
7043 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
7044 ($(all-built-dso:=.dynsym): New target.
7045 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
7046 ($(objpfx)check-initfini.out): New target.
7047 (generated): Add check-initfini.out.
7048 * scripts/check-initfini.awk: New file.
7049 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
7051 * sysdeps/alpha/crti.S (_init): Mark as hidden.
7053 * sysdeps/arm/crti.S (_init): Mark as hidden.
7055 * sysdeps/hppa/crti.S (_init): Mark as hidden.
7057 * sysdeps/i386/crti.S (_init): Mark as hidden.
7059 * sysdeps/ia64/crti.S (_init): Mark as hidden.
7061 * sysdeps/m68k/crti.S (_init): Mark as hidden.
7063 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
7065 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
7067 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
7069 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
7071 * sysdeps/nios2/crti.S (_init): Mark as hidden.
7073 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
7075 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
7077 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
7079 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
7081 * sysdeps/sh/crti.S (_init): Mark as hidden.
7083 * sysdeps/sparc/crti.S (_init): Mark as hidden.
7085 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
7088 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7090 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
7091 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
7092 and TF redirection to KFtype and KF only when the default
7093 long double type is not the IEEE 128-bit floating point type.
7095 2018-06-05 Joseph Myers <joseph@codesourcery.com>
7097 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
7099 (HWCAP_USCAT): Likewise.
7100 (HWCAP_ILRCPC): Likewise.
7101 (HWCAP_FLAGM): Likewise.
7102 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7104 (_dl_aarch64_cap_flags): Add new flag names.
7106 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
7107 (MAP_FIXED_NOREPLACE): New macro.
7108 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
7109 (MAP_FIXED_NOREPLACE): Likewise.
7110 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
7111 (MAP_FIXED_NOREPLACE): Likewise.
7112 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7113 (MAP_FIXED_NOREPLACE): Likewise.
7114 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
7115 (MAP_FIXED_NOREPLACE): Likewise.
7116 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
7117 (MAP_FIXED_NOREPLACE): Likewise.
7118 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
7119 (MAP_FIXED_NOREPLACE): Likewise.
7120 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
7121 (MAP_FIXED_NOREPLACE): Likewise.
7122 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
7123 (MAP_FIXED_NOREPLACE): Likewise.
7124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
7125 (MAP_FIXED_NOREPLACE): Likewise.
7126 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
7127 (MAP_FIXED_NOREPLACE): Likewise.
7128 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
7129 (MAP_FIXED_NOREPLACE): Likewise.
7130 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
7131 (MAP_FIXED_NOREPLACE): Likewise.
7132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
7133 (MAP_FIXED_NOREPLACE): Likewise.
7134 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
7135 (MAP_FIXED_NOREPLACE): Likewise.
7137 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7140 2018-06-04 Joseph Myers <joseph@codesourcery.com>
7142 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7145 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7147 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
7149 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
7151 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7153 * benchtests/scripts/compare_string.py: (process_results) Catch
7154 exception in non-existent base_func and catch exception in
7155 non-existent attribute.
7156 (parse_file) Catch exception if input file does not exist.
7158 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7160 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
7161 options to avoid diff calculation and omit header, respectively.
7162 (main): process --no-diff and --no-header
7164 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7165 H.J. Lu <hongjiu.lu@intel.com>
7167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7168 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
7170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7171 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
7172 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
7174 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
7175 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7176 AVX unaligned load is fast and vzeroupper is preferred.
7177 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
7178 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
7179 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
7180 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
7181 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
7182 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
7183 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
7184 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
7185 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
7186 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
7189 2018-06-01 Florian Weimer <fweimer@redhat.com>
7191 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
7192 configuring with --disable-multi-arch, building with
7193 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
7196 2018-06-01 Florian Weimer <fweimer@redhat.com>
7198 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
7199 results from building with “-march=x86-64 -mtune=generic
7200 -mfpmath=sse” and running on a Haswell-era CPU.
7202 2018-06-01 Joseph Myers <joseph@codesourcery.com>
7205 * soft-fp/sqrttf2.c: Remove file.
7206 * soft-fp/sqrtdf2.c: Move to ....
7207 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
7209 (__sqrtdf2): Make conditional on
7210 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7212 * soft-fp/sqrtsf2.c: Move to ....
7213 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
7215 (__sqrtsf2): Make conditional on
7216 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7218 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
7219 (gcc-double-routines): Remove sqrtdf2.
7220 (gcc-quad-routines): Remove sqrttf2.
7221 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7222 Do not filter out sqrtsf2 and sqrtdf2.
7223 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7224 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
7226 2018-06-01 Florian Weimer <fweimer@redhat.com>
7228 * sysdeps/generic/libcidn.abilist: Remove file.
7230 2018-06-01 Florian Weimer <fweimer@redhat.com>
7233 * libio/strfile.h (struct _IO_str_fields): Rename members to
7234 discourage their use and add comment.
7235 (_IO_STR_DYNAMIC): Remove unused macro.
7236 * libio/strops.c (_IO_str_init_static_internal): Do not use
7237 callback pointers. Call malloc and free.
7238 (_IO_str_overflow): Do not use callback pointers. Call malloc
7240 (enlarge_userbuf): Likewise.
7241 (_IO_str_finish): Call free.
7242 * libio/wstrops.c (_IO_wstr_init_static): Initialize
7243 _allocate_buffer_unused.
7244 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
7246 (enlarge_userbuf): Likewise.
7247 (_IO_wstr_finish): Call free.
7248 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
7249 _allocate_buffer_unused, _free_buffer_unused.
7250 * libio/memstream.c (__open_memstream): Likewise.
7251 * libio/vasprintf.c (_IO_vasprintf): Likewise.
7252 * libio/wmemstream.c (open_wmemstream): Likewise.
7254 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7256 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
7259 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7261 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
7262 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
7263 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
7265 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
7267 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
7269 2018-05-29 Florian Weimer <fweimer@redhat.com>
7271 * support/Makefile (libsupport-routines): Add
7272 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
7273 xpthread_barrierattr_setpshared.
7274 * support/xpthread_barrierattr_destroy.c: New file.
7275 * support/xpthread_barrierattr_init.c: Likewise.
7276 * support/xpthread_barrierattr_setpshared.c: Likewise.
7278 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
7281 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
7282 _r_debug and update DT_DEBUG for debugger.
7284 2018-05-29 Florian Weimer <fweimer@redhat.com>
7286 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
7287 (tst-strtod5i.out): Likewise.
7289 2018-05-25 Joseph Myers <joseph@codesourcery.com>
7291 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
7292 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
7293 (sparc64-quad-routines): New variable. Moved from ....
7294 [$(subdir) = soft-fp] (sysdep_routines): Add
7295 $(sparc64-quad-routines). Moved from ....
7296 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
7297 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
7298 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
7300 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
7301 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
7302 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
7303 * sysdeps/sparc/sparc64/qp_add.c: ... here.
7304 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
7305 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
7306 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
7307 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
7308 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
7309 * sysdeps/sparc/sparc64/qp_div.c: ... here.
7310 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
7311 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
7312 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
7313 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
7314 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
7315 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
7316 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
7317 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
7318 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
7319 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
7320 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
7321 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
7322 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
7323 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
7324 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
7325 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
7326 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
7327 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
7328 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
7329 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
7330 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
7331 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
7332 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
7333 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
7334 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
7335 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
7336 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
7337 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
7338 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
7339 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
7340 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
7341 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
7342 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
7343 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
7344 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
7345 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
7346 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
7347 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
7348 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
7349 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
7350 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
7351 * sysdeps/sparc/sparc64/qp_util.c: ... here.
7352 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
7353 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
7354 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
7355 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
7356 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
7357 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
7359 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
7360 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
7361 (sparc32-quad-routines): New variable. Moved from ....
7362 [$(subdir) = soft-fp] (sysdep_routines): Add
7363 $(sparc32-quad-routines). Moved from ....
7364 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
7365 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
7367 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
7368 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
7369 * sysdeps/sparc/sparc32/q_add.c: ... here.
7370 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
7371 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
7372 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
7373 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
7374 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
7375 * sysdeps/sparc/sparc32/q_div.c: ... here.
7376 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
7377 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
7378 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
7379 * sysdeps/sparc/sparc32/q_feq.c: ... here.
7380 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
7381 * sysdeps/sparc/sparc32/q_fge.c: ... here.
7382 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
7383 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
7384 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
7385 * sysdeps/sparc/sparc32/q_fle.c: ... here.
7386 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
7387 * sysdeps/sparc/sparc32/q_flt.c: ... here.
7388 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
7389 * sysdeps/sparc/sparc32/q_fne.c: ... here.
7390 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
7391 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
7392 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
7393 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
7394 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
7395 * sysdeps/sparc/sparc32/q_mul.c: ... here.
7396 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
7397 * sysdeps/sparc/sparc32/q_neg.c: ... here.
7398 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
7399 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
7400 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
7401 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
7402 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
7403 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
7404 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
7405 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
7406 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
7407 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
7408 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
7409 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
7410 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
7411 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
7412 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
7413 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
7414 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
7415 * sysdeps/sparc/sparc32/q_sub.c: ... here.
7416 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
7417 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
7418 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
7419 * sysdeps/sparc/sparc32/q_util.c: ... here.
7420 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
7421 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
7422 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
7423 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
7425 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7426 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7428 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
7429 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
7430 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
7431 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
7433 2018-05-24 Joseph Myers <joseph@codesourcery.com>
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
7437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7439 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
7440 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
7442 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7445 * math/math.h [C++] (iseqsig): Fix parameter type for the long
7448 2018-05-23 Joseph Myers <joseph@codesourcery.com>
7450 * sysdeps/sh/Implies: Remove sh/soft-fp.
7451 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
7452 * sysdeps/sh/sfp-machine.h: ... here.
7454 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
7456 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7457 (__mempcpy_erms): Skip zero length.
7458 (__memmove_erms): Likewise.
7459 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7460 (__memset_erms): Likewise.
7462 2018-05-23 Joseph Myers <joseph@codesourcery.com>
7464 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
7465 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7466 Add functions moved from ....
7467 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
7468 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
7469 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
7471 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
7472 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
7473 * sysdeps/alpha/e_sqrtl.c: ... here.
7474 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
7475 * sysdeps/alpha/local-soft-fp.h: ... here.
7476 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
7477 * sysdeps/alpha/ots_add.c: ... here.
7478 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
7479 * sysdeps/alpha/ots_cmp.c: ... here.
7480 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
7481 * sysdeps/alpha/ots_cmpe.c: ... here.
7482 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
7483 * sysdeps/alpha/ots_cvtqux.c: ... here.
7484 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
7485 * sysdeps/alpha/ots_cvtqx.c: ... here.
7486 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
7487 * sysdeps/alpha/ots_cvttx.c: ... here.
7488 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
7489 * sysdeps/alpha/ots_cvtxq.c: ... here.
7490 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
7491 * sysdeps/alpha/ots_cvtxt.c: ... here.
7492 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
7493 * sysdeps/alpha/ots_div.c: ... here.
7494 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
7495 * sysdeps/alpha/ots_mul.c: ... here.
7496 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
7497 * sysdeps/alpha/ots_nintxq.c: ... here.
7498 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
7499 * sysdeps/alpha/ots_sub.c: ... here.
7500 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
7501 * sysdeps/alpha/sfp-machine.h: ... here.
7503 2018-05-23 Florian Weimer <fweimer@redhat.com>
7511 Switch to extern IDNA implementation (libidn2).
7512 * libidn: Remove subdirectory.
7513 * LICENSES: Do not mention licensing conditions for the removed
7515 * config.h.in (HAVE_LIBIDN): Remove.
7516 * include/dlfcn.h (__libc_dlopen): Update comment.
7517 * include/idna.h: Remove file.
7518 * inet/Makefile (routines): Add idna.
7519 (tests-static, tests-internal): Add tst-idna_name_classify.
7520 (LOCALES): Generate locales for tests.
7521 (tst-idna_name_classify.out): Depend on generated locales.
7522 * inet/idna_name_classify.c: New file.
7523 * inet/tst-idna_name_classify.c: Likewise.
7524 * inet/net-internal.h (__idna_to_dns_encoding)
7525 (__idna_from_dns_encoding): Declare.
7526 * inet/net-internal.h (enum idna_name_classification): Define.
7527 (__idna_name_classify): Declare.
7528 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
7529 __idna_from_dns_encoding.
7530 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
7531 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
7532 name as a fallback in case of encoding errors.
7533 (getnameinfo): Use DEPRECATED_NI_IDN.
7534 * inet/idna.c: New file.
7535 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
7536 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
7537 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
7538 (modules-names): Add tst-no-libidn2.
7539 (extra-test-objs): Add tst-no-libidn2.os.
7540 (LDFLAGS-tst-no-libidn2.so): Set soname.
7541 (LOCALES): Set, and generate locales.
7542 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
7543 (tst-resolv-ai_idn-latin1): Likewise.
7544 (tst-resolv-ai_idn-nolibidn2): Likewise.
7545 (tst-resolv-ai_idn.out): Depend on locales.
7546 (tst-resolv-ai_idn-latin1.out): Depend on locales.
7547 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
7549 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
7550 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
7551 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
7552 * resolv/tst-resolv-ai_idn.c: New file.
7553 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
7554 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
7555 * resolv/tst-no-libidn2.c: Likewise.
7556 * support/support_format_addrinfo.c (format_ai_flags): Do not
7557 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
7558 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
7559 (gaih_inet): Call __idna_to_dns_encoding and
7560 __idna_from_dns_encoding, and use the original (punycode) name if
7561 __idna_from_dns_encoding fails due to an encoding error.
7562 (getaddrinfo): Use DEPRECATED_AI_IDN.
7563 * sysdeps/unix/inet/Subdirs (libidn): Remove.
7564 * sysdeps/unix/inet/configure: Remove file.
7565 * sysdeps/unix/inet/configure.ac: Likewise.
7567 2018-05-23 Florian Weimer <fweimer@redhat.com>
7569 Implement allocate_once.
7570 * include/allocate_once.h: New file.
7571 * misc/allocate_once.c: Likewise.
7572 * misc/tst-allocate_once.c: Likewise.
7573 * misc/Makefile (routines): Add allocate_once.
7574 (tests-internal): Add tst-allocate_once.
7575 (generated): Add tst-allocate_once.mtrace,
7576 tst-allocate_once-mem.out.
7577 (tests-special): Add tst-allocate_once-mem.out.
7578 (tst-allocate_once-ENV): Set MALLOC_TRACE.
7579 (tst-allocate_once-mem.out): Call mtrace.
7580 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
7582 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
7585 * string/test-memcpy.c (do_test1): New function.
7586 (test_main): Call it.
7588 2018-05-23 Andreas Schwab <schwab@suse.de>
7592 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
7593 (L(preloop_large)): Save initial destination pointer in %r11 and
7594 use it instead of %rax after the loop.
7595 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
7597 2018-05-22 Joseph Myers <joseph@codesourcery.com>
7599 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
7600 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
7601 -I../soft-fp. Moved from ....
7602 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
7603 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
7604 * sysdeps/aarch64/e_sqrtl.c: ... here.
7605 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
7606 * sysdeps/aarch64/sfp-machine.h: ... here.
7608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
7609 -Wmaybe-uninitialized around access to fq[0].
7610 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7614 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
7615 aliases for non-libc case of versioned symbols.
7616 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
7617 (llseek): Define as compat symbol if
7618 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
7620 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
7621 Make into a compat symbol, disabled for minimum symbol version
7622 GLIBC_2.28 and later.
7623 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
7625 2018-05-22 Florian Weimer <fweimer@redhat.com>
7627 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
7628 not add -mpreferred-stack-boundary=4.
7629 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
7630 (stack-align-test-flags): Likewise.
7631 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
7633 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
7634 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
7635 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
7636 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
7637 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
7638 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
7639 (CFLAGS-tst-align2.c): Likewise.
7641 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
7643 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
7644 (index_arch_Prefer_FSRM): Likewise.
7645 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7646 Also check Prefer_FSRM.
7647 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
7648 Also return OPTIMIZE (erms) for Prefer_FSRM.
7650 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
7652 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
7653 (index_cpu_FSRM): Likewise.
7654 (reg_FSRM): Likewise.
7656 2018-05-18 Joseph Myers <joseph@codesourcery.com>
7658 * math/gen-tgmath-tests.py: Import sys.
7659 (Tests.__init__): Initialize macros_seen.
7660 (Tests.add_tests): Add macro to macros_seen. Only generate tests
7661 if requested to do so for this macro.
7662 (Tests.add_all_tests): Take argument for macro for which to
7664 (Tests.check_macro_list): New function.
7665 (main): Handle check-list argument and argument specifying macro
7666 for which to generate tests.
7667 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
7668 [PYTHON] (tgmath3-macro-tests): Likewise.
7669 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
7670 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
7672 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
7673 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
7675 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
7677 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
7679 [PYTHON] (tests-special): Add
7680 $(objpfx)test-tgmath3-macro-list.out.
7681 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
7683 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
7684 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
7688 * time/tzset.c (SECSPERDAY): Cast to time_t.
7689 * time/tst-y2039.c: New file.
7690 * time/Makefile (tests): Add tst-y2039.
7692 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7694 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7695 (PREFETCH_ONE_SET): Remove duplicate line.
7697 2018-05-17 Florian Weimer <fweimer@redhat.com>
7699 * sysdeps/generic/math-type-macros-double.h: Include
7700 <math-nan-payload-double.h> after <libm-alias-double.h>.
7701 * sysdeps/generic/math-type-macros-float.h: Include
7702 <math-nan-payload-float.h> after <libm-alias-float.h>.
7703 * sysdeps/generic/math-type-macros-float128.h: Include
7704 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
7705 * sysdeps/generic/math-type-macros-ldouble.h: Include
7706 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
7708 2018-05-17 Andreas Schwab <schwab@suse.de>
7710 * resolv/res_send.c (__res_context_send): Don't set errno when
7711 returing error after malloc failure.
7713 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
7715 * nptl/allocatestack.c (allocate_stack): Remove the
7716 !__ASSUME_PRIVATE_FUTEX paths.
7717 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
7718 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7720 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
7721 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7722 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7723 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7724 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
7725 !__ASSUME_PRIVATE_FUTEX path.
7726 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
7727 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
7728 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7729 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
7730 !__ASSUME_PRIVATE_FUTEX macros.
7731 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7732 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7733 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7734 * sysdeps/unix/sysv/linux/kernel-features.h
7735 (__ASSUME_PRIVATE_FUTEX): Removed.
7737 2018-05-17 Joseph Myers <joseph@codesourcery.com>
7739 * math/Makefile (libm-narrow-fns): Add div.
7740 (libm-test-funcs-narrow): Likewise.
7741 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
7742 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
7743 * math/gen-auto-libm-tests.c (test_functions): Add div.
7744 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
7745 (NARROW_DIV_ROUND_TO_ODD): Likewise.
7746 (NARROW_DIV_TRIVIAL): Likewise.
7747 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
7749 (__ddivl): Likewise.
7750 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
7752 (CFLAGS-nldbl-ddiv.c): New variable.
7753 (CFLAGS-nldbl-fdiv.c): Likewise.
7754 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
7756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
7758 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
7759 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
7760 * math/auto-libm-test-in: Add tests of div.
7761 * math/auto-libm-test-out-narrow-div: New generated file.
7762 * math/libm-test-narrow-div.inc: New file.
7763 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
7766 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
7767 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
7768 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
7777 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
7778 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7779 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
7780 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7782 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
7783 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7784 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7785 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7786 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7787 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7788 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7789 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7790 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7791 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7792 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7793 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7794 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
7797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7799 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
7800 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7801 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7802 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7803 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7804 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7805 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7806 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7808 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7811 * nscd/nscd-client.h (sendfileall): Remove prototype.
7812 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
7813 (handle_request): Use writeall instead of sendfileall.
7814 * nscd/aicache.c (addhstaiX): Likewise.
7815 * nscd/grpcache.c (cache_addgr): Likewise.
7816 * nscd/hstcache.c (cache_addhst): Likewise.
7817 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7818 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
7819 * nscd/pwdcache.c (cache_addpw): Likewise.
7820 * nscd/servicescache.c (cache_addserv): Likewise.
7821 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
7822 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
7823 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
7826 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
7828 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
7829 Include <string/strncat.c>.
7830 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
7832 (__GI___strncat): New hidden alias.
7834 2018-05-16 Joseph Myers <joseph@codesourcery.com>
7836 * sysdeps/mips/mips32/libm-test-ulps: Update.
7837 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7839 2018-05-16 Florian Weimer <fweimer@redhat.com>
7841 * support/Makefile (libsupport-routines): Add support_quote_blob,
7842 support_test_compare_blob.
7843 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
7844 * support/check.h (TEST_COMPARE_BLOB): Define.
7845 (support_test_compare_blob): Declare.
7846 * support/support.h (support_quote_blob): Declare.
7847 * support/support_quote_blob.c: New file.
7848 * support/support_test_compare_blob.c: Likewise.
7849 * support/tst-support_quote_blob.c: Likewise.
7850 * support/tst-test_compare_blob.c: Likewise.
7852 2018-05-16 Florian Weimer <fweimer@redhat.com>
7854 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
7855 of <strtod_nan_double.h>.
7856 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
7857 instead of SET_MANTISSA.
7858 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
7859 of include <strtod_nan_float.h>.
7860 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
7861 instead of <strtod_nan_ldouble.h>.
7862 * stdlib/strtod_nan_double.h: Move to ...
7863 * sysdeps/generic/math-nan-payload-double.h: ... here.
7864 (FLOAT): Remove definition.
7865 (SET_MANTISSA): Rename to ...
7866 (SET_NAN_PAYLOAD): ... this.
7867 * stdlib/strtod_nan_float.h: Move to ...
7868 * sysdeps/generic/math-nan-payload-float.h: ... here.
7869 (FLOAT): Remove definition.
7870 (SET_MANTISSA): Rename to ...
7871 (SET_NAN_PAYLOAD): ... this.
7872 * sysdeps/generic/math-type-macros-double.h: Include
7873 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
7874 instead of <math-svid-compat.h>.
7875 * sysdeps/generic/math-type-macros-float.h: Include
7876 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
7877 instead of <math-svid-compat.h>.
7878 * sysdeps/generic/math-type-macros-float128.h: Include
7879 <math-nan-payload-float128.h>.
7880 * sysdeps/generic/math-type-macros-ldouble.h: Include
7881 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
7882 instead of <math-svid-compat.h>.
7883 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
7884 check for definition.
7885 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
7886 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
7887 Include <ieee754_float128.h>.
7888 (FLOAT): Remove definition.
7889 (SET_MANTISSA): Rename to ...
7890 (SET_NAN_PAYLOAD): ... this.
7891 * sysdeps/ieee754/float128/strtof128_nan.c: Include
7892 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
7893 Do not include <float128_private.h>.
7894 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
7896 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
7897 (FLOAT): Remove definition.
7898 (SET_MANTISSA): Rename to ...
7899 (SET_NAN_PAYLOAD): ... this.
7900 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
7901 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
7902 (FLOAT): Remove definition.
7903 (SET_MANTISSA): Rename to ...
7904 (SET_NAN_PAYLOAD): ... this.
7905 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
7906 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
7907 (FLOAT): Remove definition.
7908 (SET_MANTISSA): Rename to ...
7909 (SET_NAN_PAYLOAD): ... this.
7910 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
7911 of "../stdlib/strtod_nan_double.h".
7912 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
7913 of "../stdlib/strtod_nan_float.h".
7914 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
7915 instead of "../stdlib/strtod_nan_ldouble.h".
7916 * manual/arith.texi (Parsing of Floats): Adjust comment.
7918 2018-05-16 Joseph Myers <joseph@codesourcery.com>
7920 * math/Makefile (libm-narrow-fns): Add mul.
7921 (libm-test-funcs-narrow): Likewise.
7922 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
7923 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
7924 * math/gen-auto-libm-tests.c (test_functions): Add mul.
7925 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
7926 (NARROW_MUL_ROUND_TO_ODD): Likewise.
7927 (NARROW_MUL_TRIVIAL): Likewise.
7928 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
7929 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
7931 (__dmull): Likewise.
7932 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
7934 (CFLAGS-nldbl-dmul.c): New variable.
7935 (CFLAGS-nldbl-fmul.c): Likewise.
7936 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
7938 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
7940 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
7941 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
7942 * math/auto-libm-test-in: Add tests of mul.
7943 * math/auto-libm-test-out-narrow-mul: New generated file.
7944 * math/libm-test-narrow-mul.inc: New file.
7945 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
7946 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
7947 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
7948 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
7949 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
7950 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
7951 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
7952 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
7953 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
7954 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
7955 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
7956 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
7957 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
7958 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
7959 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
7960 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7961 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
7962 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7964 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
7965 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7966 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7967 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7968 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7969 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7970 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7971 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7973 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7974 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7975 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7976 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7981 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
7982 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7983 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7984 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7987 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7988 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7990 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
7992 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7995 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
7997 * sysdeps/i386/ldsodefs.h: Removed.
7998 * sysdeps/x86_64/ldsodefs.h: Moved to ...
7999 * sysdeps/x86/ldsodefs.h: This.
8001 (La_i86_retval): Likewise.
8002 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
8003 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
8005 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8007 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
8010 2018-05-13 Alan Modra <amodra@gmail.com>
8012 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
8013 R_PARISC_TLS_DTPOFF32 reloc addend.
8015 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8017 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
8018 * math/math.h: Restrict the prototype definition for the functions
8019 issignaling(_Float128) and iszero(_Float128); and template
8020 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
8021 __HAVE_FLOAT128_UNLIKE_LDBL.
8022 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
8023 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
8024 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
8025 __f128() constants; define the type _Float128 as long double;
8026 and reuse long double in __CFLOAT128.
8028 2018-05-11 Joseph Myers <joseph@codesourcery.com>
8030 * sysdeps/generic/math_private.h: Do not include
8032 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
8034 * math/fromfp.h: Include <math-barriers.h>.
8035 * math/math-narrow.h: Likewise.
8036 * math/s_nextafter.c: Likewise.
8037 * math/s_nexttowardf.c: Likewise.
8038 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8039 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8040 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8041 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8042 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8043 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8044 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8058 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8060 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8061 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8062 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8063 * sysdeps/ieee754/k_standardl.c: Likewise.
8064 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8065 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8066 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8067 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8068 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8069 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8070 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8071 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8073 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8075 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8076 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8077 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8078 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8079 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8080 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8081 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8082 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8083 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8084 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
8085 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
8087 2018-05-11 Florian Weimer <fweimer@redhat.com>
8089 Use 64-bit epoch values in the time zone file parser.
8090 * include/time.h (internal_time_t): Define.
8091 (__tzfile_compute): Use it.
8092 * time/tzfile.c (struct leap): Use internal_time_t for epoch
8094 (transitions): Switch to internal_time_t.
8095 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
8097 (__tzfile_compute): Use internal_time_t for timer argument. Check
8098 for truncation before calling __offtime.
8100 2018-05-11 Florian Weimer <fweimer@redhat.com>
8103 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
8104 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
8106 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
8107 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
8108 export without --enable-obsolete-rpc.
8109 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
8110 symbol. This should not have been exported, ever.
8112 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
8115 * localedata/locales/gd_GB (abmon): Fix typo in May:
8116 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
8118 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8120 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8121 Use multiple registers to copy data in loop tail.
8123 * sysdeps/aarch64/multiarch/memmove_falkor.S
8124 (__memmove_falkor): Use multiple registers to move data in
8127 2018-05-10 Joseph Myers <joseph@codesourcery.com>
8129 * math/math-underflow.h: New file.
8130 * sysdeps/generic/math_private.h: Do not include <float.h>.
8131 (fabs_tg): Remove macro. Moved to math-underflow.h.
8132 (min_of_type_f): Likewise.
8133 (min_of_type_): Likewise.
8134 (min_of_type_l): Likewise.
8135 (min_of_type_f128): Likewise.
8136 (min_of_type): Likewise.
8137 (math_check_force_underflow): Likewise.
8138 (math_check_force_underflow_nonneg): Likewise.
8139 (math_check_force_underflow_complex): Likewise.
8140 * math/e_exp2_template.c: Include <math-underflow.h>.
8141 * math/k_casinh_template.c: Likewise.
8142 * math/s_catan_template.c: Likewise.
8143 * math/s_catanh_template.c: Likewise.
8144 * math/s_ccosh_template.c: Likewise.
8145 * math/s_cexp_template.c: Likewise.
8146 * math/s_clog10_template.c: Likewise.
8147 * math/s_clog_template.c: Likewise.
8148 * math/s_csin_template.c: Likewise.
8149 * math/s_csinh_template.c: Likewise.
8150 * math/s_csqrt_template.c: Likewise.
8151 * math/s_ctan_template.c: Likewise.
8152 * math/s_ctanh_template.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8171 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8172 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8173 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8174 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8175 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8176 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8177 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8178 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8179 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8180 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8181 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8182 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8183 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8184 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8217 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8230 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8231 * sysdeps/x86/fpu/powl_helper.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
8233 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8236 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8238 2018-05-09 Joseph Myers <joseph@codesourcery.com>
8240 * sysdeps/generic/math-barriers.h: New file.
8241 * sysdeps/generic/math_private.h [!math_opt_barrier]
8242 (math_opt_barrier): Move to math-barriers.h.
8243 [!math_opt_barrier] (math_force_eval): Likewise.
8244 * sysdeps/aarch64/fpu/math-barriers.h: New file.
8245 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
8247 (math_force_eval): Likewise.
8248 * sysdeps/alpha/fpu/math-barriers.h: New file.
8249 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
8251 (math_force_eval): Likewise.
8252 * sysdeps/x86/fpu/math-barriers.h: New file.
8253 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
8255 (math_force_eval): Likewise.
8256 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
8257 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
8258 multiple-include guard for rename.
8259 * sysdeps/powerpc/fpu/math-barriers.h: New file.
8260 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
8262 (math_force_eval): Likewise.
8264 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8268 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
8270 * stdlib/Makefile (test-bz22786): New test.
8271 * stdlib/test-bz22786.c: New test.
8273 2018-05-09 Joseph Myers <joseph@codesourcery.com>
8275 * include/math-narrow-eval.h: New file. Contents moved from ....
8276 * sysdeps/generic/math_private.h: ... here.
8277 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
8278 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8279 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
8280 * stdlib/strtod_l.c: Likewise.
8281 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8282 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8283 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8296 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8297 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8298 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8299 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8300 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8301 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8302 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8303 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8305 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8306 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8307 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8308 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8309 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8311 2018-05-08 Andreas Schwab <schwab@suse.de>
8313 * sysdeps/nptl/internaltypes.h: Fix comment.
8315 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
8317 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8318 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
8321 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8323 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
8324 of I into loop header.
8325 * benchtests/bench-memmove-walk.c
8326 (test_main): Likewise.
8328 2018-05-07 Alexandre Oliva <oliva@gnu.org>
8331 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
8332 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
8334 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8337 * elf/dl-load.c (open_verify): Fix stack overflow.
8338 * elf/Makefile (tst-big-note): New test.
8339 * elf/tst-big-note-lib.S: New.
8340 * elf/tst-big-note.c: New.
8342 2018-05-04 Joseph Myers <joseph@codesourcery.com>
8344 * scripts/abilist.awk: Ignore absolute symbols.
8345 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
8346 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
8347 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
8348 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
8349 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
8350 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
8351 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8352 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
8353 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
8354 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
8355 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
8356 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
8357 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8358 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
8359 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
8360 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8361 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
8362 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
8363 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8364 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
8365 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8366 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
8367 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
8368 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
8369 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
8370 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8371 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
8372 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
8373 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8374 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
8375 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
8376 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8377 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
8378 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8379 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
8380 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
8381 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
8382 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
8383 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8384 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
8385 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
8386 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8387 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
8388 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
8389 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8390 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
8391 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8392 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
8393 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
8394 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
8395 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
8396 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8397 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
8398 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
8399 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8400 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
8401 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
8402 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8403 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
8404 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8405 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
8406 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
8407 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
8408 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
8409 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8410 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
8411 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
8412 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8413 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
8414 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
8415 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8416 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
8417 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8418 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
8419 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
8420 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
8421 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
8422 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8423 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
8424 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
8425 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8426 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
8427 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
8428 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8429 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
8430 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8431 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
8432 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
8433 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
8434 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
8435 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8436 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8438 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8440 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
8441 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
8442 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8443 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
8444 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8445 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
8446 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
8447 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
8448 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
8449 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8450 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8452 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
8453 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8454 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
8455 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
8456 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8457 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
8458 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8459 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
8460 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
8461 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
8462 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
8463 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8464 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
8465 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
8466 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8467 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
8468 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
8469 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8470 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
8471 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8472 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
8473 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
8474 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
8475 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
8476 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8477 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8478 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8480 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
8481 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
8482 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
8483 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
8484 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8485 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
8486 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
8487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
8488 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
8489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
8490 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
8491 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
8492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
8493 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8494 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
8495 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
8496 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
8497 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
8498 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8499 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8501 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
8502 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
8503 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
8504 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8505 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
8506 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8507 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
8508 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
8509 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
8510 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8511 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8512 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
8513 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8514 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8515 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
8516 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8517 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
8518 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
8519 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8520 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
8521 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
8522 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8523 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
8524 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8525 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
8526 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
8527 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
8528 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
8564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
8566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
8570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
8588 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
8589 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
8591 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
8592 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8593 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
8594 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
8595 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8596 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
8597 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8598 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
8599 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
8600 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
8601 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
8602 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
8603 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8604 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8606 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8607 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
8608 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
8609 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8610 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
8611 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8612 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
8613 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
8614 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
8615 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
8616 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8617 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8619 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8620 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
8621 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
8622 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8623 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
8624 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8625 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
8626 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
8627 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
8628 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
8629 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8630 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
8631 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
8632 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8633 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
8634 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
8635 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8636 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
8637 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8638 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
8639 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
8640 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
8641 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
8642 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8643 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8645 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
8646 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8647 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
8648 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
8649 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8650 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8652 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
8653 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
8655 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
8656 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8659 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
8660 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8661 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
8662 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
8663 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8664 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
8665 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8666 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
8667 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
8668 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
8669 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
8670 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8671 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
8672 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
8673 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8674 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
8675 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
8676 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8677 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
8678 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8679 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
8680 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
8681 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
8682 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
8683 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8684 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8685 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
8686 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
8687 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8688 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
8689 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
8690 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8691 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
8692 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8693 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
8694 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
8695 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
8696 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
8698 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
8701 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
8702 Use atomic_load_acquire to load __tid.
8704 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8706 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
8707 Restore the pointer into %rdx, after syscall and use %rdx,
8708 instead of %rsi, to restore context.
8710 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8712 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
8713 Pop the pointer into %rdx after syscall and use %rdx, instead
8714 of %rsi, to restore context.
8716 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8718 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
8719 handlers after setjmp.
8720 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
8722 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
8723 <libc-pointer-arith.h>.
8724 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
8725 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
8726 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
8727 _JUMP_BUF_SIGSET_BITS_PER_WORD.
8728 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
8729 * sysdeps/x86/__longjmp_cancel.S: New file.
8730 * sysdeps/x86/longjmp.c: Likewise.
8731 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
8733 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8735 * NEWS: Add ustat.h deprecation entry.
8736 * bits/ustat.h: Remove file.
8737 * misc/sys/ustat.h: Likewise.
8738 * misc/ustat.h: Likewise.
8739 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
8740 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
8741 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
8743 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
8744 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
8745 generic Linux implementation.
8747 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8749 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
8750 * math/w_expl_compat.c: Likewise.
8751 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
8753 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
8755 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
8757 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8759 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
8760 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
8761 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
8763 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
8764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8765 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8766 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
8767 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
8770 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8772 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
8774 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
8775 * math/w_asin_template.c: Likewise.
8776 * math/w_atanh_template.c: Likewise.
8778 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8780 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
8781 to powerpc/powerpc64/be for big-endian.
8782 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
8785 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
8786 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
8787 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
8788 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
8789 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8790 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
8791 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
8792 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
8793 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
8794 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8795 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
8796 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
8797 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
8798 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
8799 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
8800 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
8801 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
8802 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
8803 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
8804 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
8805 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
8806 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8807 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
8808 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
8809 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
8810 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8811 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
8812 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
8813 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
8814 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8815 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8816 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8818 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
8819 adjusted to imply powerpc64 and older processors on powerpc64/be.
8820 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
8821 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
8822 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
8823 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
8824 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
8825 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
8826 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
8827 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
8828 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
8829 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
8830 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
8831 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
8832 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
8833 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
8834 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
8835 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
8836 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
8837 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
8838 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
8839 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
8840 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
8841 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
8842 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
8843 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
8844 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
8845 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
8846 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
8847 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
8848 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
8849 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
8850 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
8852 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
8853 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
8854 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
8855 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
8857 * sysdeps/powerpc/powerpc64/be/Implies: New file.
8858 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
8859 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
8860 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
8862 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
8863 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
8864 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
8865 * sysdeps/powerpc/powerpc64le/configure: Likewise.
8866 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
8867 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
8868 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
8869 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
8870 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
8871 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
8872 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
8874 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
8875 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
8876 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
8877 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
8878 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
8879 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
8880 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
8881 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
8882 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
8883 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
8884 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
8886 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
8887 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
8888 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
8889 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
8890 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
8891 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
8892 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
8893 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
8894 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
8895 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
8896 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
8897 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
8899 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
8900 and adjusted to imply olders processors.
8901 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
8902 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
8903 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
8904 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
8905 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
8906 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
8907 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
8908 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
8909 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
8910 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
8911 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
8930 powerpc64 and adjusted.
8931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
8936 2018-04-27 Joseph Myers <joseph@codesourcery.com>
8938 * sysdeps/tile: Remove.
8939 * sysdeps/unix/sysv/linux/tile: Likewise.
8940 * README (tilegx-*-linux-gnu): Remove from list of supported
8942 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
8943 contribution of support for generic Linux kernel syscall
8945 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
8946 tilegx configurations.
8947 (Config.install_linux_headers): Do not handle tile.
8948 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
8950 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
8951 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
8952 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
8953 conditional undefine and redefine.
8954 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
8956 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
8957 conditional undefine and redefine.
8959 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
8961 * signal/tst-sigaction.c: New file to test BZ #23069.
8962 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
8964 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8967 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
8968 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
8969 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
8970 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8972 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8974 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
8975 _DIRENT_MATCHES_DIRENT64 is not defined.
8976 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
8977 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
8979 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
8980 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
8982 2018-04-25 Joseph Myers <joseph@codesourcery.com>
8984 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
8985 version to GCC 8 branch.
8987 2018-04-24 Joseph Myers <joseph@codesourcery.com>
8989 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
8990 (check_no_hidden): Use type of original function when declaring
8993 * sysdeps/unix/sysv/linux/sys/ptrace.h
8994 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
8995 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
8996 (struct __ptrace_seccomp_metadata): New type.
8997 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8998 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8999 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
9000 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9001 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
9002 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9003 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9004 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9005 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9006 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9008 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9009 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
9010 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9011 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
9012 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9014 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9016 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
9018 * dirent/versionsort.c (versionsort): Likewise.
9019 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
9020 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
9021 * dirent/versionsort64.c (versionsort64): Likewise.
9022 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
9023 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
9024 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
9025 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
9026 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
9027 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
9028 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
9029 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
9030 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
9031 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
9034 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
9035 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
9037 2018-04-23 Joseph Myers <joseph@codesourcery.com>
9039 * elf/elf.h (NT_PPC_PKEY): New macro.
9041 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
9044 * localedata/locales/hr_HR: fix thousands_sep and
9047 2018-04-20 Joseph Myers <joseph@codesourcery.com>
9049 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
9050 (XTABS): Define to TAB3.
9052 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9054 * sysdeps/hppa/fpu/libm-test-ulps: Update.
9056 * dirent/scandir-tail-common.c: New file.
9057 * dirent/scandir-tail.c: Use scandir-tail-common.c.
9058 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
9059 * dirent/scandir.c: Use scandir-tail-common.c.
9060 * dirent/scandirat.c: Likewise.
9061 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
9062 * dirent/scandir64.c (scandir64): Always build and alias to scandir
9063 if _DIRENT_MATCHES_DIRENT64 is defined.
9064 * dirent/scandirat64.c (scandirat64): Likewise.
9065 * include/dirent.h (__scandir_tail): Only define iff
9066 _DIRENT_MATCHES_DIRENT64 is not defined.
9067 (__scandir64_tail): Define regardless.
9068 (__scandirat, scandirat64): Remove libc_hidden_proto.
9069 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
9070 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
9072 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
9073 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9074 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
9075 * sysdeps/unix/sysv/linux/scandir64.c: New file.
9077 2018-04-20 Joseph Myers <joseph@codesourcery.com>
9079 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
9081 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9083 (_dl_aarch64_cap_flags): Add asimdfhm.
9085 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
9087 * sysdeps/nios2/libm-test-ulps: Update.
9089 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9091 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
9092 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
9094 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
9096 (_DIRENT_MATCHES_DIRENT64): Undef
9097 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
9098 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
9099 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
9100 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
9101 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
9102 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
9103 use getdents64 syscalls as base.
9104 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
9106 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
9107 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
9108 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
9109 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
9110 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
9111 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
9112 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
9113 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
9114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9115 (__get_clockfreq_via_proc_openprom): Use __getdents64.
9116 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
9118 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9120 * scripts/test_printers_common.py (init_test): Disable lock elision.
9122 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9124 * math/test-tgmath.c (count_double, count_float,
9125 count_ldouble, count_cdouble, count_cfloat,
9126 count_cldouble): Use volatile int.
9128 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9130 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9131 (conformtest-xfail-conds): Add i386-gnu.
9132 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
9134 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
9135 ipc_perm.cuid, ipc_perm.cgid): Likewise.
9136 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
9137 msqid_ds.msg_lrpid): Likewise.
9138 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
9140 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
9141 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9142 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
9143 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
9145 (struct statvfs64): Likewise.
9146 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
9148 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
9149 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
9150 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
9151 instead of wait_queue.
9152 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
9153 instead of vm_area_struct.
9154 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
9155 struct sched_param definition to it.
9156 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9157 * bits/types/struct_sched_param.h: New file.
9158 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
9159 <bits/types/struct_sched_param.h> instead of <sched.h>.
9160 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
9161 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
9162 generic version but include <bits/pthreadtypes.h> to make struct
9163 sigevent's sigev_notify_attributes field a pthread_attr_t*.
9164 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
9166 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
9167 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
9168 [__USE_XOPEN] (OFDEL): New macro.
9169 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
9170 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
9171 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
9173 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
9174 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
9175 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
9177 * sysdeps/i386/sys/ucontext.h: Likewise.
9178 * sysdeps/m68k/sys/ucontext.h: Likewise.
9179 * sysdeps/mips/sys/ucontext.h: Likewise.
9180 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
9181 * sysdeps/mach/hurd/i386/Makefile
9182 (test-xfail-POSIX/fcntl.h/conform): Add.
9183 (test-xfail-POSIX/signal.h/conform): Add.
9184 (test-xfail-POSIX/semaphore.h/conform): Add.
9185 (test-xfail-POSIX/regex.h/conform): Add.
9186 (test-xfail-POSIX/aio.h/conform): Add.
9187 (test-xfail-POSIX/mqueue.h/conform): Add.
9188 (test-xfail-POSIX/sys/types.h/conform): Add.
9189 (test-xfail-UNIX98/fcntl.h/conform): Add.
9190 (test-xfail-UNIX98/netdb.h/conform): Add.
9191 (test-xfail-UNIX98/signal.h/conform): Add.
9192 (test-xfail-UNIX98/semaphore.h/conform): Add.
9193 (test-xfail-UNIX98/regex.h/conform): Add.
9194 (test-xfail-UNIX98/aio.h/conform): Add.
9195 (test-xfail-UNIX98/ftw.h/conform): Add.
9196 (test-xfail-UNIX98/mqueue.h/conform): Add.
9197 (test-xfail-UNIX98/netinet/in.h/conform): Add.
9198 (test-xfail-UNIX98/sys/wait.h/conform): Add.
9199 (test-xfail-UNIX98/sys/sem.h/conform): Add.
9200 (test-xfail-UNIX98/sys/uio.h/conform): Add.
9201 (test-xfail-UNIX98/sys/socket.h/conform): Add.
9202 (test-xfail-UNIX98/sys/types.h/conform): Add.
9203 (test-xfail-UNIX98/stdlib.h/conform): Add.
9204 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
9205 (test-xfail-POSIX2008/fcntl.h/conform): Add.
9206 (test-xfail-POSIX2008/netdb.h/conform): Add.
9207 (test-xfail-POSIX2008/signal.h/conform): Add.
9208 (test-xfail-POSIX2008/semaphore.h/conform): Add.
9209 (test-xfail-POSIX2008/regex.h/conform): Add.
9210 (test-xfail-POSIX2008/aio.h/conform): Add.
9211 (test-xfail-POSIX2008/mqueue.h/conform): Add.
9212 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
9213 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
9214 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
9215 (test-xfail-POSIX2008/sys/types.h/conform): Add.
9216 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
9217 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
9218 (test-xfail-XOPEN2K/netdb.h/conform): Add.
9219 (test-xfail-XOPEN2K/signal.h/conform): Add.
9220 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
9221 (test-xfail-XOPEN2K/regex.h/conform): Add.
9222 (test-xfail-XOPEN2K/aio.h/conform): Add.
9223 (test-xfail-XOPEN2K/ftw.h/conform): Add.
9224 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
9225 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
9226 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
9227 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
9228 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
9229 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
9230 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
9231 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
9232 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
9233 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
9234 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
9235 (test-xfail-XOPEN2K8/signal.h/conform): Add.
9236 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
9237 (test-xfail-XOPEN2K8/regex.h/conform): Add.
9238 (test-xfail-XOPEN2K8/aio.h/conform): Add.
9239 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
9240 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
9241 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
9242 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
9243 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
9244 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
9245 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
9246 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
9247 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
9248 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
9249 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
9251 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
9252 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
9254 2018-04-18 Joseph Myers <joseph@codesourcery.com>
9256 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
9257 --enable-obsolete for powerpc-linux-gnuspe.
9259 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9261 * conform/data/sys/un.h-data: Allow sun_ prefix.
9262 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
9264 * sysdeps/mach/include/mach.h: Likewise.
9265 * sysdeps/mach/include/mach/mig_support.h: Likewise.
9266 * sysdeps/mach/include/mach_error.h: Likewise.
9268 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9270 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
9271 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
9272 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
9273 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
9275 2018-04-16 Andreas Schwab <schwab@suse.de>
9278 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
9280 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
9282 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
9283 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
9285 2018-04-12 DJ Delorie <dj@redhat.com>
9287 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9290 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9292 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
9293 (struct kernel_sigaction): Use the same definition on 31bit as is used
9296 2018-04-09 Florian Weimer <fweimer@redhat.com>
9299 * resolv/res_send.c (send_dg): Use designated initializers instead
9300 of assignment to zero-initialize other fields of struct mmsghdr.
9302 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9304 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
9305 __READDIR_ALIAS): Undefine after usage.
9306 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
9307 __READDIR_R_ALIAS): Likewise.
9308 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
9309 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
9310 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
9311 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
9312 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
9313 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
9314 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9315 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9316 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
9317 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
9318 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
9319 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
9320 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9321 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
9322 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
9323 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
9324 * sysdeps/unix/sysv/linux/readdir.c: New file.
9325 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
9326 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
9327 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
9329 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9331 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
9333 * manual/charset.texi (Converting a Character): Fix typo.
9335 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9339 * sysdeps/arm/libm-test-ulps: Update.
9341 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
9342 as base implementation.
9343 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9344 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9345 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9346 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9347 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9348 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
9349 remove unrequired definitions and update comments.
9350 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
9351 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
9352 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
9353 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
9354 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
9355 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
9356 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
9358 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
9359 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
9360 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
9361 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9362 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9363 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
9364 and RESET_SA_RESTORER hooks.
9366 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
9368 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9370 2018-04-05 Florian Weimer <fweimer@redhat.com>
9372 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
9373 integer overflow, memory leak on error, and indeterminate errno
9374 value. Add a null wide character to terminate the result string.
9375 * manual/charset.texi (Converting a Character): Mention embedded
9376 null bytes in the mbrtowc input string. Explain what happens in
9377 the -2 result case. Do not claim that mbrtowc is simple or
9378 obvious to use. Adjust the description of the code example. Use
9379 @code, not @var, for concrete variables.
9381 2018-04-05 Florian Weimer <fweimer@redhat.com>
9383 * manual/examples/mbstouwcs.c: New file.
9384 * manual/charset.texi (Converting a Character): Include it.
9386 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9388 * include/dirent.h (dirfd): Add hidden proto.
9389 * dirent/dirfd.c (dirfd): Add hidden def.
9390 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
9391 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
9393 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9395 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
9396 sin, cos and sincos to 1 ULP.
9398 2018-04-04 Maciej W. Rozycki <macro@mips.com>
9401 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
9403 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
9404 * elf/tst-absolute-sym.c: New file.
9405 * elf/tst-absolute-sym-lib.c: New file.
9406 * elf/tst-absolute-sym-lib.lds: New file.
9407 * elf/Makefile (tests): Add `tst-absolute-sym'.
9408 (modules-names): Add `tst-absolute-sym-lib'.
9409 (LDLIBS-tst-absolute-sym-lib.so): New variable.
9410 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
9411 ($(objpfx)tst-absolute-sym): New dependency.
9414 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
9416 (SYMBOL_ADDRESS): New macro.
9417 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
9418 SYMBOL_ADDRESS for symbol address calculation.
9419 * elf/dl-runtime.c (_dl_fixup): Likewise.
9420 (_dl_profile_fixup): Likewise.
9421 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
9422 * elf/rtld.c (dl_main): Likewise.
9423 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
9424 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9425 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
9426 (elf_machine_rela): Likewise.
9427 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
9428 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
9429 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9430 (elf_machine_rela): Likewise.
9431 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9432 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
9433 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
9434 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9436 (elf_machine_reloc): Likewise.
9437 (elf_machine_got_rel): Likewise.
9438 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
9439 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
9440 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9444 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
9445 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9447 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9449 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9454 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
9455 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9457 2018-04-04 Zack Weinberg <zackw@panix.com>
9459 * sysdeps/generic/internal-signals.h: Include signal.h,
9460 sigsetops.h, and stdbool.h.
9461 (__libc_signal_block_all): Actually block all signals.
9462 (__libc_signal_block_app): Likewise.
9463 (__libc_signal_restore_set): Actually restore the signal mask.
9465 2018-04-04 Florian Weimer <fweimer@redhat.com>
9467 inet: Actually build and run tst-deadline.
9468 * inet/Makefile (tests-internal): Add tst-deadline and do not
9469 overwrite the variable.
9470 (tests-static-internal): Remove variable.
9472 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
9475 * bits/uio-ext.h (RWF_APPEND): New.
9476 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
9477 * manual/llio.texi: Document RWF_APPEND.
9478 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
9479 (RWF_SUPPORTED): Add RWF_APPEND.
9481 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9484 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
9485 check for internal nptl signals.
9486 * nptl/sigaction.c (__sigaction): Likewise.
9487 * signal/sigaddset.c (sigaddset): Likewise.
9488 * signal/sigdelset.c (sigdelset): Likewise.
9489 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9490 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
9492 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
9493 to filter out internal nptl signals.
9494 * signal/tst-sigset.c (do_test): Check ech signal indidually and
9495 also check realtime signals using standard macros.
9496 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
9497 __is_internal_signal, __libc_signal_block_all,
9498 __libc_signal_block_app, __libc_signal_restore_set): New functions.
9499 * sysdeps/nptl/sigfillset.c: Remove file.
9500 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
9501 Change return to bool.
9502 (__clear_internal_signals): Remove SIGTIMER clean since it is
9503 equal to SIGCANEL on Linux.
9504 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
9505 signal set was constructed using standard functions.
9507 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9509 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
9511 * hurd/hurdsig.c (interrupted_reply_port_location): Use
9512 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
9513 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
9515 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
9516 * signal/sigaddset.c: Include <sigsetopts.h>.
9517 * signal/sigdelset.c: Likewise.
9519 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
9523 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
9524 logic as sin and cos.
9526 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9528 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
9529 inputs. Return correct sign.
9530 (do_sincos): Remove small input check before do_sin, let do_sin set
9535 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9537 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
9538 (do_cos_slow): Likewise.
9539 (do_sin_slow): Likewise.
9540 (reduce_and_compute): Likewise.
9552 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9554 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
9555 (do_cos): Remove corp parameter and calculations.
9557 (do_sincos): Remove cor variable.
9558 (__sin): Use do_sincos for huge inputs.
9560 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9561 (reduce_and_compute_sincos): Remove unused function.
9563 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9565 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
9566 reduce_sincos, improve accuracy to 136 bits.
9567 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
9568 (__sin): Use improved reduction and simplified do_sincos calculation.
9570 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9572 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9574 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
9575 (do_sincos_2): Likewise.
9576 (__sin): Remove middle range reduction case.
9578 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
9581 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9583 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
9584 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
9587 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
9589 2018-04-03 Joseph Myers <joseph@codesourcery.com>
9591 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9594 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9596 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
9598 (opendir_oflags): Use O_DIRECTORY regardless.
9599 (__opendir, __opendirat): Remove need_isdir_precheck usage.
9600 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
9602 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9604 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
9605 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
9607 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
9608 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
9609 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
9610 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
9611 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
9612 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
9614 * htl/Makefile: Bump licence to LGPL 2.1+.
9615 * htl/alloca_cutoff.c: Likewise.
9616 * htl/cthreads-compat.c: Likewise.
9617 * htl/lockfile.c: Likewise.
9618 * htl/pt-alloc.c: Likewise.
9619 * htl/pt-cancel.c: Likewise.
9620 * htl/pt-cleanup.c: Likewise.
9621 * htl/pt-create.c: Likewise.
9622 * htl/pt-dealloc.c: Likewise.
9623 * htl/pt-detach.c: Likewise.
9624 * htl/pt-exit.c: Likewise.
9625 * htl/pt-getattr.c: Likewise.
9626 * htl/pt-initialize.c: Likewise.
9627 * htl/pt-internal.h: Likewise.
9628 * htl/pt-join.c: Likewise.
9629 * htl/pt-self.c: Likewise.
9630 * htl/pt-setcancelstate.c: Likewise.
9631 * htl/pt-setcanceltype.c: Likewise.
9632 * htl/pt-sigmask.c: Likewise.
9633 * htl/pt-spin-inlines.c: Likewise.
9634 * htl/pt-testcancel.c: Likewise.
9635 * htl/pt-yield.c: Likewise.
9636 * htl/tests/test-1.c: Likewise.
9637 * htl/tests/test-10.c: Likewise.
9638 * htl/tests/test-11.c: Likewise.
9639 * htl/tests/test-12.c: Likewise.
9640 * htl/tests/test-13.c: Likewise.
9641 * htl/tests/test-14.c: Likewise.
9642 * htl/tests/test-15.c: Likewise.
9643 * htl/tests/test-16.c: Likewise.
9644 * htl/tests/test-17.c: Likewise.
9645 * htl/tests/test-2.c: Likewise.
9646 * htl/tests/test-3.c: Likewise.
9647 * htl/tests/test-4.c: Likewise.
9648 * htl/tests/test-5.c: Likewise.
9649 * htl/tests/test-6.c: Likewise.
9650 * htl/tests/test-7.c: Likewise.
9651 * htl/tests/test-8.c: Likewise.
9652 * htl/tests/test-9.c: Likewise.
9653 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
9654 * sysdeps/htl/bits/cancelation.h: Likewise.
9655 * sysdeps/htl/bits/pthread-np.h: Likewise.
9656 * sysdeps/htl/bits/pthread.h: Likewise.
9657 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
9658 * sysdeps/htl/bits/semaphore.h: Likewise.
9659 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
9660 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
9661 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
9662 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
9663 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
9664 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
9665 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
9666 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
9667 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
9668 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
9669 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
9670 * sysdeps/htl/old_pt-atfork.c: Likewise.
9671 * sysdeps/htl/pt-atfork.c: Likewise.
9672 * sysdeps/htl/pt-attr-destroy.c: Likewise.
9673 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
9674 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
9675 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
9676 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
9677 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
9678 * sysdeps/htl/pt-attr-getscope.c: Likewise.
9679 * sysdeps/htl/pt-attr-getstack.c: Likewise.
9680 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
9681 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
9682 * sysdeps/htl/pt-attr-init.c: Likewise.
9683 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
9684 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
9685 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
9686 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
9687 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
9688 * sysdeps/htl/pt-attr-setscope.c: Likewise.
9689 * sysdeps/htl/pt-attr-setstack.c: Likewise.
9690 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
9691 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
9692 * sysdeps/htl/pt-attr.c: Likewise.
9693 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
9694 * sysdeps/htl/pt-barrier-init.c: Likewise.
9695 * sysdeps/htl/pt-barrier-wait.c: Likewise.
9696 * sysdeps/htl/pt-barrier.c: Likewise.
9697 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
9698 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
9699 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
9700 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
9701 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
9702 * sysdeps/htl/pt-cond-destroy.c: Likewise.
9703 * sysdeps/htl/pt-cond-init.c: Likewise.
9704 * sysdeps/htl/pt-cond-signal.c: Likewise.
9705 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
9706 * sysdeps/htl/pt-cond-wait.c: Likewise.
9707 * sysdeps/htl/pt-cond.c: Likewise.
9708 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
9709 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
9710 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
9711 * sysdeps/htl/pt-condattr-init.c: Likewise.
9712 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
9713 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
9714 * sysdeps/htl/pt-destroy-specific.c: Likewise.
9715 * sysdeps/htl/pt-equal.c: Likewise.
9716 * sysdeps/htl/pt-getconcurrency.c: Likewise.
9717 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
9718 * sysdeps/htl/pt-getschedparam.c: Likewise.
9719 * sysdeps/htl/pt-getspecific.c: Likewise.
9720 * sysdeps/htl/pt-init-specific.c: Likewise.
9721 * sysdeps/htl/pt-key-create.c: Likewise.
9722 * sysdeps/htl/pt-key-delete.c: Likewise.
9723 * sysdeps/htl/pt-key.h: Likewise.
9724 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
9725 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
9726 * sysdeps/htl/pt-mutex-init.c: Likewise.
9727 * sysdeps/htl/pt-mutex-lock.c: Likewise.
9728 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
9729 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
9730 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
9731 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
9732 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
9733 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
9734 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
9735 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
9736 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
9737 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
9738 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
9739 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
9740 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
9741 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
9742 * sysdeps/htl/pt-mutexattr.c: Likewise.
9743 * sysdeps/htl/pt-once.c: Likewise.
9744 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
9745 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
9746 * sysdeps/htl/pt-rwlock-init.c: Likewise.
9747 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
9748 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
9749 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
9750 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
9751 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
9752 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
9753 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
9754 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
9755 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
9756 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
9757 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
9758 * sysdeps/htl/pt-setconcurrency.c: Likewise.
9759 * sysdeps/htl/pt-setschedparam.c: Likewise.
9760 * sysdeps/htl/pt-setschedprio.c: Likewise.
9761 * sysdeps/htl/pt-setspecific.c: Likewise.
9762 * sysdeps/htl/pt-spin.c: Likewise.
9763 * sysdeps/htl/pt-startup.c: Likewise.
9764 * sysdeps/htl/pthread.h: Likewise.
9765 * sysdeps/htl/sem-close.c: Likewise.
9766 * sysdeps/htl/sem-destroy.c: Likewise.
9767 * sysdeps/htl/sem-getvalue.c: Likewise.
9768 * sysdeps/htl/sem-init.c: Likewise.
9769 * sysdeps/htl/sem-open.c: Likewise.
9770 * sysdeps/htl/sem-post.c: Likewise.
9771 * sysdeps/htl/sem-timedwait.c: Likewise.
9772 * sysdeps/htl/sem-trywait.c: Likewise.
9773 * sysdeps/htl/sem-unlink.c: Likewise.
9774 * sysdeps/htl/sem-wait.c: Likewise.
9775 * sysdeps/hurd/htl/pt-kill.c: Likewise.
9776 * sysdeps/i386/htl/pt-machdep.h: Likewise.
9777 * sysdeps/mach/htl/pt-block.c: Likewise.
9778 * sysdeps/mach/htl/pt-spin.c: Likewise.
9779 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
9780 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
9781 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
9782 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
9783 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
9784 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
9785 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
9786 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
9787 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
9788 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
9789 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
9790 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
9791 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
9792 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
9793 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
9794 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
9795 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
9796 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
9797 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
9798 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
9799 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
9800 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
9801 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
9802 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
9803 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
9804 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
9805 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
9806 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
9807 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
9808 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
9809 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
9810 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
9811 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
9812 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
9813 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
9814 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
9815 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
9816 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
9817 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
9818 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
9819 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
9820 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
9821 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
9823 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
9824 * README: Remove the mention of out-of-tree patches needed for
9827 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
9828 (UTIME_NOW, UTIME_OMIT): Define macros.
9830 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
9831 instead of pthread_detach.
9832 (__cthread_fork): Call __pthread_create instead of pthread_create.
9833 (__cthread_keycreate): Call __pthread_key_create instead of
9835 (__cthread_getspecific): Call __pthread_getspecific instead of
9836 pthread_getspecific.
9837 (__cthread_setspecific): Call __pthread_setspecific instead of
9838 pthread_setspecific.
9839 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
9840 __pthread_mutex_unlock instead of pthread_mutex_lock and
9841 pthread_mutex_unlock.
9842 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
9843 ___pthread_get_cleanup_stack.
9844 (__pthread_get_cleanup_stack): New strong alias.
9845 * htl/pt-create.c: Include <pthreadP.h>.
9846 (entry_point): Call __pthread_exit instead of pthread_exit.
9847 (pthread_create): Rename to __pthread_create.
9848 (pthread_create): New strong alias.
9849 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
9850 (pthread_detach): New strong alias.
9851 (__pthread_detach): Call __pthread_cond_broadcast instead of
9852 pthread_cond_broadcast.
9853 * htl/pt-exit.c: Include <pthreadP.h>.
9854 (__pthread_exit): Call __pthread_setcancelstate and
9855 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
9856 __pthread_get_cleanup_stack.
9857 * htl/pt-testcancel.c: Include <pthreadP.h>.
9858 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
9859 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
9860 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
9861 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
9862 pthread_attr_getstacksize.
9863 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
9864 Rename to __pthread_attr_getstackaddr.
9865 (pthread_attr_getstackaddr): New strong alias.
9866 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
9867 Rename to __pthread_attr_getstacksize.
9868 (pthread_attr_getstacksize): New strong alias.
9869 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
9870 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
9871 (pthread_attr_setstack): New strong alias.
9872 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
9873 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
9874 pthread_attr_getstacksize, pthread_attr_setstacksize and
9875 pthread_attr_setstackaddr.
9876 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
9877 Rename to __pthread_attr_setstackaddr.
9878 (pthread_attr_setstackaddr): New strong alias.
9879 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
9880 Rename to __pthread_attr_setstacksize.
9881 (pthread_attr_setstacksize): New strong alias.
9882 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
9883 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
9885 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
9886 (__pthread_key_create): New hidden def.
9887 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
9888 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
9889 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
9890 __pthread_exit, __pthread_key_create, __pthread_getspecific,
9891 __pthread_setspecific, __pthread_setcancelstate,
9892 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
9893 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
9894 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
9896 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
9897 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
9898 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
9899 (pthread_attr_setstackaddr): New strong alias.
9900 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
9901 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
9902 (pthread_attr_setstacksize): New strong alias.
9903 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
9904 (call_exit): Call __pthread_exit instead of pthread_exit.
9905 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
9906 (_pthread_mutex_init): New hidden definition.
9907 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
9908 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
9909 instead of pthread_attr_init and pthread_attr_setstack.
9911 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
9912 __vm_deallocate instead of vm_allocate and vm_deallocate.
9913 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
9915 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
9917 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
9919 * hurd/siginfo.c: Include <libioP.h>.
9920 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
9921 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
9923 * mach/devstream.c: Include <libioP.h>.
9924 (dealloc_ref): Call __mach_port_deallocate instead of
9925 mach_port_deallocate.
9926 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
9927 Call __mach_port_deallocate instead of mach_port_deallocate.
9928 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
9930 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
9932 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
9933 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
9934 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
9936 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
9938 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
9940 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
9941 __clock_gettime instead of clock_gettime.
9942 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
9943 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9944 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
9945 * sysdeps/unix/bsd/stty.c (stty): Likewise.
9946 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
9948 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
9949 __clock_gettime and __nanosleep instead of clock_gettime and
9951 * hurd/catch-signal.c (hurd_catch_signal): Rename to
9952 __hurd_catch_signal.
9953 (hurd_catch_signal): New strong alias.
9954 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
9955 __hurd_catch_signal instead of hurd_catch_signal.
9956 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
9957 * hurd/hurdexec.c (_hurd_init): Add hidden def.
9958 * hurd/hurdinit.c (_hurd_init): Add hidden def.
9959 * hurd/hurdsig.c: Include <mach/mig_support.h>.
9960 (_hurd_thread_sigstate): Add hidden def.
9961 (_hurd_internal_post_signal): Use __mutex_unlock instead of
9963 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
9964 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
9965 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
9966 __hurd_file_name_path_lookup.
9967 (hurd_file_name_path_lookup): New strong alias.
9968 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
9969 hurd_file_name_path_lookup.
9970 * mach/errstring.c (mach_error_type): Add hidden def.
9971 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
9972 * mach/mutex-init.c (__mutex_init): Add hidden def.
9973 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
9974 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
9975 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
9976 * sysdeps/mach/hurd/getcwd.c
9977 (_hurd_canonicalize_directory_name_internal): Rename to
9978 __hurd_canonicalize_directory_name_internal.
9979 (_hurd_canonicalize_directory_name_internal): New strong alias.
9980 (__canonicalize_directory_name_internal, __getcwd): Call
9981 __hurd_canonicalize_directory_name_internal instead of
9982 _hurd_canonicalize_directory_name_internal.
9983 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
9984 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
9986 * sysdeps/hurd/include/hurd.h: New file.
9987 * sysdeps/hurd/include/hurd/fd.h: New file.
9988 * sysdeps/hurd/include/hurd/signal.h: New file.
9989 * sysdeps/mach/include/lock-intern.h: New file.
9990 * sysdeps/mach/include/mach.h: New file.
9991 * sysdeps/mach/include/mach/mig_support.h: New file.
9992 * sysdeps/mach/include/mach_error.h: New file.
9993 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
9995 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
9996 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
9997 _HEADER_H_HIDDEN_DEF macro.
9998 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
9999 _hurd_fd_error_signal): Add hidden prototype.
10000 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
10002 * libio/iolibio.h (_IO_puts): New hidden prototype.
10003 * libio/ioputs.c (_IO_puts): New hidden def.
10004 * sysdeps/mach/hurd/localplt.data: New file.
10006 2018-04-02 Agustina Arzille <avarzille@riseup.net>
10007 Amos Jeffries <squid3@treenet.co.nz>
10008 David Michael <fedora.dm0@gmail.com>
10009 Marco Gerards <marco@gnu.org>
10010 Marcus Brinkmann <marcus@gnu.org>
10011 Neal H. Walfield <neal@gnu.org>
10012 Pino Toscano <toscano.pino@tiscali.it>
10013 Richard Braun <rbraun@sceen.net>
10014 Roland McGrath <roland@gnu.org>
10015 Samuel Thibault <samuel.thibault@ens-lyon.org>
10016 Thomas DiModica <ricinwich@yahoo.com>
10017 Thomas Schwinge <tschwinge@gnu.org>
10019 * htl: New directory.
10020 * sysdeps/htl: New directory.
10021 * sysdeps/hurd/htl: New directory.
10022 * sysdeps/i386/htl: New directory.
10023 * sysdeps/mach/htl: New directory.
10024 * sysdeps/mach/hurd/htl: New directory.
10025 * sysdeps/mach/hurd/i386/htl: New directory.
10026 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
10027 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
10028 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
10030 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10032 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
10033 signals in thread created for runing timers.
10035 2018-04-01 Florian Weimer <fweimer@redhat.com>
10037 * support/support_format_addrinfo.c (support_format_addrinfo):
10038 Include unknown error number in formatted result.
10040 2018-03-29 Florian Weimer <fweimer@redhat.com>
10042 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
10045 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10047 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
10048 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
10049 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10050 (__ASSUME_CLONE_BACKWARDS): Define.
10052 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
10055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
10056 early when linux sentinel value is set.
10058 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10060 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
10062 2018-03-27 Andreas Schwab <schwab@suse.de>
10065 * resolv/res_send.c (__res_context_send): Return ENOMEM if
10066 allocation of private copy of nsaddr_list fails.
10068 2018-03-26 Joseph Myers <joseph@codesourcery.com>
10071 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
10072 * sysdeps/unix/sysv/linux/umount.c: ... here.
10073 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
10074 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
10075 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
10076 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
10078 * sysdeps/unix/sysv/linux/umount.S: Likewise.
10079 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
10081 2018-03-26 Andreas Schwab <schwab@suse.de>
10083 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
10084 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
10085 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
10086 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
10087 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
10088 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
10089 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
10090 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
10091 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
10092 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
10093 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
10094 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
10095 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
10096 (R_RISCV_NUM): Define.
10098 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10100 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
10101 TLS declaration of errno.
10102 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
10104 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
10105 (ARCH_SETUP_TLS): Likewise.
10106 * sysdeps/mach/hurd/libc-start.h: New file copied from
10107 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
10108 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
10109 instead of __libc_setup_tls.
10110 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
10111 __libc_setup_tls before initializing libpthread and running _hurd_init
10112 which starts the signal thread.
10113 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
10115 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10117 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
10120 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
10121 after it is defined.
10123 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
10124 Max Horn <max@quendi.de>
10128 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
10130 * string/test-memmove.c (do_test2): New testcase.
10132 2018-03-22 Joseph Myers <joseph@codesourcery.com>
10134 * sysdeps/generic/frame.h: Remove file.
10135 * sysdeps/arm/frame.h: Likewise.
10136 * sysdeps/hppa/frame.h: Likewise.
10137 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
10139 (GET_FRAME): Likewise.
10140 (GET_STACK): Likewise.
10141 (CALL_SIGHANDLER): Likewise.
10142 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
10144 (GET_FRAME): Likewise.
10145 (GET_STACK): Likewise.
10146 (CALL_SIGHANDLER): Likewise.
10147 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
10148 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10149 (GET_FRAME): Likewise.
10150 (GET_STACK): Likewise.
10151 (CALL_SIGHANDLER): Likewise.
10152 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
10153 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10154 (GET_FRAME): Likewise.
10155 (GET_STACK): Likewise.
10156 (ADVANCE_STACK_FRAME): Likewise.
10157 (CALL_SIGHANDLER): Likewise.
10158 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
10159 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10160 (GET_FRAME): Likewise.
10161 (GET_STACK): Likewise.
10162 (CALL_SIGHANDLER): Likewise.
10163 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
10164 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10165 (GET_FRAME): Likewise.
10166 (GET_STACK): Likewise.
10167 (CALL_SIGHANDLER): Likewise.
10168 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
10169 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10170 (GET_FRAME): Likewise.
10171 (GET_STACK): Likewise.
10172 (CALL_SIGHANDLER): Likewise.
10173 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
10174 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10175 (GET_FRAME): Likewise.
10176 (GET_STACK): Likewise.
10177 (CALL_SIGHANDLER): Likewise.
10178 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
10179 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10180 (GET_FRAME): Likewise.
10181 (GET_STACK): Likewise.
10182 (CALL_SIGHANDLER): Likewise.
10183 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
10184 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10185 (GET_FRAME): Likewise.
10186 (GET_STACK): Likewise.
10187 (CALL_SIGHANDLER): Likewise.
10188 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
10189 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10190 (GET_FRAME): Likewise.
10191 (GET_STACK): Likewise.
10192 (CALL_SIGHANDLER): Likewise.
10193 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
10194 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10195 (GET_FRAME): Likewise.
10196 (GET_STACK): Likewise.
10197 (CALL_SIGHANDLER): Likewise.
10198 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
10199 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10200 (GET_FRAME): Likewise.
10201 (GET_STACK): Likewise.
10202 (CALL_SIGHANDLER): Likewise.
10203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
10204 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10205 (FIRST_FRAME_POINTER): Likewise.
10206 (ADVANCE_STACK_FRAME): Likewise.
10207 (GET_STACK): Likewise.
10208 (GET_FRAME): Likewise.
10209 (CALL_SIGHANDLER): Likewise.
10210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
10211 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10212 (ADVANCE_STACK_FRAME): Likewise.
10213 (GET_STACK): Likewise.
10214 (GET_FRAME): Likewise.
10215 (CALL_SIGHANDLER): Likewise.
10216 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
10217 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10218 (GET_FRAME): Likewise.
10219 (GET_STACK): Likewise.
10220 (CALL_SIGHANDLER): Likewise.
10221 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
10222 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10223 (GET_FRAME): Likewise.
10224 (GET_STACK): Likewise.
10225 (CALL_SIGHANDLER): Likewise.
10227 2018-03-21 Joseph Myers <joseph@codesourcery.com>
10229 * sysdeps/x86_64/backtrace.c: Move to ....
10230 * debug/backtrace.c: ... here.
10231 * sysdeps/aarch64/backtrace.c: Remove file.
10232 * sysdeps/alpha/backtrace.c: Likewise.
10233 * sysdeps/hppa/backtrace.c: Likewise.
10234 * sysdeps/ia64/backtrace.c: Likewise.
10235 * sysdeps/mips/backtrace.c: Likewise.
10236 * sysdeps/nios2/backtrace.c: Likewise.
10237 * sysdeps/riscv/backtrace.c: Likewise.
10238 * sysdeps/sh/backtrace.c: Likewise.
10239 * sysdeps/tile/backtrace.c: Likewise.
10241 2018-03-20 Joseph Myers <joseph@codesourcery.com>
10244 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
10247 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
10250 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
10251 possibly overflowing computations.
10253 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10255 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
10256 values from Linux-specific section now that it is in the GNU section.
10257 * sysdeps/gnu/errlist.c: Regenerate.
10259 2018-03-20 Joseph Myers <joseph@codesourcery.com>
10261 * math/Makefile (libm-narrow-fns): Add sub.
10262 (libm-test-funcs-narrow): Likewise.
10263 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
10264 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
10265 * math/gen-auto-libm-tests.c (test_functions): Add sub.
10266 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
10267 (NARROW_SUB_ROUND_TO_ODD): Likewise.
10268 (NARROW_SUB_TRIVIAL): Likewise.
10269 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
10271 (__dsubl): Likewise.
10272 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
10274 (CFLAGS-nldbl-dsub.c): New variable.
10275 (CFLAGS-nldbl-fsub.c): Likewise.
10276 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10278 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
10280 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
10281 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
10282 * math/auto-libm-test-in: Add tests of sub.
10283 * math/auto-libm-test-out-narrow-sub: New generated file.
10284 * math/libm-test-narrow-sub.inc: New file.
10285 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
10288 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
10289 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
10290 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
10299 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
10300 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
10301 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
10302 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
10303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10304 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10305 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10306 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10307 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10308 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10309 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10310 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10311 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10312 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10313 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10314 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10315 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10316 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10321 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10322 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10323 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10324 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10325 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10326 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10327 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
10328 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
10329 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10330 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10332 2018-03-19 Joseph Myers <joseph@codesourcery.com>
10335 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
10337 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
10339 * benchtests/bench-timing.h (attribute_hidden): Undefine.
10341 2018-03-18 Richard Braun <rbraun@sceen.net>
10343 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
10346 2018-03-18 Agustina Arzille <avarzille@riseup.net>
10348 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
10349 (__libc_cleanup_fct): Define function.
10350 (__libc_cleanup_region_start, __libc_cleanup_region_end,
10351 __libc_cleanup_end): Rewrite implementation using
10352 __attribute__ ((__cleanup__)).
10353 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
10354 * hurd/Makefile (routines): Add hurdlock.
10355 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
10357 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
10358 * hurd/hurdpid.c: Include <lowlevellock.h>
10359 (_S_msg_proc_newids): Use lll_wait to synchronize.
10360 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
10361 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
10362 * mach/Makefile (lock-headers): Remove machine-lock.h.
10363 * mach/lock-intern.h: Include <lowlevellock.h> instead of
10365 (__spin_lock_t): New type.
10366 (__SPIN_LOCK_INITIALIZER): New macro.
10367 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
10368 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
10369 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
10370 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
10371 (__mutex_init): Initialize with lll.
10372 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
10373 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
10375 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10376 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
10377 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
10378 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
10379 (__setpgid): Use lll for synchronization.
10380 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
10381 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
10382 instead of <cthreads.h>.
10383 (_IO_lock_inexpensive): New macro
10384 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
10385 (__libc_lock_self0): New declaration.
10386 (__libc_lock_owner_self): New macro.
10387 (__libc_key_t): Remove type.
10388 (_LIBC_LOCK_INITIALIZER): New macro.
10389 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
10390 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
10391 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
10392 __libc_lock_define_initialized_recursive,
10393 __rtld_lock_define_initialized_recursive,
10394 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
10395 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
10396 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
10397 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
10398 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
10399 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
10400 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
10402 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
10403 * hurd/hurdlock.c: New file.
10404 * hurd/hurdlock.h: New file.
10405 * mach/lowlevellock.h: New file
10407 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10409 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
10410 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
10411 when opening a symlink with O_NOFOLLOW.
10412 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
10413 path when flags contains O_NOFOLLOW.
10414 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
10415 if flags contains O_DIRECTORY and the result is a directory.
10416 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
10417 oneself when the pointer given in D is nul (as set by ext2fs).
10418 * sysdeps/mach/hurd/mlockall.c: New file.
10419 * sysdeps/mach/hurd/munlockall.c: New file.
10421 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
10423 * hurd/hurdsig.c: Include <pthread.h>.
10424 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
10425 get the signal thread stack layout.
10426 * hurd/Makefile (headers): Remove threadvar.h.
10427 (inline-headers): Remove threadvar.h.
10428 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
10429 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
10430 __hurd_threadvar_max, __hurd_errno_location.
10431 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
10432 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
10433 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
10434 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
10435 unless TLS is not initialized yet, in which case we do not need a
10436 critical section yet anyway.
10437 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
10439 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
10441 (__hurd_threadvar_index): Remove enum.
10442 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
10443 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
10445 (__hurd_reply_port0): New variable declaration.
10446 (__hurd_local_reply_port): New macro.
10447 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
10448 (interrupted_reply_port_location): Add thread_t parameter. Use it
10449 with THREAD_TCB to access thread-local variables.
10450 (_hurdsig_abort_rpcs): Pass ss->thread to
10451 interrupted_reply_port_location.
10452 (_hurd_internal_post_signal): Likewise.
10453 (_hurdsig_init): Use presence of cthread_fork instead of
10454 __hurd_threadvar_stack_mask to start signal thread by hand.
10455 Remove signal thread threadvar initialization.
10456 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
10457 * hurd/sigunwind.c: Include <hurd/threadvar.h>
10458 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
10460 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
10462 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
10463 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
10464 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
10465 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
10466 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
10467 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
10468 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
10470 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
10471 <hurd/threadvar.h>.
10472 [IS_IN(rtld)] (rtld_errno): New variable.
10473 [IS_IN(rtld)] (__errno_location): New weak function.
10474 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
10475 * sysdeps/mach/hurd/errno.c: Remove file.
10476 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
10477 (__fork): Remove THREADVAR_SPACE macro and its use.
10478 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
10480 (init): Do not initialize threadvar.
10481 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
10483 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
10484 __hurd_local_reply_port instead of threadvar.
10485 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
10486 _hurd_sigstate fields.
10487 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
10488 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
10489 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
10490 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
10491 instead of threadvar.
10492 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
10493 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
10494 (use_threadvar, global_reply_port): Remove variables.
10495 (__hurd_reply_port0): New variable.
10496 (__mig_get_reply_port): Use __hurd_local_reply_port and
10497 __hurd_reply_port0 instead of threadvar.
10498 (__mig_dealloc_reply_port): Likewise.
10499 (__mig_init): Do not initialize threadvar.
10500 * sysdeps/mach/hurd/profil.c: Fix comment.
10501 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
10502 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
10503 cthread_keycreate, cthread_getspecific, cthread_setspecific to
10504 __cthread_fork, __cthread_detach, __pthread_getattr_np,
10505 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
10506 __cthread_setspecific.
10507 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
10508 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
10509 __cthread_t instead of cthread_fork, cthread_detach,
10510 pthread_getattr_np, pthread_attr_getstack.
10511 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
10512 __cthread_keycreate.
10513 (cthread_getspecific): Rename to __cthread_getspecific.
10514 (cthread_setspecific): Rename to __cthread_setspecific.
10515 (__libc_getspecific): Use __cthread_getspecific instead of
10516 cthread_getspecific.
10517 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
10518 __cthread_keycreate instead of cthread_keycreate.
10519 (__libc_setspecific): Use __cthread_setspecific instead of
10520 cthread_setspecific.
10521 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
10523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
10524 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
10525 testing whether it is defined.
10527 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10529 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
10531 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
10532 * sysdeps/mach/i386/thread_state.h
10533 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
10535 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
10537 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
10539 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
10540 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
10542 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
10544 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
10545 descriptor instead of creating a new one.
10546 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
10548 * mach/setup-thread.c: Include <ldsodefs.h>.
10549 (__mach_setup_thread): Call _dl_allocate_tls, pass
10550 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
10551 MACHINE_THREAD_STATE_FLAVOR, before getting
10552 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
10553 MACHINE_THREAD_STATE_FLAVOR with the result.
10554 * hurd/hurdfault.c (_hurdsig_fault_init): Call
10555 MACHINE_THREAD_STATE_FIX_NEW.
10556 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
10557 too. Add original thread parameter.
10559 2018-03-16 Joseph Myers <joseph@codesourcery.com>
10561 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
10562 Remove inline function.
10564 * sysdeps/i386/fpu/libm-test-ulps: Update.
10565 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10567 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
10569 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
10572 2018-03-15 Joseph Myers <joseph@codesourcery.com>
10574 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
10575 (__sincos_code): Remove define and undefine.
10576 [__FAST_MATH__] (__sincos): Remove inline function.
10577 [__FAST_MATH__] (__sincosf): Remove inline function.
10578 [__FAST_MATH__] (__sincosl): Remove inline function.
10579 (__atan2l): Remove inline functions.
10580 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
10581 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
10583 (floor): Remove inline function.
10585 [__FAST_MATH__] (__ldexp_code): Remove macro.
10586 [__FAST_MATH__] (ldexp): Remove inline function.
10587 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
10588 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
10589 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
10590 [__USE_ISOC99] (__lrint_code): Remove macro.
10591 [__USE_ISOC99] (__llrint_code): Likewise.
10592 [__USE_ISOC99] (lrintf): Remove inline function.
10593 [__USE_ISOC99] (lrint): Likewise.
10594 [__USE_ISOC99] (lrintl): Likewise.
10595 [__USE_ISOC99] (llrint): Likewise.
10596 [__USE_ISOC99] (llrintf): Likewise.
10597 [__USE_ISOC99] (llrintl): Likewise.
10599 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10601 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
10602 (__ieee754_sqrtf): Remove.
10603 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
10604 (__ieee754_sqrtf): Remove.
10605 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
10606 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
10607 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
10608 (__ieee754_sqrtf): Remove.
10609 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
10610 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
10613 (__ieee754_sqrt): Remove.
10614 (__ieee754_sqrtf): Remove.
10615 (__ieee754_sqrtl): Remove.
10616 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
10617 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
10618 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
10619 (__ieee754_sqrtf): Remove.
10620 (__ieee754_sqrtl): Remove.
10622 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10624 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
10625 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10627 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
10628 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
10629 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10630 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10631 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10633 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
10634 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
10635 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10636 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10637 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10638 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
10639 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10640 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10641 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10642 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
10643 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
10644 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10645 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
10646 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
10647 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
10648 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10649 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10650 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10651 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
10652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
10653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10655 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
10657 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
10658 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
10659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10660 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
10662 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
10663 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10664 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
10665 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10666 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10667 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10669 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
10670 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
10671 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10672 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
10674 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10676 * include/math.h (sqrt): Declare with asm redirect.
10679 (sqrtf128): Likewise.
10680 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
10681 nonlib and libnldbl with -fmath-errno.
10682 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
10683 * math/w_sqrt_template.c: Likewise.
10684 * math/w_sqrtf_compat.c: Likewise.
10685 * math/w_sqrtl_compat.c: Likewise.
10686 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
10687 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
10688 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
10691 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10693 * benchtests/Makefile: Define _ISOMAC.
10694 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
10695 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
10696 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
10697 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
10698 * benchtests/bench-timing.h: Define attribute_hidden.
10700 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10702 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
10705 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10708 * localedata/locales/cs_CZ (mon): Rename to...
10710 (mon): Import from CLDR (genitive case).
10712 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10715 * localedata/locales/el_CY (abmon): Rename to...
10716 (ab_alt_mon): This.
10717 (abmon): Import from CLDR (abbreviated genitive case).
10718 * localedata/locales/el_GR (abmon): Rename to...
10719 (ab_alt_mon): This.
10720 (abmon): Import from CLDR (abbreviated genitive case).
10722 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10725 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
10727 2018-03-15 Robert Buj <robert.buj@gmail.com>
10730 * localedata/locales/ca_ES (abmon): Rename to...
10731 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
10732 (mon): Rename to...
10734 (abmon): Import from CLDR (genitive case, month names preceded by
10737 (abday): Synchronize with CLDR.
10738 (d_t_fmt): Likewise.
10742 (LC_TIME): Improve indentation.
10743 (LC_TELEPHONE): Likewise.
10744 (LC_NAME): Likewise.
10745 (LC_ADDRESS): Likewise.
10747 2018-03-14 Joseph Myers <joseph@codesourcery.com>
10749 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
10750 (lrintf): Remove definitions used only with old GCC.
10751 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
10752 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
10753 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
10754 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
10755 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
10756 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
10757 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
10758 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
10759 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
10760 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
10761 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
10762 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
10763 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
10764 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
10765 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
10766 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
10767 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
10768 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
10769 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
10770 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
10771 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
10772 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
10773 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
10774 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
10775 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
10776 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
10777 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
10778 [__FAST_MATH__] (__M_SQRT2): Remove macro.
10780 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10782 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
10783 instruction to unbreak builds with binutils 2.26 and older.
10785 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
10787 * sysdeps/aarch64/strncmp.S (count): New macro.
10788 (strncmp): Store misaligned length in SRC1 in COUNT.
10789 (mutual_align): Adjust.
10790 (misaligned8): Load dword at a time when it is safe.
10792 2018-03-12 Zack Weinberg <zackw@panix.com>
10796 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
10797 if the _IO_EOF_SEEN bit is already set; update commentary.
10798 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
10799 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10801 * support/support_openpty.c, support/tty.h: New files.
10802 * support/Makefile (libsupport-routines): Add support_openpty.
10804 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
10806 * libio/Makefile (tests): Add tst-fgetc-after-eof.
10807 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
10809 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
10811 * po/pt_BR.po: Update translations.
10813 2018-03-12 David Michael <fedora.dm0@gmail.com>
10815 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
10816 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
10817 get a port to the startup server.
10819 2018-03-11 Zack Weinberg <zackw@panix.com>
10821 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
10822 before nldbl-compat.h.
10824 2018-03-10 Zack Weinberg <zackw@panix.com>
10826 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
10827 math.h or math_private.h.
10829 * sysdeps/alpha/fpu/s_isnan.c
10830 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
10831 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
10832 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
10833 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
10834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
10835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
10836 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
10837 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
10838 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
10839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
10840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
10841 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
10842 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
10843 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
10844 Include math_private.h.
10846 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
10847 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
10848 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
10849 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
10850 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
10851 * sysdeps/powerpc/power7/fpu/s_logb.c:
10852 Include math.h and math_private.h.
10854 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
10855 uses of $at in .set noat / .set at.
10857 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
10859 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
10860 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
10861 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
10862 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
10865 2018-03-09 Florian Weimer <fweimer@redhat.com>
10867 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
10870 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
10873 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
10874 Add nop before __startcontext, add explaining comments.
10876 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10879 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
10881 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10882 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
10883 Do not build hardware transactional code for __SPE__.
10884 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10885 (__lll_trylock_elision): Likewise.
10886 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10887 (__lll_unlock_elision): Likewise.
10889 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
10890 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
10891 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
10892 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
10893 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
10894 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
10895 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
10896 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
10897 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
10898 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
10899 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
10900 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
10901 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
10902 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
10903 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
10904 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
10905 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
10906 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
10907 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
10908 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
10909 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
10910 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10911 (__ASSUME_CLONE_BACKWARDS): Define.
10912 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
10913 __clone2 if __NR_clone2 is defined.
10914 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10915 (__ASSUME_CLONE_BACKWARDS): Likewise.
10916 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10917 (__ASSUME_CLONE_BACKWARDS): Likewise.
10918 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10919 (__ASSUME_CLONE2): Likewise.
10920 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10921 (__ASSUME_CLONE_BACKWARDS3): Likewise.
10922 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
10923 variants and the define architecture can use.
10924 (__ASSUME_CLONE_DEFAULT): Define as default.
10925 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10926 (__ASSUME_CLONE_BACKWARDS): Likewise.
10927 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10928 (__ASSUME_CLONE_BACKWARDS): Likewise.
10929 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10930 (__ASSUME_CLONE_BACKWARDS2): Likewise.
10932 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
10934 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
10936 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
10939 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
10940 (do_test_limit): Likewise.
10942 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
10943 for every implementation.
10944 (do_test): Likewise.
10946 * benchtests/bench-strncmp.c: Convert output to json.
10948 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10950 * io/futimens.c: Add missing start-of-file descriptive comment.
10951 * io/utime.c: Likewise.
10952 * misc/futimesat.c: Likewise.
10953 * misc/utimes.c: Likewise.
10954 * sysdeps/mach/hurd/futimesat.c: Likewise.
10955 * sysdeps/mach/hurd/utimes.c: Likewise.
10956 * sysdeps/posix/utime.c: Likewise.
10957 * sysdeps/posix/utimes.c: Likewise.
10958 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
10959 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10960 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
10961 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
10963 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10965 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
10967 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
10968 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
10969 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
10970 (__futimens): Move implementation to...
10971 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
10972 utime_tvalue_from_tspec): ... new helper functions.
10973 (hurd_futimens): New function.
10974 * sysdeps/mach/hurd/futimesat.c: New file.
10975 * sysdeps/mach/hurd/utimensat.c: New file.
10977 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
10979 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
10980 UTIME_OMIT): New macros.
10981 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
10982 before reverting to converting time spec to time value and calling
10984 * sysdeps/mach/hurd/utime-helper.c: New file.
10985 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
10986 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
10987 reverting to utime_tvalue_from_tval and __file_utimes.
10988 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
10989 (__lutimes): Just call hurd_futimens after lookup.
10990 * sysdeps/mach/hurd/utimes.c: Likewise.
10992 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10994 * bits/sigaction.h: Add include guard.
10995 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10996 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10997 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
10998 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
10999 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11000 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
11001 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11002 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
11003 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
11005 2018-03-05 Joseph Myers <joseph@codesourcery.com>
11007 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
11008 -Wmaybe-uninitialized for -Os.
11009 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
11012 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11014 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
11015 __INO_T_MATCHES_INO64_T is defined.
11016 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11017 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
11019 * dirent/alphasort64.c: Likewise.
11020 * dirent/scandir.c: Likewise.
11021 * dirent/scandir64-tail.c: Likewise.
11022 * dirent/scandir64.c: Likewise.
11023 * dirent/scandirat.c: Likewise.
11024 * dirent/scandirat64.c: Likewise.
11025 * dirent/versionsort.c: Likewise.
11026 * dirent/versionsort64.c: Likewise.
11027 * include/dirent.h: Likewise.
11029 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
11030 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
11031 for socketpair endpoint.
11032 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
11033 WRITE_BUFFER_SIZE as buffer size for sending socket.
11034 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
11035 issue on system where send is implemented with sendto syscall.
11036 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
11037 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
11038 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
11039 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
11042 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
11043 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
11044 sa_restorer for vDSO case.
11045 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
11047 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11049 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
11050 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
11051 * hurd/hurd/ioctl.h: Include <mach/port.h>
11052 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
11053 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
11054 <mach/mach_types.h> and <mach/message.h>.
11055 (headers): Move mach/param.h to bits/mach/param.h.
11056 * sysdeps/mach/i386/mach/param.h: Move file to ...
11057 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
11058 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
11060 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
11061 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
11062 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
11063 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
11064 trivial, for C++ conformity.
11065 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
11066 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
11067 Process mig output through $(migheadersed).
11068 * hurd/Makefile (migheadersed): Define variable.
11069 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
11070 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
11072 * hurd/hurd.h: Include <bits/types/sigset_t.h>
11073 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
11074 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
11075 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
11076 <bits/types/sigset_t.h>.
11077 [!defined __USE_GNU]: Do not #error out.
11078 (struct hurd_sigstate): Use _NSIG instead of NSIG.
11079 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
11080 Include <stddef.h> and <bits/types/sigset_t.h>
11081 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
11082 instead of sighandler_t.
11083 * stdlib/errno.h (error_t): Move definition to...
11084 * bits/types/error_t.h: ... new header.
11085 * stdlib/Makefile (headers): Add bits/types/error_t.h.
11086 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
11087 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
11088 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
11089 * hurd/hurd.h: Include <bits/types/error_t.h>
11090 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
11091 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
11092 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
11093 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
11094 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
11095 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
11096 * sysdeps/mach/hurd/futimens.c: New file.
11098 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
11101 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
11102 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
11103 * nscd/gai.c (__nss_hosts_database): Readd definition.
11104 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
11105 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
11106 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
11108 2018-03-02 Joseph Myers <joseph@codesourcery.com>
11110 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
11111 (ifunc_one): Likewise.
11113 2018-03-01 DJ Delorie <dj@delorie.com>
11116 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
11119 2018-03-01 Maciej W. Rozycki <macro@mips.com>
11121 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
11122 `match_pid' parameter.
11123 (td_ta_thr_iter): Update accordingly.
11125 2018-03-01 Florian Weimer <fweimer@redhat.com>
11127 * nptl/Makefile (install-lib-ldscripts): Remove.
11128 (install): Remove rule.
11129 ($(inst_libdir)/libpthread.so): Likewise.
11131 2018-03-01 Mike FABIAN <mfabian@redhat.com>
11134 * localedata/locales/an_ES: update month and day names,
11135 improve d_fmt, improve postal_fmt, add country_post,
11138 2018-03-01 Mike FABIAN <mfabian@redhat.com>
11140 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
11141 Ukrainian instead of Bulgarian.
11143 2018-03-01 Florian Weimer <fweimer@redhat.com>
11145 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
11148 2018-03-01 Florian Weimer <fweimer@redhat.com>
11150 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
11151 * nptl/Makefile (routines): Add pthread_atfork.
11152 (static-only-routines): Set to pthread_atfork.
11153 (libpthread-routines): Remove pthread_atfork.
11154 (libpthread-static-only-routines): Remove.
11155 (install): Update comment.
11156 (libpthread.so): Do not install libpthread_nonshared.a.
11157 (tests): Do not link with libpthread_nonshared.a.
11158 (generated): Remove libpthread_nonshared.a.
11159 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
11160 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
11161 with libpthread_nonshared.a.
11163 2018-02-28 Joseph Myers <joseph@codesourcery.com>
11166 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
11167 (libc_feholdexcept_setroundf128): New macro.
11168 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
11171 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
11173 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
11174 * include/inttypes.h: New file.
11176 2018-02-27 Joseph Myers <joseph@codesourcery.com>
11178 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
11179 -Os in two more places.
11181 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11183 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
11184 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
11185 be sorted correctly at the moment because of a bug.
11187 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11189 [BZ #22550] - es_ES locale (and other es_* locales): collation should
11190 treat ñ as a primary different character, sync the collation
11191 for Spanish with CLDR.
11192 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
11193 * localedata/Makefile: Add new test files.
11194 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
11195 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
11197 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
11198 * localedata/am_ET.UTF-8.in: New test file.
11199 * localedata/az_AZ.UTF-8.in: Likewise.
11200 * localedata/be_BY.UTF-8.in: Likewise.
11201 * localedata/ber_DZ.UTF-8.in: Likewise.
11202 * localedata/ber_MA.UTF-8.in: Likewise.
11203 * localedata/bg_BG.UTF-8.in: Likewise.
11204 * localedata/br_FR.UTF-8.in: Likewise.
11205 * localedata/cmn_TW.UTF-8.in: Likewise.
11206 * localedata/crh_UA.UTF-8.in: Likewise.
11207 * localedata/csb_PL.UTF-8.in: Likewise.
11208 * localedata/cv_RU.UTF-8.in: Likewise.
11209 * localedata/cy_GB.UTF-8.in: Likewise.
11210 * localedata/dz_BT.UTF-8.in: Likewise.
11211 * localedata/eo.UTF-8.in: Likewise.
11212 * localedata/es_ES.UTF-8.in: Likewise.
11213 * localedata/fa_IR.UTF-8.in: Likewise.
11214 * localedata/fi_FI.UTF-8.in: Likewise.
11215 * localedata/fil_PH.UTF-8.in: Likewise.
11216 * localedata/fur_IT.UTF-8.in: Likewise.
11217 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
11218 * localedata/ha_NG.UTF-8.in: Likewise.
11219 * localedata/ig_NG.UTF-8.in: Likewise.
11220 * localedata/ik_CA.UTF-8.in: Likewise.
11221 * localedata/kk_KZ.UTF-8.in: Likewise.
11222 * localedata/ku_TR.UTF-8.in: Likewise.
11223 * localedata/ky_KG.UTF-8.in: Likewise.
11224 * localedata/ln_CD.UTF-8.in: Likewise.
11225 * localedata/mi_NZ.UTF-8.in: Likewise.
11226 * localedata/ml_IN.UTF-8.in: Likewise.
11227 * localedata/mn_MN.UTF-8.in: Likewise.
11228 * localedata/mr_IN.UTF-8.in: Likewise.
11229 * localedata/mt_MT.UTF-8.in: Likewise.
11230 * localedata/nb_NO.UTF-8.in: Likewise.
11231 * localedata/om_KE.UTF-8.in: Likewise.
11232 * localedata/os_RU.UTF-8.in: Likewise.
11233 * localedata/ps_AF.UTF-8.in: Likewise.
11234 * localedata/ro_RO.UTF-8.in: Likewise.
11235 * localedata/ru_RU.UTF-8.in: Likewise.
11236 * localedata/sc_IT.UTF-8.in: Likewise.
11237 * localedata/se_NO.UTF-8.in: Likewise.
11238 * localedata/sq_AL.UTF-8.in: Likewise.
11239 * localedata/sv_SE.UTF-8.in: Likewise.
11240 * localedata/szl_PL.UTF-8.in: Likewise.
11241 * localedata/tg_TJ.UTF-8.in: Likewise.
11242 * localedata/tk_TM.UTF-8.in: Likewise.
11243 * localedata/tt_RU.UTF-8.in: Likewise.
11244 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
11245 * localedata/ug_CN.UTF-8.in: Likewise.
11246 * localedata/uz_UZ.UTF-8.in: Likewise.
11247 * localedata/vi_VN.UTF-8.in: Likewise.
11248 * localedata/yi_US.UTF-8.in: Likewise.
11249 * localedata/yo_NG.UTF-8.in: Likewise.
11250 * localedata/zh_CN.UTF-8.in: Likewise.
11251 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
11252 file and fix bugs in the collation.
11253 * localedata/locales/az_AZ: Likewise.
11254 * localedata/locales/be_BY: Likewise.
11255 * localedata/locales/ber_DZ: Likewise.
11256 * localedata/locales/ber_MA: Likewise.
11257 * localedata/locales/bg_BG: Likewise.
11258 * localedata/locales/br_FR: Likewise.
11259 * localedata/locales/br_FR@euro: Likewise.
11260 * localedata/locales/ca_ES: Likewise.
11261 * localedata/locales/cns11643_stroke: Likewise.
11262 * localedata/locales/crh_UA: Likewise.
11263 * localedata/locales/cs_CZ: Likewise.
11264 * localedata/locales/csb_PL: Likewise.
11265 * localedata/locales/cv_RU: Likewise.
11266 * localedata/locales/cy_GB: Likewise.
11267 * localedata/locales/da_DK: Likewise.
11268 * localedata/locales/dz_BT: Likewise.
11269 * localedata/locales/en_CA: Likewise.
11270 * localedata/locales/eo: Likewise.
11271 * localedata/locales/es_CU: Likewise.
11272 * localedata/locales/es_EC: Likewise.
11273 * localedata/locales/es_ES: Likewise.
11274 * localedata/locales/es_US: Likewise.
11275 * localedata/locales/et_EE: Likewise.
11276 * localedata/locales/fa_IR: Likewise.
11277 * localedata/locales/fi_FI: Likewise.
11278 * localedata/locales/fil_PH: Likewise.
11279 * localedata/locales/fur_IT: Likewise.
11280 * localedata/locales/gez_ER@abegede: Likewise.
11281 * localedata/locales/ha_NG: Likewise.
11282 * localedata/locales/hr_HR: Likewise.
11283 * localedata/locales/hsb_DE: Likewise.
11284 * localedata/locales/hu_HU: Likewise.
11285 * localedata/locales/ig_NG: Likewise.
11286 * localedata/locales/ik_CA: Likewise.
11287 * localedata/locales/is_IS: Likewise.
11288 * localedata/locales/iso14651_t1_pinyin: Likewise.
11289 * localedata/locales/kk_KZ: Likewise.
11290 * localedata/locales/ku_TR: Likewise.
11291 * localedata/locales/ky_KG: Likewise.
11292 * localedata/locales/ln_CD: Likewise.
11293 * localedata/locales/lt_LT: Likewise.
11294 * localedata/locales/lv_LV: Likewise.
11295 * localedata/locales/mi_NZ: Likewise.
11296 * localedata/locales/ml_IN: Likewise.
11297 * localedata/locales/mn_MN: Likewise.
11298 * localedata/locales/mr_IN: Likewise.
11299 * localedata/locales/mt_MT: Likewise.
11300 * localedata/locales/nb_NO: Likewise.
11301 * localedata/locales/om_KE: Likewise.
11302 * localedata/locales/os_RU: Likewise.
11303 * localedata/locales/pl_PL: Likewise.
11304 * localedata/locales/ps_AF: Likewise.
11305 * localedata/locales/ro_RO: Likewise.
11306 * localedata/locales/ru_RU: Likewise.
11307 * localedata/locales/ru_UA: Likewise.
11308 * localedata/locales/sc_IT: Likewise.
11309 * localedata/locales/se_NO: Likewise.
11310 * localedata/locales/si_LK: Likewise.
11311 * localedata/locales/sq_AL: Likewise.
11312 * localedata/locales/sv_FI: Likewise.
11313 * localedata/locales/sv_FI@euro: Likewise.
11314 * localedata/locales/sv_SE: Likewise.
11315 * localedata/locales/szl_PL: Likewise.
11316 * localedata/locales/tg_TJ: Likewise.
11317 * localedata/locales/ti_ER: Likewise.
11318 * localedata/locales/tk_TM: Likewise.
11319 * localedata/locales/tl_PH: Likewise.
11320 * localedata/locales/tr_TR: Likewise.
11321 * localedata/locales/tt_RU: Likewise.
11322 * localedata/locales/tt_RU@iqtelif: Likewise.
11323 * localedata/locales/ug_CN: Likewise.
11324 * localedata/locales/uk_UA: Likewise.
11325 * localedata/locales/uz_UZ: Likewise.
11326 * localedata/locales/uz_UZ@cyrillic: Likewise.
11327 * localedata/locales/vi_VN: Likewise.
11328 * localedata/locales/yi_US: Likewise.
11329 * localedata/locales/yo_NG: Likewise.
11331 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11333 * gen-locales.mk: Make test files which contain @ modifiers in their
11335 * localedata/gen-locale.sh: Likewise.
11337 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11339 * posix/tst-fnmatch.input: Fix results for range expressions
11341 * posix/tst-regexloc.c: Do not use a range expression for
11342 de_DE.ISO-8859-1 locale.
11344 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11346 * posix/bug-regex5.c: Fix test case because with the new
11347 iso14651_t1_common file, the da_DK locale now has 6 collating elements
11348 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
11351 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11353 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
11354 downloaded from ISO, the collation order of @-. and space has changed.
11355 Therefore, this test file needed to be adapted.
11356 * localedata/fr_CA.UTF-8.in: Likewise.
11357 * localedata/fr_FR.UTF-8.in: Likewise.
11358 * localedata/uk_UA.UTF-8.in: Likewise.
11360 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11362 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
11363 order of ȥ in the new iso14651_t1_common file.
11364 * localedata/pl_PL.UTF-8.in: Likewise.
11366 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11368 * localedata/locales/iso14651_t1_common: Add sections for various
11369 scripts to the iso14651_t1_common file.
11371 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11373 * localedata/locales/iso14651_t1_common: Use the code point of a
11374 character in the fourth collation level instead of IGNORE for all
11375 entries which have IGNORE on all 4 levels.
11377 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11379 * localedata/locales/iso14651_t1_common: Add some convenient collation
11380 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
11381 rules similar to those in CLDR.
11383 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11385 * localedata/locales/iso14651_t1_common: The new version of this
11386 file downloaded from ISO contained several syntax errors which
11387 are fixed by this patch.
11389 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11391 * localedata/locales/iso14651_t1_common: replace all <U.....>
11392 with <U000.....> because glibc understands only 4 digit or 8 digit
11394 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11396 * localedata/locales/iso14651_t1_common: Necessary changes
11397 to make the file downloaded from ISO usable by glibc.
11399 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11402 * localedata/locales/iso14651_t1_common: Update file to
11403 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
11405 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11407 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
11408 of <nptl/pthreadP.h>
11409 (thread_attr_compare): Move function to...
11410 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
11411 * sysdeps/nptl/timer_routines.h: ... new header.
11412 * sysdeps/mach/hurd/gai_misc.h: New file.
11414 2018-02-26 Joseph Myers <joseph@codesourcery.com>
11416 * string/strcoll_l.c: Include <libc-diag.h>.
11417 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
11418 declarations of seq1 and seq2.
11421 * stdlib/atoi.c (atoi): Use libc_hidden_def.
11422 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
11424 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
11428 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
11429 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
11430 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
11431 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
11432 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
11433 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
11435 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
11438 macros used in __ptrace_request.
11440 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
11443 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
11445 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
11446 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
11447 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
11450 2018-02-23 Joseph Myers <joseph@codesourcery.com>
11453 * ctype/ctype.c (tolower): Use libc_hidden_def.
11454 (toupper): Likewise.
11455 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
11456 [!_ISOMAC] (toupper): Likewise.
11458 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11460 * localedata/Makefile: Remove --quiet argument when
11463 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11466 * localedata/locales/pt_BR (LC_TIME): use / instead of -
11468 * localedata/locales/pt_PT (LC_TIME): likewise
11470 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11473 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
11474 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
11475 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
11477 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11481 * nptl/Makefile (routines): Remove unregister-atfork.
11482 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
11483 (fork_handler_alloc): Remove function.
11484 (fork_handlers, fork_handler_init): New variables.
11485 (__fork_lock): Rename to atfork_lock.
11486 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
11487 to use a dynamic array to add/remove atfork handlers.
11488 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11489 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
11490 Remove declaration.
11491 (fork_handler): Remove next, refcntr, and need_signal member.
11492 (__run_fork_handler_type): New enum.
11493 (__run_fork_handlers): New prototype.
11494 * nptl/register-atfork.c: Remove file.
11495 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
11497 * sysdeps/nptl/nptl-signals.h: Move to ...
11498 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
11500 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
11501 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
11502 unnecessary check for SIGTIMER.
11503 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
11504 remove unnecessary removal of SIGTIMER.
11505 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
11506 include-signals.h rename.
11507 * nptl/pthreadP.h: Likewise.
11508 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
11509 __is_internal_signal instead of __nptl_is_internal_signal.
11511 2018-02-22 Andrew Waterman <andrew@sifive.com>
11514 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
11515 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
11516 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
11517 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
11519 2018-02-22 DJ Delorie <dj@delorie.com>
11521 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
11523 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
11525 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
11526 do_misaligned, not misaligned8.
11528 2018-02-22 Steve Ellcey <sellcey@cavium.com>
11530 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
11531 Add memcpy_thunderx2.
11532 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
11534 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
11535 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
11536 and IS_THUNDERX2PA checks.
11537 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
11538 Use macro to set name appropriately.
11539 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
11540 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
11541 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
11543 (IS_THUNDERX2): New macro.
11545 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
11547 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11549 2018-02-21 Zack Weinberg <zackw@panix.com>
11551 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
11552 Define here, unconditionally.
11553 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
11554 * libio/libioP.h: Remove #if 0 blocks.
11555 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
11556 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
11557 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
11559 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
11560 Assume weak_alias is always defined.
11562 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
11563 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
11564 Remove #if 0 and #ifdef TODO blocks.
11565 Assume text_set_element is always defined.
11567 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
11568 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
11569 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
11571 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
11572 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
11573 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
11574 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
11575 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
11576 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
11577 Reformat bit flags for _flags field to make occupancy clearer.
11579 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
11580 Keep definitions consistent with those in libio/libio.h.
11582 * libio/libio.h (_IO_file_flags): Remove macro.
11583 All uses changed to _flags.
11585 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
11586 (__HAVE_COLUMN, _IO_BE): Don't define.
11587 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
11588 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
11589 * libio/libioP.h (EOF): Don't define.
11590 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
11591 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
11592 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
11593 testing _IO_UNIFIED_JUMPTABLES.
11595 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
11596 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
11597 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
11598 (_IO_size_t): Delete; all uses changed to size_t.
11599 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
11600 (_IO_off_t): Delete; all uses changed to off_t.
11601 (_IO_off64_t): Delete; all uses changed to off64_t.
11602 (_IO_pid_t): Delete; all uses changed to pid_t.
11603 (_IO_uid_t): Delete; all uses changed to uid_t.
11604 (_IO_wint_t): Delete; all uses changed to wint_t.
11605 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
11606 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
11607 (_IO_cookie_io_functions_t): Delete; all uses changed to
11608 cookie_io_functions_t.
11609 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
11610 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
11611 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
11612 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
11614 * libio/iofopncook.c: Remove unnecessary forward declarations.
11615 * libio/iolibio.h: Correct outdated commentary.
11616 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
11617 * stdio-common/fxprintf.c (__fxprintf_nocancel):
11618 Remove unnecessary casts.
11619 * stdio-common/getline.c: Use _IO_getdelim directly.
11620 Don't redefine ssize_t.
11621 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
11622 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
11623 Remove outdated comments.
11624 * stdio-common/vfscanf.c: Don't redefine va_list.
11626 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
11627 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
11628 Remove preprocessor conditionals on _LIBC and __USE_GNU,
11629 which are always true, and __cplusplus, which is always false.
11631 2018-02-21 Joseph Myers <joseph@codesourcery.com>
11635 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
11636 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
11637 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
11638 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
11640 [!_ISOMAC] (putc_unlocked): Likewise.
11641 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
11642 define inline if [__USE_EXTERN_INLINES].
11643 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
11648 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
11649 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
11650 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
11651 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
11652 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
11654 * time/tzfile.c (__tzfile_read): Likewise.
11656 2018-02-21 Mike FABIAN <mfabian@redhat.com>
11659 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
11661 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
11663 * io/fcntl.h: Fix a typo in a comment.
11665 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
11668 * include/features.h: Add _ISOC11_SOURCE to test for whether to
11669 define _DEFAULT_SOURCE.
11670 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
11672 2018-02-21 Florian Weimer <fweimer@redhat.com>
11675 * elf/cache.c (save_cache): Call fsync on temporary file before
11677 (save_aux_cache): Call fdatasync on temporary file before renaming
11680 2018-02-21 Florian Weimer <fweimer@redhat.com>
11683 * include/caller.h: Remove file.
11684 * elf/dl-caller.c: Likewise.
11685 * elf/Makefile (dl-routines): Remove dl-caller.
11686 (shared-only-routines): Do not add dl-caller.
11687 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
11689 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
11691 (dl_open_worker): Do not call __check_caller.
11692 (_dl_open): Do not set caller_dl_open member.
11693 * elf/rtld.c (_rtld_global_ro): Do not initialize
11694 _dl_check_caller member.
11695 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
11696 _dl_check_caller member.
11697 (_dl_check_caller): Remove declaration.
11698 * sysdeps/unix/sysv/linux/dl-execstack.c
11699 (_dl_make_stack_executable): Do not call __check_caller.
11701 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
11703 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
11704 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
11706 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
11708 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
11711 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
11714 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
11715 of 199606L, 200112L, and 200809L.
11716 (_XOPEN_SOURCE): Document special values of 600 and 700.
11717 (_ISOC11_SOURCE): Document macro.
11718 (_ATFILE_SOURCE): Likewise.
11719 (_FORTIFY_SOURCE): Likewise.
11721 2018-02-19 Joseph Myers <joseph@codesourcery.com>
11725 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
11726 and define as weak alias of __ferror_unlocked. Use
11728 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
11730 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
11731 function if [__USE_EXTERN_INLINES].
11732 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
11735 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
11738 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
11740 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
11743 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
11744 the GLIBC_2.1 version.
11746 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
11749 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
11750 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
11751 intl/tst-gettext-de.po from po/de.po by removing the
11752 POT-Creation-Date line.
11753 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
11755 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
11758 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11760 * mach/Makefile (headers): Add mach/param.h.
11761 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
11762 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
11763 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
11764 (__ptsname_r): Move implementation to...
11765 (__ptsname_internal): ... new function. Add filling the STP
11768 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
11770 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
11773 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
11775 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
11778 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11780 * nptl/Makefile (tst-mutex8-ENV): Delete.
11781 * nptl/tst-mutex8.c (check_type):
11782 Add runtime check if mutex will be elided.
11784 2018-02-15 Joseph Myers <joseph@codesourcery.com>
11788 * manual/install.texi (Configuring and compiling): Describe
11789 passing CC and CFLAGS on configure command line, not as
11790 environment variables. Use @code markup on those variables.
11791 Specify what options go in CC and what go in CFLAGS. Note the
11792 requirement to compile with optimization.
11793 * INSTALL: Regenerated.
11796 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
11797 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
11798 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
11799 __sigprocmask instead of sigprocmask.
11800 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
11802 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
11803 __sigsetjmp and sigprocmask.
11806 * include/argz.h (argz_next): Use libc_hidden_proto.
11807 (__argz_next): Likewise.
11808 * string-argz-next.c (__argz_next): Use libc_hidden_def.
11809 (argz_next): Use libc_hidden_weak.
11812 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
11814 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
11818 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
11820 * libio/iofputs.c (fputs): Use libc_hidden_weak.
11824 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
11825 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
11826 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
11827 (__feof_unlocked): New declaration, and inline function if
11828 [__USE_EXTERN_INLINES].
11829 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
11830 instead of feof_unlocked.
11831 * intl/localealias.c [_LIBC] (FEOF): Likewise.
11832 * nss/nsswitch.c (nss_parse_file): Likewise.
11833 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
11835 * time/getdate.c (__getdate_r): Likewise.
11836 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
11837 Define as macro to call __feof_unlocked.
11839 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
11841 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
11843 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
11845 * math/Makefile: Remove mpexp.c and mplog.c
11846 * sysdeps/i386/fpu/mpexp.c: Delete file.
11847 * sysdeps/i386/fpu/mplog.c: Likewise.
11848 * sysdeps/ia64/fpu/mpexp.c: Likewise.
11849 * sysdeps/ia64/fpu/mplog.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
11851 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
11852 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
11853 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11854 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
11855 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
11856 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
11857 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
11858 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
11859 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11860 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
11861 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
11862 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11863 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
11864 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
11865 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11867 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11869 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11871 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11873 * sysdeps/sh/libm-test-ulps: Update.
11875 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11877 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
11880 2018-02-12 Zack Weinberg <zackw@panix.com>
11883 * posix/sys/types.h: Don't include sys/sysmacros.h.
11884 * misc/sys/sysmacros.h: Remove the conditional deprecation
11885 warnings for the macros defined by this header.
11887 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11889 * manual/probes.texi: Remove slowexp probes.
11890 * math/Makefile: Remove slowexp.
11891 * sysdeps/generic/math_private.h (__slowexp): Remove.
11892 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
11893 document error bounds.
11894 * sysdeps/i386/fpu/slowexp.c: Remove.
11895 * sysdeps/ia64/fpu/slowexp.c: Remove.
11896 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
11897 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
11898 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
11899 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
11900 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
11901 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
11902 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
11903 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
11904 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
11905 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
11906 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
11908 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
11911 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
11912 * benchtests/pow-inputs: Update comment for slow path cases.
11913 * manual/probes.texi (slowpow_p10): Delete removed probe.
11914 (slowpow_p10): Likewise.
11915 * math/Makefile: Remove halfulp.c and slowpow.c.
11916 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
11917 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
11918 (__halfulp): Remove.
11919 (__slowpow): Remove.
11920 * sysdeps/i386/fpu/halfulp.c: Delete file.
11921 * sysdeps/i386/fpu/slowpow.c: Likewise.
11922 * sysdeps/ia64/fpu/halfulp.c: Likewise.
11923 * sysdeps/ia64/fpu/slowpow.c: Likewise.
11924 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
11925 improve comments and add error analysis.
11926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
11927 (power1): Remove function:
11928 (log1): Remove error argument, add error analysis.
11929 (my_log2): Remove function.
11930 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
11931 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11932 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
11933 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
11934 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
11935 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
11936 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
11937 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
11938 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
11939 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
11940 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
11941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11942 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
11943 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11945 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
11947 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
11948 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
11950 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
11953 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
11954 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
11955 and PTRACE_SETHBPREGS.
11957 2018-02-10 Zack Weinberg <zackw@panix.com>
11960 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
11962 * malloc/tst-malloc-stats-cancellation.c: New test case.
11963 * malloc/Makefile: Add new test case.
11965 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
11967 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
11969 2018-02-10 Joseph Myers <joseph@codesourcery.com>
11971 * math/Makefile (libm-narrow-fns): Add add.
11972 (libm-test-funcs-narrow): Likewise.
11973 * math/Versions (GLIBC_2.28): Add narrowing add functions.
11974 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
11975 * math/gen-auto-libm-tests.c (test_functions): Add add.
11976 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
11977 (NARROW_ADD_ROUND_TO_ODD): Likewise.
11978 (NARROW_ADD_TRIVIAL): Likewise.
11979 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
11981 (__daddl): Likewise.
11982 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
11984 (CFLAGS-nldbl-dadd.c): New variable.
11985 (CFLAGS-nldbl-fadd.c): Likewise.
11986 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11988 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
11990 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
11991 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
11992 * math/auto-libm-test-in: Add tests of add.
11993 * math/auto-libm-test-out-narrow-add: New generated file.
11994 * math/libm-test-narrow-add.inc: New file.
11995 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11996 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
11997 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
11998 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
11999 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
12000 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
12001 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
12002 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
12003 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
12004 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
12005 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
12006 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
12007 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
12008 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
12009 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
12010 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
12011 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
12012 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
12013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12014 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12016 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12017 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12019 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12020 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12021 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12022 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12023 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12024 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12025 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12026 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12033 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12034 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12040 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12042 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
12043 (f128-pairs): New variable.
12044 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
12045 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
12047 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
12048 Also make tests add $(f128-loader-link) to gnulib-tests.
12050 2018-02-09 DJ Delorie <dj@redhat.com>
12053 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
12054 64-bit ELF type for 64-bit ELF objects.
12056 2018-02-09 Joseph Myers <joseph@codesourcery.com>
12058 * math/libm-test-driver.c (snan_tests_arg): New variable.
12059 * math/libm-test-support.h (snan_tests_arg): New declaration.
12060 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
12062 * math/Makefile (test-type-pairs): New variable.
12063 (test-type-pairs-f64xf128-yes): Likewise.
12064 (tests): Add test-narrow-macros.
12065 (libm-test-funcs-narrow): New variable.
12066 (libm-test-c-narrow): Likewise.
12067 (generated): Add $(libm-test-c-narrow).
12068 (libm-tests-base-narrow): New variable.
12069 (libm-tests-narrow): Likewise.
12070 (libm-tests): Add $(libm-tests-narrow).
12071 (libm-tests-for-type): Handle $(libm-tests-narrow).
12072 (libm-test-c-narrow-obj): New variable.
12073 ($(libm-test-c-narrow-obj)): New rule.
12074 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
12075 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
12076 $(o-iterator) to set dependencies and CFLAGS.
12077 * math/gen-auto-libm-tests.c: Document use for narrowing
12079 (output_for_one_input_case): Take argument NARROW.
12080 (generate_output): Likewise. Update call to
12081 output_for_one_input_case.
12082 (main): Take --narrow option. Update call to generate_output.
12083 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
12084 (apply_lit): Update call to _apply_lit.
12085 (apply_arglit): New function.
12086 (parse_args): Handle "a" arguments.
12087 (parse_auto_input): Handle format names using ":".
12088 * math/README.libm-test: Document "a" parameter type.
12089 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
12090 (ARG_TYPE_TRUE_MIN): Likewise.
12091 (ARG_TYPE_MAX): Likwise.
12092 (ARG_MIN_EXP): Likewise.
12093 (ARG_MAX_EXP): Likewise.
12094 (ARG_MANT_DIG): Likewise.
12095 (TEST_COND_arg_ibm128): Likewise.
12096 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
12097 (TEST_COND_arg_fmt): New macro.
12098 (init_max_error): Update prototype.
12099 * math/libm-test-support.c (test_ibm128): New variable.
12100 (init_max_error): Take argument testing_ibm128 and set test_ibm128
12101 instead of using [TEST_COND_ibm128] conditional.
12102 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
12103 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
12104 [TEST_NARROW] (TEST_MSG): New definition.
12105 (arg_plus_zero): New macro.
12106 (arg_minus_zero): Likewise.
12107 (arg_plus_infty): Likewise.
12108 (arg_minus_infty): Likewise.
12109 (arg_qnan_value_pl): Likewise.
12110 (arg_qnan_value): Likewise.
12111 (arg_snan_value_pl): Likewise.
12112 (arg_snan_value): Likewise.
12113 (arg_max_value): Likewise.
12114 (arg_min_value): Likewise.
12115 (arg_min_subnorm_value): Likewise.
12116 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
12117 (RUN_TEST_LOOP_aa_f): New macro.
12118 (TEST_SUFF): New macro.
12119 (TEST_SUFF_STR): Likewise.
12120 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
12121 (TEST_COND_any_ibm128): New macro.
12122 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
12123 this_func. Update call to init_max_error.
12124 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
12125 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
12126 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
12127 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
12128 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
12129 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
12130 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
12131 * math/test-math-scalar.h (TEST_NARROW): Likewise.
12132 * math/test-math-vector.h (TEST_NARROW): Likewise.
12133 * math/test-arg-double.h: New file.
12134 * math/test-arg-float128.h: Likewise.
12135 * math/test-arg-float32x.h: Likewise.
12136 * math/test-arg-float64.h: Likewise.
12137 * math/test-arg-float64x.h: Likewise.
12138 * math/test-arg-ldouble.h: Likewise.
12139 * math/test-math-narrow.h: Likewise.
12140 * math/test-narrow-macros.c: Likewise.
12141 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
12142 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
12143 test-narrow-macros-ldbl-64.
12144 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
12146 * math/bits/mathcalls-narrow.h: New file.
12147 * include/bits/mathcalls-narrow.h: Likewise.
12148 * math/math-narrow.h: Likewise.
12149 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
12150 (__MATHCALL_NARROW_ARGS_2): Likewise.
12151 (__MATHCALL_NARROW_ARGS_3): Likewise.
12152 (__MATHCALL_NARROW_NORMAL): Likewise.
12153 (__MATHCALL_NARROW_REDIR): Likewise.
12154 (__MATHCALL_NARROW): Likewise.
12155 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
12156 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
12158 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
12159 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
12160 (libm-narrow-fns): New variable.
12161 (libm-narrow-types-basic): Likewise.
12162 (libm-narrow-types-ldouble-yes): Likewise.
12163 (libm-narrow-types-float128-yes): Likewise.
12164 (libm-narrow-types-float128-alias-yes): Likewise.
12165 (libm-narrow-types): Likewise.
12166 (libm-routines): Add narrowing functions.
12167 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
12168 (libc_feholdexcept_setroundf128): New macro.
12169 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
12170 * sysdeps/ieee754/float128/float128_private.h: Include
12171 <math/math-narrow.h>.
12172 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
12173 Undefine and redefine.
12174 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
12175 (libm_alias_float_ldouble): Undefine and redefine.
12176 (libm_alias_double_ldouble): Likewise.
12178 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
12180 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
12182 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
12185 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
12187 * manual/creature.texi: Convert references to gcc.info to gcc.
12188 * manual/stdio.texi: Likewise.
12189 * manual/string.texi: Likewise.
12191 2018-02-07 Joseph Myers <joseph@codesourcery.com>
12194 * posix/bits/types.h (__int_least8_t): New typedef.
12195 (__uint_least8_t): Likewise.
12196 (__int_least16_t): Likewise.
12197 (__uint_least16_t): Likewise.
12198 (__int_least32_t): Likewise.
12199 (__uint_least32_t): Likewise.
12200 (__int_least64_t): Likewise.
12201 (__uint_least64_t): Likewise.
12202 * sysdeps/generic/stdint.h (int_least8_t): Define using
12204 (int_least16_t): Define using __int_least16_t.
12205 (int_least32_t): Define using __int_least32_t.
12206 (int_least64_t): Define using __int_least64_t.
12207 (uint_least8_t): Define using __uint_least8_t.
12208 (uint_least16_t): Define using __uint_least16_t.
12209 (uint_least32_t): Define using __uint_least32_t.
12210 (uint_least64_t): Define using __uint_least64_t.
12211 * wcsmbs/uchar.h: Include <bits/types.h>.
12212 (char16_t): Define using __uint_least16_t conditional only on
12214 (char32_t): Define using __uint_least32_t conditional only on
12216 * wcsmbs/test-char-types.c: New file.
12217 * wcsmbs/Makefile (tests): Add test-char-types.
12219 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
12222 2018-02-07 Zack Weinberg <zackw@panix.com>
12224 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
12225 Delete all contents except for definitions of _G_HAVE_MMAP and
12226 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
12227 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
12228 sysdeps/unix/sysv/linux/_G_config.h. Make same content
12231 * libio/libio.h: Don't include bits/_G_config.h here.
12232 Include stddef.h with __need_wchar_t defined. Include
12233 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
12234 Define _IO_iconv_t here, directly.
12235 Don't define _IO_HAVE_ST_BLKSIZE.
12236 * libio/libioP.h: Include _G_config.h here. Move include of
12237 shlib-compat.h up with rest of includes. Simplify conditionals
12238 controlling definition of _IO_JUMPS_OFFSET.
12240 * csu/init.c: Remove always-true #if around entire file.
12241 Don't include stdio.h. Set _IO_stdin_used to hardwired
12242 constant 0x20001, and update commentary.
12243 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
12244 Replace all uses of _G_va_list with __gnuc_va_list.
12245 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
12246 instead of #if _IO_HAVE_ST_BLKSIZE.
12247 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
12248 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
12251 * libio/bits/libio.h: Move back to libio/libio.h and adjust
12252 multiple-include guard to match.
12253 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
12255 Remove preprocessor conditionals that are always true and/or
12256 redundant to other preprocessor conditionals in the same nest.
12257 Include shlib-compat.h unconditionally.
12258 Error out if _LIBC is not defined, or if _ISOMAC is defined,
12259 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
12260 defined after including stdio.h.
12261 Use __BEGIN_DECLS/__END_DECLS.
12263 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
12264 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
12265 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
12267 2018-02-07 Zack Weinberg <zackw@panix.com>
12269 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
12270 New single-type headers split from _G_config.h.
12271 * libio/bits/types/cookie_io_functions_t.h
12272 * libio/bits/types/struct_FILE.h
12273 New single-type headers split from libio.h.
12275 * libio/Makefile: Install the above new headers. Don't install
12276 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
12278 * libio/_G_config.h, libio/libio.h: Delete file.
12280 * libio/bits/libio.h: Remove improper-inclusion guard.
12281 Include stdio.h and don't repeat anything that it does.
12282 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
12283 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
12284 __io_read_fn as cookie_read_function_t,
12285 __io_write_fn as cookie_write_function_t,
12286 __io_seek_fn as cookie_seek_function_t,
12287 __io_close_fn as cookie_close_function_t,
12288 and _IO_cookie_io_functions_t as cookie_io_functions_t.
12289 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
12290 here, in the "compatibility defines" section. Remove an #if 0
12291 block. Use the "body" macros from bits/types/struct_FILE.h to
12292 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
12293 and _IO_ferror_unlocked.
12294 Move prototypes of __uflow and __overflow...
12296 * libio/stdio.h: ...here. Don't include bits/libio.h.
12297 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
12298 directly from stdarg.h. Include bits/types/__fpos_t.h,
12299 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
12300 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
12301 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
12302 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
12303 cookie_io_functions_t, not _IO_cookie_io_functions_t;
12304 __ssize_t, not _IO_ssize_t. Unconditionally define
12305 BUFSIZ as 8192 and EOF as (-1).
12307 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
12308 macros from bits/types/struct_FILE.h instead of _IO_* macros
12309 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
12310 instead of _IO_ssize_t.
12311 * libio/bits/stdio2.h: Similarly.
12313 * libio/iolibio.h: Add multiple-include guard.
12314 Include bits/libio.h after stdio.h.
12315 * libio/libioP.h: Add multiple-include guard.
12316 Include stdio.h and bits/libio.h before iolibio.h.
12318 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
12319 * include/bits/types/cookie_io_functions_t.h
12320 * include/bits/types/struct_FILE.h: New wrappers.
12322 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
12323 Get definitions of _G_fpos_t and _G_fpos64_t from
12324 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
12325 respectively. Remove improper-inclusion guards.
12327 * conform/data/stdio.h-data: Update expectations of va_list.
12328 * scripts/check-installed-headers.sh: Remove special case for
12329 libio.h and _G_config.h.
12331 2018-02-07 Joseph Myers <joseph@codesourcery.com>
12335 * include/sys/sysmacros.h [!_ISOMAC]
12336 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
12337 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
12338 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
12339 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
12341 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
12342 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
12344 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
12345 Undefine and redefine to add use __gnu_dev_ prefix.
12346 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
12348 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
12349 and define as hidden inline function.
12350 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
12352 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
12354 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
12355 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
12356 (gnu_dev_minor): Likewise.
12357 (gnu_dev_makedev): Likewise.
12358 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
12360 * posix/wordexp.c (exec_comm_child): Likewise.
12361 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
12362 instead of minor and __gnu_dev_major instead of major.
12363 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
12364 __gnu_dev_major instead of major.
12365 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
12366 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
12367 instead of gnu_dev_minor.
12368 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
12369 (SLAVE_P): Likewise.
12370 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
12371 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
12375 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
12377 * locale/weightwc.h (findidx): Likewise.
12379 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
12381 * manual/probes.texi (slowlog): Delete documentation of removed probe.
12382 (slowlog_inexact): Likewise
12383 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
12384 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
12386 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
12389 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
12390 missing second underscore to parameter name.
12392 2018-02-06 Joseph Myers <joseph@codesourcery.com>
12398 * bits/byteswap.h: Update file comment. Do not include
12399 <bits/byteswap-16.h>.
12400 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
12402 (__bswap_16): Define as inline function.
12403 (__bswap_constant_32): Reformat definition.
12404 (__bswap_32): Always define as inline function, not macro, using
12405 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
12406 otherwise __bswap_constant_32.
12407 (__bswap_constant_64): Reformat definition. Do not use
12408 __extension__ here.
12409 (__bswap_64): Always define as inline function, not macro. Use
12410 __extension__ on function definition. Use __builtin_bswap64 if
12411 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
12412 * string/test-endian-file-scope.c: New file.
12413 * string/test-endian-sign-conversion.c: Likewise.
12414 * string/Makefile (headers): Remove bits/byteswap-16.h.
12415 (tests): Add test-endian-file-scope and
12416 test-endian-sign-conversion.
12417 (CFLAGS-test-endian-sign-conversion.c): New variable.
12418 * bits/byteswap-16.h: Remove file.
12419 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
12420 * sysdeps/ia64/bits/byteswap.h: Likewise.
12421 * sysdeps/m68k/bits/byteswap.h: Likewise.
12422 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12423 * sysdeps/s390/bits/byteswap.h: Likewise.
12424 * sysdeps/tile/bits/byteswap.h: Likewise.
12425 * sysdeps/x86/bits/byteswap-16.h: Likewise.
12426 * sysdeps/x86/bits/byteswap.h: Likewise.
12429 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
12430 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
12431 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
12432 199901L] (__restrict): Define to restrict.
12435 * string/testcopy.c: Include <support/support.h>. Do not include
12436 <malloc.h>. Use <support/test-driver.c>.
12437 (main): Rename to do_test. Make static. Use xmalloc instead of
12441 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
12442 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
12443 (SSIZE_MAX): Define to INT_MAX.
12444 * posix/test-ssize-max.c: New file.
12445 * posix/Makefile (tests): Add test-ssize-max.
12448 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
12449 <support/support.h>. Do not include <malloc.h>.
12450 (query_auxv): Use xmalloc instead of malloc.
12453 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
12454 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
12457 2018-02-06 Florian Weimer <fweimer@redhat.com>
12460 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12461 Use scratch_buffer instead of extend_alloca.
12463 2018-02-06 Zack Weinberg <zackw@panix.com>
12465 * libio/stdio.h: Don't define getc or putc as macros.
12466 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
12467 not _IO_getc and _IO_putc.
12469 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
12470 * stdio-common/tstgetln.c: Don't redefine ssize_t.
12472 2018-02-06 Joseph Myers <joseph@codesourcery.com>
12474 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
12475 (TCP_FASTOPEN_NO_COOKIE): Likewise.
12477 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
12480 * elf/elf.h (NT_PRFPREG): New macro.
12481 (NT_S390_VXRS_LOW): Likewise.
12482 (NT_S390_VXRS_HIGH): Likewise.
12483 (NT_S390_GS_CB): Likewise.
12484 (NT_S390_GS_BC): Likewise.
12485 (NT_S390_RI_CB): Likewise.
12487 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12488 (MAP_SYNC): New macro.
12489 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
12491 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12492 (MAP_SYNC): Likewise.
12493 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12494 (MAP_SYNC): Likewise.
12495 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12496 (MAP_SYNC): Likewise.
12497 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12498 (MAP_SYNC): Likewise.
12499 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12500 (MAP_SYNC): Likewise.
12501 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12502 (MAP_SYNC): Likewise.
12503 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
12505 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
12508 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
12509 (MAP_SHARED_VALIDATE): New macro.
12510 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12511 (MAP_SHARED_VALIDATE): Likewise.
12513 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12515 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
12516 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
12517 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
12519 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12521 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
12522 (DT_NUM): Updated to 35.
12524 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12526 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
12527 __builtin_expect with __glibc_likely and __glibc_unlikely.
12528 (elf_machine_rela): Likewise.
12529 (elf_machine_lazy_rel): Likewise.
12531 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
12534 __builtin_expect with __glibc_likely and __glibc_unlikely.
12535 (elf_machine_lazy_rel): Likewise.
12537 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12540 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
12542 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
12544 2018-02-05 Andreas Schwab <schwab@suse.de>
12547 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
12550 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12552 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
12553 not check against PTHREAD_STACK_MIN.
12555 2018-02-02 Sean McKean <smckean83@gmail.com>
12558 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
12560 2018-02-02 Florian Weimer <fweimer@redhat.com>
12563 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
12564 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
12565 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
12566 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
12567 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
12568 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12569 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12570 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
12571 * manual/llio.texi (Scatter-Gather): Mention offset -1.
12572 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
12573 * misc/tst-preadvwritev2.c (do_test): Call it.
12574 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
12576 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12578 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
12580 * benchtests/bench-memcmp.c: Print json instead of plain text.
12582 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
12585 2018-02-01 Joseph Myers <joseph@codesourcery.com>
12587 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12589 (s390_sthyi): New syscall.
12591 * sysdeps/generic/ldbl-classify-compat.h: New file.
12592 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
12593 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
12594 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
12595 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
12596 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
12597 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
12598 * sysdeps/ieee754/dbl-64/s_finite.c: Include
12599 <ldbl-classify-compat.h>.
12600 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12601 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
12602 <ldbl-classify-compat.h>.
12603 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12604 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
12605 <ldbl-classify-compat.h>.
12606 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
12608 <ldbl-classify-compat.h>.
12609 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
12611 <ldbl-classify-compat.h>.
12612 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
12614 <ldbl-classify-compat.h>.
12615 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12616 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
12617 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12618 * sysdeps/m68k/coldfire/math_private.h: Remove file.
12619 * sysdeps/microblaze/math_private.h: Likewise.
12620 * sysdeps/nios2/math_private.h: Likewise.
12621 * sysdeps/sh/math_private.h: Likewise.
12623 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
12624 * sysdeps/m68k/coldfire/math_private.h: ... here.
12625 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
12626 * sysdeps/tile/math_private.h: Likewise.
12627 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
12629 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
12632 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
12634 (libc_fetestexcept): Likewise.
12635 (libc_feupdateenv_test): Likewise.
12636 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
12637 (libc_fetestexcept): Likewise.
12638 (libc_feupdateenv_test): Likewise.
12639 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
12640 (libc_fetestexcept): Likewise.
12641 (libc_feupdateenv_test): Likewise.
12642 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
12643 (libc_fetestexcept): Likewise.
12644 (libc_feupdateenv_test): Likewise.
12646 * sysdeps/generic/math_private.h
12647 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
12648 New inline function.
12649 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
12652 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
12653 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
12654 * sysdeps/generic/math_private.h
12655 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
12657 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
12659 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
12661 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
12663 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
12665 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
12667 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
12668 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
12669 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
12670 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
12671 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
12672 (__fegetenv): Likewise.
12673 (fesetenv): Likewise.
12674 (__fesetenv): Likewise.
12675 (feupdateenv): Likewise.
12676 (__feupdateenv): Likewise.
12677 (fegetround): Likewise.
12678 (__fegetround): Likewise.
12679 (fesetround): Likewise.
12680 (__fesetround): Likewise.
12682 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
12683 (feraiseexcept): New macro.
12684 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
12685 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
12687 (__feraiseexcept): Likewise.
12688 (feclearexcept): Likewise.
12689 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
12690 (__feraiseexcept): Likewise.
12691 (feclearexcept): Likewise.
12692 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
12693 (__feraiseexcept): Likewise.
12694 (feclearexcept): Likewise.
12695 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
12696 (__feraiseexcept): Likewise.
12697 (feclearexcept): Likewise.
12698 (fetestexcept): Likewise.
12700 * sysdeps/m68k/coldfire/math-tests.h: New file.
12702 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
12703 * sysdeps/m68k/bits/fenv.h: ... here.
12704 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
12706 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
12708 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
12710 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
12712 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
12714 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
12716 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
12717 (__FE_UNDEFINED): New enum constant.
12718 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
12720 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
12722 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
12724 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
12725 to match generic bits/fenv.h.
12726 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
12729 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
12731 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
12732 * soft-fp/half.h (union _FP_UNION_H): Likewise.
12733 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
12734 * soft-fp/single.h (union _FP_UNION_S): Likewise.
12736 2018-02-01 Carlos O'Donell <carlos@redhat.com>
12737 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
12738 Joseph Myers <joseph@codesourcery.com>
12741 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
12742 (__log1p): Disable -Wmaybe-uninitialized for -Os around
12743 computation using c.
12744 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
12745 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
12746 computation using c.
12748 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
12750 * version.h (RELEASE): Set to "development".
12751 (VERSION): Set to "2.27.9000".
12752 * NEWS (2.28): New section.
12754 * version.h (RELEASE): Set to "stable".
12755 (VERSION): Set to "2.27".
12756 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
12758 * NEWS: Add the list of bugs fixed in 2.27.
12760 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12762 * stdlib/test-atexit-race-common.c (do_test): Check stack size
12763 against PTHREAD_STACK_MIN.
12765 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
12767 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
12769 (Rafal Luzynski, Andreas Schwab): Update.
12771 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
12774 * NEWS: List the languages which actually use the alternative
12775 months feature in this release. Also explain that "alt_mon" and
12776 "ab_alt_mon" are optional.
12778 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
12781 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
12783 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
12785 * manual/install.texi (Tools for Compilation): Update the newest
12786 versions of gcc, binutils, texinfo, gawk, bison, and sed.
12787 * INSTALL: Regenerated.
12789 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12791 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
12792 instead of __builtin_expect.
12794 2018-01-30 Florian Weimer <fweimer@redhat.com>
12796 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
12798 * nss/tst-nss-getpwent.c (do_test): Likewise.
12800 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
12803 * localedata/locales/hr_HR (mon): Rename to...
12805 (mon): Import from CLDR (genitive case).
12806 (d_t_fmt): Update the comment.
12808 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
12810 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
12811 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
12812 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
12814 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12816 * mach/Versions: Fix version when __mach_host_self_ was added.
12817 * hurd/Versions: Fix version when _hurd_exec_paths was added.
12818 * sysdeps/mach/hurd/i386/ld.abilist: New file.
12819 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
12820 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
12821 * sysdeps/mach/hurd/i386/libc.abilist: New file.
12822 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
12823 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
12824 * sysdeps/mach/hurd/i386/libm.abilist: New file.
12825 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
12826 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
12827 * sysdeps/mach/hurd/i386/librt.abilist: New file.
12828 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
12829 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
12830 || to respect codestyle.
12831 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
12832 (do_test_bz20181): Rename accordingly.
12833 * malloc/malloc.c: Include <assert.h>.
12834 (assert): Do not define.
12835 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
12836 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
12837 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
12838 * sysdeps/mach/hurd/hp-timing.h: New file.
12839 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
12841 2018-01-29 Darius Rad <darius@bluespec.com>
12843 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
12845 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
12847 * sysdeps/init_array/crti.S (.section .init_array): Add
12848 PREINIT_FUNCTION when defined.
12849 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
12850 * config.h.in: Regenerate.
12851 * manual/platform.texi: Add RISC-V documenation for
12852 __riscv_flush_icache.
12853 * sysdeps/riscv/__longjmp.S: New file.
12854 * sysdeps/riscv/backtrace.c: Likewise.
12855 * sysdeps/riscv/bits/endian.h: Likewise.
12856 * sysdeps/riscv/bits/setjmp.h: Likewise.
12857 * sysdeps/riscv/bits/wordsize.h: Likewise.
12858 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
12859 * sysdeps/riscv/bsd-setjmp.c: Likewise.
12860 * sysdeps/riscv/dl-trampoline.S: Likewise.
12861 * sysdeps/riscv/gccframe.h: Likewise.
12862 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
12863 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
12864 * sysdeps/riscv/machine-gmon.h: Likewise.
12865 * sysdeps/riscv/memusage.h: Likewise.
12866 * sysdeps/riscv/setjmp.S: Likewise.
12867 * sysdeps/riscv/sys/asm.h: Likewise.
12868 * sysdeps/riscv/tls-macros.h: Likewise.
12869 * sysdeps/riscv/dl-tls.h: New file.
12870 * sysdeps/riscv/libc-tls.c: Likewise.
12871 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
12872 * sysdeps/riscv/nptl/tls.h: Likewise.
12873 * sysdeps/riscv/stackinfo.h: Likewise.
12874 * sysdeps/riscv/bits/fenv.h: New file.
12875 * sysdeps/riscv/e_sqrtl.c: Likewise.
12876 * sysdeps/riscv/fpu_control.h: Likewise.
12877 * sysdeps/riscv/math-tests.h: Likewise.
12878 * sysdeps/riscv/nofpu/Implies: Likewise.
12879 * sysdeps/riscv/sfp-machine.h: Likewise.
12880 * sysdeps/riscv/tininess.h: Likewise.
12881 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
12882 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12883 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
12884 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
12885 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
12886 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
12887 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12888 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12889 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12890 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12891 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12892 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
12893 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
12894 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
12895 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
12896 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
12897 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12898 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12899 * sysdeps/riscv/rvd/s_fma.c: Likewise.
12900 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12901 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12902 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12903 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12904 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12905 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12906 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
12907 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
12908 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
12909 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
12910 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12911 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12912 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12913 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
12914 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
12915 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12916 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12917 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12918 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
12919 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
12920 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12921 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
12922 * sysdeps/riscv/rvf/math_private.h: Likewise.
12923 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12924 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12925 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12926 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12927 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
12928 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12929 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12930 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12931 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12932 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12933 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12934 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12935 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12936 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12937 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12938 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12939 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
12940 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
12941 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
12942 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
12943 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
12944 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
12945 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
12946 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
12947 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
12948 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
12949 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
12950 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
12951 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
12952 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
12953 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
12954 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
12955 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12956 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
12957 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
12958 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
12959 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
12960 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
12961 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
12962 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
12963 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
12964 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
12965 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
12966 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
12967 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
12968 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
12969 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12970 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
12971 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
12972 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
12973 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
12974 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
12975 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
12976 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
12977 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
12978 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
12979 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
12980 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
12981 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
12982 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
12983 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12991 * sysdeps/riscv/Implies: New file.
12992 * sysdeps/riscv/Makefile: Likewise.
12993 * sysdeps/riscv/configure: Likewise.
12994 * sysdeps/riscv/configure.ac: Likewise.
12995 * sysdeps/riscv/nptl/Makefile: Likewise.
12996 * sysdeps/riscv/preconfigure: Likewise.
12997 * sysdeps/riscv/rv64/Implies-after: Likewise.
12998 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
12999 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
13000 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
13001 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
13002 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
13003 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
13004 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
13005 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
13006 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
13007 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
13008 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
13009 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
13010 (Config): Likewise.
13012 2018-01-29 Florian Weimer <fweimer@redhat.com>
13015 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
13016 libnsl_hidden_proto.
13017 * include/rpcsvc/yp.h (yp_xdrall): Declare with
13018 libnsl_hidden_proto.
13019 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
13020 * nis/Makefile (libnsl-routines): Add nss-default only for
13021 build-obsolete-nsl.
13022 * nis/nis_defaults.c (__nis_default_ttl): Add
13023 libnsl_hidden_nolink_def.
13024 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
13026 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
13027 * nis/ypclnt.c (yp_maplist): Likewise.
13029 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
13031 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13032 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
13034 2018-01-29 Joseph Myers <joseph@codesourcery.com>
13036 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
13037 clean -dxfq for git updates when replacing sources.
13039 * scripts/build-many-glibcs.py (Config.build_gcc): Use
13040 --disable-libcilkrts unconditionally, not just for the final GCC
13043 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13046 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13049 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
13052 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13055 * localedata/locales/be_BY (mon): Rename to...
13056 (alt_mon): This, then synchronize with CLDR (nominative case).
13057 (abmon): Rename to...
13058 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13059 (mon): Import from CLDR (genitive case).
13061 * localedata/locales/be_BY@latin (mon): Rename to...
13063 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
13065 * localedata/locales/be_BY@latin (lang_name): Reworded to
13066 "biełaruskaja mova".
13068 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13071 * localedata/locales/el_CY (mon): Renamed to...
13073 (mon): Import from CLDR (genitive case).
13074 * localedata/locales/el_GR: Likewise.
13076 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13079 * localedata/locales/ru_RU (mon): Rename to...
13081 (abmon): Rename to...
13082 (ab_alt_mon): This.
13083 (mon): Import from CLDR (genitive case).
13084 (abmon): Copy from the old content except the 5th month which is
13085 now in the genitive case, even when abbreviated.
13086 * localedata/locales/ru_UA: Likewise.
13087 * time/tst-strptime.c (day_tests): Add an actual example of
13088 a difference between %b and %Ob in Russian.
13090 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13092 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
13093 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
13095 * resolv/res-close.c: Include <stdlib.h>.
13096 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
13097 <sys/wait.h>, <time.h>, <sys/uio.h>.
13098 (NOT_CANCEL_H): Add inclusion guard.
13099 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
13100 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
13101 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
13103 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
13104 vm_address_t * to ElfW(Addr) * for dl_main parameter.
13105 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
13107 * sysdeps/pthread/timer_create.c (timer_create): Do not use
13108 timer_ptr2id to cast struct timer_node * to void *.
13109 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
13110 --disable-libcilkrts to gcc configure.
13111 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
13112 and make them the default for now.
13113 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
13114 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
13115 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
13116 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
13117 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
13119 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
13120 __task_terminate would ever return successfully.
13121 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
13123 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
13124 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
13125 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
13126 critical section to make code simpler and avoid warning.
13127 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
13128 critical section to make code simpler and avoid warning.
13129 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
13130 const char * instead of char *.
13131 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
13132 __hurd_file_name_split, hurd_file_name_split,
13133 __hurd_directory_name_split, hurd_directory_name_split,
13134 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
13135 hurd_file_name_path_lookup): Make lookup function parameter take a
13136 const char *name instead of char *name.
13137 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
13138 __hurd_directory_name_split): Likewise.
13139 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
13140 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
13141 * sysdeps/mach/hurd/check_native.c: New file.
13142 * sysdeps/mach/hurd/check_pf.c: New file.
13143 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
13144 (__freeifaddrs): Define macro to freeifaddrs.
13145 * sysdeps/mach/hurd/libhurduser.abilist: New file.
13146 * sysdeps/mach/libmachuser.abilist: New file.
13147 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
13148 (do_test_bz20181): Rename accordingly.
13149 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
13150 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
13152 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
13153 version only if __USE_EXTERN_INLINES is defined.
13154 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
13155 __hurd_sockfail): Likewise.
13156 (_hurd_fd_get): Always declare functions, and provide inline versions
13157 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
13158 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
13159 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
13160 _hurd_port_set): Always declare functions, and provide inline versions
13161 only if __USE_EXTERN_INLINES and _LIBC are defined and
13163 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
13164 _hurd_critical_section_unlock): Likewise.
13165 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
13166 * __hurd_threadvar_location): Likewise.
13167 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
13168 _hurd_userlink_clear): Likewise.
13169 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
13170 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
13171 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
13172 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
13173 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
13174 __spin_lock_locked): Likewise.
13175 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
13176 __spin_lock_locked): Likewise.
13177 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
13178 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
13179 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
13180 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
13181 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
13182 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
13183 _POSIX_NO_TRUNC): Define to 0.
13184 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
13185 check size against PTHREAD_STACK_MIN.
13186 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
13187 IS_IN(libpthread)]: Include <sigsetops.h>.
13188 * mach/Makefile (user-interfaces): Add mach/gnumach.
13189 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
13190 * sysdeps/mach/configure (mach_interface_list): Regenerate.
13191 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
13192 instead of invalid -1.
13193 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
13194 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
13195 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
13198 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
13200 * hurd/fcntl-internal.h: New file.
13202 2018-01-27 James Clarke <jrtc27@jrtc27.com>
13204 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13206 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13208 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
13211 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
13212 Build only shared objects.
13214 2018-01-26 Carlos O'Donell <carlos@redhat.com>
13216 * README: Update for hppa.
13218 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13220 * sysdeps/sparc/fpu/libm-test-ulps: Update
13221 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
13223 2018-01-26 Carlos O'Donell <carlos@redhat.com>
13227 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
13230 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13231 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
13232 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13233 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
13236 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
13239 * bits/types/__cancel_jmp_buf_tag.h: New file.
13240 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
13241 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
13242 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
13243 * nptl/Makefile (headers): Add
13244 bits/types/__cancel_jmp_buf_tag.h.
13245 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
13246 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
13247 * sysdeps/nptl/pthread.h: Include
13248 <bits/types/__cancel_jmp_buf_tag.h>.
13249 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
13251 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
13253 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13256 * localedata/locales/uk_UA (mon): Renamed to...
13258 (alt_digits): "0" removed and then renamed to...
13260 (date_fmt): Definition changed not to use the alternative
13263 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
13265 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
13266 FLAG_RISCV_FLOAT_ABI_DOUBLE.
13267 * elf/elf.h (EF_RISCV_RVC): New define.
13268 (EF_RISCV_FLOAT_ABI): Likewise.
13269 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
13270 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
13271 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
13272 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
13273 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
13275 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
13277 2018-01-25 Andreas Schwab <schwab@suse.de>
13279 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
13281 * sysdeps/gnu/configure: Regenerate.
13282 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13283 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13285 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13286 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13287 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
13288 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13289 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13291 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13293 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
13294 URL, and run autoconf, make it the default for now.
13296 2018-01-24 Joseph Myers <joseph@codesourcery.com>
13298 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13299 soft-float ColdFire configuration.
13301 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
13302 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
13303 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
13305 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
13308 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
13310 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
13312 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
13315 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
13316 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
13317 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
13320 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13323 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
13324 Rename to __reserved and add comment.
13325 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
13326 Rename to __reserved.
13328 2018-01-24 Joseph Myers <joseph@codesourcery.com>
13330 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13331 i686-gnu configurations.
13332 (Context.run_builds): Include mig, gnumach and hurd in components
13334 (Context.checkout): Add mig, gnumach and hurd to components.
13335 (Context.checkout_tar): Add URL mappings for mig, gnumach and
13337 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
13338 (Config.build): Install gnumach headers, build mig and install
13339 hurd headers for 'gnu' OS.
13340 (Config.install_gnumach_headers): New function.
13341 (Config.install_hurd_headers): Likewise.
13342 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
13343 when building for 'gnu' OS.
13345 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
13347 * manual/tunables.texi (Hardware Capability Tunables): Fix
13350 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
13352 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
13353 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
13354 (ALTMON_11, ALTMON_12): Improve documentation.
13355 * manual/time.texi (strftime): Likewise.
13357 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13360 * localedata/locales/pl_PL: Alternative month names added,
13361 primary month names are genitive now.
13362 * time/tst-strptime.c (day_tests): Actually use a genitive case
13363 of a month name in Polish language.
13365 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13368 * manual/locale.texi: Document ALTMON_1..12 constants for
13369 nl_langinfo. Specify when to use ALTMON instead of MON.
13370 * manual/time.texi (strftime, strptime): Document GNU extension
13371 permitting O modifier with %B and %b. Specify when to use
13374 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13377 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
13378 names, define them as the same as abbreviated month names explicitly.
13379 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
13380 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
13381 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
13382 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
13383 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
13384 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
13385 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
13386 _NL_WABALTMON_12): New enum constants.
13387 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
13388 wab_alt_mon, and ab_alt_mon_defined members.
13389 (time_output): Output ab_alt_mon and wab_alt_mon members.
13390 (time_read): Read them, initialize them as copies of abmon and wabmon
13391 respectively if they are missing, initialize ab_alt_mon_defined.
13392 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
13393 * locale/programs/locfile-kw.h: Regenerate.
13394 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
13395 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
13397 * time/strftime_l.c (a_altmonth, aam_len): New macros.
13398 [!COMPILE_WIDE] (ABALTMON_1): New macro.
13399 (__strftime_internal): Handle %Ob and %Oh formats.
13400 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
13401 (__strptime_internal): Handle %Ob and %Oh formats.
13402 * time/tst-strptime.c (day_tests): Add more tests to parse different
13403 forms of month names including the new %Ob format specifier.
13405 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13408 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
13409 define them as the same as primary full month names explicitly.
13410 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
13411 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
13412 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
13413 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
13414 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
13415 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
13416 _NL_WALTMON_12): New enum constants.
13417 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
13418 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
13420 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
13421 walt_mon, and alt_mon_defined members.
13422 (time_output): Output alt_mon and walt_mon members.
13423 (time_read): Read them, initialize them as copies of mon and wmon
13424 respectively if they are missing, initialize alt_mon_defined.
13425 * locale/programs/locfile-kw.gperf (alt_mon): Define.
13426 * locale/programs/locfile-kw.h: Regenerate.
13427 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
13428 * localedata/tst-langinfo.c (map): Add tests for the new constants
13429 ALTMON_1 .. ALTMON_12.
13430 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
13432 * time/strftime_l.c (f_altmonth): New macro.
13433 (__strftime_internal): Handle %OB format.
13434 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
13435 (__strptime_internal): Handle %OB format.
13436 * time/tst-strptime.c (day_tests): Add tests to parse different forms
13437 of month names including the new %OB format specifier.
13439 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13442 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
13443 from ABORT_TRANSACTION.
13444 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
13445 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
13446 ABORT_TRANSACTION_IMPL): Likewise.
13447 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
13448 Linux code, but remove the code that aborts transactions.
13450 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13452 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
13454 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
13456 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
13457 in date: "2004-14-09" should be "2004-09-14".
13458 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
13459 "2003-15-09" should be "2003-09-15".
13461 2018-01-18 Arjun Shankar <arjun@redhat.com>
13467 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
13469 (_int_memalign): check for integer overflow before calling
13471 * malloc/tst-malloc-too-large.c: New test.
13472 * malloc/Makefile: Add tst-malloc-too-large.
13474 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
13476 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
13477 in date: "2017-24-07" should be "2017-07-24".
13478 * localedata/locales/mai_IN: Likewise.
13479 * localedata/locales/mai_NP: Likewise.
13481 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
13483 * po/ru.po: Update translations.
13485 2018-01-17 Joseph Myers <joseph@codesourcery.com>
13488 * sysdeps/hppa/backtrace.c: New file.
13490 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
13493 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
13494 align La_x86_64_retval to VEC_SIZE.
13496 2018-01-16 Joseph Myers <joseph@codesourcery.com>
13498 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
13499 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
13501 2018-01-16 Florian Weimer <fweimer@redhat.com>
13503 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
13504 Move tst-thread-exit-clobber ...
13505 [$(CXX)] (tests-unsupported): ... to here.
13507 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
13509 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
13510 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
13511 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
13512 (_dl_aarch64_cap_flags): Update.
13513 (_DL_HWCAP_COUNT): Update.
13515 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
13517 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
13518 (_DL_HWCAP_LAST): Remove.
13519 (_DL_HWCAP_COUNT): Move to ...
13520 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
13521 (_DL_HWCAP_COUNT): ... here.
13523 2018-01-16 Florian Weimer <fweimer@redhat.com>
13525 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
13526 mode with GNU extensions.
13528 2018-01-15 Alan Hayward <alan.hayward@arm.com>
13530 * elf/elf.h (NT_ARM_SVE): Define.
13532 2018-01-15 Florian Weimer <fweimer@redhat.com>
13535 * nptl/tst-minstack-throw.cc: New file.
13536 * nptl/Makefile (tests): Add tst-minstack-throw.
13537 (LDLIBS-tst-minstack-throw): Link with libstdc++.
13538 [!CXX] (tests-unsupported): Add tst-minstack-throw.
13540 2018-01-15 Joseph Myers <joseph@codesourcery.com>
13542 * scripts/build-many-glibcs.py (Context.checkout): Default
13543 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
13546 2018-01-13 Carlos O'Donell <carlos@redhat.com>
13549 * elf/elf.h (DF_1_STUB): Define.
13550 (DF_1_PIE): Define.
13552 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13555 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
13556 Do not add 0.5 to integer or out-of-range arguments.
13558 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
13560 * po/bg.po: Update translations.
13561 * po/cs.po: Likewise.
13562 * po/de.po: Likewise.
13563 * po/ko.po: Likewise.
13564 * po/pl.po: Likewise.
13565 * po/sv.po: Likewise.
13566 * po/uk.po: Likewise.
13567 * po/vi.po: Likewise.
13569 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13571 * aarch64/start.S (_start): Use __wrap_main.
13572 (__wrap_main): New local symbol.
13574 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
13578 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
13579 generic_getcwd if the path returned by getcwd syscall is not absolute.
13580 * io/tst-getcwd-abspath.c: New test.
13581 * io/Makefile (tests): Add tst-getcwd-abspath.
13583 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
13585 * malloc/malloc.c (malloc_consolidate): Add size check.
13587 2018-01-12 Florian Weimer <fweimer@redhat.com>
13589 * support/write_message.c (write_message): Preserve errno.
13590 * support/check.c (print_failure): Likewise.
13591 * support/support_test_verify_impl.c (support_test_verify_impl):
13593 * support/support_test_compare_failure.c
13594 (support_test_compare_failure): Likewise.
13596 2018-01-12 Florian Weimer <fweimer@redhat.com>
13599 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
13600 Prevent installation of libnsl.so.
13601 (libnsl-inhibit-o): Do not build (or install) static libraries.
13603 2018-01-12 Egmont Koblinger <egmont@gmail.com>
13606 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
13607 before the day number which may produce a double space.
13608 (date_fmt): Likewise.
13610 2018-01-12 Joseph Myers <joseph@codesourcery.com>
13612 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
13613 instead of fegetenv.
13615 2018-01-11 Joseph Myers <joseph@codesourcery.com>
13618 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
13619 comment to say exceptions are discarded.
13620 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
13622 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
13625 2018-01-11 Florian Weimer <fweimer@redhat.com>
13627 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
13630 2018-01-11 Florian Weimer <fweimer@redhat.com>
13633 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
13634 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
13636 2018-01-10 Joseph Myers <joseph@codesourcery.com>
13639 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
13640 negative arguments in test for NaN or infinity argument.
13642 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
13644 * po/libc.pot: Regenerate.
13646 2018-01-10 Florian Weimer <fweimer@redhat.com>
13649 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
13650 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
13652 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13654 * hurd/hurd/fd.h: Include <fcntl.h>
13655 (__hurd_at_flags): New function.
13656 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
13657 with call to __hurd_at_flags.
13658 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
13659 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
13661 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
13662 (__access_noerrno): Use __faccessat_common instead of access_common.
13663 (__access): Likewise.
13664 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
13665 with a call to __faccessat.
13666 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
13667 (__faccessat_common): ... this. Move implementation of __access into it when
13668 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
13669 reauthenticate_cwdir_at helper to implement AT mechanism.
13670 (__faccessat_noerrno): New function, just calls __faccessat_common.
13671 (__faccessat): New function, just calls __faccessat_common.
13672 (faccessat): Define weak alias.
13674 2018-01-10 Joseph Myers <joseph@codesourcery.com>
13677 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13678 (CFLAGS-s_fmaxmagl.c): New variable.
13679 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
13683 long int for arguments of possibly overflowing addition or
13685 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13687 2018-01-09 Joseph Myers <joseph@codesourcery.com>
13690 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13691 (CFLAGS-e_remainderl.c): New variable.
13694 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
13696 (CFLAGS-s_cacoshl.c): Likewise.
13697 (CFLAGS-s_casinhl.c): Likewise.
13698 (CFLAGS-s_catanl.c): Likewise.
13699 (CFLAGS-s_catanhl.c): Likewise.
13700 (CFLAGS-s_cexpl.c): Likewise.
13701 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
13702 (CFLAGS-s_csinhl.c): Likewise.
13703 (CFLAGS-s_clogl.c): Likewise.
13704 (CFLAGS-s_clog10l.c): Likewise.
13705 (CFLAGS-s_csinl.c): Likewise.
13706 (CFLAGS-s_csqrtl.c): Likewise.
13708 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
13709 2017-01-09 Svante Signell <svante.signell@gmail.com>
13711 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
13712 (_hurd_exec_paths): New function.
13713 * hurd/hurd.h (_hurd_exec): Deprecate function.
13714 (_hurd_exec_paths): Declare function.
13715 * hurd/Versions: Export _hurd_exec_paths.
13716 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
13717 (__execve): Use __getcwd to build absolute path, and use
13718 _hurd_exec_paths instead of _hurd_exec.
13719 * sysdeps/mach/hurd/spawni.c: Likewise.
13720 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
13723 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
13725 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
13726 test instead of failing in case of ENOENT returned by posix_openpt.
13728 2018-01-08 Florian Weimer <fweimer@redhat.com>
13730 resolv: Support binary labels in test framework.
13731 * support/resolv_test.c (struct to_be_freed): Remove.
13732 (struct compressed_name): New.
13733 (allocate_compressed_name, ascii_tolower)
13734 (compare_compressed_name): New functions.
13735 (struct resolv_response_builder): Update type of
13736 compression_offsets for use with tsearch. Rempve to_be_freed.
13737 (response_push_pointer_to_free): Remove function.
13738 (resolv_response_add_name): Rewrite using struct compressed_name
13739 and tsearch instead of hsearch_r.
13740 (response_builder_allocate): Remove initialization of
13741 compression_offsets.
13742 (response_builder_free): Update for removal of to_be_freed. Use
13743 tdestroy instead of hdestroy_r.
13744 * resolv/Makefile (tests): Add tst-resolv-binary.
13745 (tst-resolv-binary): Link with -lresolv -lpthread.
13747 2018-01-08 Florian Weimer <fweimer@redhat.com>
13749 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
13750 time. Pass positive flag instead of negative flag to
13751 support_test_compare_failure.
13752 (support_test_compare_failure): Change negative parameter to
13754 * support/support_test_compare_failure.c (report)
13755 (support_test_compare_failure): Likewise.
13756 * support/tst-test_compare.c (return_ssize_t, return_int): New.
13757 (do_test): Check int/size_t, ssize_t/size_t comparisons.
13759 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
13762 * nptl/descr.h (stackblock, stackblock_size): Update comments.
13763 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
13764 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
13766 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13768 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
13770 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13771 Add s_sincosf-sse2 and s_sincosf-fma.
13772 (CFLAGS-s_sincosf-fma.c): New.
13773 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
13774 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
13775 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
13776 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
13777 __sincosf is defined.
13779 2018-01-08 Florian Weimer <fweimer@redhat.com>
13781 * nptl/tst-thread-exit-clobber.cc: New file.
13782 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
13784 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
13785 (tests): Add tst-thread-exit-clobber.
13786 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
13788 2018-01-08 Florian Weimer <fweimer@redhat.com>
13790 * support/check.h (support_static_assert): Define.
13791 (TEST_COMPARE): Use it.
13793 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
13795 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
13796 [!__RLIM_T_MATCHES_RLIM64_T]
13797 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
13798 __getrlimit64. Add libc_hidden_weak.
13800 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
13802 * elf/elf.h (R_RISCV_NONE): New define.
13803 (R_RISCV_32): Likewise.
13804 (R_RISCV_64): Likewise.
13805 (R_RISCV_RELATIVE): Likewise.
13806 (R_RISCV_COPY): Likewise.
13807 (R_RISCV_JUMP_SLOT): Likewise.
13808 (R_RISCV_TLS_DTPMOD32): Likewise.
13809 (R_RISCV_TLS_DTPMOD64): Likewise.
13810 (R_RISCV_TLS_DTPREL32): Likewise.
13811 (R_RISCV_TLS_DTPREL64): Likewise.
13812 (R_RISCV_TLS_TPREL32): Likewise.
13813 (R_RISCV_TLS_TPREL64): Likewise.
13814 * Makerules (make-link-multidir): Make directories before linking into
13816 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
13818 (VDSO_HASH_LINUX_4_15): Likewise.
13819 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
13820 in subdirectories of lib.
13821 * nptl/Makefile (/librt.so): Always depend on
13822 "$(shared-thread-library)".
13824 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13826 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
13827 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
13828 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
13830 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
13831 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
13833 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
13834 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
13835 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
13836 * sysdeps/gnu/glob-lstat-compat.c: New file.
13837 * sysdeps/gnu/glob64-lstat-compat.c: New file.
13838 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
13840 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13842 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
13843 Reserve 16 chars to reloc_addr before calling _itoa_word.
13845 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13848 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
13849 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
13851 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
13852 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
13854 * resource/tst-getrlimit.c: Add copyright header.
13856 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13857 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13859 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
13860 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
13861 Define __GI_getrlimit64 as weak alias of __getrlimit64.
13862 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
13864 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
13865 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
13866 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
13867 RLIM64_INFINITY): Fix values to match the kernel ones.
13868 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
13869 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
13870 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
13871 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
13872 getrlimit64@@GLIBC_2_27.
13873 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
13875 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
13876 getrlimit, setrlimit, getrlimit64 and setrlimit64.
13877 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
13878 setrlimit, getrlimit64 and setrlimit64.
13880 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13883 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
13884 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
13886 2018-01-04 Joseph Myers <joseph@codesourcery.com>
13888 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
13889 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
13890 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
13892 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13896 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
13897 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
13901 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
13902 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
13903 * sysdeps/alpha/fpu/s_floor.c: Likewise.
13904 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
13906 2018-01-04 Florian Weimer <fweimer@redhat.com>
13909 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13910 Align the stack before calling exit.
13911 * stdlib/tst-makecontext-align.c: New file.
13912 * stdlib/Makefile (tests): Add tst-makecontext-align.
13914 2018-01-04 Florian Weimer <fweimer@redhat.com>
13916 Add support for calling dlvsym from libc.so.
13917 * include/dlfcn.h (__libc_dlvsym): Declare.
13918 * elf/Makefile (tests-static-internal): Add
13919 tst-libc_dlvsym-static.
13920 (tests-internal): Add tst-libc_dlvsym.
13921 (modules-names): Add tst-libc_dlvsym-dso.
13922 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
13923 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
13924 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
13925 object tst-libc_dlvsym-dso.so needs to be built before running
13927 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
13928 * elf/Versions: Export __libc_dlvsym.
13929 * elf/dl-libc.c (struct do_dlvsym_args): New.
13930 (do_dlvsym, __libc_dlvsym): New functions.
13931 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
13932 (_dl_open_hook2): New variable.
13933 (__libc_register_dl_open_hook): Set it.
13934 * elf/tst-libc_dlvsym-dso.c: New file.
13935 * elf/tst-libc_dlvsym-static.c: Likewise.
13936 * elf/tst-libc_dlvsym.c: Likewise.
13937 * elf/tst-libc_dlvsym.h: Likewise.
13939 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13941 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
13942 include <sys/mount.h>.
13944 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
13946 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
13947 Add __NO_MATH_ERRNO__ check.
13949 2018-01-02 Joseph Myers <joseph@codesourcery.com>
13951 * sysdeps/mips/mips32/libm-test-ulps: Update.
13952 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13954 2018-01-02 Florian Weimer <fweimer@redhat.com>
13956 * misc/tst-pselect.c: Add copyright header.
13958 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
13960 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
13962 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
13964 (settrlimit): Rename into setrlimit.
13965 (__sttrlimit): Rename into __setrlimit.
13967 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
13968 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
13969 never defined in that case.
13971 2018-01-02 Joseph Myers <joseph@codesourcery.com>
13973 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13975 * sysdeps/arm/libm-test-ulps: Update.
13977 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
13978 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
13980 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13982 * NEWS: Add cosf and sincosf to list of optimized functions.
13984 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
13987 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
13988 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
13989 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
13990 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
13992 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
13995 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
13997 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
13998 making a copy of it.
14000 2018-01-01 Joseph Myers <joseph@codesourcery.com>
14002 * manual/texinfo.tex: Update to version 2017-12-26.21 with
14003 trailing whitespace removed.
14004 * scripts/config.guess: Update to version 2018-01-01.
14005 * scripts/config.sub: Update to version 2018-01-01.
14006 * scripts/move-if-change: Update from gnulib.
14008 * NEWS: Update copyright dates.
14009 * catgets/gencat.c (print_version): Likewise.
14010 * csu/version.c (banner): Likewise.
14011 * debug/catchsegv.sh: Likewise.
14012 * debug/pcprofiledump.c (print_version): Likewise.
14013 * debug/xtrace.sh (do_version): Likewise.
14014 * elf/ldconfig.c (print_version): Likewise.
14015 * elf/ldd.bash.in: Likewise.
14016 * elf/pldd.c (print_version): Likewise.
14017 * elf/sotruss.sh: Likewise.
14018 * elf/sprof.c (print_version): Likewise.
14019 * iconv/iconv_prog.c (print_version): Likewise.
14020 * iconv/iconvconfig.c (print_version): Likewise.
14021 * locale/programs/locale.c (print_version): Likewise.
14022 * locale/programs/localedef.c (print_version): Likewise.
14023 * login/programs/pt_chown.c (print_version): Likewise.
14024 * malloc/memusage.sh (do_version): Likewise.
14025 * malloc/memusagestat.c (print_version): Likewise.
14026 * malloc/mtrace.pl: Likewise.
14027 * manual/libc.texinfo: Likewise.
14028 * nptl/version.c (banner): Likewise.
14029 * nscd/nscd.c (print_version): Likewise.
14030 * nss/getent.c (print_version): Likewise.
14031 * nss/makedb.c (print_version): Likewise.
14032 * posix/getconf.c (main): Likewise.
14033 * scripts/test-installation.pl: Likewise.
14034 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14036 * All files with FSF copyright notices: Update copyright dates
14037 using scripts/update-copyrights.
14038 * locale/programs/charmap-kw.h: Regenerated.
14039 * locale/programs/locfile-kw.h: Likewise.
14041 2017-12-31 Zack Weinberg <zackw@panix.com>
14043 * libio/bits/libio-ldbl.h: Correct check for improper
14044 inclusion. Add own multiple include guard.
14046 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
14047 Dmitry V. Levin <ldv@altlinux.org>
14051 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
14052 string token expansion. Check for NULL pointer or empty string possibly
14053 returned by expand_dynamic_string_token.
14054 (decompose_rpath): Check for empty path after dynamic string
14057 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
14060 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
14062 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
14063 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
14064 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
14065 and PTRACE_SYSCALL.
14066 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
14067 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14068 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14069 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14071 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14073 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
14074 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14075 __ptrace_peeksiginfo_flags, ptrace): Move to ...
14076 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
14077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14078 bits/ptrace-shared.h.
14079 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
14080 <bits/ptrace-shared.h>.
14081 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14082 __ptrace_peeksiginfo_flags, ptrace): Remove.
14083 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14085 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14087 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14089 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14092 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
14093 end of the loop. Improve comments.
14095 2017-12-29 Zack Weinberg <zackw@panix.com>
14098 * manual/errno.texi (Checking for Errors): Explicitly say that errno
14099 might be set on success.
14101 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14104 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
14105 is unchanged on success.
14107 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
14109 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
14111 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
14112 expand_dynamic_string_token): Likewise.
14113 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
14116 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
14119 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
14120 is set and name contains ':', and all code depending on these checks.
14122 2017-12-24 Zack Weinberg <zackw@panix.com>
14124 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
14125 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
14127 * libio/libio.h: Rename the original version of this file to
14128 libio/bits/libio.h. Error out if not included by stdio.h or the
14130 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
14131 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
14132 if not included by bits/libio.h or the stub _G_config.h.
14133 * sysdeps/unix/sysv/linux/_G_config.h: Move to
14134 sysdeps/unix/sysv/linux/bits. Error out if not included by
14135 bits/libio.h or the stub _G_config.h.
14136 * libio/stdio.h: Include bits/libio.h, not libio.h.
14137 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
14138 well as libio.h and _G_config.h.
14140 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
14141 * libio/strfile.h, stdio-common/vfscanf.c
14142 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
14143 Include stdio.h, not _G_config.h nor libio.h.
14144 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
14145 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
14147 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
14149 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
14152 * stdlib/getrandom.c (getrandom): Fix comment.
14153 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
14155 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
14158 * manual/arith.texi (strtoul): Fix a typo.
14161 * manual/arith.texi (finite): Fix the description of the return
14164 2017-12-22 Eric Blake <ebb9@byu.net>
14166 Avoid gcc warnings on cygwin
14167 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
14168 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
14169 Avoid unused variable.
14171 2017-12-22 Florian Weimer <fweimer@redhat.com>
14173 * io/Makefile (routines): Add copy_file_range.
14174 (tests): Add tst-copy_file_range.
14175 (tests-static, tests-internal): Add tst-copy_file_range-compat.
14176 * io/Versions (GLIBC_2.27): Export copy_file_range.
14177 * io/copy_file_range-compat.c: New file.
14178 * io/copy_file_range.c: Likewise.
14179 * io/tst-copy_file_range-compat.c: Likewise.
14180 * io/tst-copy_file_range.c: Likewise.
14181 * manual/llio.texi (Copying File Data): New section.
14182 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
14183 * support/Makefile (libsupport-routines): Add support-xfstat,
14184 xftruncate, xlseek.
14185 * support/support-xfstat.c: New file.
14186 * support/xftruncate.c: Likewise.
14187 * support/xlseek.c: Likewise.
14188 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
14189 * sysdeps/unix/sysv/linux/**.abilist: Update.
14190 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
14192 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
14194 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14195 disable-multi-arch variant to aarch64-linux-gnu.
14197 2017-12-20 Joseph Myers <joseph@codesourcery.com>
14199 * manual/texinfo.tex: Update to version 2017-12-18.20 with
14200 trailing whitespace removed.
14201 * scripts/config.guess: Update to version 2017-12-17.
14202 * scripts/config.sub: Update to version 2017-11-23.
14203 * scripts/install-sh: Update to version 2017-09-23.17.
14204 * scripts/move-if-change: Update to version 2017-09-13 06:45.
14206 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14208 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
14209 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14210 * sysdeps/tile/_mcount.S (__mcount): Likewise.
14211 * sysdeps/tile/crti.S (_init, _fini): Likewise.
14212 * sysdeps/tile/crtn.S: Likewise.
14213 * sysdeps/tile/dl-start.S (_start): Likewise.
14214 * sysdeps/tile/dl-trampoline.S: Likewise.
14215 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
14216 * sysdeps/tile/start.S (_start): Likewise.
14217 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
14218 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
14219 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
14220 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
14221 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
14222 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
14223 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
14225 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
14227 * sysdeps/tile/preconfigure: Remove tilegx folder.
14228 * sysdeps/tile/tilegx/Implies: Move definitions to ...
14229 * sysdeps/tile/Implies: ... here.
14230 * sysdeps/tile/tilegx/Makefile: Move rules to ...
14231 * sysdeps/tile/Makefile: ... here.
14232 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
14233 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
14234 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
14235 * sysdeps/tile/bits/wordsize.h: ... here.
14236 * sysdeps/tile/tilegx/*: Move to ...
14237 * sysdeps/tile/*: ... here.
14238 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
14239 * sysdeps/tile/tilegx32/Implies: ... here.
14240 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
14241 * sysdeps/tile/tilegx64/Implies: ... here.
14242 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
14244 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14245 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
14246 * sysdeps/unix/sysv/linux/tile/*: ... here.
14247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
14248 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
14249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
14250 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
14252 * README: Remove tilepro-*-linux-gnu from supported architecture.
14253 * scripts/build-many-glibcs.py: Likewise.
14254 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14255 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
14256 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
14257 elf_machine_matches_host, elf_machine_dynamic,
14258 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
14259 howto, elf_machine_rela): Likewise.
14260 * sysdeps/tile/dl-start.S (_start): Likewise.
14261 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
14262 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
14263 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
14264 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
14265 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
14266 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14268 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
14269 * sysdeps/tile/preconfigure: Likewise.
14270 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
14271 POINTER_CHK_GUARD): Likewise.
14272 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
14273 * sysdeps/tile/start.S (_start): Likewise.
14274 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
14276 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
14277 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
14279 * sysdeps/unix/sysv/linux/tile/bits/environments.h
14280 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
14281 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
14283 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
14284 * sysdeps/tile/tilepro/Implies: Remove file.
14285 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
14286 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14287 * sysdeps/tile/tilepro/memchr.c: Likewise.
14288 * sysdeps/tile/tilepro/memcpy.S: Likewise.
14289 * sysdeps/tile/tilepro/memset.c: Likewise.
14290 * sysdeps/tile/tilepro/memusage.h: Likewise.
14291 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
14292 * sysdeps/tile/tilepro/strchr.c: Likewise.
14293 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
14294 * sysdeps/tile/tilepro/strlen.c: Likewise.
14295 * sysdeps/tile/tilepro/strrchr.c: Likewise.
14296 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
14297 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
14298 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
14299 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
14301 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14303 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
14304 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14305 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
14310 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
14311 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
14315 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
14316 tilepro mention in comment.
14318 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
14319 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
14320 * nptl/pthread_join_common.c: New file: common function used on
14321 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
14322 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
14323 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
14324 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
14325 (cleanup): Move definition to pthread_join_common.c.
14326 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
14327 Remove superflous checks.
14328 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
14331 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
14333 * sysdeps/aarch64/libm-test-ulps: Update.
14335 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14337 * sysdeps/aarch64/memset.S (MEMSET): Define.
14339 2017-12-20 Florian Weimer <fweimer@redhat.com>
14342 nptl: Provide full implementation of pthread_self in libc.so.
14343 * nptl/Makefile (routines): Add pthread_self.
14344 (libpthread-routines): Replace pthread_self with
14345 compat-pthread_self.
14346 * nptl/forward.c (pthread_self): Remove.
14347 * nptl/nptl-init.c (pthread_functions): Do not initialize
14349 * nptl/pthread_self.c (pthread_self): Remove weak alias.
14350 * nptl/compat-pthread_self.c: New file.
14351 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
14352 Remove ptr_pthread_self.
14354 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
14356 * posix/regcomp.c: Fix spelling in comments.
14357 * posix/regex.h: Likewise.
14358 * posix/regex_internal.c: Likewise.
14359 * posix/regexec.c: Likewise.
14361 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14364 * math/Makefile [C++] (tests): Add test for iseqsig.
14365 * math/math.h [C++] (iseqsig): New implementation, which does
14366 not rely on __MATH_TG/__builtin_types_compatible_p.
14367 * math/test-math-iseqsig.cc: New file.
14368 * sysdeps/powerpc/powerpc64le/Makefile
14369 (CFLAGS-test-math-iseqsig.cc): New variable.
14371 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
14373 * elf/dl-load.c (is_trusted_path): Remove.
14374 (fillin_rpath): Remove check_trusted argument and its use,
14375 all callers changed.
14377 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14380 * Makeconfig (link-pie-before-libc): Replace -pie with
14381 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
14382 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
14383 (tst-dlopen-aout-no-pie): New.
14384 (LDFLAGS-tst-prelink): Removed.
14385 (tst-prelink-no-pie): New.
14386 (LDFLAGS-tst-main1): Removed.
14387 (tst-main1-no-pie): New.
14388 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
14389 (tst-gmon-no-pie): New.
14391 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14393 * manual/install.texi: Document that --enable-static-pie
14395 * INSTALL: Regenerated.
14397 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
14400 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
14403 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14407 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14411 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14413 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
14414 <errno.h>. Include "eexp.tbl".
14415 (half): New constant.
14417 (__ieee754_exp): Rewrite.
14418 (__slowexp): Remove prototype.
14419 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
14420 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
14421 * sysdeps/i386/fpu/slowexp.c: Likewise.
14422 * sysdeps/ia64/fpu/slowexp.c: Likewise.
14423 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
14424 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
14425 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14426 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14427 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
14428 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
14430 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
14431 (CPPFLAGS-slowexp.c): Remove variable.
14432 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14433 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
14434 (CFLAGS-slowexp-fma.c): Remove variable.
14435 (CFLAGS-slowexp-fma4.c): Likewise.
14436 (CFLAGS-slowexp-avx.c): Likewise.
14437 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
14439 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
14440 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
14441 * math/Makefile (type-double-routines): Remove slowexp.
14442 * manual/probes.texi (slowexp_p6): Remove.
14443 (slowexp_p32): Likewise.
14445 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14447 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
14450 * lib/glob.c (glob): Do not pass NULL to mempcpy.
14452 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14456 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14458 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
14459 <errno.h>. Include "eexp.tbl".
14460 (half): New constant.
14462 (__ieee754_exp): Rewrite.
14463 (__slowexp): Remove prototype.
14464 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
14465 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
14466 * sysdeps/i386/fpu/slowexp.c: Likewise.
14467 * sysdeps/ia64/fpu/slowexp.c: Likewise.
14468 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
14469 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
14470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14471 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14472 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
14473 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
14475 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
14476 (CPPFLAGS-slowexp.c): Remove variable.
14477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14478 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
14479 (CFLAGS-slowexp-fma.c): Remove variable.
14480 (CFLAGS-slowexp-fma4.c): Likewise.
14481 (CFLAGS-slowexp-avx.c): Likewise.
14482 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
14484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
14485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
14486 * math/Makefile (type-double-routines): Remove slowexp.
14487 * manual/probes.texi (slowexp_p6): Remove.
14488 (slowexp_p32): Likewise.
14490 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14491 James Clarke <jrtc27@jrtc27.com>
14494 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
14497 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14500 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
14503 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14506 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14507 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14508 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14509 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14512 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14515 * bits/types/__cancel_jmp_buf_tag.h: New file.
14516 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14517 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14518 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14519 * nptl/Makefile (headers): Add
14520 bits/types/__cancel_jmp_buf_tag.h.
14521 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14522 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14523 * sysdeps/nptl/pthread.h: Include
14524 <bits/types/__cancel_jmp_buf_tag.h>.
14525 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14527 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14529 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
14531 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14532 --enable-static-pie variants to x86_64, x32 and i686.
14534 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14537 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
14538 argument for attrubutes. All callers changed.
14539 (__inline_mathop1): Likewise. All callers changed.
14540 (__inline_mathop): Likewise. All callers changed.
14541 [__USE_MISC] (scalbn): Use __inline_forward instead of
14542 __inline_forward_c.
14543 [__USE_ISOC99] (scalbln): Likewise.
14544 [__USE_ISOC99] (nearbyint): Likewise.
14545 [__USE_ISOC99] (lrint): Likewise.
14546 [__USE_MISC] (scalbnf): Likewise.
14547 [__USE_ISOC99] (scalblnf): Likewise.
14548 [__USE_ISOC99] (nearbyintf): Likewise.
14549 [__USE_ISOC99] (lrintf): Likewise.
14550 [__USE_MISC] (scalbnl): Likewise.
14551 [__USE_ISOC99] (scalblnl): Likewise.
14552 [__USE_ISOC99] (nearbyintl): Likewise.
14553 [__USE_ISOC99] (lrintl): Likewise.
14554 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
14555 __inline_mathop and __m81_defun changed.
14557 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
14558 CPU or FPU for ARM hard-float configurations.
14560 2017-12-18 Joseph Myers <joseph@codesourcery.com>
14562 * nptl/tst-attr3.c: Include <libc-diag.h>.
14563 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
14565 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
14567 * string/tester.c (test_strncat): Also disable -Warray-bounds
14568 warnings for two tests.
14570 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
14573 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
14574 $(cc-pie-default) == yes.
14575 * config.make.in (cc-pie-default): New.
14576 * configure.ac (libc_cv_pie_default): Renamed to ...
14577 (libc_cv_cc_pie_default): This.
14578 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
14579 * configure: Regenerated.
14581 2017-12-18 Florian Weimer <fweimer@redhat.com>
14584 ld.so: Harden dl-libc/libdl hooks.
14585 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
14586 (rtld_active): New function.
14587 * dlfcn/dladdr.c (__dladdr): Call it.
14588 * dlfcn/dladdr1.c (__dladdr1): Likewise.
14589 * dlfcn/dlclose.c (__dlcose): Likewise.
14590 * dlfcn/dlerror.c (__dlerror): Likewise.
14591 * dlfcn/dlinfo.c (__dlinfo): Likewise.
14592 * dlfcn/dlmopen.c (__dlmopen): Likewise.
14593 * dlfcn/dlopen.c (__dlopen): Likewise.
14594 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14595 * dlfcn/dlsym.c (__dlsym): Likewise.
14596 * dlfcn/dlvsym.c (__dlvsym): Likewise.
14597 * libio/vtables.c (_IO_vtable_check): Likewise.
14598 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
14599 (__libc_dlclose): Likewise.
14600 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
14603 2017-12-18 Joseph Myers <joseph@codesourcery.com>
14606 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
14607 buffers for readlink input and output.
14609 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
14612 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
14613 inhibit_stack_protector.
14616 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
14617 inhibit_stack_protector.
14619 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
14622 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
14623 code and invocation.
14625 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
14627 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
14629 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
14632 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
14634 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14636 * sysdeps/s390/fpu/libm-test-ulps: Update.
14638 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14642 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14644 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
14645 constants to s_sincosf.h file.
14646 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14647 * sysdeps/ieee754/flt-32/s_sincosf.c: New
14649 * sysdeps/ieee754/flt-32/s_sincosf.h:
14652 2017-12-12 Carlos O'Donell <carlos@redhat.com>
14655 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
14658 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
14661 * INSTALL: Regenerated.
14662 * Makeconfig (real-static-start-installed-name): New.
14663 (pic-default): Updated for --enable-static-pie.
14664 (pie-default): New for --enable-static-pie.
14665 (default-pie-ldflag): Likewise.
14666 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
14667 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
14668 Replace $(static-start-installed-name) with
14669 $(real-static-start-installed-name).
14670 (+prectorT): Updated for --enable-static-pie.
14671 (+postctorT): Likewise.
14672 (CFLAGS-.o): Add $(pie-default).
14673 (CFLAGS-.op): Likewise.
14674 * NEWS: Mention --enable-static-pie.
14675 * config.h.in (ENABLE_STATIC_PIE): New.
14676 * configure.ac (--enable-static-pie): New configure option.
14677 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
14678 (have-static-pie): Likewise.
14679 Enable static PIE if linker supports --no-dynamic-linker.
14680 (ENABLE_STATIC_PIE): New AC_DEFINE.
14681 (enable-static-pie): New LIBC_CONFIG_VAR.
14682 * configure: Regenerated.
14683 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
14684 gr$(start-installed-name) for --enable-static-pie.
14685 (extra-objs): Likewise.
14686 (install-lib): Likewise.
14687 (extra-objs): Add static-reloc.o and static-reloc.os
14688 ($(objpfx)$(start-installed-name)): Also depend on
14689 $(objpfx)static-reloc.o.
14690 ($(objpfx)r$(start-installed-name)): New.
14691 ($(objpfx)g$(start-installed-name)): Also depend on
14692 $(objpfx)static-reloc.os.
14693 ($(objpfx)gr$(start-installed-name)): New.
14694 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
14696 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
14698 * csu/static-reloc.c: New file.
14699 * elf/Makefile (routines): Add dl-reloc-static-pie.
14700 (elide-routines.os): Likewise.
14701 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
14702 (tst-tls1-static-non-pie-no-pie): New.
14703 * elf/dl-reloc-static-pie.c: New file.
14704 * elf/dl-support.c (_dl_get_dl_main_map): New function.
14705 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
14706 STATIC_PIE_BOOTSTRAP.
14707 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14708 * gmon/Makefile (tests): Add tst-gmon-static-pie.
14709 (tests-static): Likewise.
14710 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
14711 (tst-gmon-static-no-pie): New.
14712 (CFLAGS-tst-gmon-static-pie.c): Likewise.
14713 (CRT-tst-gmon-static-pie): Likewise.
14714 (tst-gmon-static-pie-ENV): Likewise.
14715 (tests-special): Likewise.
14716 ($(objpfx)tst-gmon-static-pie.out): Likewise.
14717 (clean-tst-gmon-static-pie-data): Likewise.
14718 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
14719 * gmon/tst-gmon-static-pie.c: New file.
14720 * manual/install.texi: Document --enable-static-pie.
14721 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
14722 (_dl_get_dl_main_map): Likewise.
14723 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
14724 * sysdeps/x86_64/configure.ac: Likewise.
14725 * sysdeps/i386/configure: Regenerated.
14726 * sysdeps/x86_64/configure: Likewise.
14727 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
14728 (ASFLAGS-.op): Likewise.
14730 2017-12-15 Joseph Myers <joseph@codesourcery.com>
14732 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
14733 * posix/tst-mmap-offset.c (fname): Use /tmp.
14734 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
14736 2017-12-15 Steve Ellcey <sellcey@cavium.com>
14738 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
14740 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
14742 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
14745 2017-12-15 Joseph Myers <joseph@codesourcery.com>
14747 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14748 --with-float=hard for arm-linux-gnueabihf configurations.
14751 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
14752 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
14753 ($(mo-installed)): Use $(objpfx)%.mo.
14754 (realclean): Remove rule.
14756 * po/Makefile (linguas): Remove rule and dependencies.
14757 (linguas.mo): Likewise.
14758 (.PHONY): Do not depend on linguas and linguas.mo.
14759 (podir): Remove variable.
14760 (pofiles): Likewise.
14761 [$(pofiles)] (%.po): Remove rule.
14763 * sysdeps/sparc/sparc32/Makefile
14764 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
14765 start-of-line whitespace in argument of echo.
14766 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
14767 with whitespace. Generate __wrap_.udiv alias.
14768 * sysdeps/sparc/sparc32/rem.S: Regenerated.
14769 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14770 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14771 * sysdeps/sparc/sparc32/urem.S: Likewise.
14773 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14775 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
14776 for aligned inputs.
14778 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14780 * benchtests/bench-strcmp.c: Print output in JSON format.
14782 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
14784 2017-12-14 Florian Weimer <fweimer@redhat.com>
14788 * elf/dl-load.c (_dl_init_paths): Compute number of components in
14789 the expanded path string.
14791 2017-12-14 Florian Weimer <fweimer@redhat.com>
14795 * elf/dl-load.c (system_dirs): Update comment.
14796 (nsystem_dirs_len): Use array_length.
14797 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
14799 2017-12-14 Florian Weimer <fweimer@redhat.com>
14801 Simplify compiling most of support/ outside of glibc.
14802 * support/check_addrinfo.c: Include <string.h>.
14803 * support/check_dns_packet.c: Likewise.
14804 * support/check_hostent.c: Likewise.
14805 * support/support_can_chroot.c: Include <support/xunistd.h>.
14806 * support/support_format_addrinfo.c: Include <stdlib.h>
14807 * support/support_format_dns_packet.c: Include <stdbool.h>.
14808 * support/support_format_hostent.c: Include <stdlib.h>.
14809 * support/support_format_netent.c: Likewise.
14810 * support/support_write_string.c: Include <support/xunistd.h>.
14811 * support/xdlfcn.c: Include <stddef.h>.
14813 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
14815 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
14817 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14818 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14820 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14821 (sysdeps_routines): Add memset-niagara7.
14822 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
14824 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
14826 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
14827 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
14828 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
14829 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
14830 Add niagara7 option.
14831 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
14834 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14835 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
14836 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
14838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
14840 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
14841 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
14842 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
14843 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
14844 and __memmove_niagara7.
14845 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
14846 Add niagara7 option.
14847 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
14848 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
14849 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
14850 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
14851 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
14853 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
14855 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
14856 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
14857 * sysdeps/sparc/sparc64/memmove.S: Likewise.
14858 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
14860 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
14861 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
14862 _dl_sparc_cap_flags array.
14863 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
14865 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14867 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
14868 time whenever possible.
14870 2017-12-12 Carlos O'Donell <carlos@redhat.com>
14872 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
14873 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
14875 2017-12-12 Joseph Myers <joseph@codesourcery.com>
14877 * soft-fp/fmadf4.c: Move to ....
14878 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
14879 * soft-fp/fmasf4.c: Move to ....
14880 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
14881 * soft-fp/fmatf4.c: Move to ....
14882 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
14883 * sysdeps/ieee754/soft-fp/Makefile: New file.
14884 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
14885 * sysdeps/arm/preconfigure: Regenerated.
14886 * sysdeps/arm/nofpu/Implies: New file.
14887 * sysdeps/arm/s_fma.c: Remove file.
14888 * sysdeps/arm/s_fmaf.c: Likewise.
14889 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
14890 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
14891 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14892 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
14893 * sysdeps/microblaze/s_fma.c: Remove file.
14894 * sysdeps/microblaze/s_fmaf.c: Likewise.
14895 * sysdeps/mips/mips32/nofpu/Implies: New file.
14896 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
14897 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
14898 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
14899 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
14900 * sysdeps/mips/ieee754/s_fma.c: Remove file.
14901 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
14902 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
14904 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
14905 * sysdeps/nios2/s_fma.c: Remove file.
14906 * sysdeps/nios2/s_fmaf.c: Likewise.
14907 * sysdeps/sh/nofpu/Implies: New file.
14908 * sysdeps/sh/s_fma.c: Remove file.
14909 * sysdeps/sh/s_fmaf.c: Likewise.
14910 * sysdeps/tile/Implies: Add ieee754/soft-fp.
14911 * sysdeps/tile/s_fma.c: Remove file.
14912 * sysdeps/tile/s_fmaf.c: Likewise.
14914 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
14916 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14917 Add s_cosf-sse2 and s_cosf-fma.
14918 (CFLAGS-s_cosf-fma.c): New.
14919 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
14920 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
14921 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
14923 2017-12-12 Steve Ellcey <sellcey@cavium.com>
14925 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
14927 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14929 * libio/Makefile (tests): Add tst-bz22415.
14930 (tst-bz22415-ENV): New rule.
14931 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
14932 (tests-special): Add tst-bz22415-mem.out.
14933 ($(objpfx)tst-bz22415-mem.out): New rule.
14934 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
14935 in case of a successful seek operation.
14936 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14937 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
14938 buffer is required.
14939 * libio/tst-bz22415.c: New test.
14941 * sysdeps/ia64/fpu/libm-test-ulps: Update.
14943 2017-12-12 James Clarke <jrtc27@jrtc27.com>
14945 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
14946 __IPC_64 to 0 to avoid IPC_64 being set.
14948 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14951 * math/bits/mathcalls.h (nextafter): Remove const.
14952 (nexttoward): Likewise.
14954 2017-12-12 Joseph Myers <joseph@codesourcery.com>
14956 * configure.ac (--with-fp): Remove configure option.
14957 (with_fp_cond): New variable.
14958 (libc_cv_with_fp): New configure test. Use this variable instead
14960 * configure: Regenerated.
14961 * config.make.in (with-fp): Use @libc_cv_with_fp@.
14962 * manual/install.texi (Configuring and compiling): Remove
14964 * INSTALL: Regenerated.
14965 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
14966 * sysdeps/mips/preconfigure (with_fp_cond): Define.
14967 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
14968 * sysdeps/sh/preconfigure (with_fp_cond): Define.
14969 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
14970 use --without-fp to configure glibc.
14972 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
14974 * manual/locale.texi (nl_langinfo): Fix a typo.
14976 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
14979 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
14981 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
14983 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
14984 (CFLAGS-argp-parse.c): Likewise.
14985 (CFLAGS-argp-fmtstream.c): Likewise.
14986 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
14987 (CPPFLAGS-sha512-crypt.c): Likewise.
14988 (CPPFLAGS-md5-crypt.c): Likewise.
14989 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
14990 (CFLAGS-stack_chk_fail_local.c): Likewise.
14991 (CFLAGS-backtrace.c): Likewise.
14992 (CFLAGS-sprintf_chk.c): Likewise.
14993 (CFLAGS-snprintf_chk.c): Likewise.
14994 (CFLAGS-vsprintf_chk.c): Likewise.
14995 (CFLAGS-vsnprintf_chk.c): Likewise.
14996 (CFLAGS-asprintf_chk.c): Likewise.
14997 (CFLAGS-vasprintf_chk.c): Likewise.
14998 (CFLAGS-obprintf_chk.c): Likewise.
14999 (CFLAGS-dprintf_chk.c): Likewise.
15000 (CFLAGS-vdprintf_chk.c): Likewise.
15001 (CFLAGS-printf_chk.c): Likewise.
15002 (CFLAGS-fprintf_chk.c): Likewise.
15003 (CFLAGS-vprintf_chk.c): Likewise.
15004 (CFLAGS-vfprintf_chk.c): Likewise.
15005 (CFLAGS-gets_chk.c): Likewise.
15006 (CFLAGS-fgets_chk.c): Likewise.
15007 (CFLAGS-fgets_u_chk.c): Likewise.
15008 (CFLAGS-fread_chk.c): Likewise.
15009 (CFLAGS-fread_u_chk.c): Likewise.
15010 (CFLAGS-swprintf_chk.c): Likewise.
15011 (CFLAGS-vswprintf_chk.c): Likewise.
15012 (CFLAGS-wprintf_chk.c): Likewise.
15013 (CFLAGS-fwprintf_chk.c): Likewise.
15014 (CFLAGS-vwprintf_chk.c): Likewise.
15015 (CFLAGS-vfwprintf_chk.c): Likewise.
15016 (CFLAGS-fgetws_chk.c): Likewise.
15017 (CFLAGS-fgetws_u_chk.c): Likewise.
15018 (CFLAGS-read_chk.c): Likewise.
15019 (CFLAGS-pread_chk.c): Likewise.
15020 (CFLAGS-pread64_chk.c): Likewise.
15021 (CFLAGS-recv_chk.c): Likewise.
15022 (CFLAGS-recvfrom_chk.c): Likewise.
15023 (CFLAGS-tst-longjmp_chk.c): Likewise.
15024 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
15025 (CFLAGS-tst-longjmp_chk2.c): Likewise.
15026 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
15027 (CFLAGS-tst-longjmp_chk3.c): Likewise.
15028 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15029 (CFLAGS-tst-chk1.c): Likewise.
15030 (CFLAGS-tst-chk2.c): Likewise.
15031 (CFLAGS-tst-chk3.c): Likewise.
15032 (CFLAGS-tst-chk4.cc): Likewise.
15033 (CFLAGS-tst-chk5.cc): Likewise.
15034 (CFLAGS-tst-chk6.cc): Likewise.
15035 (CFLAGS-tst-lfschk1.c): Likewise.
15036 (CFLAGS-tst-lfschk2.c): Likewise.
15037 (CFLAGS-tst-lfschk3.c): Likewise.
15038 (CFLAGS-tst-lfschk4.cc): Likewise.
15039 (CFLAGS-tst-lfschk5.cc): Likewise.
15040 (CFLAGS-tst-lfschk6.cc): Likewise.
15041 (CFLAGS-tst-ssp-1.c): Likewise.
15042 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
15043 (CFLAGS-scandir64.c): Likewise.
15044 (CFLAGS-scandir-tail.c): Likewise.
15045 (CFLAGS-scandir64-tail.c): Likewise.
15046 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
15047 (CFLAGS-dl-tunables.c): Likewise.
15048 (CFLAGS-dl-runtime.c): Likewise.
15049 (CFLAGS-dl-lookup.c): Likewise.
15050 (CFLAGS-dl-iterate-phdr.c): Likewise.
15051 (CFLAGS-vismain.c): Likewise.
15052 (CFLAGS-tst-linkall-static.c): Likewise.
15053 (CFLAGS-tst-linkall-static.c): Likewise.
15054 (CPPFLAGS-dl-load.c): Likewise.
15055 (CFLAGS-ldconfig.c): Likewise.
15056 (CFLAGS-dl-cache.c): Likewise.
15057 (CFLAGS-cache.c): Likewise.
15058 (CFLAGS-rtld.c): Likewise.
15059 (CFLAGS-multiload.c): Likewise.
15060 (CFLAGS-filtmod1.c): Likewise.
15061 (CFLAGS-tst-align.c): Likewise.
15062 (CFLAGS-tst-align2.c): Likewise.
15063 (CFLAGS-tst-alignmod.c): Likewise.
15064 (CFLAGS-tst-alignmod2.c): Likewise.
15065 (CPPFLAGS-tst-execstack.c): Likewise.
15066 (CFLAGS-tst-ptrguard1-static.c): Likewise.
15067 (CFLAGS-tst-latepthreadmod.c): Likewise.
15068 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
15069 (CFLAGS-getgrnam_r.c): Likewise.
15070 (CFLAGS-getgrent_r.c): Likewise.
15071 (CFLAGS-getgrent.c): Likewise.
15072 (CFLAGS-fgetgrent.c): Likewise.
15073 (CFLAGS-fgetgrent_r.c): Likewise.
15074 (CFLAGS-putgrent.c): Likewise.
15075 (CFLAGS-initgroups.c): Likewise.
15076 (CFLAGS-getgrgid.c): Likewise.
15077 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
15078 (CFLAGS-getsgent.c): Likewise.
15079 (CFLAGS-fgetsgent.c): Likewise.
15080 (CFLAGS-fgetsgent_r.c): Likewise.
15081 (CFLAGS-putsgent.c): Likewise.
15082 (CFLAGS-getsgnam.c): Likewise.
15083 (CFLAGS-getsgnam_r.c): Likewise.
15084 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
15085 (CFLAGS-iconv_charmap.c): Likewise.
15086 (CFLAGS-dummy-repertoire.c): Likewise.
15087 (CFLAGS-charmap.c): Likewise.
15088 (CFLAGS-linereader.c): Likewise.
15089 (CFLAGS-simple-hash.c): Likewise.
15090 (CFLAGS-gconv_conf.c): Likewise.
15091 (CFLAGS-iconvconfig.c): Likewise.
15092 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15093 (CFLAGS-gethstbyad.c): Likewise.
15094 (CFLAGS-gethstbynm_r.c): Likewise.
15095 (CFLAGS-gethstbynm.c): Likewise.
15096 (CFLAGS-gethstbynm2_r.c): Likewise.
15097 (CFLAGS-gethstbynm2.c): Likewise.
15098 (CFLAGS-gethstent_r.c): Likewise.
15099 (CFLAGS-gethstent.c): Likewise.
15100 (CFLAGS-rcmd.c): Likewise.
15101 (CFLAGS-getnetbynm_r.c): Likewise.
15102 (CFLAGS-getnetbynm.c): Likewise.
15103 (CFLAGS-getnetbyad_r.c): Likewise.
15104 (CFLAGS-getnetbyad.c): Likewise.
15105 (CFLAGS-getnetent_r.c): Likewise.
15106 (CFLAGS-getnetent.c): Likewise.
15107 (CFLAGS-getaliasent_r.c): Likewise.
15108 (CFLAGS-getaliasent.c): Likewise.
15109 (CFLAGS-getrpcent_r.c): Likewise.
15110 (CFLAGS-getrpcent.c): Likewise.
15111 (CFLAGS-getservent_r.c): Likewise.
15112 (CFLAGS-getservent.c): Likewise.
15113 (CFLAGS-getprtent_r.c): Likewise.
15114 (CFLAGS-getprtent.c): Likewise.
15115 (CFLAGS-either_ntoh.c): Likewise.
15116 (CFLAGS-either_hton.c): Likewise.
15117 (CFLAGS-getnetgrent.c): Likewise.
15118 (CFLAGS-getnetgrent_r.c): Likewise.
15119 (CFLAGS-tst-checks-posix.c): Likewise.
15120 (CFLAGS-tst-sockaddr.c): Likewise.
15121 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
15122 (CFLAGS-tst-translit.c): Likewise.
15123 (CFLAGS-tst-gettext2.c): Likewise.
15124 (CFLAGS-tst-codeset.c): Likewise.
15125 (CFLAGS-tst-gettext3.c): Likewise.
15126 (CFLAGS-tst-gettext4.c): Likewise.
15127 (CFLAGS-tst-gettext5.c): Likewise.
15128 (CFLAGS-tst-gettext6.c): Likewise.
15129 * io/Makefile (CFLAGS-open.c): Likewise.
15130 (CFLAGS-open64.c): Likewise.
15131 (CFLAGS-creat.c): Likewise.
15132 (CFLAGS-creat64.c): Likewise.
15133 (CFLAGS-fcntl.c): Likewise.
15134 (CFLAGS-poll.c): Likewise.
15135 (CFLAGS-ppoll.c): Likewise.
15136 (CFLAGS-lockf.c): Likewise.
15137 (CFLAGS-statfs.c): Likewise.
15138 (CFLAGS-fstatfs.c): Likewise.
15139 (CFLAGS-statvfs.c): Likewise.
15140 (CFLAGS-fstatvfs.c): Likewise.
15141 (CFLAGS-fts.c): Likewise.
15142 (CFLAGS-fts64.c): Likewise.
15143 (CFLAGS-ftw.c): Likewise.
15144 (CFLAGS-ftw64.c): Likewise.
15145 (CFLAGS-lockf.c): Likewise.
15146 (CFLAGS-posix_fallocate.c): Likewise.
15147 (CFLAGS-posix_fallocate64.c): Likewise.
15148 (CFLAGS-fallocate.c): Likewise.
15149 (CFLAGS-fallocate64.c): Likewise.
15150 (CFLAGS-read.c): Likewise.
15151 (CFLAGS-write.c): Likewise.
15152 (CFLAGS-test-stat.c): Likewise.
15153 (CFLAGS-test-lfs.c): Likewise.
15154 * libio/Makefile (CFLAGS-fileops.c): Likewise.
15155 (CFLAGS-fputc.c): Likewise.
15156 (CFLAGS-fputwc.c): Likewise.
15157 (CFLAGS-freopen64.c): Likewise.
15158 (CFLAGS-freopen.c): Likewise.
15159 (CFLAGS-fseek.c): Likewise.
15160 (CFLAGS-fseeko64.c): Likewise.
15161 (CFLAGS-fseeko.c): Likewise.
15162 (CFLAGS-ftello64.c): Likewise.
15163 (CFLAGS-ftello.c): Likewise.
15164 (CFLAGS-fwide.c): Likewise.
15165 (CFLAGS-genops.c): Likewise.
15166 (CFLAGS-getc.c): Likewise.
15167 (CFLAGS-getchar.c): Likewise.
15168 (CFLAGS-getwc.c): Likewise.
15169 (CFLAGS-getwchar.c): Likewise.
15170 (CFLAGS-iofclose.c): Likewise.
15171 (CFLAGS-iofflush.c): Likewise.
15172 (CFLAGS-iofgetpos64.c): Likewise.
15173 (CFLAGS-iofgetpos.c): Likewise.
15174 (CFLAGS-iofgets.c): Likewise.
15175 (CFLAGS-iofgetws.c): Likewise.
15176 (CFLAGS-iofputs.c): Likewise.
15177 (CFLAGS-iofputws.c): Likewise.
15178 (CFLAGS-iofread.c): Likewise.
15179 (CFLAGS-iofsetpos64.c): Likewise.
15180 (CFLAGS-iofsetpos.c): Likewise.
15181 (CFLAGS-ioftell.c): Likewise.
15182 (CFLAGS-iofwrite.c): Likewise.
15183 (CFLAGS-iogetdelim.c): Likewise.
15184 (CFLAGS-iogetline.c): Likewise.
15185 (CFLAGS-iogets.c): Likewise.
15186 (CFLAGS-iogetwline.c): Likewise.
15187 (CFLAGS-ioputs.c): Likewise.
15188 (CFLAGS-ioseekoff.c): Likewise.
15189 (CFLAGS-ioseekpos.c): Likewise.
15190 (CFLAGS-iosetbuffer.c): Likewise.
15191 (CFLAGS-iosetvbuf.c): Likewise.
15192 (CFLAGS-ioungetc.c): Likewise.
15193 (CFLAGS-ioungetwc.c): Likewise.
15194 (CFLAGS-oldfileops.c): Likewise.
15195 (CFLAGS-oldiofclose.c): Likewise.
15196 (CFLAGS-oldiofgetpos64.c): Likewise.
15197 (CFLAGS-oldiofgetpos.c): Likewise.
15198 (CFLAGS-oldiofsetpos64.c): Likewise.
15199 (CFLAGS-oldiofsetpos.c): Likewise.
15200 (CFLAGS-peekc.c): Likewise.
15201 (CFLAGS-putc.c): Likewise.
15202 (CFLAGS-putchar.c): Likewise.
15203 (CFLAGS-putwc.c): Likewise.
15204 (CFLAGS-putwchar.c): Likewise.
15205 (CFLAGS-rewind.c): Likewise.
15206 (CFLAGS-wfileops.c): Likewise.
15207 (CFLAGS-wgenops.c): Likewise.
15208 (CFLAGS-oldiofopen.c): Likewise.
15209 (CFLAGS-iofopen.c): Likewise.
15210 (CFLAGS-iofopen64.c): Likewise.
15211 (CFLAGS-oldtmpfile.c): Likewise.
15212 (CFLAGS-tst_putwc.c): Likewise.
15213 * locale/Makefile (CFLAGS-md5.c): Likewise.
15214 (CFLAGS-charmap.c): Likewise.
15215 (CFLAGS-locfile.c): Likewise.
15216 (CFLAGS-charmap-dir.c): Likewise.
15217 * login/Makefile (CFLAGS-grantpt.c): Likewise.
15218 (CFLAGS-getpt.c): Likewise.
15219 (CFLAGS-pt_chown.c): Likewise.
15220 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
15221 (CFLAGS-obstack.c): Likewise.
15222 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
15223 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
15224 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
15225 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
15226 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
15227 (CFLAGS-test-tgmath.c): Likewise.
15228 (CFLAGS-test-tgmath2.c): Likewise.
15229 (CFLAGS-test-tgmath-ret.c): Likewise.
15230 (CFLAGS-test-powl.c): Likewise.
15231 (CFLAGS-test-snan.c): Likewise.
15232 (CFLAGS-test-signgam-finite.c): Likewise.
15233 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15234 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15235 (CFLAGS-test-signgam-uchar.c): Likewise.
15236 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15237 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15238 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15239 (CFLAGS-test-signgam-uint.c): Likewise.
15240 (CFLAGS-test-signgam-uint-init.c): Likewise.
15241 (CFLAGS-test-signgam-uint-static.c): Likewise.
15242 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15243 (CFLAGS-test-signgam-ullong.c): Likewise.
15244 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15245 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15246 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15247 (CFLAGS-test-math-cxx11.cc): Likewise.
15248 (CFLAGS-test-math-isinff.cc): Likewise.
15249 (CFLAGS-test-math-iszero.cc): Likewise.
15250 (CFLAGS-test-math-issignaling.cc): Likewise.
15251 (CFLAGS-test-math-iscanonical.cc): Likewise.
15252 (CFLAGS-test-iszero-excess-precision.c): Likewise.
15253 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
15254 (CFLAGS-test-flt-eval-method.c): Likewise.
15255 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
15256 (CFLAGS-test-finite-macros.c): Likewise.
15257 * misc/Makefile (CFLAGS-select.c): Likewise.
15258 (CFLAGS-tsearch.c): Likewise.
15259 (CFLAGS-lsearch.c): Likewise.
15260 (CFLAGS-pselect.c): Likewise.
15261 (CFLAGS-readv.c): Likewise.
15262 (CFLAGS-writev.c): Likewise.
15263 (CFLAGS-preadv.c): Likewise.
15264 (CFLAGS-preadv64.c): Likewise.
15265 (CFLAGS-pwritev.c): Likewise.
15266 (CFLAGS-pwritev64.c): Likewise.
15267 (CFLAGS-preadv2.c): Likewise.
15268 (CFLAGS-preadv64v2.c): Likewise.
15269 (CFLAGS-pwritev2.c): Likewise.
15270 (CFLAGS-pwritev64v2.c): Likewise.
15271 (CFLAGS-usleep.c): Likewise.
15272 (CFLAGS-syslog.c): Likewise.
15273 (CFLAGS-error.c): Likewise.
15274 (CFLAGS-getpass.c): Likewise.
15275 (CFLAGS-mkstemp.c): Likewise.
15276 (CFLAGS-mkstemp64.c): Likewise.
15277 (CFLAGS-getsysstats.c): Likewise.
15278 (CFLAGS-getusershell.c): Likewise.
15279 (CFLAGS-err.c): Likewise.
15280 (CFLAGS-tst-tsearch.c): Likewise.
15281 (CFLAGS-msync.c): Likewise.
15282 (CFLAGS-fdatasync.c): Likewise.
15283 (CFLAGS-fsync.c): Likewise.
15284 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
15285 (CFLAGS-unwind.c): Likewise.
15286 (CFLAGS-unwind-forcedunwind.c): Likewise.
15287 (CFLAGS-pthread_cancel.c): Likewise.
15288 (CFLAGS-pthread_setcancelstate.c): Likewise.
15289 (CFLAGS-pthread_setcanceltype.c): Likewise.
15290 (CFLAGS-cancellation.c): Likewise.
15291 (CFLAGS-libc-cancellation.c): Likewise.
15292 (CFLAGS-pthread_exit.c): Likewise.
15293 (CFLAGS-forward.c): Likewise.
15294 (CFLAGS-pthread_testcancel.c): Likewise.
15295 (CFLAGS-pthread_join.c): Likewise.
15296 (CFLAGS-pthread_timedjoin.c): Likewise.
15297 (CFLAGS-pthread_once.c): Likewise.
15298 (CFLAGS-pthread_cond_wait.c): Likewise.
15299 (CFLAGS-sem_wait.c): Likewise.
15300 (CFLAGS-sem_timedwait.c): Likewise.
15301 (CFLAGS-fcntl.c): Likewise.
15302 (CFLAGS-lockf.c): Likewise.
15303 (CFLAGS-pread.c): Likewise.
15304 (CFLAGS-pread64.c): Likewise.
15305 (CFLAGS-pwrite.c): Likewise.
15306 (CFLAGS-pwrite64.c): Likewise.
15307 (CFLAGS-wait.c): Likewise.
15308 (CFLAGS-waitpid.c): Likewise.
15309 (CFLAGS-sigwait.c): Likewise.
15310 (CFLAGS-msgrcv.c): Likewise.
15311 (CFLAGS-msgsnd.c): Likewise.
15312 (CFLAGS-tcdrain.c): Likewise.
15313 (CFLAGS-open.c): Likewise.
15314 (CFLAGS-open64.c): Likewise.
15315 (CFLAGS-pause.c): Likewise.
15316 (CFLAGS-recv.c): Likewise.
15317 (CFLAGS-send.c): Likewise.
15318 (CFLAGS-accept.c): Likewise.
15319 (CFLAGS-sendto.c): Likewise.
15320 (CFLAGS-connect.c): Likewise.
15321 (CFLAGS-recvfrom.c): Likewise.
15322 (CFLAGS-recvmsg.c): Likewise.
15323 (CFLAGS-sendmsg.c): Likewise.
15324 (CFLAGS-close.c): Likewise.
15325 (CFLAGS-read.c): Likewise.
15326 (CFLAGS-write.c): Likewise.
15327 (CFLAGS-nanosleep.c): Likewise.
15328 (CFLAGS-sigsuspend.c): Likewise.
15329 (CFLAGS-msync.c): Likewise.
15330 (CFLAGS-fdatasync.c): Likewise.
15331 (CFLAGS-fsync.c): Likewise.
15332 (CFLAGS-pt-system.c): Likewise.
15333 (CFLAGS-tst-cleanup2.c): Likewise.
15334 (CFLAGS-tst-cleanupx2.c): Likewise.
15335 (CFLAGS-flockfile.c): Likewise.
15336 (CFLAGS-ftrylockfile.c): Likewise.
15337 (CFLAGS-funlockfile.c): Likewise.
15338 (CFLAGS-tst-initializers1.c): Likewise.
15339 (CFLAGS-tst-initializers1-c89.c): Likewise.
15340 (CFLAGS-tst-initializers1-c99.c): Likewise.
15341 (CFLAGS-tst-initializers1-c11.c): Likewise.
15342 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
15343 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
15344 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15345 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
15346 (CFLAGS-nscd_getgr_r.c): Likewise.
15347 (CFLAGS-nscd_gethst_r.c): Likewise.
15348 (CFLAGS-nscd_getai.c): Likewise.
15349 (CFLAGS-nscd_initgroups.c): Likewise.
15350 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
15351 (CFLAGS-pause.c): Likewise.
15352 (CFLAGS-pread.c): Likewise.
15353 (CFLAGS-pread64.c): Likewise.
15354 (CFLAGS-pwrite.c): Likewise.
15355 (CFLAGS-pwrite64.c): Likewise.
15356 (CFLAGS-sleep.c): Likewise.
15357 (CFLAGS-wait.c): Likewise.
15358 (CFLAGS-waitid.c): Likewise.
15359 (CFLAGS-waitpid.c): Likewise.
15360 (CFLAGS-getopt.c): Likewise.
15361 (CFLAGS-wordexp.c): Likewise.
15362 (CFLAGS-sysconf.c): Likewise.
15363 (CFLAGS-pathconf.c): Likewise.
15364 (CFLAGS-fpathconf.c): Likewise.
15365 (CFLAGS-spawn.c): Likewise.
15366 (CFLAGS-spawnp.c): Likewise.
15367 (CFLAGS-spawni.c): Likewise.
15368 (CFLAGS-glob.c): Likewise.
15369 (CFLAGS-glob64.c): Likewise.
15370 (CFLAGS-getconf.c): Likewise.
15371 (CFLAGS-nanosleep.c): Likewise.
15372 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
15373 (CFLAGS-getpwent.c): Likewise.
15374 (CFLAGS-getpw.c): Likewise.
15375 (CFLAGS-fgetpwent_r.c): Likewise.
15376 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
15377 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
15378 (CFLAGS-mq_timedreceive.c): Likewise.
15379 (CFLAGS-mq_timedsend.c): Likewise.
15380 (CFLAGS-clock_nanosleep.c): Likewise.
15381 (CFLAGS-librt-cancellation.c): Likewise.
15382 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
15383 (CFLAGS-getspent.c): Likewise.
15384 (CFLAGS-fgetspent.c): Likewise.
15385 (CFLAGS-fgetspent_r.c): Likewise.
15386 (CFLAGS-putspent.c): Likewise.
15387 (CFLAGS-getspnam.c): Likewise.
15388 (CFLAGS-getspnam_r.c): Likewise.
15389 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
15390 (CFLAGS-sigsuspend.c): Likewise.
15391 (CFLAGS-sigtimedwait.c): Likewise.
15392 (CFLAGS-sigwait.c): Likewise.
15393 (CFLAGS-sigwaitinfo.c): Likewise.
15394 (CFLAGS-sigreturn.c): Likewise.
15395 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15396 (CFLAGS-vfwprintf.c): Likewise.
15397 (CFLAGS-tmpfile.c): Likewise.
15398 (CFLAGS-tmpfile64.c): Likewise.
15399 (CFLAGS-tempname.c): Likewise.
15400 (CFLAGS-psignal.c): Likewise.
15401 (CFLAGS-vprintf.c): Likewise.
15402 (CFLAGS-cuserid.c): Likewise.
15403 (CFLAGS-errlist.c): Likewise.
15404 (CFLAGS-siglist.c): Likewise.
15405 (CFLAGS-scanf15.c): Likewise.
15406 (CFLAGS-scanf17.c): Likewise.
15407 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
15408 (CFLAGS-msort.c): Likewise.
15409 (CFLAGS-qsort.c): Likewise.
15410 (CFLAGS-system.c): Likewise.
15411 (CFLAGS-fmtmsg.c): Likewise.
15412 (CFLAGS-strfmon.c): Likewise.
15413 (CFLAGS-strfmon_l.c): Likewise.
15414 (CFLAGS-strfromd.c): Likewise.
15415 (CFLAGS-strfromf.c): Likewise.
15416 (CFLAGS-strfroml.c): Likewise.
15417 (CFLAGS-tst-bsearch.c): Likewise.
15418 (CFLAGS-tst-qsort.c): Likewise.
15419 (CFLAGS-tst-makecontext2.c): Likewise.
15420 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
15421 (CFLAGS-xnlm_prot.c): Likewise.
15422 (CFLAGS-xrstat.c): Likewise.
15423 (CFLAGS-xyppasswd.c): Likewise.
15424 (CFLAGS-xklm_prot.c): Likewise.
15425 (CFLAGS-xrex.c): Likewise.
15426 (CFLAGS-xsm_inter.c): Likewise.
15427 (CFLAGS-xmount.c): Likewise.
15428 (CFLAGS-xrusers.c): Likewise.
15429 (CFLAGS-xspray.c): Likewise.
15430 (CFLAGS-xnfs_prot.c): Likewise.
15431 (CFLAGS-xrquota.c): Likewise.
15432 (CFLAGS-xkey_prot.c): Likewise.
15433 (CFLAGS-auth_unix.c): Likewise.
15434 (CFLAGS-key_call.c): Likewise.
15435 (CFLAGS-pmap_rmt.c): Likewise.
15436 (CFLAGS-clnt_perr.c): Likewise.
15437 (CFLAGS-openchild.c): Likewise.
15438 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
15439 (CFLAGS-msgsnd.c): Likewise.
15440 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
15441 * time/Makefile (CFLAGS-tzfile.c): Likewise.
15442 (CFLAGS-tzset.c): Likewise.
15443 (CFLAGS-getdate.c): Likewise.
15444 (CFLAGS-test_time.c): Likewise.
15445 (CPPFLAGS-tst-tzname.c): Likewise.
15446 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
15447 (CFLAGS-zic.c): Likewise.
15448 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
15449 (CFLAGS-wcswidth.c): Likewise.
15450 (CFLAGS-wcstol.c): Likewise.
15451 (CFLAGS-wcstoul.c): Likewise.
15452 (CFLAGS-wcstoll.c): Likewise.
15453 (CFLAGS-wcstoull.c): Likewise.
15454 (CFLAGS-wcstod.c): Likewise.
15455 (CFLAGS-wcstold.c): Likewise.
15456 (CFLAGS-wcstof128.c): Likewise.
15457 (CFLAGS-wcstof.c): Likewise.
15458 (CFLAGS-wcstol_l.c): Likewise.
15459 (CFLAGS-wcstoul_l.c): Likewise.
15460 (CFLAGS-wcstoll_l.c): Likewise.
15461 (CFLAGS-wcstoull_l.c): Likewise.
15462 (CFLAGS-wcstod_l.c): Likewise.
15463 (CFLAGS-wcstold_l.c): Likewise.
15464 (CFLAGS-wcstof128_l.c): Likewise.
15465 (CFLAGS-wcstof_l.c): Likewise.
15466 (CPPFLAGS-tst-wchar-h.c): Likewise.
15467 (CPPFLAGS-wcstold_l.c): Likewise.
15469 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
15471 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
15473 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15474 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15476 * manual/tunables.texi (Hardware Capability Tunables): Document
15477 glibc.tune.cached_memopt.
15478 * sysdeps/powerpc/cpu-features.c: New file.
15479 * sysdeps/powerpc/cpu-features.h: New file.
15480 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
15481 _dl_powerpc_cpu_features.
15482 * sysdeps/powerpc/dl-tunables.list: New file.
15483 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
15484 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15485 (INIT_ARCH): Initialize use_aligned_memopt.
15486 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
15487 IS_IN(rtld))]: Restrict dl_platform_init availability and
15488 initialize CPU features used by tunables.
15489 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
15490 Add memcpy-power8-cached.
15491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
15492 __memcpy_power8_cached.
15493 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
15497 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
15499 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
15500 (CFLAGS-noinl-tester.c): Likewise.
15501 (CFLAGS-tst-strlen.c): Likewise.
15502 (CFLAGS-stratcliff.c): Likewise.
15503 (CFLAGS-test-ffs.c): Likewise.
15504 (CFLAGS-tst-inlcall.c): Likewise.
15505 (CFLAGS-tst-xbzero-opt.c): Likewise.
15506 (CFLAGS-memcpy.c): Likewise.
15507 (CFLAGS-wordcopy.c): Likewise.
15509 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15511 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
15512 Store r15 on stack and add cfi rule.
15513 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15516 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
15519 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
15522 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
15524 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15525 Add s_sinf-sse2 and s_sinf-fma.
15526 (CFLAGS-s_sinf-fma.c): New.
15527 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
15528 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
15529 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
15531 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
15533 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
15535 2017-12-07 Joseph Myers <joseph@codesourcery.com>
15538 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
15539 part of result to imaginary part of argument if it is zero and the
15540 real part of the argument is not finite.
15541 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
15542 of result to real part of argument if it is zero and the imaginary
15543 part of the argument is not finite.
15545 2017-12-07 Mike FABIAN <mfabian@redhat.com>
15548 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
15549 and to the list of locales to be built for testing.
15550 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
15551 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
15552 and build the collation rules upon that.
15554 2017-12-07 Joseph Myers <joseph@codesourcery.com>
15556 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
15557 * manual/math.texi (Mathematics): Document support for _Float32.
15558 * math/Makefile (test-types): Add float32.
15559 * math/Versions (GLIBC_2.27): Add _Float32 functions.
15560 * stdlib/Versions (GLIBC_2.27): Likewise.
15561 * wcsmbs/Versions (GLIBC_2.27): Likewise.
15562 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15563 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15564 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15565 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15568 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15570 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15571 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15572 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15573 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15577 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15578 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15579 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15580 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15581 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15582 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
15584 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15585 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15586 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15587 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15588 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15606 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15608 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15614 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15615 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15624 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15630 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15631 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15633 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15635 * stdlib/strtof.c: Include <bits/floatn.h>
15636 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
15637 and later undefine as macro. Define as weak alias if
15639 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
15640 and later undefine as macro. Define as weak alias if
15642 * stdlib/strtof_l.c: Include <bits/floatn.h>
15643 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
15644 and later undefine as macro. Define as weak alias if
15646 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
15647 and later undefine as macro. Define as weak alias if
15650 * stdlib/strfromf.c: Include <bits/floatn.h>.
15651 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
15652 and later undefine as macro and define as weak alias.
15654 * math/test-float32.h: New file.
15656 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
15657 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
15658 (libm_alias_float_other_r): Create f32 alias.
15659 (libm_alias_float_r): Use semicolon before call to
15660 libm_alias_float_other_r.
15662 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
15663 second argument to libm_alias_float_other.
15664 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
15665 second argument to libm_alias_float_other.
15666 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
15667 argument to libm_alias_float_other.
15670 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
15671 real part of result for argument 0 + i * NaN.
15672 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
15673 results for tests of 0 + i * NaN.
15675 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15677 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15679 2017-12-06 David S. Miller <davem@davemloft.net>
15681 * sysdeps/sparc/fpu/libm-test-ulps: Update
15682 exp_{downward,towardzero,upward} ulps.
15684 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15686 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
15689 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
15691 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
15693 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
15695 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
15698 2017-12-06 Mike FABIAN <mfabian@redhat.com>
15701 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
15702 and to the list of locales to be built for testing.
15703 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
15704 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
15705 and build the collation rules upon that.
15707 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15709 * NEWS: Add sinf to list of optimized functions.
15711 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15713 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
15714 (__HAVE_FLOAT32X): Likewise.
15715 * manual/math.texi (Mathematics): Document support for _Float64
15717 * math/Makefile (test-types): Add float64 and float32x.
15718 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
15720 * stdlib/Versions (GLIBC_2.27): Likewise.
15721 * wcsmbs/Versions (GLIBC_2.27): Likewise.
15722 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15723 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15727 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15728 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15729 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15730 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15731 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15732 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15735 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15736 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
15744 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15745 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15746 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15747 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15765 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15766 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15767 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15768 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15769 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15770 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15771 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15772 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15773 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15774 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15783 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15784 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15785 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15786 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15787 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15788 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15789 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15790 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15792 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15794 * bits/floatn-common.h: Include <bits/long-double.h>.
15795 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15796 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
15797 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15798 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
15799 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15800 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
15801 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15802 (__builtin_huge_valf64): Use __builtin_huge_vall.
15803 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15804 (__builtin_inff64): Use __builtin_infl.
15805 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15806 (__builtin_nanf64): Use __builtin_nanl.
15807 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15808 (__builtin_nansf64): Use __builtin_nansl.
15810 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15811 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15812 Carlos O'Donnell <carlos@redhat.com>
15814 * elf/dl-tunables.list: Add elision parameters.
15815 * manual/tunables.texi: Add entries about elision tunable.
15816 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
15817 Add callback functions to dynamically enable/disable elision.
15818 Add multiple callbacks functions to set elision parameters.
15819 Deleted __libc_enable_secure check.
15820 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
15821 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
15822 * configure: Regenerated.
15823 * configure.ac: Option enable_lock_elision was deleted.
15824 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
15825 * config.make.in: Remove references to enable_lock_elision.
15826 * manual/install.texi: Elision configure option was removed.
15827 * INSTALL: Regenerated to remove enable_lock_elision.
15829 Disable elision so it can verify error case for destroying a mutex.
15830 * sysdeps/powerpc/nptl/elide.h:
15831 Cleanup ENABLE_LOCK_ELISION check.
15832 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
15833 * sysdeps/s390/configure: Regenerated.
15834 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
15835 * nptl/tst-mutex8.c:
15836 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
15837 * sysdeps/powerpc/powerpc32/sysdep.h:
15838 Deleted all ENABLE_LOCK_ELISION checks.
15839 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15840 * sysdeps/powerpc/sysdep.h: Likewise.
15841 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
15842 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
15843 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15844 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15845 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15846 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
15847 enable-lock-elision.
15849 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15851 * stdlib/strtod.c: Include <bits/floatn.h>.
15852 (BUILD_DOUBLE): New macro.
15853 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15854 (strtof64): Define and later undefine as macro. Define as weak
15855 alias if [!USE_WIDE_CHAR].
15856 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15857 (wcstof64): Define and later undefine as macro. Define as weak
15858 alias if [USE_WIDE_CHAR].
15859 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15860 (strtof32x): Define and later undefine as macro. Define as weak
15861 alias if [!USE_WIDE_CHAR].
15862 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15863 (wcstof32x): Define and later undefine as macro. Define as weak
15864 alias if [USE_WIDE_CHAR].
15865 * stdlib/strtod_l.c: Include <bits/floatn.h>.
15866 (BUILD_DOUBLE): New macro.
15867 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15868 (strtof64_l): Define and later undefine as macro. Define as weak
15869 alias if [!USE_WIDE_CHAR].
15870 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15871 (wcstof64_l): Define and later undefine as macro. Define as weak
15872 alias if [USE_WIDE_CHAR].
15873 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15874 (strtof32x_l): Define and later undefine as macro. Define as weak
15875 alias if [!USE_WIDE_CHAR].
15876 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15877 (wcstof32x_l): Define and later undefine as macro. Define as weak
15878 alias if [USE_WIDE_CHAR].
15880 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15882 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
15883 (reduced): Use ones as double instead of integer.
15885 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
15887 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
15889 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15891 * stdlib/strfromd.c: Include <bits/floatn.h>.
15892 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
15893 and later undefine as macro and define as weak alias.
15894 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
15897 * math/test-float32x.h: New file.
15898 * math/test-float64.h: Likewise.
15900 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
15901 (libm_alias_double_other_r_f64): New macro.
15902 (libm_alias_double_other_r_f32x): Likewise.
15903 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
15904 libm_alias_double_other_r_f32x.
15905 (libm_alias_double_r): Use semicolon before call to
15906 libm_alias_double_other_r.
15907 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
15909 (libm_alias_double_other_r_f64): New macro.
15910 (libm_alias_double_other_r_f32x): Likewise.
15911 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
15912 libm_alias_double_other_r_f32x.
15914 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
15916 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
15918 (SINF_FUNC): Likewise. Replace floor with simple casts.
15920 2017-12-05 Mike FABIAN <mfabian@redhat.com>
15923 * localedata/Makefile: Add et_EE.UTF-8 to test-input
15924 and to the list of locales to be built for testing.
15925 * localedata/et_EE.UTF-8.in: New file for testing the collation.
15926 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
15927 and build the collation rules upon that.
15929 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
15931 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
15932 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
15933 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
15934 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
15935 instead of __insn__xxx.
15936 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
15937 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
15938 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
15939 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
15940 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
15941 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
15943 2017-12-05 Florian Weimer <fweimer@redhat.com>
15945 Linux: Implement interfaces for memory protection keys
15946 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
15948 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
15949 * support/xunistd.h (xsysconf): Declare.
15950 * support/xraise.c: New file.
15951 * support/xsigaction.c: Likewise.
15952 * support/xsignal.c: Likewise.
15953 * support/xsysconf.c: Likewise.
15954 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
15955 pkey_set, pkey_get, pkey_mprotect.
15956 [misc] (tests): Add tst-pkey.
15957 (tst-pkey): Link with -lpthread.
15958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
15959 pkey_free, pkey_set, pkey_get, pkey_mprotect.
15960 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
15961 (PKEY_DISABLE_WRITE): Define.
15962 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
15964 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
15965 (SEGV_PKUERR): Add.
15966 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
15967 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
15968 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
15969 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
15971 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
15972 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
15973 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
15974 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
15975 * sysdeps/unix/sysv/linux/**.abilist: Update.
15977 2017-12-05 Florian Weimer <fweimer@redhat.com>
15979 * support/tst-test_compare.c (subprocess): Use long long instead
15980 of long argument for consistent type width across 32-bit and
15981 64-bit architectures.
15982 (do_test): Adjust expected output.
15984 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15986 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
15987 (cosf): Define using libm_alias_float.
15988 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
15989 (fabsf): Define using libm_alias_float.
15990 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
15991 (fmaf): Define using libm_alias_float.
15992 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
15993 (rintf): Define using libm_alias_float.
15994 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
15995 (sinf): Define using libm_alias_float.
15996 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
15997 <libm-alias-float.h>.
15998 (modff): Define using libm_alias_float.
15999 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
16000 <libm-alias-float.h>.
16001 (logbf): Define using libm_alias_float.
16002 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
16003 <libm-alias-float.h>.
16004 (ceilf): Define using libm_alias_float.
16005 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
16006 <libm-alias-float.h>.
16007 (copysignf): Define using libm_alias_float.
16008 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
16009 <libm-alias-float.h>.
16010 (floorf): Define using libm_alias_float.
16011 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16012 <libm-alias-float.h>.
16013 (llrintf): Define using libm_alias_float.
16014 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16015 <libm-alias-float.h>.
16016 (llroundf): Define using libm_alias_float.
16017 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
16018 <libm-alias-float.h>.
16019 (lrintf): Define using libm_alias_float.
16020 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
16021 <libm-alias-float.h>.
16022 (lroundf): Define using libm_alias_float.
16023 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
16024 <libm-alias-float.h>.
16025 (nearbyintf): Define using libm_alias_float.
16026 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
16027 <libm-alias-float.h>.
16028 (rintf): Define using libm_alias_float.
16029 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
16030 <libm-alias-float.h>.
16031 (roundf): Define using libm_alias_float.
16032 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
16033 <libm-alias-float.h>.
16034 (truncf): Define using libm_alias_float.
16035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
16036 Include <libm-alias-float.h>.
16037 (ceilf): Define using libm_alias_float.
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
16039 Include <libm-alias-float.h>.
16040 (copysignf): Define using libm_alias_float.
16041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
16042 Include <libm-alias-float.h>.
16043 (floorf): Define using libm_alias_float.
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
16045 Include <libm-alias-float.h>.
16046 (llrintf): Define using libm_alias_float.
16047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
16048 Include <libm-alias-float.h>.
16049 (llroundf): Define using libm_alias_float.
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
16051 Include <libm-alias-float.h>.
16052 (logbf): Define using libm_alias_float.
16053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
16054 Include <libm-alias-float.h>.
16055 (lrintf): Define using libm_alias_float.
16056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
16057 Include <libm-alias-float.h>.
16058 (lroundf): Define using libm_alias_float.
16059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
16060 Include <libm-alias-float.h>.
16061 (modff): Define using libm_alias_float.
16062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
16063 Include <libm-alias-float.h>.
16064 (roundf): Define using libm_alias_float.
16065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
16066 Include <libm-alias-float.h>.
16067 (truncf): Define using libm_alias_float.
16068 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
16069 <libm-alias-float.h>.
16070 (llrintf): Define using libm_alias_float.
16071 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16072 <libm-alias-float.h>.
16073 (llroundf): Define using libm_alias_float.
16074 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
16075 <libm-alias-float.h>.
16076 (ceilf): Define using libm_alias_float.
16077 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
16078 <libm-alias-float.h>.
16079 (floorf): Define using libm_alias_float.
16080 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16081 <libm-alias-float.h>.
16082 (llroundf): Define using libm_alias_float.
16083 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16084 <libm-alias-float.h>.
16085 (lroundf): Define using libm_alias_float.
16086 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
16087 <libm-alias-float.h>.
16088 (roundf): Define using libm_alias_float.
16089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
16090 <libm-alias-float.h>.
16091 (truncf): Define using libm_alias_float.
16092 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16093 <libm-alias-float.h>.
16094 (copysignf): Define using libm_alias_float.
16095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
16096 <libm-alias-float.h>.
16097 (llrintf): Define using libm_alias_float.
16098 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16099 <libm-alias-float.h>.
16100 (llroundf): Define using libm_alias_float.
16101 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16102 <libm-alias-float.h>.
16103 (lrintf): Define using libm_alias_float.
16104 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16105 <libm-alias-float.h>.
16106 (lroundf): Define using libm_alias_float.
16107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
16108 <libm-alias-float.h>.
16109 (ceilf): Define using libm_alias_float.
16110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
16111 <libm-alias-float.h>.
16112 (copysignf): Define using libm_alias_float.
16113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
16114 <libm-alias-float.h>.
16115 (cosf): Define using libm_alias_float.
16116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
16117 <libm-alias-float.h>.
16118 (floorf): Define using libm_alias_float.
16119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
16120 <libm-alias-float.h>.
16121 (llrintf): Define using libm_alias_float.
16122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
16123 <libm-alias-float.h>.
16124 (llroundf): Define using libm_alias_float.
16125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
16126 <libm-alias-float.h>.
16127 (logbf): Define using libm_alias_float.
16128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
16129 <libm-alias-float.h>.
16130 (modff): Define using libm_alias_float.
16131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
16132 <libm-alias-float.h>.
16133 (roundf): Define using libm_alias_float.
16134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
16135 <libm-alias-float.h>.
16136 (sinf): Define using libm_alias_float.
16137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
16138 <libm-alias-float.h>.
16139 (truncf): Define using libm_alias_float.
16140 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
16141 <libm-alias-float.h>.
16142 (ceilf): Define using libm_alias_float.
16143 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16144 <libm-alias-float.h>.
16145 (copysignf): Define using libm_alias_float.
16146 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
16147 <libm-alias-float.h>.
16148 (floorf): Define using libm_alias_float.
16149 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16150 <libm-alias-float.h>.
16151 (llrintf): Define using libm_alias_float.
16152 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
16153 <libm-alias-float.h>.
16154 (llroundf): Define using libm_alias_float.
16155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
16156 <libm-alias-float.h>.
16157 (nearbyintf): Define using libm_alias_float.
16158 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
16159 <libm-alias-float.h>.
16160 (rintf): Define using libm_alias_float.
16161 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
16162 <libm-alias-float.h>.
16163 (roundf): Define using libm_alias_float.
16164 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
16165 <libm-alias-float.h>.
16166 (truncf): Define using libm_alias_float.
16167 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
16168 <libm-alias-float.h>.
16169 (ceilf): Define using libm_alias_float.
16170 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
16171 <libm-alias-float.h>.
16172 (floorf): Define using libm_alias_float.
16173 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16174 <libm-alias-float.h>.
16175 (llroundf): Define using libm_alias_float.
16176 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
16177 <libm-alias-float.h>.
16178 (roundf): Define using libm_alias_float.
16179 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
16180 <libm-alias-float.h>.
16181 (truncf): Define using libm_alias_float.
16182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16183 <libm-alias-float.h>.
16184 (copysignf): Define using libm_alias_float.
16185 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16186 <libm-alias-float.h>.
16187 (llrintf): Define using libm_alias_float.
16188 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16189 <libm-alias-float.h>.
16190 (llroundf): Define using libm_alias_float.
16191 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
16192 <libm-alias-float.h>.
16193 (cosf): Define using libm_alias_float.
16194 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16195 <libm-alias-float.h>.
16196 (llrintf): Define using libm_alias_float.
16197 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16198 <libm-alias-float.h>.
16199 (llroundf): Define using libm_alias_float.
16200 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
16201 <libm-alias-float.h>.
16202 (sinf): Define using libm_alias_float.
16204 2017-12-04 Florian Weimer <fweimer@redhat.com>
16206 * support/check.h (TEST_COMPARE): Define.
16207 (support_test_compare_failure): Declare.
16208 * support/Makefile (libsupport-routines): Add
16209 support_test_compare_failure.
16210 (tests): Add tst-test_compare.
16211 * support /support_test_compare_failure.c: New file.
16212 * support/tst-test_compare.c: Likewise.
16214 2017-12-04 Mike FABIAN <mfabian@redhat.com>
16217 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
16218 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
16219 available, this rewrite of the collation rules does reproduce
16220 the test file in the same order.
16222 2017-12-04 Mike FABIAN <mfabian@redhat.com>
16225 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
16226 digraphs in the month and day names. Using single code points for
16227 digraphs is deprecated. While there are dedicated Unicode
16228 codepoints, for the digraphs, these are included for backwards
16229 compatibility and modern texts use a sequence of Basic Latin
16230 characters. See: https://www.unicode.org/faq/ligature_digraph.html
16231 This makes the month and day names agree exactly with CLDR now,
16232 CLDR does not use the single code points for the digraphs either.
16234 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
16236 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
16238 2017-12-04 Joseph Myers <joseph@codesourcery.com>
16240 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
16243 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
16245 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
16246 Define only for libc.so.
16248 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16250 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16251 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
16252 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
16253 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
16254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16256 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16259 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
16261 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
16264 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
16265 PREINIT_FUNCTION_WEAK is nonzero.
16266 (gmon_initializer): New function. Put procedure label for it in
16267 .init_array section.
16268 (_init): Don't call PREINIT_FUNCTION.
16269 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
16270 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
16271 value when map argument is null.
16273 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
16274 depi instruction from PIC pc-relative sequence.
16275 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
16276 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
16277 (elf_machine_load_address): Likewise.
16278 (elf_machine_runtime_setup): Likewise.
16280 2017-12-02 Joseph Myers <joseph@codesourcery.com>
16282 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
16283 <libm-alias-double.h>.
16284 (logb): Define using libm_alias_double.
16285 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
16286 <libm-alias-double.h>.
16287 (copysign): Define using libm_alias_double.
16288 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
16289 <libm-alias-double.h>.
16290 (llrint): Define using libm_alias_double.
16291 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
16292 <libm-alias-double.h>.
16293 (llround): Define using libm_alias_double.
16294 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
16295 <libm-alias-double.h>.
16296 (lrint): Define using libm_alias_double.
16297 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
16298 <libm-alias-double.h>.
16299 (lround): Define using libm_alias_double.
16300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16301 Include <libm-alias-double.h>.
16302 (copysign): Define using libm_alias_double.
16303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
16304 Include <libm-alias-double.h>.
16305 (llrint): Define using libm_alias_double.
16306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
16307 Include <libm-alias-double.h>.
16308 (llround): Define using libm_alias_double.
16309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
16310 <libm-alias-double.h>.
16311 (logb): Define using libm_alias_double.
16312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
16313 Include <libm-alias-double.h>.
16314 (lrint): Define using libm_alias_double.
16315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
16316 Include <libm-alias-double.h>.
16317 (lround): Define using libm_alias_double.
16318 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
16319 <libm-alias-double.h>.
16320 (llrint): Define using libm_alias_double.
16321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16322 <libm-alias-double.h>.
16323 (llround): Define using libm_alias_double.
16324 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16325 <libm-alias-double.h>.
16326 (llround): Define using libm_alias_double.
16327 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16328 <libm-alias-double.h>.
16329 (lround): Define using libm_alias_double.
16330 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16331 <libm-alias-double.h>.
16332 (copysign): Define using libm_alias_double.
16333 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
16334 <libm-alias-double.h>.
16335 (llrint): Define using libm_alias_double.
16336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16337 <libm-alias-double.h>.
16338 (llround): Define using libm_alias_double.
16339 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16340 <libm-alias-double.h>.
16341 (lrint): Define using libm_alias_double.
16342 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16343 <libm-alias-double.h>.
16344 (lround): Define using libm_alias_double.
16345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
16346 <libm-alias-double.h>.
16347 (copysign): Define using libm_alias_double.
16348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
16349 <libm-alias-double.h>.
16350 (llrint): Define using libm_alias_double.
16352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
16353 <libm-alias-double.h>.
16354 (llround): Define using libm_alias_double.
16355 (lround): Likewise.
16356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
16357 <libm-alias-double.h>.
16358 (logb): Define using libm_alias_double.
16359 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16360 <libm-alias-double.h>.
16361 (copysign): Define using libm_alias_double.
16362 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16363 <libm-alias-double.h>.
16364 (llrint): Define using libm_alias_double.
16366 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
16367 <libm-alias-double.h>.
16368 (llround): Define using libm_alias_double.
16369 (lround): Likewise.
16370 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16371 <libm-alias-double.h>.
16372 (llround): Define using libm_alias_double.
16373 (lround): Likewise.
16374 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16375 <libm-alias-double.h>.
16376 (copysign): Define using libm_alias_double.
16377 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16378 <libm-alias-double.h>.
16379 (llrint): Define using libm_alias_double.
16381 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16382 <libm-alias-double.h>.
16383 (llround): Define using libm_alias_double.
16384 (lround): Likewise.
16385 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16386 <libm-alias-double.h>.
16387 (llrint): Define using libm_alias_double.
16389 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16390 <libm-alias-double.h>.
16391 (llround): Define using libm_alias_double.
16392 (lround): Likewise.
16394 2017-12-01 Joseph Myers <joseph@codesourcery.com>
16396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16397 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
16398 compat symbol based on llround.
16400 * sysdeps/powerpc/power7/fpu/s_logb.c
16401 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
16402 symbol based on __logb, not on logb.
16403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
16404 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
16405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
16406 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
16408 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
16409 (rint): Define using libm_alias_double.
16410 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
16411 <libm-alias-double.h>.
16412 (modf): Define using libm_alias_double.
16413 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
16414 <libm-alias-double.h>.
16415 (ceil): Define using libm_alias_double.
16416 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
16417 <libm-alias-double.h>.
16418 (floor): Define using libm_alias_double.
16419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
16420 <libm-alias-double.h>.
16421 (nearbyint): Define using libm_alias_double.
16422 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
16423 <libm-alias-double.h>.
16424 (rint): Define using libm_alias_double.
16425 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
16426 <libm-alias-double.h>.
16427 (round): Define using libm_alias_double.
16428 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
16429 <libm-alias-double.h>.
16430 (trunc): Define using libm_alias_double.
16431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
16432 <libm-alias-double.h>.
16433 (ceil): Define using libm_alias_double.
16434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
16435 Include <libm-alias-double.h>.
16436 (floor): Define using libm_alias_double.
16437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
16438 <libm-alias-double.h>.
16439 (modf): Define using libm_alias_double.
16440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
16441 Include <libm-alias-double.h>.
16442 (round): Define using libm_alias_double.
16443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
16444 Include <libm-alias-double.h>.
16445 (trunc): Define using libm_alias_double.
16446 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
16447 <libm-alias-double.h>.
16448 (ceil): Define using libm_alias_double.
16449 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
16450 <libm-alias-double.h>.
16451 (floor): Define using libm_alias_double.
16452 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
16453 <libm-alias-double.h>.
16454 (round): Define using libm_alias_double.
16455 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
16456 <libm-alias-double.h>.
16457 (trunc): Define using libm_alias_double.
16458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
16459 <libm-alias-double.h>.
16460 (ceil): Define using libm_alias_double.
16461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
16462 <libm-alias-double.h>.
16463 (floor): Define using libm_alias_double.
16464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
16465 <libm-alias-double.h>.
16466 (modf): Define using libm_alias_double.
16467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
16468 <libm-alias-double.h>.
16469 (round): Define using libm_alias_double.
16470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
16471 <libm-alias-double.h>.
16472 (trunc): Define using libm_alias_double.
16473 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
16474 <libm-alias-double.h>.
16475 (ceil): Define using libm_alias_double.
16476 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
16477 <libm-alias-double.h>.
16478 (floor): Define using libm_alias_double.
16479 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
16480 <libm-alias-double.h>.
16481 (nearbyint): Define using libm_alias_double.
16482 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
16483 <libm-alias-double.h>.
16484 (rint): Define using libm_alias_double.
16485 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
16486 <libm-alias-double.h>.
16487 (round): Define using libm_alias_double.
16488 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
16489 <libm-alias-double.h>.
16490 (trunc): Define using libm_alias_double.
16491 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
16492 <libm-alias-double.h>.
16493 (ceil): Define using libm_alias_double.
16494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
16495 <libm-alias-double.h>.
16496 (floor): Define using libm_alias_double.
16497 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
16498 <libm-alias-double.h>.
16499 (round): Define using libm_alias_double.
16500 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
16501 <libm-alias-double.h>.
16502 (trunc): Define using libm_alias_double.
16504 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
16505 (fabs): Define using libm_alias_double.
16506 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
16507 (fma): Define using libm_alias_double.
16508 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
16509 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
16510 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
16511 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
16513 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16515 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
16517 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
16518 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
16519 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
16521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
16522 due redirect macro.
16524 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
16526 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
16528 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16530 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
16531 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
16532 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
16533 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
16535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16536 (libm-sysdep_routines): Add s_nearbyintf-generic and
16537 s_nearbyint-generic.
16538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
16540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
16541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
16543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
16545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
16547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
16550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16551 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
16552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
16554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
16555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
16557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
16558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
16559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16562 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
16563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
16565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
16566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
16568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
16569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
16570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
16572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16573 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
16574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
16576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
16577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
16579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
16580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
16581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16584 (sysdep_calls): New rule.
16585 (sysdep_routines): Use sysdep_calls as base.
16586 (libm-sysdep_routines): Add generic rule for symbols shared with
16587 libc. Add s_copysign-generic and s_copysign-generic objects.
16588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
16590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
16591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
16593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
16594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
16595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
16597 2017-12-01 Mike FABIAN <mfabian@redhat.com>
16600 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
16601 the list of locales to be built for testing.
16602 * localedata/is_IS.UTF-8.in: New file.
16603 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
16606 2017-12-01 Joseph Myers <joseph@codesourcery.com>
16608 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
16609 <libm-alias-float.h>.
16610 (fabsf): Define using libm_alias_float.
16612 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
16614 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
16616 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16618 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
16619 <libm-alias-float.h>.
16620 (fabsf): Define using libm_alias_float.
16621 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
16622 <libm-alias-float.h>.
16623 (lrintf): Define using libm_alias_float.
16624 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
16625 <libm-alias-float.h>.
16626 (rintf): Define using libm_alias_float.
16628 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
16629 <libm-alias-double.h>.
16630 (fabs): Define using libm_alias_double.
16631 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
16632 <libm-alias-double.h>.
16633 (lrint): Define using libm_alias_double.
16634 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
16635 <libm-alias-double.h>.
16636 (rint): Define using libm_alias_double.
16638 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
16639 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
16640 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
16641 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
16642 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
16643 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
16644 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
16645 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
16646 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
16647 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
16648 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
16649 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
16650 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
16651 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
16652 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
16653 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
16654 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
16655 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
16657 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
16658 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
16659 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
16661 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
16662 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
16663 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
16665 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
16666 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
16667 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
16668 s_expm1_template.c.
16669 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
16670 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
16671 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
16673 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
16674 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
16675 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
16676 s_floor_template.c.
16677 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
16678 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
16679 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
16680 s_frexp_template.c.
16681 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
16682 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
16683 s_lrint_template.c.
16684 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
16685 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
16686 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
16688 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
16689 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
16690 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
16691 s_nearbyint_template.c.
16692 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
16693 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
16694 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
16695 s_remquo_template.c.
16696 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
16697 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
16698 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
16700 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
16701 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
16702 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
16704 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
16705 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
16706 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
16707 s_sincos_template.c.
16708 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
16709 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
16710 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
16712 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
16713 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
16714 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
16716 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
16717 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
16718 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
16719 s_trunc_template.c.
16720 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
16721 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
16722 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
16723 s_atan.c instead of including s_atan.c.
16724 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
16725 s_atanf.c instead of including s_atanf.c.
16726 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
16727 s_atanl.c instead of including s_atanl.c.
16728 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
16729 instead of s_atan.c.
16730 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
16731 instead of s_atanf.c.
16732 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
16733 instead of s_atanl.c.
16735 * scripts/update-copyrights: Do not handle intl/plural.c
16738 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
16741 * configure.ac (BISON): Require to be present.
16742 * configure: Regenerated.
16743 * intl/Makefile (generated): Add plural.c.
16744 [$(BISON) != no]: Make code unconditional.
16745 (plural.c): Change rule to $(objpfx)plural.c.
16746 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
16747 * intl/plural.c: Remove.
16748 * manual/install.texi (Tools for Compilation): Document bison as
16750 * INSTALL: Regenerated.
16752 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16754 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
16755 <libm-alias-double.h>.
16756 (llrint): Define using libm_alias_double.
16757 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
16758 <libm-alias-float.h>.
16759 (llrintf): Define using libm_alias_float.
16760 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
16761 <libm-alias-ldouble.h>.
16762 (llrintl): Define using libm_alias_ldouble.
16764 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
16765 declare_mgen_alias instead of weak_alias.
16766 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
16767 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
16768 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
16770 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16772 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16774 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
16775 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
16776 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
16778 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16779 Add submul_1-generic.
16780 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
16781 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
16782 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
16784 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16785 Add addmul_1-generic.
16786 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
16787 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
16788 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
16790 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16792 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
16793 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
16794 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
16796 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16798 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
16799 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
16800 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
16802 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16804 According to CLDR, collation rules for Serbian and Bosnian
16805 should be the same as for Croatian.
16808 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
16809 and to the list of locales to be built for testing.
16810 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
16811 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
16812 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
16813 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
16815 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16817 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
16818 to make test case pass.
16819 * localedata/hr_HR.UTF-8.in: Add more test strings.
16821 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16823 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
16825 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
16827 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
16828 the list of locales to built for testing.
16829 * localedata/hr_HR.UTF-8.in: New file.
16831 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
16834 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
16836 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
16837 CLDR (except use ligatures for the digraphs, CLDR does not use
16838 the ligatures), add first_workday, some fixes in the date and time
16840 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
16842 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
16843 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
16844 Add int_p_cs_precedes and int_n_cs_precedes.
16845 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
16846 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
16848 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
16849 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
16851 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
16852 and lang_lib. Change postal_fmt.
16854 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
16856 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
16858 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
16859 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
16860 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
16861 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
16862 * sysdeps/generic/setjmpP.h: New file.
16863 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
16864 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
16865 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
16866 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
16867 Add jmp_buf-ssp.sym.
16868 (tests): Add tst-saved_mask-1.
16870 2017-11-30 Arjun Shankar <arjun@redhat.com>
16874 * malloc/malloc.c (__libc_malloc): Use checked_request2size
16875 instead of request2size.
16877 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
16880 (__lllrint): Remove alias.
16881 (lllrint): Likewise.
16882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
16883 (__lllrintf): Likewise.
16884 (lllrintf): Likewise.
16886 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
16887 <libm-alias-float.h>.
16888 (copysignf): Define using libm_alias_float.
16889 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
16890 <libm-alias-float.h>.
16891 (fabsf): Define using libm_alias_float.
16892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16893 Include <libm-alias-float.h>.
16894 (copysignf): Define using libm_alias_float.
16895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
16896 <libm-alias-float.h>.
16897 (fabsf): Define using libm_alias_float.
16898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
16899 <libm-alias-float.h>.
16900 (fdimf): Define using libm_alias_float.
16901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
16902 <libm-alias-float.h>.
16903 (fmaf): Define using libm_alias_float.
16904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
16905 <libm-alias-float.h>.
16906 (llrintf): Define using libm_alias_float.
16907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
16908 Include <libm-alias-float.h>.
16909 (nearbyintf): Define using libm_alias_float.
16910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
16911 <libm-alias-float.h>.
16912 (rintf): Define using libm_alias_float.
16913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
16914 <libm-alias-float.h>.
16915 (llrintf): Define using libm_alias_float.
16916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
16917 <libm-alias-float.h>.
16918 (lrintf): Define using libm_alias_float.
16919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
16920 <libm-alias-float.h>.
16921 (nearbyintf): Define using libm_alias_float.
16922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
16923 <libm-alias-float.h>.
16924 (rintf): Define using libm_alias_float.
16925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
16926 <libm-alias-float.h>.
16927 (ceilf): Define using libm_alias_float.
16928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
16929 <libm-alias-float.h>.
16930 (floorf): Define using libm_alias_float.
16931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
16932 <libm-alias-float.h>.
16933 (fmaf): Define using libm_alias_float.
16934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
16935 <libm-alias-float.h>.
16936 (lrintf): Define using libm_alias_float.
16937 (llrintf): Likewise.
16938 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
16939 <libm-alias-float.h>.
16940 (nearbyintf): Define using libm_alias_float.
16941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
16942 <libm-alias-float.h>.
16943 (rintf): Define using libm_alias_float.
16944 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
16945 <libm-alias-float.h>.
16946 (truncf): Define using libm_alias_float.
16947 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
16948 <libm-alias-float.h>.
16949 (copysignf): Define using libm_alias_float.
16950 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
16951 <libm-alias-float.h>.
16952 (fabsf): Define using libm_alias_float.
16953 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
16954 <libm-alias-float.h>.
16955 (lrintf): Define using libm_alias_float.
16956 (llrintf): Likewise.
16957 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
16958 <libm-alias-float.h>.
16959 (nearbyintf): Define using libm_alias_float.
16960 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
16961 <libm-alias-float.h>.
16962 (rintf): Define using libm_alias_float.
16964 2017-11-29 Joseph Myers <joseph@codesourcery.com>
16966 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
16967 <libm-alias-double.h>.
16968 (copysign): Define using libm_alias_double.
16969 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
16970 <libm-alias-double.h>.
16971 (fabs): Define using libm_alias_double.
16972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16973 Include <libm-alias-double.h>.
16974 (copysign): Define using libm_alias_double.
16975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
16976 <libm-alias-double.h>.
16977 (fabs): Define using libm_alias_double.
16978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
16979 <libm-alias-double.h>.
16980 (fdim): Define using libm_alias_double.
16981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
16982 <libm-alias-double.h>.
16983 (fma): Define using libm_alias_double.
16984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
16985 <libm-alias-double.h>.
16986 (llrint): Define using libm_alias_double.
16987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
16988 Include <libm-alias-double.h>.
16989 (nearbyint): Define using libm_alias_double.
16990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
16991 <libm-alias-double.h>.
16992 (rint): Define using libm_alias_double.
16993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
16994 <libm-alias-double.h>.
16995 (fabs): Define using libm_alias_double.
16996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
16997 <libm-alias-double.h>.
16998 (llrint): Define using libm_alias_double.
16999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
17000 <libm-alias-double.h>.
17001 (nearbyint): Define using libm_alias_double.
17002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
17003 <libm-alias-double.h>.
17004 (rint): Define using libm_alias_double.
17005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
17006 <libm-alias-double.h>.
17007 (ceil): Define using libm_alias_double.
17008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
17009 <libm-alias-double.h>.
17010 (floor): Define using libm_alias_double.
17011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
17012 <libm-alias-double.h>.
17013 (fma): Define using libm_alias_double.
17014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
17015 <libm-alias-double.h>.
17016 (lrint): Define using libm_alias_double.
17017 (llrint): Likewise.
17018 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
17019 <libm-alias-double.h>.
17020 (nearbyint): Define using libm_alias_double.
17021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
17022 <libm-alias-double.h>.
17023 (rint): Define using libm_alias_double.
17024 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
17025 <libm-alias-double.h>.
17026 (trunc): Define using libm_alias_double.
17027 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
17028 <libm-alias-double.h>.
17029 (copysign): Define using libm_alias_double.
17030 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
17031 <libm-alias-double.h>.
17032 (fabs): Define using libm_alias_double.
17033 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
17034 <libm-alias-double.h>.
17035 (lrint): Define using libm_alias_double.
17036 (llrint): Likewise.
17037 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
17038 <libm-alias-double.h>.
17039 (nearbyint): Define using libm_alias_double.
17040 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
17041 <libm-alias-double.h>.
17042 (rint): Define using libm_alias_double.
17045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17047 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
17049 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17050 SPARC --disable-multi-arch glibc variants.
17052 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
17053 <libm-alias-float.h>.
17054 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17056 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
17057 <libm-alias-float.h>.
17058 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17060 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
17061 <libm-alias-float.h>.
17062 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17064 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
17065 <libm-alias-float.h>.
17066 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17068 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
17069 <libm-alias-float.h>.
17070 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17072 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
17073 <libm-alias-float.h>.
17074 (ceilf): Define using libm_alias_float.
17075 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
17076 <libm-alias-float.h>.
17077 (floorf): Define using libm_alias_float.
17078 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
17079 <libm-alias-float.h>.
17080 (fmaf): Define using libm_alias_float.
17081 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
17082 <libm-alias-float.h>.
17083 (nearbyintf): Define using libm_alias_float.
17084 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
17085 <libm-alias-float.h>.
17086 (rintf): Define using libm_alias_float.
17087 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
17088 <libm-alias-float.h>.
17089 (truncf): Define using libm_alias_float.
17090 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17091 (copysignf): Define using libm_alias_float.
17092 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
17093 (cosf): Define using libm_alias_float.
17094 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17095 (fabsf): Define using libm_alias_float.
17096 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17097 (fmaxf): Define using libm_alias_float.
17098 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
17099 (fminf): Define using libm_alias_float.
17100 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17101 (llrintf): Define using libm_alias_float.
17102 [!__ILP32__] (lrintf): Likewise.
17103 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
17104 (sincosf): Define using libm_alias_float.
17105 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
17106 (sinf): Define using libm_alias_float.
17107 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17108 (lrintf): Define using libm_alias_float.
17110 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
17111 <libm-alias-double.h>.
17112 (atan): Define using libm_alias_double.
17113 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
17114 <libm-alias-double.h>.
17115 (ceil): Define using libm_alias_double.
17116 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
17117 <libm-alias-double.h>.
17118 (floor): Define using libm_alias_double.
17119 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
17120 <libm-alias-double.h>.
17121 (fma): Define using libm_alias_double.
17122 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
17123 <libm-alias-double.h>.
17124 (nearbyint): Define using libm_alias_double.
17125 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
17126 <libm-alias-double.h>.
17127 (rint): Define using libm_alias_double.
17128 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
17129 <libm-alias-double.h>.
17130 (sin): Define using libm_alias_double.
17132 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
17133 <libm-alias-double.h>.
17134 (tan): Define using libm_alias_double.
17135 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
17136 <libm-alias-double.h>.
17137 (trunc): Define using libm_alias_double.
17138 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
17139 (copysign): Define using libm_alias_double.
17140 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
17141 (fabs): Define using libm_alias_double.
17142 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
17143 (fmax): Define using libm_alias_double.
17144 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
17145 (fmin): Define using libm_alias_double.
17146 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
17147 (llrint): Define using libm_alias_double.
17148 [!__ILP32__] (lrint): Likewise.
17149 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
17150 (lrint): Define using libm_alias_double.
17152 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17155 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
17157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
17158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
17159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
17160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
17161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
17162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17165 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
17167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
17168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
17169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
17170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
17171 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
17172 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17175 (libm-sysdep_routines): Add s_nearbyint-generic and
17176 s_nearbyintf-generic objects.
17177 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
17178 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
17179 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
17180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
17181 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
17182 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
17184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17185 Add s_finitef-generic and s_finite-generic objects.
17186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
17187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
17188 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
17189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
17190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
17191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
17193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17194 Add s_isinff-generic and s_isinf-generic objects.
17195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
17196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
17197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
17198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
17199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
17200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17203 Add s_isnanf-generic and s_isnan-generic objects.
17204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
17205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
17206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
17207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
17208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
17209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17211 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
17213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
17215 (sysdep_routines): Use sysdep_calls as base.
17216 (libm-sysdep_routines): Add generic rule for symbols shared with
17217 libc. Add s_signbit-generic and s_signbitf-generic objects.
17218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
17219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
17220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
17221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
17222 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
17223 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17225 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17227 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
17228 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
17229 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
17230 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
17231 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
17232 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
17233 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
17234 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
17235 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
17236 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
17237 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
17238 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
17239 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
17240 libm_alias_float_r.
17241 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
17242 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
17244 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
17245 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
17246 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
17247 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
17248 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
17249 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
17250 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
17251 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
17252 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
17253 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
17255 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
17257 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
17258 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
17259 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
17260 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
17261 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
17262 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
17263 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
17264 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
17265 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
17266 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
17267 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
17268 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
17269 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
17270 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
17271 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
17272 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
17273 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
17274 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
17275 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
17277 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
17278 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
17279 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
17280 * sysdeps/ia64/fpu/w_lgammaf_main.c
17281 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
17282 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
17284 2017-11-28 Mike FABIAN <mfabian@redhat.com>
17285 Alexandre Oliva <aoliva@redhat.com>
17288 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
17289 * localedata/fr_CA.UTF-8.in: New file with test data for backward
17291 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
17293 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
17294 * localedata/locales/de_DE (LC_COLLATE): Likewise.
17295 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
17296 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
17297 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
17298 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
17299 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
17300 instead of “ifdef DIACRIT_BACKWARD”.
17302 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17304 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
17305 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
17306 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17307 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
17308 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
17309 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
17310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
17315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
17316 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17317 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17318 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
17319 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
17320 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
17321 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
17322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17323 ($(have-as-vis3) == yes): Remove conditional.
17324 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
17326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
17328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
17330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
17332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
17334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
17335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
17336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
17337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
17338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
17339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
17340 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
17341 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
17343 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17345 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
17346 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
17347 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
17348 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
17349 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
17350 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
17351 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
17352 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
17353 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
17354 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
17355 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
17356 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
17357 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
17358 libm_alias_double_r.
17359 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
17361 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
17362 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
17363 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
17364 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
17365 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
17366 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
17367 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
17368 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
17369 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
17370 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
17371 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
17373 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
17375 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
17376 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
17377 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
17378 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
17379 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
17380 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
17381 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
17382 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
17383 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
17384 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
17385 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
17386 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
17387 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
17388 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
17389 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
17390 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
17391 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
17392 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
17394 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
17395 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
17396 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
17397 * sysdeps/ia64/fpu/w_lgamma_main.c
17398 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
17399 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
17401 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
17403 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
17404 address of $global$ into %dp register earlier. Use pc-relative
17405 instruction sequence for PIC case.
17407 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17409 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
17410 (asinhf): Define using libm_alias_float.
17411 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
17412 (atanf): Define using libm_alias_float.
17413 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
17414 (cbrtf): Define using libm_alias_float.
17415 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
17416 (ceilf): Define using libm_alias_float.
17417 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17418 (copysignf): Define using libm_alias_float.
17419 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
17420 (expm1f): Define using libm_alias_float.
17421 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
17422 (fabsf): Define using libm_alias_float.
17423 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
17424 (floorf): Define using libm_alias_float.
17425 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17426 (fmaxf): Define using libm_alias_float.
17427 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
17428 (fminf): Define using libm_alias_float.
17429 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
17430 (frexpf): Define using libm_alias_float.
17431 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17432 (llrintf): Define using libm_alias_float.
17433 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
17434 (logbf): Define using libm_alias_float.
17435 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17436 (lrintf): Define using libm_alias_float.
17437 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
17438 (nearbyintf): Define using libm_alias_float.
17439 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
17440 (remquof): Define using libm_alias_float.
17441 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
17442 (rintf): Define using libm_alias_float.
17443 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
17444 (truncf): Define using libm_alias_float.
17445 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
17446 <libm-alias-float.h>.
17447 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17449 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
17450 <libm-alias-float.h>.
17451 (expf): Define using libm_alias_float, or libm_alias_float_other
17453 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
17454 <libm-alias-float.h>.
17455 (log2f): Define using libm_alias_float, or libm_alias_float_other
17457 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
17458 <libm-alias-float.h>.
17459 (logf): Define using libm_alias_float, or libm_alias_float_other
17461 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
17462 <libm-alias-float.h>.
17463 (powf): Define using libm_alias_float, or libm_alias_float_other
17465 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
17466 <libm-alias-float.h>.
17467 (cosf): Define using libm_alias_float.
17468 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
17469 <libm-alias-float.h>.
17470 (sincosf): Define using libm_alias_float.
17471 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
17472 <libm-alias-float.h>.
17473 (sinf): Define using libm_alias_float.
17474 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17475 (fmaxf): Define using libm_alias_float.
17476 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
17477 (fminf): Define using libm_alias_float.
17478 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17479 <libm-alias-float.h>.
17480 (fmaf): Define using libm_alias_float.
17482 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
17483 (asinh): Define using libm_alias_double.
17484 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
17485 (atan): Define using libm_alias_double.
17486 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
17487 (cbrt): Define using libm_alias_double.
17488 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
17489 (ceil): Define using libm_alias_double.
17490 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
17491 (copysign): Define using libm_alias_double.
17492 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
17493 (expm1): Define using libm_alias_double.
17494 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
17495 (fabs): Define using libm_alias_double.
17496 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
17497 (fdim): Define using libm_alias_double.
17498 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
17499 (floor): Define using libm_alias_double.
17500 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
17501 (fmax): Define using libm_alias_double.
17502 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
17503 (fmin): Define using libm_alias_double.
17504 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
17505 (frexp): Define using libm_alias_double.
17506 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
17507 (llrint): Define using libm_alias_double.
17508 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
17509 (logb): Define using libm_alias_double.
17510 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
17511 (lrint): Define using libm_alias_double.
17512 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
17513 (nearbyint): Define using libm_alias_double.
17514 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
17515 (remquo): Define using libm_alias_double.
17516 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
17517 (rint): Define using libm_alias_double.
17518 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
17519 (trunc): Define using libm_alias_double.
17520 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
17521 (fmax): Define using libm_alias_double.
17522 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
17523 (fmin): Define using libm_alias_double.
17524 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
17525 (fma): Define using libm_alias_double.
17527 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
17530 * elf/dl-hwcaps.c (ROUND): Removed.
17531 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
17532 and ELF_NOTE_NEXT_OFFSET.
17533 * elf/dl-load.c (ROUND): Removed.
17534 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
17535 * elf/readelflib.c (ROUND): Removed.
17536 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
17537 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
17538 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
17539 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
17541 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17543 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
17544 [!__fmaf] (fmaf): Define using libm_alias_float.
17546 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
17547 [!__fma] (fma): Define using libm_alias_double.
17548 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
17550 2017-11-28 Mike FABIAN <mfabian@redhat.com>
17553 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
17554 and implement the collation rules for cs from CLDR on top of that.
17555 * Makefile: Add cs_CZ.UTF-8 to test-input.
17556 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
17558 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
17560 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
17562 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
17563 Icarus Sparry <icarus.w.sparry@intel.com>
17565 * benchtests/Makefile:Add BENCHSET to allow subsets of
17566 benchmarks to be run.
17567 * benchtests/README: Add documentation for: Running subsets of
17570 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
17572 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
17573 range of tests names.
17575 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
17576 result from property and remove "max", min" and "mean" from
17577 required properties based on benchtests/bench-skeleton.c.
17579 2017-11-28 Florian Weimer <fweimer@redhat.com>
17582 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
17583 due to Internet requirement.
17584 * posix/Makefile (tests): Remove tst-getaddrinfo4,
17586 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
17588 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17590 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17591 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
17592 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
17593 (sysdep_routines): Add memset-ultra1.
17594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
17596 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
17597 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
17598 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
17599 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
17600 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
17601 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
17602 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
17603 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17605 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
17607 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
17608 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
17609 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
17610 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
17611 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
17612 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
17613 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
17615 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17616 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
17617 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
17618 (sysdep_routines): Add memcpy-ultra1.
17619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
17620 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
17622 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17624 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
17625 (cfloat_versions): Take function argument without trailing 'f'.
17626 Call libm_alias_float_other.
17627 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
17628 * sysdeps/alpha/fpu/cargf.c: Likewise.
17629 * sysdeps/alpha/fpu/cimagf.c: Likewise.
17630 * sysdeps/alpha/fpu/conjf.c: Likewise.
17631 * sysdeps/alpha/fpu/crealf.c: Likewise.
17632 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
17633 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17634 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
17635 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17636 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
17637 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17638 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17639 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17640 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
17641 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
17642 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
17643 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
17644 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17645 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17646 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
17647 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17648 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17649 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
17650 (clog10f): Use libm_alias_float_other.
17651 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
17652 (ceilf): Define using libm_alias_float.
17653 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
17654 (copysignf): Define using libm_alias_float.
17655 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17656 (fabsf): Define using libm_alias_float.
17657 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
17658 (floorf): Define using libm_alias_float.
17659 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
17660 (fmaxf): Define using libm_alias_float.
17661 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
17662 (fminf): Define using libm_alias_float.
17663 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
17664 (lrintf): Define using libm_alias_float.
17665 (llrintf): Likewise.
17666 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
17667 (lroundf): Define using libm_alias_float.
17668 (llroundf): Likewise.
17669 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
17670 (rintf): Define using libm_alias_float.
17671 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
17672 (truncf): Define using libm_alias_float.
17674 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
17675 (ceilf): Define using libm_alias_float.
17676 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
17677 (floorf): Define using libm_alias_float.
17678 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
17679 (fmaf): Define using libm_alias_float.
17680 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
17681 (fmaxf): Define using libm_alias_float.
17682 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
17683 (fminf): Define using libm_alias_float.
17684 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
17685 (llrintf): Define using libm_alias_float.
17686 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
17687 (llroundf): Define using libm_alias_float.
17688 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
17689 (lrintf): Define using libm_alias_float.
17690 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
17691 (lroundf): Define using libm_alias_float.
17692 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
17693 <libm-alias-float.h>.
17694 (nearbyintf): Define using libm_alias_float.
17695 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
17696 (rintf): Define using libm_alias_float.
17697 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
17698 (roundf): Define using libm_alias_float.
17699 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
17700 (truncf): Define using libm_alias_float.
17702 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
17703 (ceil): Define using libm_alias_double.
17704 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
17705 (copysign): Define using libm_alias_double.
17706 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
17707 (fabs): Define using libm_alias_double.
17708 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
17709 (floor): Define using libm_alias_double.
17710 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
17711 (fmax): Define using libm_alias_double.
17712 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
17713 (fmin): Define using libm_alias_double.
17714 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
17715 (lrint): Define using libm_alias_double.
17716 (llrint): Likewise.
17717 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
17718 (lround): Define using libm_alias_double.
17719 (llround): Likewise.
17720 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
17721 (rint): Define using libm_alias_double.
17722 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
17723 (trunc): Define using libm_alias_double.
17725 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
17726 (libm_alias_double_r): Add semicolon after weak_alias call.
17728 2017-11-27 Joseph Myers <joseph@codesourcery.com>
17730 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
17731 (ceil): Define using libm_alias_double.
17732 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
17733 (floor): Define using libm_alias_double.
17734 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
17735 (fma): Define using libm_alias_double.
17736 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
17737 (fmax): Define using libm_alias_double.
17738 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
17739 (fmin): Define using libm_alias_double.
17740 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
17741 (llrint): Define using libm_alias_double.
17742 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
17743 (llround): Define using libm_alias_double.
17744 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
17745 (lrint): Define using libm_alias_double.
17746 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
17747 (lround): Define using libm_alias_double.
17748 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
17749 (nearbyint): Define using libm_alias_double.
17750 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
17751 (rint): Define using libm_alias_double.
17752 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
17753 (round): Define using libm_alias_double.
17754 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
17755 (trunc): Define using libm_alias_double.
17757 2017-11-27 Florian Weimer <fweimer@redhat.com>
17759 * sysdeps/unix/sysv/linux/mlock2.c: New file.
17760 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
17761 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
17762 (tests): Add tst-mlock2.
17763 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
17764 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
17765 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
17766 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
17767 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
17768 for mlock. Document mlock2.
17770 2017-11-27 Joseph Myers <joseph@codesourcery.com>
17772 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
17773 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
17775 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
17777 * sysdeps/x86/Makeconfig: New file.
17778 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
17779 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17780 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
17781 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17782 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17783 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17784 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
17786 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17787 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17788 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17789 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17790 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17791 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17792 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17793 * manual/math.texi (Mathematics): Document support for _Float64x.
17794 * math/Versions (GLIBC_2.27): Add _Float64x functions.
17795 * stdlib/Versions (GLIBC_2.27): Likewise.
17796 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17797 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17798 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17803 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17806 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17807 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17812 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17824 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17825 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17827 2017-11-27 Andreas Schwab <schwab@suse.de>
17829 * elf/Makefile (dl-routines): Add dl-sort-maps.
17830 * elf/dl-sort-maps.c: New file.
17831 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
17832 (_dl_sort_maps): Declare.
17833 * elf/dl-fini.c (_dl_sort_fini): Remove.
17834 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
17835 * elf/dl-close.c (_dl_close_worker): Likewise.
17836 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
17838 * elf/dl-open.c (dl_open_worker): Likewise.
17840 2017-11-24 Joseph Myers <joseph@codesourcery.com>
17842 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
17843 using libm_alias_float128.
17844 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
17846 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
17848 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
17849 (setpayloadsigf128): Likewise.
17850 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
17852 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
17855 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
17856 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
17857 -mfloat128 to CFLAGS.
17859 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
17861 (CFLAGS-libm-test-support-float64x.c): New variable.
17862 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
17863 $(f128-loader-link) to gnulib-tests.
17865 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
17866 (libm_alias_float128_other_r): If
17867 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
17869 (libm_alias_float128_r): Add semicolon after weak_alias call.
17870 * sysdeps/generic/libm-alias-ldouble.h
17871 (libm_alias_ldouble_other_r_f128): New macro.
17872 (libm_alias_ldouble_other_r_f64x): Likewise.
17873 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
17874 and libm_alias_ldouble_other_r_f64x.
17875 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
17876 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
17877 (libm_alias_ldouble_other_r_f128): New macro.
17878 (libm_alias_ldouble_other_r_f64x): Likewise.
17879 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
17880 and libm_alias_ldouble_other_r_f64x.
17882 * stdlib/strfroml.c: Always include <stdlib.h>.
17883 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
17884 undefine as macro and define as weak alias.
17885 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
17886 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
17888 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
17889 Define and later undefine as macro and define as weak alias.
17891 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
17892 Define and later undefine as macro. Define as weak alias if
17894 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
17895 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17896 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
17897 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
17898 Define and later undefine as macro. Define as weak alias if
17900 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
17901 Define and later undefine as macro. Define as weak alias if
17903 * sysdeps/ieee754/float128/strtof128_l.c
17904 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
17905 Define and later undefine as macro. Define as weak alias if
17907 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
17908 Define and later undefine as macro. Define as weak alias if
17910 * sysdeps/ieee754/ldbl-128/strtold_l.c
17911 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17912 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17913 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17914 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17915 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
17916 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17917 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17918 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17919 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17920 * sysdeps/ieee754/ldbl-96/strtold_l.c
17921 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17922 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17923 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17924 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17926 * math/test-float64x.h: New file.
17927 * math/Makefile (type-float64x-yes): New variable.
17928 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
17930 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
17931 function-like macro.
17932 (min_of_type_): Likewise.
17933 (min_of_type_l): Likewise.
17934 (min_of_type_f128): Likewise.
17935 (min_of_type): Pass () as last argument of __MATH_TG.
17937 * stdlib/tst-strtod-round-skeleton.c
17938 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
17941 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
17942 for combinations of long double with _Float64 and _Float64x.
17944 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
17945 (__DECL_SIMD_cosf32): Likewise.
17946 (__DECL_SIMD_cosf64): Likewise.
17947 (__DECL_SIMD_cosf32x): Likewise.
17948 (__DECL_SIMD_cosf64x): Likewise.
17949 (__DECL_SIMD_cosf128x): Likewise.
17950 (__DECL_SIMD_sinf16): Likewise.
17951 (__DECL_SIMD_sinf32): Likewise.
17952 (__DECL_SIMD_sinf64): Likewise.
17953 (__DECL_SIMD_sinf32x): Likewise.
17954 (__DECL_SIMD_sinf64x): Likewise.
17955 (__DECL_SIMD_sinf128x): Likewise.
17956 (__DECL_SIMD_sincosf16): Likewise.
17957 (__DECL_SIMD_sincosf32): Likewise.
17958 (__DECL_SIMD_sincosf64): Likewise.
17959 (__DECL_SIMD_sincosf32x): Likewise.
17960 (__DECL_SIMD_sincosf64x): Likewise.
17961 (__DECL_SIMD_sincosf128x): Likewise.
17962 (__DECL_SIMD_logf16): Likewise.
17963 (__DECL_SIMD_logf32): Likewise.
17964 (__DECL_SIMD_logf64): Likewise.
17965 (__DECL_SIMD_logf32x): Likewise.
17966 (__DECL_SIMD_logf64x): Likewise.
17967 (__DECL_SIMD_logf128x): Likewise.
17968 (__DECL_SIMD_expf16): Likewise.
17969 (__DECL_SIMD_expf32): Likewise.
17970 (__DECL_SIMD_expf64): Likewise.
17971 (__DECL_SIMD_expf32x): Likewise.
17972 (__DECL_SIMD_expf64x): Likewise.
17973 (__DECL_SIMD_expf128x): Likewise.
17974 (__DECL_SIMD_powf16): Likewise.
17975 (__DECL_SIMD_powf32): Likewise.
17976 (__DECL_SIMD_powf64): Likewise.
17977 (__DECL_SIMD_powf32x): Likewise.
17978 (__DECL_SIMD_powf64x): Likewise.
17979 (__DECL_SIMD_powf128x): Likewise.
17981 * stdlib/Versions (libc): Move entries for wcstof128 and
17982 wcstof128_l to ....
17983 * wcsmbs/Versions (libc): ... here.
17984 Include <float128-abi.h>.
17986 2017-11-24 Florian Weimer <fweimer@redhat.com>
17988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17989 bits/mman-shared.h.
17990 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
17991 <bits/mman-shared.h>.
17992 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
17994 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
17995 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
17996 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
17997 <bits/mman-shared.h>.
17999 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18002 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
18003 posix_memalign/free.
18004 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
18006 2017-11-22 Mike FABIAN <mfabian@redhat.com>
18009 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
18010 and implement the collation rules for pl from CLDR on top of that.
18011 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
18012 of locales to be built for testing.
18013 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
18015 2017-11-23 Joseph Myers <joseph@codesourcery.com>
18017 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
18018 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
18019 libm_alias_ldouble_other.
18020 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
18021 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
18022 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
18023 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
18024 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
18025 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
18026 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
18027 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
18028 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
18029 libm_alias_ldouble_r.
18030 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
18031 libm_alias_ldouble_other.
18032 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
18033 (log10l): Likewise.
18034 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
18035 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
18036 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
18037 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
18038 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
18039 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
18040 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
18041 (atan2l): Likewise.
18042 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
18043 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
18044 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
18045 libm_alias_ldouble.
18046 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
18048 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
18049 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
18050 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
18052 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
18053 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
18054 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
18055 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
18056 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
18057 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
18058 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
18059 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
18060 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
18061 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
18062 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
18063 libm_alias_ldouble.
18064 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
18065 libm_alias_ldouble_other.
18066 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
18067 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
18068 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
18069 libm_alias_ldouble.
18070 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
18071 libm_alias_ldouble_other.
18072 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
18073 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
18074 * sysdeps/ia64/fpu/w_lgammal_main.c
18075 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
18076 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
18078 2017-11-23 Florian Weimer <fweimer@redhat.com>
18080 * malloc/malloc.c (tcache_thread_shutdown): Rename from
18081 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
18082 alike. Remove freeres marker.
18083 * malloc/arena.c (arena_thread_freeres): Call
18084 tcache_thread_shutdown.
18086 2017-11-23 Florian Weimer <fweimer@redhat.com>
18089 Export nscd hash function as __nss_hash.
18090 * include/nss.h (__nss_hash): Declare.
18091 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
18093 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
18094 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
18096 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
18097 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
18098 * nss/Makefiles (routines): Add nss_hash.
18099 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
18100 * nss/nss_hash.c: Rename from nis/nis_hash.c.
18101 (__nss_hash): Rename from __nis_hash. Define hidden alias.
18102 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
18104 2017-11-23 Florian Weimer <fweimer@redhat.com>
18107 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
18108 Return error code, not -1.
18109 * signal/tst-sigwait-eintr.c: New file.
18110 * signal/Makefile (tests): Add tst-sigwait-eintr.
18112 2017-11-23 Florian Weimer <fweimer@redhat.com>
18114 Linux: Add memfd_create system call wrapper
18115 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
18117 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
18118 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
18119 [__USE_GNU] (memfd_create): Declare.
18120 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
18121 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
18122 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
18123 * sysdeps/unix/sysv/linux/**.abilist: Update.
18124 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
18126 2017-11-22 Joseph Myers <joseph@codesourcery.com>
18128 * localedata/gen-locale.sh: Fix typo in variable name.
18130 * resolv/res_debug.c (p_secstodate): Condition definition on
18131 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
18132 directly as __p_secstodate, and as a compat symbol. Do not use
18133 libresolv_hidden_def.
18134 * resolv/resolv.h (p_secstodate): Remove macro and function
18136 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
18137 using p_secstodate.
18138 * include/resolv.h (__p_secstodate): Do not use
18139 libresolv_hidden_proto.
18140 * resolv/Makefile (tests): Move tst-p_secstodate to ....
18141 (tests-internal): ... here.
18142 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
18143 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
18144 and declare and use __p_secstodate and use compat_symbol_reference
18146 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
18147 implementation returning 77.
18150 * resolv/res_debug.c: Include <libc-diag.h>.
18151 (p_secstodate): Assert time_t at least as wide as u_long. On
18152 overflow, use integer seconds since the epoch as output, or use
18153 "<overflow>" as output and set errno to EOVERFLOW if integer
18154 seconds since the epoch would be 14 or more characters.
18155 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
18157 * resolv/tst-p_secstodate.c: New file.
18158 * resolv/Makefile (tests): Add tst-p_secstodate.
18159 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
18161 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
18162 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18163 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
18165 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
18167 * posix/regcomp.c (init_word_char): Add comments.
18169 2017-11-22 Joseph Myers <joseph@codesourcery.com>
18172 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
18173 strlen to compute length of ut_user and set trailing NUL byte of
18176 2017-11-21 Mike FABIAN <mfabian@redhat.com>
18179 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
18180 using “copy "iso14651_t1"” and then implementing the
18181 collation rules for lv from CLDR on top of that.
18182 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
18183 of locales to be built for testing.
18184 * lv_LV.UTF-8.in: New file with test data to test the Latvian
18187 2017-11-21 Joseph Myers <joseph@codesourcery.com>
18189 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18190 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
18191 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
18192 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
18193 [__USE_MISC] (MADV_HWPOISON): New macro.
18194 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
18196 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18198 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
18199 -Wmissing-braces on GCC 4.9.
18201 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18203 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
18204 * sysdeps/s390/s390-32/start.S (_start): Likewise
18205 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
18206 (thread_start): Likewise.
18207 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
18208 (thread_start): Likewise.
18209 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
18210 (__makecontext_ret): Likewise.
18211 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
18212 (__makecontext_ret): Likewise.
18214 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18216 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
18217 __wcschrnul): Remove attribute_hidden.
18219 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
18221 regex: don't assume uint64_t or uint32_t
18222 This avoids -Werror=overflow errors for 32-bit systems in
18223 the 64-bit case. Problem reported by Joseph Myers in:
18224 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
18225 Also, when this code is used in Gnulib it ports to platforms
18226 that lack uint64_t and uint32_t. The C standard doesn't guarantee
18227 them, and on some 32-bit compilers there is no uint64_t.
18228 Problem reported by Gianluigi Tiesi in:
18229 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
18230 * posix/regcomp.c (init_word_char): Don't assume that the types
18231 uint64_t and uint32_t exist. Adapted from Gnulib patch
18232 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
18233 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
18235 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
18237 * sysdeps/aarch64/memset-reg.h: New file.
18238 * sysdeps/aarch64/memset.S: Use it.
18239 (__memset): Rename to MEMSET macro.
18240 [ZVA_MACRO]: Use zva_macro.
18241 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18242 Add memset_generic and memset_falkor.
18243 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
18244 (__libc_ifunc_impl_list): Add memset ifuncs.
18245 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
18246 local variable zva_size.
18247 * sysdeps/aarch64/multiarch/memset.c: New file.
18248 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
18249 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
18250 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
18251 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
18252 (DCZID_DZP_MASK): New macro.
18253 (DCZID_BS_MASK): Likewise.
18254 (init_cpu_features): Read and set zva_size.
18255 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
18256 (struct cpu_features): New member zva_size.
18258 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
18259 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
18260 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
18262 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
18263 backwards. Fix timing computation.
18264 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
18265 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
18266 on memset by N at a time. Fix timing computation.
18268 2017-11-20 Florian Weimer <fweimer@redhat.com>
18270 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
18271 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
18273 2017-11-19 Florian Weimer <fweimer@redhat.com>
18275 manual: Document mprotect
18276 * manual/memory.texi (Memory Protection): New section.
18277 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
18278 documentation of PROT_* flags and reference the Memory Protection
18281 2017-11-19 Florian Weimer <fweimer@redhat.com>
18283 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
18284 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
18285 (Scatter-Gather): ... to here. Remove misleading comment.
18287 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
18289 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
18292 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
18293 when /proc/<pid>/setgroups does not exist.
18295 2017-11-18 Florian Weimer <fweimer@redhat.com>
18297 * sysdeps/unix/sysv/linux/tst-ttyname.c
18298 (become_root_in_mount_ns): Remove.
18299 (do_in_chroot_1): Call support_enter_mount_namespace.
18300 (do_in_chroot_2): Likewise.
18301 (do_test): Call support_become_root early.
18303 2017-11-18 Florian Weimer <fweimer@redhat.com>
18305 * support/namespace.h (support_enter_mount_namespace): Declare.
18306 * support/support_enter_mount_namespace.c: New file.
18307 * support/Makefile (libsupport-routines): Add
18308 support_enter_mount_namespace.
18310 2017-11-18 Florian Weimer <fweimer@redhat.com>
18312 * support/temp_file.c (support_create_temp_directory): Use
18313 test_dir and do not rely on the presence of the XXXXXX suffix.
18314 * support/temp_file.h (support_create_temp_directory): Update
18316 * support/tst-xreadlink.c (do_test): Adjust.
18317 * support/support_chroot.c (support_chroot_create): Likewise.
18319 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18321 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
18323 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
18326 2017-11-17 Joseph Myers <joseph@codesourcery.com>
18328 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
18329 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
18330 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
18331 (ceill): Define using libm_alias_ldouble.
18332 * sysdeps/x86_64/fpu/s_copysignl.S: Include
18333 <libm-alias-ldouble.h>.
18334 (copysignl): Define using libm_alias_ldouble.
18335 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
18336 (fabsl): Define using libm_alias_ldouble.
18337 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
18338 (floorl): Define using libm_alias_ldouble.
18339 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18340 (fmaxl): Define using libm_alias_ldouble.
18341 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18342 (fminl): Define using libm_alias_ldouble.
18343 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
18344 (llrintl): Define using libm_alias_ldouble.
18345 (lrintl): Likewise.
18346 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
18347 <libm-alias-ldouble.h>.
18348 (nearbyintl): Define using libm_alias_ldouble.
18349 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
18350 (truncl): Define using libm_alias_ldouble.
18351 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
18352 <libm-alias-ldouble.h>.
18353 (lrintl): Define using libm_alias_ldouble.
18355 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
18356 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
18357 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
18358 (asinhl): Define using libm_alias_ldouble.
18359 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
18360 (atanl): Define using libm_alias_ldouble.
18361 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
18362 (cbrtl): Define using libm_alias_ldouble.
18363 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
18364 (ceill): Define using libm_alias_ldouble.
18365 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
18366 (copysignl): Define using libm_alias_ldouble.
18367 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
18368 (fabsl): Define using libm_alias_ldouble.
18369 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
18370 (floorl): Define using libm_alias_ldouble.
18371 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18372 (fmaxl): Define using libm_alias_ldouble.
18373 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18374 (fminl): Define using libm_alias_ldouble.
18375 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
18376 (frexpl): Define using libm_alias_ldouble.
18377 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
18378 (llrintl): Define using libm_alias_ldouble.
18379 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
18380 (logbl): Define using libm_alias_ldouble.
18381 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
18382 (lrintl): Define using libm_alias_ldouble.
18383 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
18384 (nearbyintl): Define using libm_alias_ldouble.
18385 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
18386 (nextafterl): Define using libm_alias_ldouble.
18387 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
18388 (remquol): Define using libm_alias_ldouble.
18389 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
18390 (rintl): Define using libm_alias_ldouble.
18391 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
18392 (truncl): Define using libm_alias_ldouble.
18393 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18394 (fmaxl): Define using libm_alias_ldouble.
18395 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18396 (fminl): Define using libm_alias_ldouble.
18398 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
18399 to C syntax instead of availability and properties of types.
18400 * bits/floatn.h [!__ASSEMBLER]: Likewise.
18401 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
18402 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
18403 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
18404 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
18405 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
18407 2017-11-17 Florian Weimer <fweimer@redhat.com>
18409 support_become_root: Enable file creation in namespaces.
18410 * support/support_become_root.c (setup_mapping): New function.
18411 (support_become_root): Call it.
18413 2017-11-17 Joseph Myers <joseph@codesourcery.com>
18415 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
18418 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18420 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
18421 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
18423 2017-11-16 Joseph Myers <joseph@codesourcery.com>
18425 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
18427 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18430 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
18432 * INSTALL: Fix botched up regeneration.
18434 * NEWS: Update sourceare link to https.
18435 * configure.ac: Likewise.
18436 * crypt/md5test-giant.c: Likewise.
18437 * dlfcn/bug-atexit1.c: Likewise.
18438 * dlfcn/bug-atexit2.c: Likewise.
18439 * localedata/README: Likewise.
18440 * malloc/tst-mallocfork.c: Likewise.
18441 * manual/install.texi: Likewise.
18442 * nptl/tst-pthread-getattr.c: Likewise.
18443 * stdio-common/tst-fgets.c: Likewise.
18444 * stdio-common/tst-fwrite.c: Likewise.
18445 * sunrpc/Makefile: Likewise.
18446 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
18447 * wcsmbs/tst-mbrtowc2.c: Likewise.
18448 * configure: Regenerate.
18449 * INSTALL: Regenerate.
18451 2017-11-15 Martin Sebor <msebor@redhat.com>
18453 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
18454 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
18455 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
18457 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
18460 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
18461 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
18464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
18465 Defer is_pty check until end of the function.
18466 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18469 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
18470 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
18471 (ttyname): Likewise.
18472 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
18473 (__ttyname_r): Likewise.
18475 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
18478 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
18480 * manual/terminal.texi (Is It a Terminal):
18481 Mention ENODEV for ttyname and ttyname_r.
18483 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18485 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
18486 constant and macro.
18488 * sysdeps/unix/sysv/linux/bits/mman-linux.h
18489 [__USE_MISC] (MADV_WIPEONFORK): New macro.
18490 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
18491 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18492 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
18493 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
18495 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18497 * signal/sigrelse.c (sigrelse): Optimize implementation.
18499 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
18500 (__sigpause): Rely on __sigsuspend to implement single thread
18501 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
18503 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18505 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18506 kernel version to 4.14.
18508 2017-11-15 Steve Ellcey <sellcey@cavium.com>
18511 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
18512 Check if ifname is too long.
18514 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
18516 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
18518 2017-11-15 Mike FABIAN <mfabian@redhat.com>
18520 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
18521 was accidentally lost.
18523 2017-11-15 Mike FABIAN <mfabian@redhat.com>
18525 * localedata/locales/az_IR: Add standard copyright header.
18527 2017-11-15 Florian Weimer <fweimer@redhat.com>
18530 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
18531 not just the top one. Output a new "subheaps" statistic.
18533 2017-11-15 Florian Weimer <fweimer@redhat.com>
18536 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
18537 under the per-arena lock.
18538 * malloc/Makefile (tests): Add tst-malloc_info.
18539 (tst-malloc_info): Link with libpthread.
18540 * malloc/tst-malloc_info.c: New file.
18542 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18545 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
18546 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
18547 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
18548 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
18549 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
18550 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
18551 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
18552 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
18553 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
18554 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
18555 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
18556 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
18557 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
18558 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
18559 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
18560 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
18561 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
18562 (__floating_type): Likewise.
18563 (__real_integer_type): Likewise.
18564 (__complex_integer_type): Likewise.
18565 (__expr_is_real): Likewise.
18566 (__tgmath_real_type_sub): Likewise.
18567 (__tgmath_real_type): Likewise.
18568 (__tgmath_complex_type_sub): Likewise.
18569 (__tgmath_complex_type): Likewise.
18570 (__TGMATH_F128): Likewise.
18571 (__TGMATH_CF128): Likewise.
18572 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
18574 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
18575 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
18577 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
18579 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
18580 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18581 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18582 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
18584 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18585 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
18587 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
18588 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
18589 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
18591 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
18592 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
18593 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
18597 2017-11-14 Joseph Myers <joseph@codesourcery.com>
18599 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
18600 for stpncpy calls for GCC 8.
18601 (test_strncat): Disable -Wstringop-truncation warning for strncat
18602 calls for GCC 8. Disable -Wstringop-overflow= warning for one
18603 strncat call for GCC 7.
18604 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
18606 (test_memcmp): Use memcpy instead of strncpy for calls not copying
18609 * string/bug-strncat1.c: Include <libc-diag.h>.
18610 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
18612 2017-11-13 Claude Paroz <claude@2xlibre.net>
18615 * localedata/locales/aa_DJ: Improved readibility by replacing
18616 <Uxxxx> sequences in the ASCII printable range by their ASCII
18617 character equivalents.
18618 * localedata/locales/aa_ER: Likewise.
18619 * localedata/locales/aa_ER@saaho: Likewise.
18620 * localedata/locales/aa_ET: Likewise.
18621 * localedata/locales/af_ZA: Likewise.
18622 * localedata/locales/agr_PE: Likewise.
18623 * localedata/locales/ak_GH: Likewise.
18624 * localedata/locales/am_ET: Likewise.
18625 * localedata/locales/anp_IN: Likewise.
18626 * localedata/locales/ar_AE: Likewise.
18627 * localedata/locales/ar_BH: Likewise.
18628 * localedata/locales/ar_DZ: Likewise.
18629 * localedata/locales/ar_EG: Likewise.
18630 * localedata/locales/ar_IN: Likewise.
18631 * localedata/locales/ar_IQ: Likewise.
18632 * localedata/locales/ar_JO: Likewise.
18633 * localedata/locales/ar_KW: Likewise.
18634 * localedata/locales/ar_LB: Likewise.
18635 * localedata/locales/ar_LY: Likewise.
18636 * localedata/locales/ar_MA: Likewise.
18637 * localedata/locales/ar_OM: Likewise.
18638 * localedata/locales/ar_QA: Likewise.
18639 * localedata/locales/ar_SA: Likewise.
18640 * localedata/locales/ar_SD: Likewise.
18641 * localedata/locales/ar_SS: Likewise.
18642 * localedata/locales/ar_SY: Likewise.
18643 * localedata/locales/ar_TN: Likewise.
18644 * localedata/locales/ar_YE: Likewise.
18645 * localedata/locales/as_IN: Likewise.
18646 * localedata/locales/ast_ES: Likewise.
18647 * localedata/locales/ayc_PE: Likewise.
18648 * localedata/locales/az_AZ: Likewise.
18649 * localedata/locales/az_IR: Likewise.
18650 * localedata/locales/be_BY: Likewise.
18651 * localedata/locales/be_BY@latin: Likewise.
18652 * localedata/locales/bem_ZM: Likewise.
18653 * localedata/locales/ber_DZ: Likewise.
18654 * localedata/locales/ber_MA: Likewise.
18655 * localedata/locales/bg_BG: Likewise.
18656 * localedata/locales/bhb_IN: Likewise.
18657 * localedata/locales/bho_IN: Likewise.
18658 * localedata/locales/bi_VU: Likewise.
18659 * localedata/locales/bn_BD: Likewise.
18660 * localedata/locales/bn_IN: Likewise.
18661 * localedata/locales/bo_CN: Likewise.
18662 * localedata/locales/bo_IN: Likewise.
18663 * localedata/locales/br_FR: Likewise.
18664 * localedata/locales/brx_IN: Likewise.
18665 * localedata/locales/bs_BA: Likewise.
18666 * localedata/locales/byn_ER: Likewise.
18667 * localedata/locales/ca_AD: Likewise.
18668 * localedata/locales/ca_ES: Likewise.
18669 * localedata/locales/ca_FR: Likewise.
18670 * localedata/locales/ca_IT: Likewise.
18671 * localedata/locales/ce_RU: Likewise.
18672 * localedata/locales/chr_US: Likewise.
18673 * localedata/locales/cmn_TW: Likewise.
18674 * localedata/locales/crh_UA: Likewise.
18675 * localedata/locales/cs_CZ: Likewise.
18676 * localedata/locales/csb_PL: Likewise.
18677 * localedata/locales/cv_RU: Likewise.
18678 * localedata/locales/cy_GB: Likewise.
18679 * localedata/locales/da_DK: Likewise.
18680 * localedata/locales/de_AT: Likewise.
18681 * localedata/locales/de_BE: Likewise.
18682 * localedata/locales/de_CH: Likewise.
18683 * localedata/locales/de_DE: Likewise.
18684 * localedata/locales/de_IT: Likewise.
18685 * localedata/locales/de_LI: Likewise.
18686 * localedata/locales/de_LU: Likewise.
18687 * localedata/locales/doi_IN: Likewise.
18688 * localedata/locales/dv_MV: Likewise.
18689 * localedata/locales/dz_BT: Likewise.
18690 * localedata/locales/el_CY: Likewise.
18691 * localedata/locales/el_GR: Likewise.
18692 * localedata/locales/en_AG: Likewise.
18693 * localedata/locales/en_AU: Likewise.
18694 * localedata/locales/en_BW: Likewise.
18695 * localedata/locales/en_CA: Likewise.
18696 * localedata/locales/en_DK: Likewise.
18697 * localedata/locales/en_GB: Likewise.
18698 * localedata/locales/en_HK: Likewise.
18699 * localedata/locales/en_IE: Likewise.
18700 * localedata/locales/en_IL: Likewise.
18701 * localedata/locales/en_IN: Likewise.
18702 * localedata/locales/en_NG: Likewise.
18703 * localedata/locales/en_NZ: Likewise.
18704 * localedata/locales/en_PH: Likewise.
18705 * localedata/locales/en_SG: Likewise.
18706 * localedata/locales/en_US: Likewise.
18707 * localedata/locales/en_ZA: Likewise.
18708 * localedata/locales/en_ZM: Likewise.
18709 * localedata/locales/en_ZW: Likewise.
18710 * localedata/locales/eo: Likewise.
18711 * localedata/locales/es_AR: Likewise.
18712 * localedata/locales/es_BO: Likewise.
18713 * localedata/locales/es_CL: Likewise.
18714 * localedata/locales/es_CO: Likewise.
18715 * localedata/locales/es_CR: Likewise.
18716 * localedata/locales/es_CU: Likewise.
18717 * localedata/locales/es_DO: Likewise.
18718 * localedata/locales/es_EC: Likewise.
18719 * localedata/locales/es_ES: Likewise.
18720 * localedata/locales/es_GT: Likewise.
18721 * localedata/locales/es_HN: Likewise.
18722 * localedata/locales/es_MX: Likewise.
18723 * localedata/locales/es_NI: Likewise.
18724 * localedata/locales/es_PA: Likewise.
18725 * localedata/locales/es_PE: Likewise.
18726 * localedata/locales/es_PR: Likewise.
18727 * localedata/locales/es_PY: Likewise.
18728 * localedata/locales/es_SV: Likewise.
18729 * localedata/locales/es_US: Likewise.
18730 * localedata/locales/es_UY: Likewise.
18731 * localedata/locales/es_VE: Likewise.
18732 * localedata/locales/et_EE: Likewise.
18733 * localedata/locales/eu_ES: Likewise.
18734 * localedata/locales/eu_ES@euro: Likewise.
18735 * localedata/locales/fa_IR: Likewise.
18736 * localedata/locales/ff_SN: Likewise.
18737 * localedata/locales/fi_FI: Likewise.
18738 * localedata/locales/fil_PH: Likewise.
18739 * localedata/locales/fo_FO: Likewise.
18740 * localedata/locales/fr_BE: Likewise.
18741 * localedata/locales/fr_CA: Likewise.
18742 * localedata/locales/fr_CH: Likewise.
18743 * localedata/locales/fr_FR: Likewise.
18744 * localedata/locales/fr_LU: Likewise.
18745 * localedata/locales/fur_IT: Likewise.
18746 * localedata/locales/fy_DE: Likewise.
18747 * localedata/locales/fy_NL: Likewise.
18748 * localedata/locales/ga_IE: Likewise.
18749 * localedata/locales/gd_GB: Likewise.
18750 * localedata/locales/gez_ER: Likewise.
18751 * localedata/locales/gez_ET: Likewise.
18752 * localedata/locales/gl_ES: Likewise.
18753 * localedata/locales/gu_IN: Likewise.
18754 * localedata/locales/gv_GB: Likewise.
18755 * localedata/locales/ha_NG: Likewise.
18756 * localedata/locales/hak_TW: Likewise.
18757 * localedata/locales/he_IL: Likewise.
18758 * localedata/locales/hi_IN: Likewise.
18759 * localedata/locales/hif_FJ: Likewise.
18760 * localedata/locales/hne_IN: Likewise.
18761 * localedata/locales/hr_HR: Likewise.
18762 * localedata/locales/hsb_DE: Likewise.
18763 * localedata/locales/ht_HT: Likewise.
18764 * localedata/locales/hu_HU: Likewise.
18765 * localedata/locales/hy_AM: Likewise.
18766 * localedata/locales/i18n: Likewise.
18767 * localedata/locales/ia_FR: Likewise.
18768 * localedata/locales/id_ID: Likewise.
18769 * localedata/locales/ig_NG: Likewise.
18770 * localedata/locales/ik_CA: Likewise.
18771 * localedata/locales/is_IS: Likewise.
18772 * localedata/locales/it_CH: Likewise.
18773 * localedata/locales/it_IT: Likewise.
18774 * localedata/locales/iu_CA: Likewise.
18775 * localedata/locales/ja_JP: Likewise.
18776 * localedata/locales/ka_GE: Likewise.
18777 * localedata/locales/kk_KZ: Likewise.
18778 * localedata/locales/kl_GL: Likewise.
18779 * localedata/locales/kn_IN: Likewise.
18780 * localedata/locales/ko_KR: Likewise.
18781 * localedata/locales/kok_IN: Likewise.
18782 * localedata/locales/ks_IN: Likewise.
18783 * localedata/locales/ks_IN@devanagari: Likewise.
18784 * localedata/locales/ku_TR: Likewise.
18785 * localedata/locales/kw_GB: Likewise.
18786 * localedata/locales/ky_KG: Likewise.
18787 * localedata/locales/lb_LU: Likewise.
18788 * localedata/locales/lg_UG: Likewise.
18789 * localedata/locales/li_BE: Likewise.
18790 * localedata/locales/li_NL: Likewise.
18791 * localedata/locales/lij_IT: Likewise.
18792 * localedata/locales/ln_CD: Likewise.
18793 * localedata/locales/lo_LA: Likewise.
18794 * localedata/locales/lt_LT: Likewise.
18795 * localedata/locales/lv_LV: Likewise.
18796 * localedata/locales/lzh_TW: Likewise.
18797 * localedata/locales/mag_IN: Likewise.
18798 * localedata/locales/mai_IN: Likewise.
18799 * localedata/locales/mg_MG: Likewise.
18800 * localedata/locales/mhr_RU: Likewise.
18801 * localedata/locales/mi_NZ: Likewise.
18802 * localedata/locales/mk_MK: Likewise.
18803 * localedata/locales/ml_IN: Likewise.
18804 * localedata/locales/mn_MN: Likewise.
18805 * localedata/locales/mni_IN: Likewise.
18806 * localedata/locales/mr_IN: Likewise.
18807 * localedata/locales/ms_MY: Likewise.
18808 * localedata/locales/mt_MT: Likewise.
18809 * localedata/locales/my_MM: Likewise.
18810 * localedata/locales/nan_TW: Likewise.
18811 * localedata/locales/nan_TW@latin: Likewise.
18812 * localedata/locales/nb_NO: Likewise.
18813 * localedata/locales/nds_DE: Likewise.
18814 * localedata/locales/nds_NL: Likewise.
18815 * localedata/locales/ne_NP: Likewise.
18816 * localedata/locales/nhn_MX: Likewise.
18817 * localedata/locales/niu_NU: Likewise.
18818 * localedata/locales/niu_NZ: Likewise.
18819 * localedata/locales/nl_AW: Likewise.
18820 * localedata/locales/nl_BE: Likewise.
18821 * localedata/locales/nl_NL: Likewise.
18822 * localedata/locales/nn_NO: Likewise.
18823 * localedata/locales/nr_ZA: Likewise.
18824 * localedata/locales/nso_ZA: Likewise.
18825 * localedata/locales/oc_FR: Likewise.
18826 * localedata/locales/om_ET: Likewise.
18827 * localedata/locales/om_KE: Likewise.
18828 * localedata/locales/or_IN: Likewise.
18829 * localedata/locales/os_RU: Likewise.
18830 * localedata/locales/pa_IN: Likewise.
18831 * localedata/locales/pa_PK: Likewise.
18832 * localedata/locales/pap_AW: Likewise.
18833 * localedata/locales/pap_CW: Likewise.
18834 * localedata/locales/pl_PL: Likewise.
18835 * localedata/locales/ps_AF: Likewise.
18836 * localedata/locales/pt_BR: Likewise.
18837 * localedata/locales/pt_PT: Likewise.
18838 * localedata/locales/quz_PE: Likewise.
18839 * localedata/locales/raj_IN: Likewise.
18840 * localedata/locales/ro_RO: Likewise.
18841 * localedata/locales/ru_RU: Likewise.
18842 * localedata/locales/ru_UA: Likewise.
18843 * localedata/locales/rw_RW: Likewise.
18844 * localedata/locales/sa_IN: Likewise.
18845 * localedata/locales/sat_IN: Likewise.
18846 * localedata/locales/sc_IT: Likewise.
18847 * localedata/locales/sd_IN: Likewise.
18848 * localedata/locales/sd_IN@devanagari: Likewise.
18849 * localedata/locales/se_NO: Likewise.
18850 * localedata/locales/sgs_LT: Likewise.
18851 * localedata/locales/shs_CA: Likewise.
18852 * localedata/locales/si_LK: Likewise.
18853 * localedata/locales/sid_ET: Likewise.
18854 * localedata/locales/sk_SK: Likewise.
18855 * localedata/locales/sl_SI: Likewise.
18856 * localedata/locales/sm_WS: Likewise.
18857 * localedata/locales/so_DJ: Likewise.
18858 * localedata/locales/so_ET: Likewise.
18859 * localedata/locales/so_KE: Likewise.
18860 * localedata/locales/so_SO: Likewise.
18861 * localedata/locales/sq_AL: Likewise.
18862 * localedata/locales/sq_MK: Likewise.
18863 * localedata/locales/sr_ME: Likewise.
18864 * localedata/locales/sr_RS: Likewise.
18865 * localedata/locales/sr_RS@latin: Likewise.
18866 * localedata/locales/ss_ZA: Likewise.
18867 * localedata/locales/st_ZA: Likewise.
18868 * localedata/locales/sv_FI: Likewise.
18869 * localedata/locales/sv_SE: Likewise.
18870 * localedata/locales/sw_KE: Likewise.
18871 * localedata/locales/sw_TZ: Likewise.
18872 * localedata/locales/szl_PL: Likewise.
18873 * localedata/locales/ta_IN: Likewise.
18874 * localedata/locales/ta_LK: Likewise.
18875 * localedata/locales/tcy_IN: Likewise.
18876 * localedata/locales/te_IN: Likewise.
18877 * localedata/locales/tg_TJ: Likewise.
18878 * localedata/locales/th_TH: Likewise.
18879 * localedata/locales/the_NP: Likewise.
18880 * localedata/locales/ti_ER: Likewise.
18881 * localedata/locales/ti_ET: Likewise.
18882 * localedata/locales/tig_ER: Likewise.
18883 * localedata/locales/tk_TM: Likewise.
18884 * localedata/locales/tl_PH: Likewise.
18885 * localedata/locales/tn_ZA: Likewise.
18886 * localedata/locales/to_TO: Likewise.
18887 * localedata/locales/tpi_PG: Likewise.
18888 * localedata/locales/tr_CY: Likewise.
18889 * localedata/locales/tr_TR: Likewise.
18890 * localedata/locales/ts_ZA: Likewise.
18891 * localedata/locales/tt_RU: Likewise.
18892 * localedata/locales/tt_RU@iqtelif: Likewise.
18893 * localedata/locales/ug_CN: Likewise.
18894 * localedata/locales/uk_UA: Likewise.
18895 * localedata/locales/unm_US: Likewise.
18896 * localedata/locales/ur_IN: Likewise.
18897 * localedata/locales/ur_PK: Likewise.
18898 * localedata/locales/uz_UZ: Likewise.
18899 * localedata/locales/uz_UZ@cyrillic: Likewise.
18900 * localedata/locales/ve_ZA: Likewise.
18901 * localedata/locales/vi_VN: Likewise.
18902 * localedata/locales/wa_BE: Likewise.
18903 * localedata/locales/wae_CH: Likewise.
18904 * localedata/locales/wal_ET: Likewise.
18905 * localedata/locales/wo_SN: Likewise.
18906 * localedata/locales/xh_ZA: Likewise.
18907 * localedata/locales/yi_US: Likewise.
18908 * localedata/locales/yo_NG: Likewise.
18909 * localedata/locales/yue_HK: Likewise.
18910 * localedata/locales/yuw_PG: Likewise.
18911 * localedata/locales/zh_CN: Likewise.
18912 * localedata/locales/zh_HK: Likewise.
18913 * localedata/locales/zh_SG: Likewise.
18914 * localedata/locales/zh_TW: Likewise.
18915 * localedata/locales/zu_ZA: Likewise.
18917 2017-11-13 Florian Weimer <fweimer@redhat.com>
18919 * support/next_to_fault.h, support/next_to_fault.c: New files.
18920 * support/Makefile (libsupport-routines): Add next_to_fault.
18921 * resolv/tst-inet_pton.c (struct next_to_fault)
18922 (next_to_fault_allocate, next_to_fault_free): Remove.
18923 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
18925 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
18927 * elf/dl-support.c: Include <dl-procruntime.c>.
18928 * include/link.h: Include <link_map.h>.
18929 * sysdeps/generic/dl-procruntime.c: New file.
18930 * sysdeps/generic/link_map.h: Likewise.
18931 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
18932 the writable ld.so namespace.
18934 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
18936 timezone: pacify GCC -Wstringop-truncation
18937 Problem reported by Martin Sebor in:
18938 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
18939 * timezone/zic.c (writezone): Use memcpy, not strncpy.
18941 2017-11-12 Florian Weimer <fweimer@redhat.com>
18943 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
18945 (tests): Add tst-xreadlink.
18946 * support/support.h (xstrndup): Declare.
18947 * support/xunistd.h (xunlink, xreadlink): Declare.
18948 * support/temp_file.h (support_create_temp_directory): Declare.
18949 * support/temp_file.c (support_create_temp_directory): New function.
18950 * support/support_chroot.c (support_chroot_create): Use it.
18951 * support/xreadlink.c: New file.
18952 * support/xstrndup.c: Likewise.
18953 * support/xunlink.c: Likewise.
18954 * support/tst-xreadlink.c: Likewise.
18956 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
18958 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
18960 2017-11-11 Florian Weimer <fweimer@redhat.com>
18964 * resolv/res_comp.c (printable_string, binary_hnok)
18965 (binary_leading_dash): New functions.
18966 (res_hnok): Reimplement using these functions and ns_name_pton.
18967 (res_ownok): Likewise.
18968 (res_mailok): Reimplement using printable_string, ns_name_pton and
18970 (res_dnok): Reimplement using printable_string and ns_name_pton.
18971 * resolv/tst-res_hnok.c (tests): Add additional tests.
18972 (LETTERDIGITS, PRINTABLE): Define.
18973 (do_test): Adjust one_char results.
18975 2017-11-11 Florian Weimer <fweimer@redhat.com>
18978 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
18979 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
18981 2017-11-11 Florian Weimer <fweimer@redhat.com>
18983 * resolv/tst-ns_name_pton.c: New file.
18984 * resolv/Makefile (tests): Add tst-ns_name_pton.
18985 (tst-ns_name_pton): Link against libresolv.
18987 2017-11-11 Florian Weimer <fweimer@redhat.com>
18989 * resolv/tst-res_hnok.c: New file.
18990 * resolv/Makefile (tests): Add tst-res_hnok.
18991 (tst-res_hnok): Link against libresolv.
18993 2017-11-11 Florian Weimer <fweimer@redhat.com>
18995 * resolv/tst-resolv-network.c: Use test framework instead explicit
18998 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
19000 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
19001 <jmp_buf-macros.h>.
19002 [!_ISOMAC] (STR_HELPER): New.
19003 [!_ISOMAC] (STR): Likewise.
19004 [!_ISOMAC] (TEST_SIZE): Likewise.
19005 [!_ISOMAC] (TEST_ALIGN): Likewise.
19006 [!_ISOMAC] (TEST_OFFSET): Likewise.
19007 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
19008 field offsets of jmp_buf as well as sigjmp_buf.
19009 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
19010 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
19011 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
19012 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
19013 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
19014 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
19015 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
19016 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
19017 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
19018 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
19020 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
19022 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
19023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
19025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
19027 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
19028 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
19029 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
19030 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
19031 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
19032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
19034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
19036 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19037 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
19038 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
19040 2017-11-07 Joseph Myers <joseph@codesourcery.com>
19043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19044 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
19045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19046 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
19047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19048 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
19049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19050 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
19051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19052 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
19053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19054 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
19055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19056 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
19057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19058 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
19059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19060 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
19061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19062 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
19063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19064 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
19065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19066 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
19067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19068 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
19069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19070 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
19071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19072 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
19073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19074 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
19075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19076 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
19077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19078 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
19079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19080 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
19081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19082 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
19083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19084 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
19085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19086 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
19087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19088 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
19089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19090 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
19091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19092 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
19093 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19094 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
19095 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19096 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
19097 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19098 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
19099 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19100 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
19101 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19102 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
19103 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19104 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
19105 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19106 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
19107 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19108 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
19109 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19110 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
19111 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19112 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
19113 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19114 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
19115 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19116 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
19117 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19118 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
19119 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19120 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
19121 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19122 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
19123 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19124 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
19125 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19126 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
19127 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19128 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
19129 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19130 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
19132 * stdlib/tst-strtod.h (F16): New macro.
19138 (IF_FLOAT16): Likewise.
19139 (IF_FLOAT32): Likewise.
19140 (IF_FLOAT64): Likewise.
19141 (IF_FLOAT32X): Likewise.
19142 (IF_FLOAT64X): Likewise.
19143 (IF_FLOAT128X): Likewise.
19144 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
19145 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
19146 (STRTOD_TEST_FOREACH): Likewise.
19147 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
19148 (CHOOSE_f64): Likewise.
19149 (CHOOSE_f32x): Likewise.
19150 (CHOOSE_f64x): Likewise.
19152 2017-11-07 Andreas Schwab <schwab@suse.de>
19154 * nptl/Makefile (tests-internal): Remove tst-typesizes.
19156 2017-11-07 Mike FABIAN <mfabian@redhat.com>
19159 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
19161 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
19164 2017-11-07 Claude Paroz <claude@2xlibre.net>
19167 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
19169 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
19171 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
19174 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19177 * nptl/allocatestack.c (allocate_stack): Check if
19178 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
19179 __PTHREAD_MUTEX_HAVE_PREV is defined.
19180 * nptl/descr.h (pthread): Likewise.
19181 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19183 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19184 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19185 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
19186 * sysdeps/nptl/bits/thread-shared-types.h
19187 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19189 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
19190 of __WORDSIZE for internal layout.
19191 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
19192 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
19193 instead of __WORDSIZE whether to use an union for __spins and __list
19195 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
19197 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
19198 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19200 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
19201 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19203 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
19204 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19206 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
19207 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19209 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
19210 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19212 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
19213 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19215 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
19216 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19218 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
19219 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19221 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
19222 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19224 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
19225 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19227 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
19228 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19230 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
19231 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19233 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
19234 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19236 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
19237 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19239 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
19240 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19243 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
19245 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
19246 checks for expected input type size.
19247 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19248 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19250 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19251 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
19252 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19253 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
19254 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19255 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
19256 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
19257 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
19258 superflous runtime assert check.
19259 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
19261 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
19263 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19265 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
19267 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
19269 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
19271 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
19272 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
19273 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19275 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19277 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19279 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
19281 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19283 * nptl/pthread_attr_setinheritsched.c
19284 (__pthread_attr_setinheritsched): Likewise.
19285 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
19287 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
19289 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
19290 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
19291 __old_pthread_attr_setstack): Likewise.
19292 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19294 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19296 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
19298 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19299 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19301 * nptl/tst-typesizes.c: Remove file.
19303 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
19304 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
19305 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
19306 checks for internal pthread_mutex_t offsets.
19307 * sysdeps/aarch64/nptl/pthread-offsets.h
19308 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
19309 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
19310 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
19311 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
19312 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
19313 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
19314 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
19315 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
19316 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
19317 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
19318 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
19319 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
19320 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
19321 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
19322 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
19323 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
19324 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
19325 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
19327 2017-11-07 Florian Weimer <fweimer@redhat.com>
19329 * bits/mman-linux.h: Move ...
19330 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
19332 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
19335 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19337 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
19338 Redefine STRNLEN as __strnlen_power8.
19340 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19342 * signal/sighold.c (sighold): Optimize implementation.
19344 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
19345 __NR_rt_sigqueueinfo.
19347 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
19349 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
19350 assume __NR_rt_sigtimedwait.
19351 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
19352 and add LIBC_CANCEL_HANDLED for cancellation marking.
19353 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19355 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
19356 (sysdeps_routines): Add memchr_noneon.
19357 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
19358 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
19359 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
19360 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
19361 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
19362 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
19363 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
19365 * sysdeps/arm/arm-ifunc.h: New file.
19366 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
19367 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
19368 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
19369 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
19370 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
19371 (__memcpy_neon): Avoid create hidden alias.
19372 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
19373 (__memcpy_vfp): Likewise.
19374 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
19375 (sysdep_routines): Add memcpy_arm.
19376 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
19378 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
19381 * Makerules (make-link-multidir): New.
19382 * config.make.in (multidir): New.
19383 * configure.ac (libc_cv_multidir): New. AC_SUBST.
19384 * configure: Regenerated.
19385 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
19386 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
19387 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
19390 2017-11-06 Joseph Myers <joseph@codesourcery.com>
19393 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
19394 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
19396 2017-11-04 Mike FABIAN <mfabian@redhat.com>
19398 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
19401 2017-11-04 Florian Weimer <fweimer@redhat.com>
19403 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
19405 2017-11-03 Joseph Myers <joseph@codesourcery.com>
19407 * math/math.h [__HAVE_DISTINCT_FLOAT16
19408 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
19409 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
19410 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
19411 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
19412 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
19413 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
19414 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19415 (__MATH_TG_F32): New macro.
19416 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19417 (__MATH_TG_F64X): Likewise.
19418 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19419 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
19421 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
19423 * po/de.po: Update translations.
19424 * po/ru.po: Likewise.
19426 2017-11-03 Florian Weimer <fweimer@redhat.com>
19428 * manual/filesys.texi (Hard Links): Document linkat.
19430 2017-11-03 Joseph Myers <joseph@codesourcery.com>
19432 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
19433 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
19434 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
19435 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
19436 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
19437 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
19438 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
19439 the same as _Float128.
19440 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
19441 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
19442 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
19445 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
19447 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
19449 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
19451 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19452 (strtof32x): Likewise.
19453 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19454 (strtof64x): Likewise.
19455 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19456 (strtof128x): Likewise.
19457 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19458 (strfromf16): Likewise.
19459 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19460 (strfromf32): Likewise.
19461 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19462 (strfromf64): Likewise.
19463 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19464 (strfromf32x): Likewise.
19465 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19466 (strfromf64x): Likewise.
19467 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19468 (strfromf128x): Likewise.
19469 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
19470 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
19471 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
19472 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
19473 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
19474 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
19476 2017-11-03 Richard Henderson <rth@twiddle.net>
19478 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
19480 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19482 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
19484 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19486 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
19487 DT_TLSDESC_GOT initialization.
19488 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
19489 (_dl_tlsdesc_resolve_hold): Likewise.
19490 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
19491 (_dl_tlsdesc_resolve_hold): Likewise.
19492 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
19493 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
19495 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19497 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
19499 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19502 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
19503 non-lazily for R_ARM_TLS_DESC.
19505 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19508 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
19509 R_ARM_TLS_DESC case.
19510 (elf_machine_lazy_rel): Remove the prelink check.
19512 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19514 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
19515 DT_TLSDESC_GOT initialization.
19516 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
19517 (_dl_tlsdesc_resolve_rela): Likewise.
19518 (_dl_tlsdesc_resolve_hold): Likewise.
19519 (_dl_tlsdesc_undefweak): Remove ldar.
19520 (_dl_tlsdesc_dynamic): Likewise.
19521 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
19522 (_dl_tlsdesc_resolve_rela): Likewise.
19523 (_dl_tlsdesc_resolve_hold): Likewise.
19524 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
19525 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
19526 (_dl_tlsdesc_resolve_rela): Likewise.
19527 (_dl_tlsdesc_resolve_hold): Likewise.
19529 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19531 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
19532 binding and initialization non-lazily for R_AARCH64_TLSDESC.
19534 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19536 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
19537 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19539 2017-11-02 Joseph Myers <joseph@codesourcery.com>
19541 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
19543 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
19544 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
19545 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
19546 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
19547 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
19548 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
19549 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
19550 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
19551 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
19552 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
19553 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
19555 2017-11-02 Mike FABIAN <mfabian@redhat.com>
19558 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
19559 * localedata/locales/tpi_PG: Add standard header.
19561 2017-11-02 Florian Weimer <fweimer@redhat.com>
19563 test-errno-linux: quotactl can fail with EPERM in containers.
19564 * sysdeps/unix/sysv/linux/test-errno-linux.c
19565 (LIST, LIST_FORWARD): New macros.
19566 (check_error_in_list): New function.
19567 (test_wrp_rv): Accept list of permitted error codes.
19568 (test_wrp_rv2): Remove.
19569 (test_wrp): Call test_wrp_rv with list of error codes.
19570 (test_wrp2): Accept list of error codes.
19571 (do_test): Adjust. Allow EPERM for quotactl.
19573 2017-11-02 Florian Weimer <fweimer@redhat.com>
19575 * stdio-common/bug16.c (do_test): Use array_length.
19576 * stdio-common/errlist.c (_sys_nerr): Likewise.
19577 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
19578 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
19579 * stdio-common/psiginfo.c (psiginfo): Use array_length.
19580 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
19581 (do_test): Use array_length.
19582 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
19583 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
19584 * stdio-common/tst-printf-round.c (do_test): Likewise.
19585 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
19586 (CHECK): Use array_length.
19587 * stdio-common/tstdiomisc.c (t3, F): Likewise.
19588 * stdio-common/tstscanf.c (main): Likewise.
19589 * stdio-common/vfprintf.c (process_string_arg): Likewise.
19591 2017-11-02 Florian Weimer <fweimer@redhat.com>
19593 Add array_length and array_end macros.
19594 * include/array_length.h: New file.
19596 2017-11-02 Florian Weimer <fweimer@redhat.com>
19599 * posix/tst-glob-tilde.c (do_noescape): New variable.
19600 (one_test): Process it.
19601 (do_test): Set do_noescape. Add unescaping test case.
19603 2017-11-01 Joseph Myers <joseph@codesourcery.com>
19606 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
19607 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
19608 with appropriate macros defined and undefined.
19609 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
19610 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19611 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
19612 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19613 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
19614 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19615 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
19616 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19617 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
19618 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19621 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
19622 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
19623 that for long double. Do not condition define and undefine of
19624 _Mdouble_complex_ on [__CFLOAT128].
19626 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
19628 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
19629 of <sysdeps/generic/sysdep.h>.
19630 (ALIGNARG): Removed.
19631 (ASM_SIZE_DIRECTIVE): Likewise.
19634 (ENTRY_CHK): Likewise.
19635 (END_CHK): Likewise.
19636 (syscall_error): Likewise.
19637 (mcount): Likewise.
19638 (PSEUDO_END): Likewise.
19640 (atom_text_section): Likewise.
19641 * sysdeps/x86/sysdep.h: New file.
19642 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
19643 of <sysdeps/generic/sysdep.h>.
19644 (ALIGNARG): Removed.
19645 (ASM_SIZE_DIRECTIVE): Likewise.
19648 (ENTRY_CHK): Likewise.
19649 (END_CHK): Likewise.
19650 (syscall_error): Likewise.
19651 (mcount): Likewise.
19652 (PSEUDO_END): Likewise.
19654 (atom_text_section): Likewise.
19656 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
19658 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
19659 category of LC_CTYPE set to "i18n:2012".
19660 * localedata/locales/i18n_ctype: Regenerate.
19662 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
19664 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
19665 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
19666 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19667 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19669 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
19670 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
19671 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
19672 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
19674 2017-10-31 Joseph Myers <joseph@codesourcery.com>
19677 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
19679 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
19681 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
19683 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19684 (CMPLXF32X): Likewise.
19685 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19686 (CMPLXF64X): Likewise.
19687 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19688 (CMPLXF128X): Likewise.
19691 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
19692 (__MATH_EVAL_FMT2): Define to add 0.0f.
19694 2017-10-31 Alan Modra <amodra@gmail.com>
19696 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
19698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
19699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
19700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
19701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
19702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
19703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
19704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
19705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
19706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
19707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
19708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
19709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
19711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
19712 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
19713 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
19714 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
19715 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
19716 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
19717 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
19718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
19719 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
19720 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
19721 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
19722 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19723 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
19724 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
19725 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
19726 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
19727 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
19728 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19729 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19730 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
19731 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
19732 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
19733 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
19734 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
19735 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
19736 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
19737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19738 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
19739 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
19740 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
19741 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
19742 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
19743 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
19744 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
19745 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
19746 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
19747 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19748 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
19749 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
19750 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
19751 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
19752 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19753 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19754 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
19755 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
19756 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
19757 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
19758 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19759 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
19760 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
19761 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19762 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
19763 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
19764 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
19765 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
19766 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
19768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
19769 include sysdep.h and math_ldbl_opt.h.
19771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
19772 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
19773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
19774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
19775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
19776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
19777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
19778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
19779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
19780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
19781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
19782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
19783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
19784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
19785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
19786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
19787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
19788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
19789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
19790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
19791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
19792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
19793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
19794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
19795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
19796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
19798 2017-10-31 Alan Modra <amodra@gmail.com>
19800 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
19801 string/strncase_l.c, not string/strncase.c.
19802 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
19803 (libc_hidden_def): Redefine.
19805 2017-10-31 Alan Modra <amodra@gmail.com>
19807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
19808 (__STRCMP, STRCMP, __strcasecmp_l): Define.
19809 (__strcasecmp): Don't define.
19811 2017-10-31 Alan Modra <amodra@gmail.com>
19813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
19815 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
19816 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
19817 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
19819 2017-10-31 Alan Modra <amodra@gmail.com>
19821 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
19824 2017-10-31 Alan Modra <amodra@gmail.com>
19826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
19827 Redefine only when SHARED.
19829 2017-10-30 Joseph Myers <joseph@codesourcery.com>
19831 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
19832 Include <bits/math-finite.h> with appropriate macros defined and
19834 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
19835 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
19836 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
19837 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
19838 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
19840 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
19841 [!_Mlong_double_] (_Mlong_double_): Likewise.
19842 [!_Mfloat16_] (_Mfloat16_): Likewise.
19843 [!_Mfloat32_] (_Mfloat32_): Likewise.
19844 [!_Mfloat64_] (_Mfloat64_): Likewise.
19845 [!_Mfloat128_] (_Mfloat128_): Likewise.
19846 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
19847 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
19848 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
19849 (_Mdouble_): Define without indirection through those macros.
19850 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
19851 [!_Mfloat128_] (_Mfloat128_): Likewise.
19852 [_Mlong_double_] (_Mlong_double_): Likewise.
19853 (_Mdouble_): Define without indirection through those macros.
19854 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
19855 not add -D_Mlong_double_=double.
19856 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
19857 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
19859 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19861 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
19863 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19865 * sysdeps/x86/libc-start.c: Reformat.
19867 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19870 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
19871 (1): Renamed to ...
19874 (L(Src2)): Likewise.
19875 (L(1)): Renamed to ...
19878 2017-10-30 Joseph Myers <joseph@codesourcery.com>
19880 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
19881 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
19882 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
19883 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
19884 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
19885 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
19886 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
19887 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
19888 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
19889 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
19890 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
19891 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
19892 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
19893 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
19894 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
19895 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
19896 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
19897 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
19898 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
19899 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
19900 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
19901 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
19902 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
19903 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
19904 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
19905 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
19906 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
19907 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
19908 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
19909 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
19910 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
19911 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
19912 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
19913 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
19914 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
19915 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
19916 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
19917 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
19918 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
19919 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
19920 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
19921 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
19922 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
19923 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
19924 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
19925 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
19926 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
19927 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
19928 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
19929 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
19930 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
19931 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
19932 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
19933 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
19934 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
19935 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
19936 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
19937 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
19938 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
19939 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
19940 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
19941 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
19942 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
19943 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
19944 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
19945 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
19947 2017-10-30 Florian Weimer <fweimer@redhat.com>
19949 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
19951 * io/tst-mkdirat.c (do_test): Likewise.
19952 * io/tst-mkfifoat.c (do_test): Likewise.
19953 * io/tst-mknodat.c (do_test): Likewise.
19954 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
19955 * locale/programs/locale.c (select_dirs): Likewise.
19956 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
19957 * posix/bug-glob2.c (my_readdir): Likewise.
19958 * posix/tst-dir.c (main): Likewise.
19959 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
19960 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
19962 2017-10-30 Florian Weimer <fweimer@redhat.com>
19964 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
19967 2017-10-30 Florian Weimer <fweimer@redhat.com>
19969 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
19970 Convert to support/test-driver.c.
19971 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
19972 New macro parameters.
19973 (PRINTF): Remove macro. Use test_verbose conditionals instead.
19974 * posix/tst-gnuglob.c: New file.
19975 * posix/tst-gnuglob64.c: Likewise.
19976 * posix/Makefile (tests): Add tst-gnuglob64.
19978 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
19981 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
19982 and use a better translation for March in “mon”.
19983 * localedata/locales/csb_PL: Use more ASCII to improve the
19984 readability of the source.
19986 2017-10-30 Mike FABIAN <mfabian@redhat.com>
19989 * localedata/locales/km_KH: Use ASCII as much
19990 as possible for better readability of the source and
19991 remove useless comments.
19992 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
19993 was commented out and apparently wrong anyway because it was
19994 using Lao characters. If Buddhist era should be used
19995 for km_KH, a native speaker should write the correct formaat
19997 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
19998 (According to CLDR, the first weekday for Cambodia is Sunday).
19999 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
20000 (These were using Lao characters which must be wrong. If we get
20001 the correct data from a native speaker, we could add it back, until
20002 then it is better not to have name_mr and name_mrs at all than
20005 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
20007 * locale/loadlocale.c: Correct size of
20008 _nl_value_type_LC_<category> arrays.
20010 2017-10-27 Joseph Myers <joseph@codesourcery.com>
20012 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
20013 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
20014 with appropriate macros defined and undefined.
20015 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
20016 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
20017 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
20018 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
20019 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
20021 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
20023 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20026 2017-10-27 Mike FABIAN <mfabian@redhat.com>
20028 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
20029 with lowercase letters to make it agree with CLDR.
20031 2017-10-27 Mike FABIAN <mfabian@redhat.com>
20034 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
20035 first letters of yesstr and nostr in yesexpr and noexpr,
20036 not for the full words.
20037 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20038 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
20039 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
20040 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
20041 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
20042 first letters of yesstr and nostr in yesexpr and noexpr,
20043 until now only English was matched in yesexpr and noexpr.
20044 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
20045 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
20046 fil but not for tl. As tl and fil are very similar, using fil
20047 is probably better than using English.
20049 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
20052 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
20053 in yesstr and nostr.
20055 2017-10-26 Joseph Myers <joseph@codesourcery.com>
20057 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20058 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
20059 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
20061 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
20063 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
20065 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
20067 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20068 (SNANF128X): Likewise.
20070 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20071 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
20072 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20073 (HUGE_VAL_F32): Likewise.
20074 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20075 (HUGE_VAL_F64): Likewise.
20076 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20077 (HUGE_VAL_F32X): Likewise.
20078 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20079 (HUGE_VAL_F64X): Likewise.
20080 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20081 (HUGE_VAL_F128X): Likewise.
20083 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
20085 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
20086 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
20087 for the br_FR locale.
20089 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
20092 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
20094 2017-10-25 Carlos O'Donell <carlos@redhat.com>
20096 * locale/programs/record-status.h: Define globals, and function
20097 prototypes. Move function bodies...
20098 * locale/programs/record-status.c: ... to here. New file.
20099 * iconv/Makefile (iconv_prog-modules): Add record-status.
20100 * locale/Makefile (lib-modules): Likewise.
20101 * iconv/iconv_prog.c: Remove verbose.
20102 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
20103 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
20104 record a warning about ASCII compatibility.
20105 * locale/programs/ld-monetary.c (monetary_finish): If
20106 warn_int_curr_symbol is true then record a warning about the symbol
20107 not being in our ISO 4217 list.
20108 * locale/programs/locale.c: Include record-status.h. Remove verbose.
20109 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
20110 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
20111 (OPT_NO_WARN): Define.
20112 (OPT_WARN): Define.
20113 (options): Add entry for --no-warnings, and --warnings.
20114 (set_warnings): New function to enable/disable warnings.
20115 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
20116 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
20117 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
20118 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
20119 Pass flags to generate_locale.
20120 (generate_locale): Accept new flag argument and pass it to localedef
20122 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
20123 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
20125 * localedata/Makefile (test-input-data): Use full file name.
20126 * localedata/da_DK.in: Rename to...
20127 * localedata/da_DK.ISO-8859-1.in: ...this.
20128 * localedata/de_DE.in: Rename to...
20129 * localedata/de_DE.ISO-8859-1.in: ...this.
20130 * localedata/en_US.in: Rename to...
20131 * localedata/en_US.ISO-8859-1.in: ...this.
20132 * localedata/fr_FR.in: Rename to...
20133 * localedata/fr_FR.UTF-8.in: ... this.
20134 * localedata/hr_HR.in: Rename to...
20135 * localedata/hr_HR.ISO-8859-2.in: ...this.
20136 * localedata/hu_HU.in: Rename to...
20137 * localedata/hu_HU.UTF-8.in: ...this.
20138 * localedata/si_LK.in: Rename to...
20139 * localedata/si_LK.UTF-8.in: ...this.
20140 * localedata/sv_SE.in: Rename to...
20141 * localedata/sv_SE.ISO-8859-1.in: ...this.
20142 * localedata/tr_TR.in: Rename to...
20143 * localedata/tr_TR.UTF-8.in: ...this.
20144 * localedata/uk_UA.in: Rename to...
20145 * localedata/uk_UA.UTF-8.in: ...this.
20146 * localedata/sort-test.sh: Test file is locale name with the
20149 * localedata/unicode-gen/Makefile (check_i18n): Rename to
20150 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
20152 * localedata/locales/i18n_ctype: Regenerate.
20153 * localedata/locales/tr_TR: Likewise.
20154 * localedata/locales/translit_circle: Likewise.
20155 * localedata/locales/translit_cjk_compat: Likewise.
20156 * localedata/locales/translit_combining: Likewise.
20157 * localedata/locales/translit_compat: Likewise.
20158 * localedata/locales/translit_font: Likewise.
20159 * localedata/locales/translit_fraction: Likewise.
20161 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20163 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
20164 lxvd2x/stxvd2x with lvx/stvx.
20165 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
20167 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
20169 * include/alloc_buffer.h: Replace "if if " with "if " in
20171 * sysdeps/mips/memcpy.S: Likkewise.
20172 * sysdeps/mips/memset.S: Likewise.
20173 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
20175 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
20177 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
20180 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20183 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
20184 yesexpr and noexpr.
20185 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20186 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
20187 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
20188 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20189 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20190 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20191 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20193 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20195 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
20196 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20197 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20198 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20199 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
20200 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
20201 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
20202 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
20203 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20204 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20205 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20206 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20208 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20210 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
20211 as possible for better readability of the source.
20212 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
20213 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
20214 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
20215 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
20216 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
20217 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
20218 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
20219 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
20220 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20221 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
20222 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
20223 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
20224 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
20225 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
20226 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
20227 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
20228 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
20229 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
20230 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
20231 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
20232 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
20233 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
20234 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
20235 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
20236 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
20237 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
20238 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
20239 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
20240 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
20241 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
20242 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
20243 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20244 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
20245 * localedata/locales/en_US (LC_MESSAGES): Likewise.
20246 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
20247 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
20248 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
20249 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
20250 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
20251 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
20252 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
20253 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
20254 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
20255 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
20256 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
20257 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
20258 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
20259 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
20260 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
20261 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
20262 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
20263 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
20264 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
20265 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20266 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20267 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
20268 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
20269 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20270 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
20271 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
20272 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
20273 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
20274 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
20275 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
20276 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
20277 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
20278 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
20279 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
20280 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
20281 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
20282 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
20283 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
20284 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
20285 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
20286 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
20287 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
20288 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
20289 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
20290 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
20291 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
20292 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
20293 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
20294 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
20295 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
20296 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
20297 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
20298 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
20299 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
20300 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
20301 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
20302 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
20303 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
20304 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
20305 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
20306 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
20307 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
20308 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
20309 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20310 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
20311 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
20312 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
20313 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
20314 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
20315 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
20316 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
20317 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
20318 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
20319 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
20320 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
20321 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
20322 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
20323 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
20324 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20325 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
20326 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
20327 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
20328 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
20329 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
20330 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
20331 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
20332 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
20333 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
20334 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
20335 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
20336 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
20337 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
20338 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
20339 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
20340 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
20341 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
20342 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
20343 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
20344 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
20345 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
20346 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
20347 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
20348 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
20349 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
20350 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
20351 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
20352 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
20353 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
20354 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
20355 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
20356 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
20357 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20358 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
20359 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
20360 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
20361 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
20362 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
20363 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
20364 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
20365 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
20366 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20367 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
20368 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
20369 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
20370 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
20371 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
20372 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
20373 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
20374 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
20375 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
20376 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
20377 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20378 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
20379 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
20380 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
20381 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
20382 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20383 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20384 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20385 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
20387 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20389 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
20390 (Use first letters of yesstr and nostr correctly instead of using
20393 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20395 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
20396 (Use first letters of yesstr and nostr correctly).
20398 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20400 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
20401 also check for the first characters of yesstr and nostr.
20402 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
20403 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
20405 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20407 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
20408 also check for Chinese characters.
20410 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20412 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
20413 match also for the contents of yesstr and nostr. As the first letter
20414 of yesstr and nostr is equal, checking only for the first letter
20417 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20419 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
20420 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
20422 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20424 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
20425 of main contributor.
20427 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20429 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
20430 instead of using English.
20432 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20434 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
20435 by including the first letters of nostr and yesexpr in the regexp.
20436 Also make it more readable by using ASCII where possible.
20438 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20440 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
20441 the first letter of nostr in the regexp. It agrees with CLDR now.
20442 Also make it more readable by using ASCII where possible.
20444 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20446 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
20447 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
20448 these strings contain a U+17D6 (which somewhat looks like a colon)
20449 instead of a real colon to separate the full words for “yes”
20450 and “no” from the single letter responses.
20452 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20454 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
20455 it agree with CLDR (include the first letter of yesstr).
20456 Also make it more readable by using ASCII where possible.
20458 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20460 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
20461 and improve yesexpr and noexpr. The yesstr and nostr apparently
20462 came from CLDR. And CLDR has a bug there: these strings contain
20463 a U+0903 (which looks like a colon) instead of a real colon
20464 to separate the full words for “yes” and “no” from the single
20467 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20469 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
20470 letters of the full yesstr and nostr in yesexpr and noexpr.
20472 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20474 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
20475 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
20476 * localedata/locales/an_ES: Make source more readable by using ASCII
20479 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20482 * localedata/locales/yuw_PG: New file.
20483 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
20484 * locale/iso-639.def: Add Yau (Uruwa).
20486 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20488 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
20490 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20492 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
20493 (__libc_realloc): Likewise.
20494 (_mid_memalign): Likewise.
20495 (__libc_calloc): Likewise.
20497 2017-10-23 Mike FABIAN <mfabian@redhat.com>
20499 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
20500 by adding the generic +1 and -0 as in all other locales.
20501 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
20502 day names and make it more readable by using ASCII where possible.
20504 2017-10-24 Joseph Myers <joseph@codesourcery.com>
20506 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
20507 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
20509 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20511 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
20512 WNOHANG in waitpid call.
20514 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
20516 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
20517 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
20519 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
20520 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
20521 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
20522 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
20523 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
20524 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
20525 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
20526 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
20529 2017-10-23 Michael Collison <michael.collison@arm.com>
20531 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
20532 with __builtin_sqrt.
20533 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
20534 with __builtin_sqrtf.
20535 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
20536 with __builtin_ceil.
20537 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
20538 with __builtin_ceilf.
20539 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
20540 with __builtin_floor.
20541 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
20542 with __builtin_floorf.
20543 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
20544 with __builtin_fma.
20545 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
20546 with __builtin_fmaf.
20547 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
20548 with __builtin_fmax.
20549 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
20550 with __builtin_fmaxf.
20551 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
20552 with __builtin_fmin.
20553 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
20554 with __builtin_fminf.
20555 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
20556 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
20557 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
20558 with builtin_rint and conversion to int.
20559 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
20560 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
20561 with builtin_llround.
20562 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
20563 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
20564 with builtin_rint and conversion to long int.
20565 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
20566 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
20567 with builtin_lround.
20568 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
20569 with builtin_lroundf.
20570 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
20571 statements with __builtin_nearbyint.
20572 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
20573 statements with __builtin_nearbyintf.
20574 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
20575 with __builtin_rint.
20576 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
20577 with __builtin_rintf.
20578 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
20579 with __builtin_round.
20580 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
20581 with __builtin_roundf.
20582 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
20583 with __builtin_trunc.
20584 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
20585 with __builtin_truncf.
20586 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
20587 and s_l[l]round[f].c too.
20589 2017-10-23 Alan Modra <amodra@gmail.com>
20591 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
20592 Adjust stack after restoring regs. Add missing LR cfi_restore.
20594 2017-10-23 Alan Modra <amodra@gmail.com>
20596 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
20597 Move LR save and frame setup/teardown and LR restore to
20598 immediately around memset call. Provide cfi.
20600 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20602 * sysdeps/i386/fpu/e_powf.S: Removed.
20603 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
20604 * sysdeps/i386/fpu/w_powf.c: Likewise.
20605 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
20606 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20607 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20609 (CFLAGS-e_powf-sse2.c): New.
20610 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
20611 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
20613 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20615 * sysdeps/i386/fpu/e_log2f.S: Removed.
20616 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
20617 * sysdeps/i386/fpu/w_log2f.c: Likewise.
20618 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
20619 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20620 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20622 (CFLAGS-e_log2f-sse2.c): New.
20623 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
20624 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
20626 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20628 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20630 (CFLAGS-e_powf-fma.c): New.
20631 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
20632 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
20634 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20636 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20638 (CFLAGS-e_log2f-fma.c): New.
20639 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
20640 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
20642 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20644 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20646 (CFLAGS-e_logf-fma.c): New.
20647 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
20648 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
20650 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20652 * sysdeps/i386/fpu/e_logf.S: Removed.
20653 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
20654 * sysdeps/i386/fpu/w_logf.c: Likewise.
20655 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
20656 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
20657 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20658 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20660 (CFLAGS-e_logf-sse2.c): New.
20661 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
20662 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
20664 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20666 * sysdeps/i386/fpu/e_exp2f.S: Removed.
20667 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
20668 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
20669 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20670 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20672 (CFLAGS-e_exp2f-sse2.c): New.
20673 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
20674 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
20676 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20678 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20680 (CFLAGS-e_exp2f-fma.c): New.
20681 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
20682 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
20684 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20686 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
20687 * sysdeps/i386/fpu/e_expf.S: Likewise.
20688 * sysdeps/i386/fpu/math_errf.c: Likewise.
20689 * sysdeps/i386/fpu/w_expf.c: Likewise.
20690 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
20691 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20692 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
20693 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
20694 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20695 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20696 Remove e_expf-ia32.
20697 (CFLAGS-e_expf-sse2.c): New.
20698 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
20699 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
20701 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20703 * sysdeps/x86_64/fpu/e_expf.S: Removed.
20704 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
20705 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
20706 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
20708 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
20710 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
20711 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
20713 (__redirect_expf): This.
20714 (SYMBOL_NAME): Changed to expf.
20715 (__ieee754_expf): Renamed to ...
20717 (__GI___expf): This.
20718 (__ieee754_expf): Add strong_alias.
20719 (__expf_finite): Likewise.
20721 Include <sysdeps/ieee754/flt-32/e_expf.c>.
20723 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
20726 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
20729 2017-10-21 Florian Weimer <fweimer@redhat.com>
20731 * posix/Makefile (tests): Add tst-glob-tilde.
20732 (tests-special): Add tst-glob-tilde-mem.out
20733 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
20734 (tst-glob-tilde-mem.out): Add mtrace check.
20735 * posix/tst-glob-tilde.c: New file.
20737 2017-10-20 Joseph Myers <joseph@codesourcery.com>
20739 * bits/floatn-common.h: New file.
20740 * math/Makefile (headers): Add bits/floatn-common.h.
20741 * bits/floatn.h: Include <bits/floatn-common.h>.
20742 * sysdeps/ia64/bits/floatn.h: Likewise.
20743 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
20744 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
20745 * sysdeps/powerpc/bits/floatn.h: Likewise.
20746 * sysdeps/x86/bits/floatn.h: Likewise.
20748 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20750 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
20751 indicates whether compiler emits an warning for alias for
20752 functions with incompatible types.
20755 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
20756 the auxiliary process is terminated by a signal before calling _exit
20759 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20762 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
20764 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
20765 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
20766 and bit_arch_XSAVEC_Usable if needed.
20767 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
20768 and bit_arch_Use_dl_runtime_resolve_opt.
20769 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
20771 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
20772 (bit_arch_Prefer_No_AVX512): Updated.
20773 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
20774 (bit_arch_XSAVEC_Usable): New.
20775 (STATE_SAVE_OFFSET): Likewise.
20776 (STATE_SAVE_MASK): Likewise.
20777 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
20778 (cpu_features): Add xsave_state_size and xsave_state_full_size.
20779 (index_arch_Use_dl_runtime_resolve_opt): Removed.
20780 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
20781 (index_arch_XSAVEC_Usable): New.
20782 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
20783 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
20784 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
20786 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
20787 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
20788 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
20789 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
20790 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
20791 _dl_runtime_resolve_xsavec.
20792 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
20794 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
20795 instead of VEC_SIZE.
20796 (REGISTER_SAVE_BND0): Removed.
20797 (REGISTER_SAVE_BND1): Likewise.
20798 (REGISTER_SAVE_BND3): Likewise.
20799 (REGISTER_SAVE_RAX): Always defined to 0.
20801 (_dl_runtime_resolve_avx): Likewise.
20802 (_dl_runtime_resolve_avx_slow): Likewise.
20803 (_dl_runtime_resolve_avx_opt): Likewise.
20804 (_dl_runtime_resolve_avx512): Likewise.
20805 (_dl_runtime_resolve_avx512_opt): Likewise.
20806 (_dl_runtime_resolve_sse): Likewise.
20807 (_dl_runtime_resolve_sse_vex): Likewise.
20809 (_dl_runtime_resolve_fxsave): Likewise.
20810 (USE_XSAVE): Likewise.
20811 (_dl_runtime_resolve_xsave): Likewise.
20812 (USE_XSAVEC): Likewise.
20813 (_dl_runtime_resolve_xsavec): Likewise.
20814 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
20816 (_dl_runtime_resolve_avx512_opt): Likewise.
20817 (_dl_runtime_resolve_avx): Likewise.
20818 (_dl_runtime_resolve_avx_opt): Likewise.
20819 (_dl_runtime_resolve_sse): Likewise.
20820 (_dl_runtime_resolve_sse_vex): Likewise.
20821 (_dl_runtime_resolve_fxsave): New.
20822 (_dl_runtime_resolve_xsave): Likewise.
20823 (_dl_runtime_resolve_xsavec): Likewise.
20825 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
20829 * posix/glob.c (__glob): Fix one-byte overflow.
20831 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
20833 * malloc/malloc.c (sysdep-cancel.h): Add include.
20835 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
20837 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
20839 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
20841 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
20842 (tests): Remove $(objpfx)ga_test depdendency.
20843 * resolv/ga_test.c: Remove file.
20845 2017-10-20 Mike FABIAN <mfabian@redhat.com>
20848 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
20849 * localedata/locales/kab_DZ: New file.
20851 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20853 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
20854 _dl_relocate_static_pie instead of _dl_start to compute load
20855 address in static PIE.
20857 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20859 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
20861 2017-10-20 Mike FABIAN <mfabian@redhat.com>
20864 * localedata/SUPPORTED: Add shn_MM/UTF-8.
20865 * localedata/locales/shn_MM: New file.
20867 2017-10-20 Florian Weimer <fweimer@redhat.com>
20870 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
20871 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
20872 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
20873 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
20874 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
20875 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
20877 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
20879 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20881 2017-10-19 Joseph Myers <joseph@codesourcery.com>
20883 * sysdeps/mips/ieee754/bits/floatn.h: New file.
20886 * sysdeps/mips/bits/long-double.h: Move to ....
20887 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
20889 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
20891 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
20893 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
20894 H.J. Lu <hongjiu.lu@intel.com>
20897 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20898 GLRO(dl_platform) to NULL.
20899 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
20900 (modules-names): Add tst-platformmod-1 and
20901 x86_64/tst-platformmod-2.
20902 (CFLAGS-tst-platform-1.c): New.
20903 (CFLAGS-tst-platformmod-1.c): Likewise.
20904 (CFLAGS-tst-platformmod-2.c): Likewise.
20905 (LDFLAGS-tst-platformmod-2.so): Likewise.
20906 ($(objpfx)tst-platform-1): Likewise.
20907 ($(objpfx)tst-platform-1.out): Likewise.
20908 (tst-platform-1-ENV): Likewise.
20909 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
20910 * sysdeps/x86_64/tst-platform-1.c: New file.
20911 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
20912 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
20914 2017-10-19 Mike FABIAN <mfabian@redhat.com>
20917 * locale/iso-639.def: Add Karbi.
20918 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
20919 * localedata/locales/mjw_IN: New file.
20921 2017-10-18 Joseph Myers <joseph@codesourcery.com>
20923 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
20924 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
20925 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
20926 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
20927 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
20928 (libm_alias_ldouble_other_r): Also create _Float128 alias.
20929 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
20931 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
20932 (libm_alias_ldouble_other_r): Also create _Float128 alias.
20933 * manual/math.texi (Mathematics): Document additional architecture
20934 support for _Float128.
20935 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20936 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20937 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20938 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20939 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20940 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20941 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20942 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20943 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20944 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20945 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20946 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20947 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20948 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20949 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20951 2017-10-18 Renlin Li <renlin.li@arm.com>
20953 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
20954 _DYNAMIC symbol to calculate load address.
20956 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
20958 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
20959 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
20961 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
20962 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
20964 2017-10-18 Mike FABIAN <mfabian@redhat.com>
20967 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
20968 and improve readability by using more ASCII.
20969 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
20970 and improve readability by using more ASCII.
20972 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
20974 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
20975 not all targets support atomics on bool.
20977 2017-10-17 Joseph Myers <joseph@codesourcery.com>
20979 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
20980 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
20982 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20983 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
20984 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20985 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
20986 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20987 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
20989 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20991 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
20994 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
20997 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
20998 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
20999 (do_check_remalloced_chunk): Fix build bug.
21000 (do_check_malloc_state): Add assert that checks arena->top.
21001 (malloc_consolidate): Remove initialization.
21002 (int_mallinfo): Remove call to malloc_consolidate.
21003 (__libc_mallopt): Clarify why malloc_consolidate is needed.
21005 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21007 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
21008 (have_fastchunks): Remove.
21009 (clear_fastchunks): Remove.
21010 (set_fastchunks): Remove.
21011 (malloc_state): Add have_fastchunks.
21012 (malloc_init_state): Use have_fastchunks.
21013 (do_check_malloc_state): Remove incorrect invariant checks.
21014 (_int_malloc): Use have_fastchunks.
21015 (_int_free): Likewise.
21016 (malloc_consolidate): Likewise.
21018 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21020 * malloc/malloc.c (tcache_put): Inline.
21021 (tcache_get): Inline.
21023 2017-10-17 Jordi Mallach <jordi@gnu.org>
21025 Aurelien Jarno <aurelien@aurel32.net>
21027 * localedata/locales/ca_ES@valencia: New file.
21028 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
21030 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
21033 * math/math.h: Let signbit use the builtin in C++ mode with gcc
21036 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21038 * scripts/build-many-glibcs.py (Context.add_all_configs):
21039 Add arm-linux-gnueabihf multiarch extra_glibcs.
21041 * sysdeps/generic/ifunc-init.h: New file.
21042 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
21044 2017-10-17 Mike FABIAN <mfabian@redhat.com>
21047 * localedata/locales/el_GR: Set n_cs_precedes to 0.
21048 * localedata/locales/el_CY: copy "el_GR" because it is identical.
21049 * stdlib/tst-strfmon_l.c: adapt test case.
21051 2017-10-16 Joseph Myers <joseph@codesourcery.com>
21053 * sysdeps/generic/float128-abi.h: New file.
21054 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
21055 non-__prefixed symbols to ....
21056 * math/Versions: ... here. Include <float128-abi.h>.
21057 * stdlib/Versions ... and here. Include <float128-abi.h>
21059 2017-10-16 Florian Weimer <fweimer@redhat.com>
21061 * version.h (VERSION): Switch to ".9000" as the development
21064 2017-10-16 Florian Weimer <fweimer@redhat.com>
21067 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
21068 compat_symbol_reference to access non-default version.
21070 2017-10-16 Florian Weimer <fweimer@redhat.com>
21072 * malloc/Makefile (others-extras): Set to mcheck-init.o.
21074 2017-10-16 Carlos O'Donell <carlos@redhat.com>
21076 * include/shlib-compat.h (compat_symbol_reference): Update
21079 2017-10-16 Joseph Myers <joseph@codesourcery.com>
21081 * math/Makefile (test-types): Add
21082 $(type-float128-$(float128-alias-fcts)).
21083 * math/test-float128.h (TYPE_STR): Define conditional on
21084 [FLT128_MANT_DIG == LDBL_MANT_DIG].
21085 (ULP_IDX): Likewise.
21086 (ULP_I_IDX): Likewise.
21088 * stdlib/strtold.c: Include <bits/floatn.h>
21089 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
21090 and later undefine as macro. Define as weak alias if
21092 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
21093 and later undefine as macro. Define as weak alias if
21095 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
21096 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
21097 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21098 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21099 Define and later undefine as macro. Define as weak alias if
21101 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
21103 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
21104 Define and later undefine as macro. Define as weak alias if
21106 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21107 Define and later undefine as macro. Define as weak alias if
21110 2017-10-15 Carlos O'Donell <carlos@redhat.com>
21112 * localedata/collate-test.c (allocate_arrays): Don't use \n in
21113 record_verbose messages.
21115 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
21118 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
21119 to silence -O3 -Wall warning with GCC 7.
21121 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
21123 * Makeconfig (+link-static-before-libc): Use the first of
21124 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
21125 * gmon/Makefile (tests): Add tst-gmon-static.
21126 (tests-static): Likewise.
21127 (CFLAGS-tst-gmon-static.c): New.
21128 (CRT-tst-gmon-static): Likewise.
21129 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
21130 (tst-gmon-static-ENV): Likewise.
21131 (tests-special): Likewise.
21132 ($(objpfx)tst-gmon-static.out): Likewise.
21133 (clean-tst-gmon-static-data): Likewise.
21134 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
21135 * gmon/tst-gmon-static-gprof.sh: New file.
21136 * gmon/tst-gmon-static.c: Likewise.
21138 2017-10-13 Carlos O'Donell <carlos@redhat.com>
21141 * locale/programs/linereader.c (get_string): Don't warn on
21142 non-symbolic character.
21145 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
21149 * locale/programs/record-status.h: New file
21150 * locale/programs/locale.c: Add comment.
21151 * locale/programs/charmap-dir.c: Don't include error.h.
21152 (charmap_opendir): Use record_error.
21153 * locale/programs/charmap.c: Don't include error.h.
21154 (charmap_read): Use record_error, and record_warning.
21155 (parse_charmap): Likewise.
21156 * locale/programs/ld-address.c: Don't include error.h.
21157 (address_finish): Use record_error, and record_warning.
21158 * locale/programs/ld-collate.c: Don't include error.h.
21159 (collate_finish): Use record_error, and record_error_at_line.
21160 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
21161 (ctype_class_new): Likewise.
21162 (ctype_map_new): Likewise.
21163 (set_one_default): Likewise.
21164 (set_class_defaults): Likewise.
21165 (translit_flatten): Likewise.
21166 (allocate_arrays): Use record_error, and record_verbose.
21167 * locale/programs/ld-identification.c: Don't include error.h.
21168 (indentation_finish): Use record_error and record_warning.
21169 * locale/programs/ld-measurement.c: Don't include error.h.
21170 (measurement_finish): Use record_error.
21171 * locale/programs/ld-messages.c
21172 (message_finish): Likewise.
21173 * locale/programs/ld-monetary.c
21174 (monetary_finish): Likewise.
21175 * locale/programs/ld-name.c (name_finish): Use record_error
21176 and record_warning.
21177 * locale/programs/ld-numeric.c
21178 (numeric_finish): Use record_error.
21179 * locale/programs/ld-paper.c: Don't include error.h.
21180 (paper_finish): Use record_error.
21181 * locale/programs/ld-telephone.c: Don't include error.h.
21182 (telephone_finish): Use record_error.
21183 * locale/programs/ld-time.c (time_finish): Likewise.
21184 * locale/programs/linereader.h (lr_error): Make inline func.
21185 * locale/programs/localedef.c: Define recorded_warning_count,
21186 and recorded_error_count.
21187 (main): Use record_error. Use recorded_error_count and
21188 recorded_warning_count to issue correct error returns.
21189 (add_to_readlist): Use record_error.
21190 (find_locale): Likewise.
21191 (load_locale): Likewise.
21192 * locale/programs/localedef.h: Remove be_quiet
21193 and WITH_CUR_LOCALE.
21194 * locale/programs/locarchive.c (compare_from_file): Use
21196 * locale/programs/locfile.c (write_locale_data): Use
21198 * locale/programs/repertoire.c: Dont include error.h.
21199 (repertoire_complain): Use record_error.
21200 * localedata/tst-fmon.sh: Expect failures from localedef.
21201 * localedata/tst-locale.sh: Likewise.
21202 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
21204 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
21205 (REPORTS): Likewise.
21207 (i18n): Rename to...
21208 (i18n_ctype): ...this.
21209 (i18n-report): Rename to...
21210 (i18n_ctype-report): ...this.
21211 * localedata/locales/i18n_ctype: Regenerate.
21212 * localedata/locales/i18n: copy i18n_ctype.
21214 2017-10-13 Joseph Myers <joseph@codesourcery.com>
21216 * stdlib/strfroml.c: Include <bits/floatn.h>.
21217 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
21218 Define before include of <stdlib.h> and undefine afterwards, then
21219 define as weak alias.
21221 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
21222 Undefine and restore default definition. Use
21223 libm_alias_ldouble_other.
21225 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
21228 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
21231 2017-10-13 James Clarke <jrtc27@jrtc27.com>
21233 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21234 Assign sym_map to be map for local symbols, as TLS relocations
21235 use sym_map to determine whether the symbol is defined and to
21236 extract the TLS information.
21237 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21240 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21243 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
21244 (math_force_eval): Add powerpc version.
21247 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
21249 (do_test): Likewise.
21250 * stdio-common/tst-printf.sh: Likewise.
21251 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
21252 ifdef clause in order to set the carry bit right. Replace r0 by
21253 0 without changing the behavior.
21255 2017-10-13 Joseph Myers <joseph@codesourcery.com>
21257 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
21258 <libm-alias-ldouble.h>.
21259 (fabsl): Define using libm_alias_ldouble.
21260 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
21261 <libm-alias-ldouble.h>.
21262 (fabsl): Define using libm_alias_ldouble.
21264 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
21265 Remove conditional code.
21267 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
21268 Rename to __clog10_internal_l.
21269 (__clog10_internal_l): Define aliases using
21270 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
21273 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21275 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
21276 * benchtests/sincosf-inputs: New file.
21277 * benchtests/cosf-inputs: New file.
21278 * benchtests/sinf-inputs: New file.
21280 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21282 * posix/tst-spawn.c (do_test): Wait for both children.
21284 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
21287 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
21288 tests-pie): Add tst-gmon-pie.
21289 (CFLAGS-tst-gmon-pie.c): New.
21290 (CRT-tst-gmon-pie): Likewise.
21291 (tst-gmon-pie-ENV): Likewise.
21292 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
21293 ($(objpfx)tst-gmon-pie.out): Likewise.
21294 (clean-tst-gmon-pie-data): Likewise.
21295 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
21296 * gmon/gmon.c [PIC]: Include <link.h>.
21297 [PIC] (callback): New function.
21298 (write_hist): Add an argument for load address. Subtract load
21300 (write_call_graph): Likewise.
21301 (write_gmon): Call __dl_iterate_phdr to get load address, pass
21302 it to write_hist and write_call_graph.
21303 * gmon/tst-gmon-pie.c: New file.
21305 2017-10-11 Joseph Myers <joseph@codesourcery.com>
21307 * math/Makefile (test-types-basic): New variable.
21308 (test-types): Likewise.
21309 (libm-test-support): Use $(test-types) instead of $(types).
21310 (libm-tests-base-normal): Likewise.
21311 (libm-tests-base-finite): Likewise.
21312 (libm-tests-base-inline): Likewise.
21313 (generated): Likewise.
21314 ($(objpfx)libm-test-support-$(t).c): Likewise.
21315 (libm-tests-for-type iterator): Likewise.
21316 (libm-test-support iterator): Likewise.
21317 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
21318 (ulp_idx): Use ULP_IDX.
21319 * math/test-ldouble.h: Include <float.h>.
21320 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
21321 (ULP_IDX): New macro.
21322 (ULP_I_IDX): Likewise.
21323 * math/test-double.h (ULP_IDX): Likewise.
21324 (ULP_I_IDX): Likewise.
21325 * math/test-float.h (ULP_IDX): Likewise.
21326 (ULP_I_IDX): Likewise.
21327 * math/test-float128.h (ULP_IDX): Likewise.
21328 (ULP_I_IDX): Likewise.
21330 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21332 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
21333 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21334 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21335 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
21336 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21337 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
21338 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
21339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21341 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
21343 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21344 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21346 (SINGLE_THREAD_BY_GLOBAL): Define.
21347 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21349 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21351 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21353 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21355 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
21356 (SINGLE_THREAD_BY_GLOBAL): Likewise.
21357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21360 2017-10-11 Andreas Schwab <schwab@suse.de>
21362 * nis/Makefile (aux): Remove.
21363 * nscd/Makefile (aux): Add nscd_hash.
21364 (nscd-modules): Likewise.
21365 ($(objpfx)nscd): Don't depend on libnsl.
21366 * nscd/nscd_hash.c: New file.
21367 * nscd/nscd_hash.h: Likewise.
21368 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
21369 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
21370 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
21371 instead of <nis/rpcsvc/nis.h>.
21372 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
21374 2017-10-11 Florian Weimer <fweimer@redhat.com>
21377 Avoid large NSS buffers with many addresses, aliases.
21378 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
21379 using dynarrays and struct alloc_buffer.
21380 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
21381 (tst-nss-files-hosts-multi): Link with -ldl.
21382 * nss/tst-nss-files-hosts-multi.c: New file.
21384 2017-10-11 Florian Weimer <fweimer@redhat.com>
21387 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
21388 scratch_buffer. Eliminate gotos.
21390 2017-10-11 Joseph Myers <joseph@codesourcery.com>
21392 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
21393 libm_alias_ldouble_other.
21394 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
21395 undefine and redefine.
21396 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
21397 (exp10l): Do not define here.
21398 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
21399 (weak_alias): Undefine and redefine.
21400 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
21401 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
21402 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
21403 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
21405 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
21406 [!__fma] (fma): Define using libm_alias_double.
21407 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
21408 [!__fmaf] (fmaf): Define using libm_alias_float.
21409 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
21410 (fmal): Define using libm_alias_ldouble.
21412 2017-10-10 Joseph Myers <joseph@codesourcery.com>
21414 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
21416 (libm_alias_double_other): Likewise.
21417 (libm_alias_double_r): Use libm_alias_double_other_r.
21418 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
21420 (libm_alias_float_other): Likewise.
21421 (libm_alias_float_r): Use libm_alias_float_other_r.
21422 * sysdeps/generic/libm-alias-float128.h
21423 (libm_alias_float128_other_r): New macro.
21424 (libm_alias_float128_other): Likewise.
21425 (libm_alias_float128_r): Use libm_alias_float128_other_r.
21426 * sysdeps/generic/libm-alias-ldouble.h
21427 (libm_alias_ldouble_other_r): New macro.
21428 (libm_alias_ldouble_other): Likewise.
21429 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
21430 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21431 (libm_alias_double_other_r): New macro.
21432 (libm_alias_double_other): Likewise.
21433 (libm_alias_double_r): Use libm_alias_double_other_r.
21434 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21435 (libm_alias_ldouble_other_r): New macro.
21436 (libm_alias_ldouble_other): Likewise.
21437 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
21438 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
21439 [!USE_AS_COMPAT]: Use libm_alias_double_other.
21440 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
21441 [!USE_AS_COMPAT]: Use libm_alias_float_other.
21442 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
21443 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
21444 * math/w_exp2f.c: Use libm_alias_float_other.
21445 * math/w_expf.c: Likewise.
21446 * math/w_log2f.c: Likewise.
21447 * math/w_logf.c: Likewise.
21448 * math/w_powf.c: Likewise.
21449 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
21450 [!__exp2f]: Use libm_alias_float_other.
21451 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
21452 [!__expf]: Use libm_alias_float_other.
21453 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
21454 [!__log2f]: Use libm_alias_float_other.
21455 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
21456 [!__logf]: Use libm_alias_float_other.
21457 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
21458 [!__powf]: Use libm_alias_float_other.
21460 2017-10-10 Florian Weimer <fweimer@redhat.com>
21462 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
21464 (_nss_files_gethostbyname3_r): Call it.
21466 2017-10-09 Joseph Myers <joseph@codesourcery.com>
21468 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
21469 error. Remove default definition of declare_mgen_alias.
21470 [!declare_mgen_alias_r]: Likewise.
21471 * sysdeps/generic/math-type-macros-double.h
21472 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
21473 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
21474 (declare_mgen_alias_r): Likewise.
21475 * sysdeps/generic/math-type-macros-float128.h
21476 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
21477 * sysdeps/generic/math-type-macros-ldouble.h
21478 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
21479 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
21481 (declare_mgen_alias_r_s): Likewise.
21482 (declare_mgen_alias_r): Likewise.
21483 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
21484 (lgamma_r): Define using libm_alias_double_r.
21485 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
21486 (lgammaf_r): Define using libm_alias_float_r.
21487 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
21488 (lgammal_r): Define using libm_alias_ldouble_r.
21489 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
21490 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
21492 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21494 * lib/glob.c (__glob_pattern_type): Remove now-spurious
21495 extern declaration.
21497 2017-10-09 Joseph Myers <joseph@codesourcery.com>
21499 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
21501 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
21504 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
21505 [__cplusplus >= 201103] (__USE_ISOC99): Define.
21506 * math/Makefile (test-math-cxx11): New test.
21507 * math/test-math-cxx11.cc: New file.
21509 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
21511 * login/openpty.c (openpty): Close slave pty file descriptor on error.
21513 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
21514 call to allocate the slave pty file descriptor.
21516 2017-10-06 Joseph Myers <joseph@codesourcery.com>
21518 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
21519 [!__fma] (fma): Define using libm_alias_double.
21520 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
21521 [!__fma] (fma): Define using libm_alias_double.
21523 * sysdeps/ieee754/float128/float128_private.h: Include
21524 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
21525 (libm_alias_ldouble_r): Undefine and redefine.
21526 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
21527 <libm-alias-ldouble.h>.
21528 (asinhl): Define using libm_alias_ldouble.
21529 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
21530 <libm-alias-ldouble.h>.
21531 (atanl): Define using libm_alias_ldouble.
21532 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
21533 <libm-alias-ldouble.h>.
21534 (cbrtl): Define using libm_alias_ldouble.
21535 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
21536 <libm-alias-ldouble.h>.
21537 (ceill): Define using libm_alias_ldouble.
21538 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
21539 <libm-alias-ldouble.h>.
21540 (copysignl): Define using libm_alias_ldouble.
21541 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
21542 <libm-alias-ldouble.h>.
21543 (cosl): Define using libm_alias_ldouble.
21544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
21545 <libm-alias-ldouble.h>.
21546 (erfl): Define using libm_alias_ldouble.
21548 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
21549 <libm-alias-ldouble.h>.
21550 (expm1l): Define using libm_alias_ldouble.
21551 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
21552 <libm-alias-ldouble.h>.
21553 (fabsl): Define using libm_alias_ldouble.
21554 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
21555 <libm-alias-ldouble.h>.
21556 (floorl): Define using libm_alias_ldouble.
21557 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
21558 <libm-alias-ldouble.h>.
21559 (fmal): Define using libm_alias_ldouble.
21560 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
21561 <libm-alias-ldouble.h>.
21562 (frexpl): Define using libm_alias_ldouble.
21563 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
21564 libm_alias_ldouble.
21565 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
21566 <libm-alias-ldouble.h>.
21567 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
21568 libm_alias_ldouble.
21569 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
21570 <libm-alias-ldouble.h>.
21571 (getpayloadl): Define using libm_alias_ldouble.
21572 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
21573 <libm-alias-ldouble.h>.
21574 (llrintl): Define using libm_alias_ldouble.
21575 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
21576 <libm-alias-ldouble.h>.
21577 (llroundl): Define using libm_alias_ldouble.
21578 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
21579 <libm-alias-ldouble.h>.
21580 (logbl): Define using libm_alias_ldouble.
21581 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
21582 <libm-alias-ldouble.h>.
21583 (lrintl): Define using libm_alias_ldouble.
21584 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
21585 <libm-alias-ldouble.h>.
21586 (lroundl): Define using libm_alias_ldouble.
21587 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
21588 <libm-alias-ldouble.h>.
21589 (modfl): Define using libm_alias_ldouble.
21590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
21591 <libm-alias-ldouble.h>.
21592 (nearbyintl): Define using libm_alias_ldouble.
21593 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
21594 <libm-alias-ldouble.h>.
21595 (nextafterl): Define using libm_alias_ldouble.
21596 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
21597 <libm-alias-ldouble.h>.
21598 (nextupl): Define using libm_alias_ldouble.
21599 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
21600 <libm-alias-ldouble.h>.
21601 (remquol): Define using libm_alias_ldouble.
21602 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
21603 <libm-alias-ldouble.h>.
21604 (rintl): Define using libm_alias_ldouble.
21605 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
21606 <libm-alias-ldouble.h>.
21607 (roundevenl): Define using libm_alias_ldouble.
21608 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
21609 <libm-alias-ldouble.h>.
21610 (roundl): Define using libm_alias_ldouble.
21611 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
21612 using libm_alias_ldouble.
21613 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
21614 <libm-alias-ldouble.h>.
21615 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
21616 Define using libm_alias_ldouble.
21617 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
21618 <libm-alias-ldouble.h>.
21619 (sincosl): Define using libm_alias_ldouble.
21620 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
21621 <libm-alias-ldouble.h>.
21622 (sinl): Define using libm_alias_ldouble.
21623 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
21624 <libm-alias-ldouble.h>.
21625 (tanhl): Define using libm_alias_ldouble.
21626 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
21627 <libm-alias-ldouble.h>.
21628 (tanl): Define using libm_alias_ldouble.
21629 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
21630 <libm-alias-ldouble.h>.
21631 (totalorderl): Define using libm_alias_ldouble.
21632 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
21633 <libm-alias-ldouble.h>.
21634 (totalordermagl): Define using libm_alias_ldouble.
21635 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
21636 <libm-alias-ldouble.h>.
21637 (truncl): Define using libm_alias_ldouble.
21638 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
21639 libm_alias_ldouble.
21640 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
21641 libm_alias_ldouble.
21642 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
21643 <libm-alias-ldouble.h>.
21644 (weak_alias): Do not undefine and redefine.
21645 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21646 (copysignl): Define with long_double_symbol only if [IS_IN
21648 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
21649 <libm-alias-ldouble.h>.
21650 (weak_alias): Do not undefine and redefine.
21651 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21652 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
21653 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
21654 <libm-alias-ldouble.h>.
21655 (weak_alias): Do not undefine and redefine.
21656 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21657 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
21658 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
21659 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
21662 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
21664 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
21665 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
21668 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
21675 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
21680 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
21681 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
21683 2017-10-06 Carlos O'Donell <carlos@redhat.com>
21686 * malloc/malloc.c (tcache_shutting_down): Use bool type.
21687 (tcache_thread_freeres): Set tcache_shutting_down before
21688 freeing the tcache.
21689 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
21690 * malloc/tst-malloc-tcache-leak.c: New file.
21692 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21694 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
21695 back to powerpc32 file.
21696 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
21697 (memrchr): Add __memrchr_power8 to ifunc list.
21698 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
21699 extra bytes for unaligned inputs.
21701 2017-10-06 Joseph Myers <joseph@codesourcery.com>
21703 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
21704 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21709 2017-10-05 Joseph Myers <joseph@codesourcery.com>
21711 * sysdeps/arm/libm-test-ulps: Update.
21713 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
21714 <libm-alias-ldouble.h>.
21715 (asinhl): Define using libm_alias_ldouble.
21716 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
21717 <libm-alias-ldouble.h>.
21718 (cbrtl): Define using libm_alias_ldouble.
21719 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
21720 <libm-alias-ldouble.h>.
21721 (copysignl): Define using libm_alias_ldouble.
21722 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
21723 <libm-alias-ldouble.h>.
21724 (cosl): Define using libm_alias_ldouble.
21725 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
21726 <libm-alias-ldouble.h>.
21727 (erfl): Define using libm_alias_ldouble.
21729 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
21730 <libm-alias-ldouble.h>.
21731 (fmal): Define using libm_alias_ldouble.
21732 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
21733 <libm-alias-ldouble.h>.
21734 (frexpl): Define using libm_alias_ldouble.
21735 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
21736 libm_alias_ldouble.
21737 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
21738 <libm-alias-ldouble.h>.
21739 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
21740 libm_alias_ldouble.
21741 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
21742 <libm-alias-ldouble.h>.
21743 (getpayloadl): Define using libm_alias_ldouble.
21744 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
21745 <libm-alias-ldouble.h>.
21746 (llrintl): Define using libm_alias_ldouble.
21747 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
21748 <libm-alias-ldouble.h>.
21749 (llroundl): Define using libm_alias_ldouble.
21750 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
21751 <libm-alias-ldouble.h>.
21752 (lrintl): Define using libm_alias_ldouble.
21753 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
21754 <libm-alias-ldouble.h>.
21755 (lroundl): Define using libm_alias_ldouble.
21756 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
21757 <libm-alias-ldouble.h>.
21758 (modfl): Define using libm_alias_ldouble.
21759 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
21760 <libm-alias-ldouble.h>.
21761 (nextupl): Define using libm_alias_ldouble.
21762 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
21763 <libm-alias-ldouble.h>.
21764 (remquol): Define using libm_alias_ldouble.
21765 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
21766 <libm-alias-ldouble.h>.
21767 (roundevenl): Define using libm_alias_ldouble.
21768 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
21769 <libm-alias-ldouble.h>.
21770 (roundl): Define using libm_alias_ldouble.
21771 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
21772 using libm_alias_ldouble.
21773 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
21774 <libm-alias-ldouble.h>.
21775 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
21776 <libm-alias-ldouble.h>.
21777 (setpayloadsigl): Define using libm_alias_ldouble.
21778 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
21779 <libm-alias-ldouble.h>.
21780 (sincosl): Define using libm_alias_ldouble.
21781 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
21782 <libm-alias-ldouble.h>.
21783 (sinl): Define using libm_alias_ldouble.
21784 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
21785 <libm-alias-ldouble.h>.
21786 (tanhl): Define using libm_alias_ldouble.
21787 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
21788 <libm-alias-ldouble.h>.
21789 (tanl): Define using libm_alias_ldouble.
21790 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
21791 <libm-alias-ldouble.h>.
21792 (totalorderl): Define using libm_alias_ldouble.
21793 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
21794 <libm-alias-ldouble.h>.
21795 (totalordermagl): Define using libm_alias_ldouble.
21796 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
21797 libm_alias_ldouble.
21798 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
21799 libm_alias_ldouble.
21801 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
21803 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
21805 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21806 (__libc_ifunc_impl_list): Likewise.
21807 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
21808 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
21810 * benchtests/bench-memmove-walk.c: New file.
21811 * benchtests/Makefile (string-benchset): Add it.
21813 * benchtests/bench-memset-walk.c: New file.
21814 * benchtests/Makefile (string-benchset): Add it.
21816 * benchtests/bench-memcpy-walk.c: New file.
21817 * benchtests/Makefile (string-benchset): Add it.
21819 2017-10-05 Florian Weimer <fweimer@redhat.com>
21821 nscd: Eliminate compilation time dependency in the build output.
21822 * nscd/nscd_stat.c (STATDATA_VERSION)
21823 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
21824 (STATDATA_VERSION_FULL): New macro definitions.
21825 (compilation): Remove.
21826 (struct statdata): Adjust version member.
21827 (send_stats): Set version from STATDATA_VERSION_FULL.
21828 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
21830 2017-10-05 Joseph Myers <joseph@codesourcery.com>
21832 * configure.ac (--enable-add-ons): Remove option.
21833 (machine): Do not mention add-ons in comment.
21834 (LIBC_PRECONFIGURE): Likewise.
21835 (add_ons): Remove variable and sanity checks and logic to locate
21837 (add_ons_automatic): Remove variable.
21838 (configured_add_ons): Likewise.
21839 (add_ons_sfx): Likewise.
21840 (add_ons_pfx): Likewise.
21841 (add_on_subdirs): Likewise.
21842 (sysnames_add_ons): Likewise. Remove loop over add-ons and
21843 consideration of add-ons in Implies handling.
21844 (sysdeps_add_ons): Likewise.
21845 * configure: Regenerated.
21846 * libidn/configure.ac: Remove.
21847 * libidn/configure: Likewise.
21848 * sysdeps/unix/inet/configure.ac: New file.
21849 * sysdeps/unix/inet/configure: New generated file.
21850 * sysdeps/unix/inet/Subdirs: Add libidn.
21851 * Makeconfig (sysdeps-srcdirs): Remove variable.
21852 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
21853 ($(common-objpfx)config.status): Do not depend on add-on files.
21854 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
21856 (all-subdirs): Do not include $(add-on-subdirs).
21857 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
21858 * config.make.in (add-ons): Remove variable.
21859 (add-on-subdirs): Likewise.
21860 (sysdeps-add-ons): Likewise.
21861 * manual/Makefile (add-chapters): Remove.
21862 ($(objpfx)texis): Do not depend on $(add-chapters).
21863 (nonexamples): Do not handle $(add-chapters).
21864 (examples): Do not handle $(add-ons).
21865 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
21867 * manual/install.texi (Installation): Do not mention add-ons.
21868 (--enable-add-ons): Do not document configure option.
21869 * INSTALL: Regenerated.
21870 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
21871 * manual/maint.texi (Hierarchy Conventions): Do not mention
21873 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
21875 * scripts/gen-sorted.awk: Do not handle Subdirs files from
21877 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
21878 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
21880 2017-10-05 Andreas Schwab <schwab@suse.de>
21883 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
21884 (_IO_flush_all_lockp): Always lock list_all_lock.
21885 (_IO_flush_all_linebuffered): Likewise.
21886 (_IO_unbuffer_all): Likewise.
21888 2017-10-05 Florian Weimer <fweimer@redhat.com>
21891 Do not flush stdio streams on abort.
21892 * stdlib/abort.c (fflush): Remove macro definition.
21893 (abort): Remove stages related to stdio flushing.
21895 2017-10-05 Florian Weimer <fweimer@redhat.com>
21897 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
21899 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
21901 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21903 2017-10-05 Florian Weimer <fweimer@redhat.com>
21905 * support/support_format_hostent.c (support_format_hostent): Add
21906 more error information for NETDB_INTERNAL.
21908 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21910 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
21911 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
21912 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
21913 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
21914 AC_DEFINE if multi-arch is enabled.
21915 * sysdeps/i386/configure: Regenerated.
21917 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21919 * Makeconfig (+link-static-before-libc): Use
21920 $(DEFAULT-LDFLAGS-$(@F)).
21921 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
21922 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
21923 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
21925 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21927 * elf/Makefile (tests): Add tst-main1.
21928 (modules-names): Add tst-main1mod.
21929 ($(objpfx)tst-main1): New.
21930 (CRT-tst-main1): Likewise.
21931 (LDFLAGS-tst-main1): Likewise.
21932 (LDLIBS-tst-main1): Likewise.
21933 (tst-main1mod.so-no-z-defs): Likewise.
21934 * elf/tst-main1.c: New file.
21935 * elf/tst-main1mod.c: Likewise.
21937 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21939 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
21941 2017-10-04 Joseph Myers <joseph@codesourcery.com>
21943 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
21944 (fma): Define using libm_alias_double.
21945 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
21946 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
21948 (fmal): Do not define as compat symbol here.
21949 * sysdeps/alpha/fpu/s_fma.c: New file.
21951 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
21953 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
21955 2017-10-04 Joseph Myers <joseph@codesourcery.com>
21958 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21960 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
21962 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
21963 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21964 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
21965 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21967 Include <math_ldbl_opt.h>
21968 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
21970 (compat_symbol): Undefine and redefine.
21971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21973 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21974 (compat_symbol): Undefine and redefine.
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
21976 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
21977 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
21978 GLIBC_2_1 for libm.
21979 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
21980 GLIBC_2.0 copysignl symbol.
21981 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21982 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
21984 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
21986 2017-10-04 Florian Weimer <fweimer@redhat.com>
21988 * scripts/check-local-headers.sh: Ignore nspr4 header file
21989 directory in addition to nspr.
21991 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
21994 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
21995 * configure: Regenerate.
21996 * crypt/Makefile (nss-cpp-flags): New variable.
21997 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
21998 (CPPFLAGS-md5-crypt.c): Use it.
21999 * scripts/check-local-headers.sh: Ignore nspr header file
22002 2017-10-04 Andreas Schwab <schwab@suse.de>
22004 * nis/Makefile (services): Remove compat.
22005 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
22006 ($(objpfx)libnss_compat.so): Remove rule.
22007 * nis/Versions (libnss_compat): Remove.
22008 * nss/Makefile (services): Add compat.
22009 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
22010 * nss/Versions (libnss_compat): Define.
22011 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
22012 Don't include <rpc/types.h>. Replace bool_t by bool.
22013 * nss/nss_compat/compat-initgroups.c: Likewise.
22014 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
22015 instead of <rpcsrv/ypclnt.h>.
22016 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
22017 yp_get_default_domain.
22018 * nss/nss_compat/compat-pwd.c: Likewise.
22019 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
22020 yp_get_default_domain.
22021 * nss/nss_compat/nisdomain.c: New file.
22022 * nss/nss_compat/nisdomain.h: Likewise.
22024 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22027 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
22028 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22030 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22033 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
22034 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
22036 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22038 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
22039 "movl main@GOTOFF(%ebx), %eax".
22041 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22043 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
22044 allow undefined _DYNAMIC in PIE libc.a.
22045 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
22048 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22050 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
22053 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22055 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
22058 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22060 * math/test-math-iscanonical.cc (error): Replace bool with int.
22062 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22064 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
22065 (modf): Define using libm_alias_double, only if [!__modf].
22066 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
22067 <libm-alias-double.h>.
22068 (modf): Define using libm_alias_double, only if [!__modf].
22069 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
22070 compat symbol here.
22071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
22072 (weak_alias): Do not undefine and redefine.
22073 (strong_alias): Likewise.
22074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
22075 (weak_alias): Likewise.
22076 (strong_alias): Likewise.
22078 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
22079 (logb): Define using libm_alias_double, only if [!__logb].
22080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
22081 <libm-alias-double.h>.
22082 (logb): Define using libm_alias_double, only if [!__logb].
22083 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
22084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
22085 (weak_alias): Do not undefine and redefine.
22086 (strong_alias): Likewise.
22087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
22088 (weak_alias): Likewise.
22089 (strong_alias): Likewise.
22091 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22093 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
22094 Check SHARED instead PIC.
22096 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22098 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
22099 [!__fmaf] (fmaf): Define using libm_alias_float.
22101 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
22102 (frexp): Define using libm_alias_double.
22103 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
22104 <libm-alias-double.h>.
22105 (frexp): Define using libm_alias_double.
22106 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
22107 compat symbol here.
22109 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22112 * math/math.h: Trivial fix for unbalanced parentheses in comment.
22113 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
22114 (CFLAGS-test-math-iscanonical.cc): New variable.
22115 * math/test-math-iscanonical.cc: New file.
22116 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
22117 Provide a C++ implementation based on function overloading,
22118 rather than using __MATH_TG, which uses C-only builtins.
22119 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
22121 * sysdeps/powerpc/powerpc64le/Makefile
22122 (CFLAGS-test-math-iscanonical.cc): New variable.
22124 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22126 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
22127 (ceil): Define using libm_alias_double.
22128 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
22129 (floor): Define using libm_alias_double.
22130 * sysdeps/ieee754/dbl-64/s_llround.c: Include
22131 <libm-alias-double.h>.
22132 (llround): Define using libm_alias_double.
22133 * sysdeps/ieee754/dbl-64/s_lround.c: Include
22134 <libm-alias-double.h>.
22135 (lround): Define using libm_alias_double.
22136 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
22137 <libm-alias-double.h>.
22138 (nearbyint): Define using libm_alias_double.
22139 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
22140 <libm-alias-double.h>.
22141 (remquo): Define using libm_alias_double.
22142 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
22143 (rint): Define using libm_alias_double.
22144 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
22145 (round): Define using libm_alias_double.
22146 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
22147 (trunc): Define using libm_alias_double.
22148 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
22149 <libm-alias-double.h>.
22150 (ceil): Define using libm_alias_double.
22151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
22152 <libm-alias-double.h>.
22153 (floor): Define using libm_alias_double.
22154 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
22155 <libm-alias-double.h>.
22156 (llround): Define using libm_alias_double.
22157 [_LP64] (lround): Likewise.
22158 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
22159 <libm-alias-double.h>.
22160 [!_LP64] (lround): Define using libm_alias_double.
22161 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
22162 <libm-alias-double.h>.
22163 (nearbyint): Define using libm_alias_double.
22164 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
22165 <libm-alias-double.h>.
22166 (remquo): Define using libm_alias_double.
22167 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
22168 <libm-alias-double.h>.
22169 (rint): Define using libm_alias_double.
22170 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
22171 <libm-alias-double.h>.
22172 (round): Define using libm_alias_double.
22173 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
22174 <libm-alias-double.h>.
22175 (trunc): Define using libm_alias_double.
22176 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
22177 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
22178 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
22179 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
22180 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
22181 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
22182 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
22183 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
22184 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
22186 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22188 * math/w_remainder.c: New file.
22189 * math/w_remainderf.c: New file.
22190 * math/w_remainderl.c: New file.
22192 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22194 * elf/rtld.c (BOOTSTRAP_MAP): New.
22195 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
22196 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22198 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22200 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22203 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22205 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
22206 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
22207 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
22208 rtld_hidden_data_ver): Define to empty.
22209 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
22210 __assert_perror_fail): Likewise.
22211 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22212 (__rewinddir): Likewise.
22213 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22214 (__profile_frequency): Likewise.
22215 * include/setjmp.h (__sigsetjmp): Likewise.
22216 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
22217 __libc_sigaction): Likewise.
22218 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
22219 not set hidden attribute.
22220 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
22221 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
22222 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
22223 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
22224 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
22225 __fxstatat64): Likewise.
22226 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22227 (__uname): Likewise.
22228 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22229 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
22230 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
22231 (NO_RTLD_HIDDEN): Set.
22232 * sysdeps/mach/hurd/configure: Refresh.
22233 * config.h.in: Refresh.
22235 2017-10-02 Joseph Myers <joseph@codesourcery.com>
22237 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
22238 (atan): Define using libm_alias_double.
22239 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
22240 (tan): Define using libm_alias_double.
22241 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
22242 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
22245 define as weak alias of __atan. Do not define any aliases if
22247 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
22248 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
22249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
22250 as weak alias of __tan. Do not define any aliases if [__tan].
22251 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
22252 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
22253 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
22255 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
22256 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
22257 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
22258 and define as weak alias of __atan.
22259 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
22261 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
22262 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
22263 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
22264 define as weak alias of __tan.
22266 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22268 * math/w_lgamma.c: New file.
22269 * math/w_lgammaf.c: New file.
22270 * math/w_lgammal.c: New file.
22272 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22274 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
22275 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
22276 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
22277 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
22278 * sysdeps/ieee754/flt-32/w_logf.c: New file.
22279 * sysdeps/ieee754/flt-32/w_powf.c: New file.
22280 * sysdeps/i386/fpu/w_log2f.c: New file.
22281 * sysdeps/i386/fpu/w_logf.c: New file.
22282 * sysdeps/i386/fpu/w_powf.c: New file.
22283 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
22284 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
22285 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
22287 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22288 H.J. Lu <hongjiu.lu@intel.com>
22290 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
22291 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
22292 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
22293 * sysdeps/ieee754/flt-32/w_expf.c: New file.
22294 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
22296 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
22297 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
22298 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
22299 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
22300 * sysdeps/i386/fpu/w_exp2f.c: New file.
22301 * sysdeps/i386/fpu/w_expf.c: New file.
22302 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
22303 * sysdeps/x86_64/fpu/w_expf.c: New file.
22305 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22307 * math/Versions (logf): New libm symbol at GLIBC_2.27.
22310 * math/w_log2f.c: New file.
22311 * math/w_logf.c: New file.
22312 * math/w_powf.c: New file.
22313 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
22314 * math/w_logf_compat.c (__logf_compat): Likewise.
22315 * math/w_powf_compat.c (__powf_compat): Likewise.
22316 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
22317 * sysdeps/ia64/fpu/e_logf.S: Likewise.
22318 * sysdeps/ia64/fpu/e_powf.S: Likewise.
22319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
22320 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22321 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22322 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22324 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22325 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22326 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22327 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22328 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22329 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22330 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22339 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22340 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22341 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22342 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22343 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22348 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22349 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22350 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22352 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22354 * sysdeps/powerpc/powerpc64/multiarch/Makefile
22355 (sysdep_routines): Add memrchr_power8.
22356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22357 (memrchr): Add __memrchr_power8 to list of memrchr functions.
22358 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
22360 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
22361 (memrchr): Add __memrchr_power8 to ifunc list.
22362 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
22364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22367 * sysdeps/unix/sysv/linux/posix_fadvise64.c
22368 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
22370 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22371 (__posix_fallocate64_l64): Likewise.
22373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22376 * sysdeps/unix/sysv/linux/sched_setaffinity.c
22377 (__sched_setaffinity_new): Add libc_hidden_proto and
22380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22383 * include/glob.h (__glob64): Add libc_hidden_proto.
22384 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
22387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22390 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
22393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22396 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
22398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22401 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
22404 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22407 * csu/version.c (__libc_print_version): Add attribute_hidden.
22409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22412 * include/libc-internal.h (__init_misc): Add attribute_hidden.
22414 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22417 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
22419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22422 * nscd/nscd_helper.c (__nis_hash): New prototype.
22424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22427 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
22428 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
22430 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22431 * termios/tcgetattr.c (__tcgetattr): Likewise.
22433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22436 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
22437 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
22438 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
22439 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
22440 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
22442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22445 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
22447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22450 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
22451 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
22453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22456 * intl/hash-string.h (__hash_string): Add attribute_hidden.
22458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22461 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
22462 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
22464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22467 * include/ifreq.h: New file.
22468 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
22469 (__ifreq): Likewise.
22470 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
22471 (__ifreq): Likewise.
22473 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22476 * include/idna.h: New file.
22477 * inet/getnameinfo.c: Include <idna.h> instead of
22479 (__idna_to_unicode_lzlz): Removed.
22480 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
22482 (__idna_to_ascii_lz): Removed.
22483 (__idna_to_unicode_lzlz): Likewise.
22485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22488 * include/plural-exp.h: New file.
22489 * intl/plural-exp.c: Include <plural-exp.h> instead of
22492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22495 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
22496 "getsourcefilter.h".
22497 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
22498 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
22499 "getsourcefilter.h".
22500 (__get_sol): Removed.
22502 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22505 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
22507 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
22509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22512 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
22515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22518 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
22520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22523 * include/search.h (__tdestroy): Add libc_hidden_proto.
22524 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
22526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22529 * include/assert.h (__assert_fail_base): Add attribute_hidden.
22531 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22534 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
22537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22540 * include/signal.h (__kill): Add libc_hidden_proto.
22541 (__sigblock): Likewise.
22542 (__sigprocmask): Likewise.
22543 (__sigaltstack): Likewise.
22544 * signal/kill.c (__kill): Add libc_hidden_def.
22545 * signal/sigblock.c (__sigblock): Likewise.
22546 * signal/sigprocmask.c (__sigprocmask): Likewise.
22547 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
22548 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22549 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22550 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22551 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
22553 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22555 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22556 (__sigprocmask): Likewise.
22557 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
22559 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22560 (__sigprocmask): Likewise.
22561 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22564 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22567 * include/string.h (__strsep): Add libc_hidden_proto.
22568 * string/strsep.c (__strsep): Add libc_hidden_def.
22570 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22573 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
22575 (__spawni): Likewise.
22577 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22580 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
22581 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
22584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22587 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
22589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22592 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
22593 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
22594 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
22595 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
22596 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
22598 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
22599 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
22601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22604 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
22605 (__dcigettext): Likewise.
22607 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22610 * include/sys/sysinfo.h (__get_nprocs_conf): Add
22612 (__get_nprocs): Likewise.
22613 (__get_phys_pages): Likewise.
22614 (__get_avphys_pages): Likewise.
22615 (__get_child_max): Add attribute_hidden.
22616 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
22617 (__get_nprocs): Likewise.
22618 (__get_phys_pages): Likewise.
22619 (__get_avphys_pages): Likewise.
22620 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
22622 (__get_nprocs): Likewise.
22623 (__get_phys_pages): Likewise.
22624 (__get_avphys_pages): Likewise.
22625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
22627 (__get_nprocs_conf): Likewise.
22628 (__get_phys_pages): Likewise.
22629 (__get_avphys_pages): Likewise.
22631 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22634 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
22636 (__netlink_close): Likewise.
22637 (__netlink_free_handle): Likewise.
22638 (__netlink_request): Likewise.
22640 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22643 * include/rpc/rpc.h (__rpc_thread_variables): Add
22645 (__rpc_thread_svc_cleanup): Likewise.
22646 (__rpc_thread_clnt_cleanup): Likewise.
22647 (__rpc_thread_key_cleanup): Likewise.
22649 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22652 * include/sys/uio.h (__readv): Add libc_hidden_proto.
22653 (__writev): Likewise.
22654 * misc/readv.c (__readv): Add libc_hidden_def.
22655 * misc/writev.c (__writev): Likewise.
22656 * sysdeps/posix/readv.c (__readv): Likewise.
22657 * sysdeps/posix/writev.c (__writev): Likewise.
22658 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
22659 (__readv): Likewise.
22660 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
22661 (__writev): Likewise.
22663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22666 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
22667 (__regcomp): Add libc_hidden_proto.
22668 (__regexec): Likewise.
22669 (__regfree): Likewise.
22670 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
22671 (__regfree): Likewise.
22672 * posix/regexec.c (__regexec): Likewise.
22674 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22677 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
22678 (__getutent): Likewise.
22679 (__getutid): Likewise.
22680 (__getutline): Likewise.
22681 (__pututline): Likewise.
22682 (__getutent_r): Likewise.
22683 (__getutid_r): Likewise.
22684 (__getutline_r): Likewise.
22685 (__utmpname): Add attribute_hidden.
22686 (__setutent): Likewise.
22687 (__endutent): Likewise.
22688 * login/getutent.c (__getutent): Add libc_hidden_def.
22689 * login/getutent_r.c (__getutent_r): Likewise.
22690 (__pututline): Likewise.
22691 * login/getutid.c (__getutid): Likewise.
22692 * login/getutid_r.c (__getutid_r): Likewise.
22693 * login/getutline.c (__getutline): Likewise.
22694 * login/getutline_r.c (__getutline_r): Likewise.
22695 * login/updwtmp.c (__updwtmp): Likewise.
22697 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22700 * include/dirent.h (__opendir): Always add attribute_hidden.
22701 (__fdopendir): Likewise.
22702 (__closedir): Likewise.
22703 (__readdir): Likewise.
22704 (__readdir64): Add libc_hidden_proto.
22705 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
22706 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
22707 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
22708 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
22711 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22714 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
22715 * include/netdb.h (__gethostbyaddr_r): Likewise.
22716 (__gethostbyname_r): Likewise.
22717 (__gethostbyname2_r): Likewise.
22718 (__getnetbyaddr_r): Likewise.
22719 (__getnetbyname_r): Likewise.
22720 (__getservbyname_r): Likewise.
22721 (__getservbyport_r): Likewise.
22722 (__getprotobyname_r): Likewise.
22723 (__getprotobynumber_r): Likewise.
22724 (__getnetgrent_r): Likewise.
22725 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
22726 (__getrpcbynumber_r): Likewise.
22727 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
22729 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22732 * include/stdio.h (__fcloseall): Add attribute_hidden.
22733 (__getline): Likewise.
22734 (__path_search): Likewise.
22735 (__gen_tempname): Likewise.
22736 (__libc_message): Likewise.
22737 (__flockfile): Likewise.
22738 (__funlockfile): Likewise.
22739 (__fxprintf): Likewise.
22740 (__fxprintf_nocancel): Likewise.
22742 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22745 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
22746 (__sgetsgent_r): Likewise.
22748 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22751 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
22752 (__statfs64): Likewise.
22753 (__fstatfs64): Likewise.
22754 * include/sys/statvfs.h (__statvfs64): Likewise.
22755 (__fstatvfs64): Likewise.
22756 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
22757 (__statfs_filesize_max): Likewise.
22758 (__statfs_symlinks): Likewise.
22759 (__statfs_chown_restricted): Likewise.
22761 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22764 * include/time.h (__tzstring): Add attribute_hidden.
22765 (__tzfile_read): Likewise.
22766 (__tzfile_compute): Likewise.
22767 (__tzfile_default): Likewise.
22768 (__tzset_parse_tz): Likewise.
22769 (__offtime): Likewise.
22770 (__asctime_r): Likewise.
22771 (__tzset): Likewise.
22772 (__tz_convert): Likewise.
22773 (__getdate_r): Likewise.
22774 (__getclktck): Likewise.
22776 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22779 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
22780 (__nscd_unmap): Likewise.
22781 (__nscd_cache_search): Likewise.
22782 (__nscd_get_nl_timestamp): Likewise.
22783 (__nscd_getpwnam_r): Likewise.
22784 (__nscd_getpwuid_r): Likewise.
22785 (__nscd_getgrnam_r): Likewise.
22786 (__nscd_getgrgid_r): Likewise.
22787 (__nscd_gethostbyname_r): Likewise.
22788 (__nscd_gethostbyname2_r): Likewise.
22789 (__nscd_gethostbyaddr_r): Likewise.
22790 (__nscd_getai): Likewise.
22791 (__nscd_getgrouplist): Likewise.
22792 (__nscd_getservbyname_r): Likewise.
22793 (__nscd_getservbyport_r): Likewise.
22794 (__nscd_innetgr): Likewise.
22795 (__nscd_setnetgrent): Likewise.
22797 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22800 * include/gmp.h: Declare internal functions only if _ISOMAC is
22802 (__mpn_extract_double): Add attribute_hidden.
22803 (__mpn_extract_long_double): Likewise.
22804 (__mpn_extract_float128): Likewise.
22805 (__mpn_construct_float): Likewise.
22806 (__mpn_construct_double): Likewise.
22807 (__mpn_construct_long_double): Likewise.
22808 (__mpn_construct_float128): Likewise.
22809 (mpn_add_1): Likewise.
22810 (mpn_addmul_1): Likewise.
22811 (mpn_add_n): Likewise.
22812 (mpn_cmp): Likewise.
22813 (mpn_divrem): Likewise.
22814 (mpn_lshift): Likewise.
22815 (mpn_mul): Likewise.
22816 (mpn_mul_1): Likewise.
22817 (mpn_rshift): Likewise.
22818 (mpn_sub_1): Likewise.
22819 (mpn_submul_1): Likewise.
22820 (mpn_sub_n): Likewise.
22822 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22825 * include/wchar.h (__wcsnlen): Add attribute_hidden.
22826 (__wcscat): Likewise.
22827 (__btowc): Likewise.
22828 (__wcrtomb): Likewise.
22829 (__mbsrtowcs): Likewise.
22830 (__wcsrtombs): Likewise.
22831 (__mbsnrtowcs): Likewise.
22832 (__wcsnrtombs): Likewise.
22833 (__wcsncpy): Likewise.
22834 (__wcpncpy): Likewise.
22835 (__wmemcpy): Likewise.
22836 (__wmempcpy): Likewise.
22837 (__wmemmove): Likewise.
22838 (__wcschrnul): Likewise.
22839 (__vfwscanf): Likewise.
22840 (__vswprintf): Likewise.
22841 (__fwprintf): Likewise.
22842 (__vfwprintf): Likewise.
22844 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22847 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
22848 (__getgrgid_r): Likewise.
22849 (__getgrnam_r): Likewise.
22850 * include/pwd.h (__getpwuid_r): Likewise.
22851 (__getpwnam_r): Likewise.
22852 (__fgetpwent_r): Likewise.
22853 * include/shadow.h (__getspnam_r): Likewise.
22854 (__sgetspent_r): Likewise.
22855 (__fgetspent_r): Likewise.
22857 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22860 * include/unistd.h (__access): Add attribute_hidden.
22861 (__lseek64): Likewise.
22862 (__libc_pread64): Likewise.
22863 (__pipe2): Likewise.
22864 (__sleep): Likewise.
22865 (__chdir): Likewise.
22866 (__fchdir): Likewise.
22867 (__getcwd): Likewise.
22868 (__rmdir): Likewise.
22869 (__execvpe): Likewise.
22870 (__execve): Likewise.
22871 (__setsid): Likewise.
22872 (__getuid): Likewise.
22873 (__geteuid): Likewise.
22874 (__getgid): Likewise.
22875 (__getegid): Likewise.
22876 (__getgroups): Likewise.
22877 (__group_member): Likewise.
22878 (__ttyname_r): Likewise.
22879 (__isatty): Likewise.
22880 (__readlink): Likewise.
22881 (__unlink): Likewise.
22882 (__gethostname): Likewise.
22883 (__profil): Likewise.
22884 (__getdtablesize): Likewise.
22886 (__ftruncate): Likewise.
22887 (__ftruncate64): Likewise.
22889 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22892 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
22893 * argp/argp-fs-xinl.c: Likewise.
22894 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
22895 * argp/argp-parse.c: Include <argp.h>.
22896 * argp/argp-xinl.c: Likewise.
22897 * include/argp-fmtstream.h: New file.
22898 * include/argp.h (__argp_error): Add attribute_hidden.
22899 (__argp_failure): Likewise.
22900 (__argp_input): Likewise.
22901 (__argp_state_help): Likewise.
22903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22906 * include/wchar.h (____wcstof_l_internal): New prototype.
22907 (____wcstod_l_internal): Likewise.
22908 (____wcstold_l_internal): Likewise.
22909 (____wcstol_l_internal): Likewise.
22910 (____wcstoul_l_internal): Likewise.
22911 (____wcstoll_l_internal): Likewise.
22912 (____wcstoull_l_internal): Likewise.
22913 (____wcstof128_l_internal): Likewise.
22914 * sysdeps/ieee754/float128/wcstof128.c
22915 (____wcstof128_l_internal): Removed.
22916 * sysdeps/ieee754/float128/wcstof128_l.c
22917 (____wcstof128_l_internal): Likewise.
22918 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
22919 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
22920 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
22921 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
22922 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
22923 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
22924 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
22925 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
22926 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
22927 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
22929 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22932 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
22933 instead of <sys/statvfs.h>.
22934 (__internal_statvfs): Removed.
22935 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
22936 instead of <sys/statvfs.h>.
22937 (__internal_statvfs64): Removed.
22938 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
22939 "internal_statvfs.h" instead of <sys/statvfs.h>.
22940 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
22941 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
22942 instead of <sys/statvfs.h>.
22943 (__internal_statvfs): Removed.
22944 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
22945 instead of <sys/statvfs.h>.
22946 (__internal_statvfs64): Removed.
22948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22951 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
22952 (__gconv_close): Likewise.
22953 (__gconv): Likewise.
22954 (__gconv_find_transform): Likewise.
22955 (__gconv_lookup_cache): Likewise.
22956 (__gconv_compare_alias_cache): Likewise.
22957 (__gconv_load_cache): Likewise.
22958 (__gconv_get_path): Likewise.
22959 (__gconv_close_transform): Likewise.
22960 (__gconv_release_cache): Likewise.
22961 (__gconv_find_shlib): Likewise.
22962 (__gconv_release_shlib): Likewise.
22963 (__gconv_get_builtin_trans): Likewise.
22964 (__gconv_compare_alias): Likewise.
22965 * include/dlfcn.h (_dlerror_run): Likewise.
22966 * include/stdio.h (__fortify_fail_abort): Likewise.
22967 * include/time.h (__tz_compute): Likewise.
22968 (__strptime_internal): Likewise.
22969 * intl/gettextP.h (_nl_find_domain): Likewise.
22970 (_nl_load_domain): Likewise.
22971 (_nl_find_msg): Likewise.
22972 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
22973 (EXTRACT_PLURAL_EXPRESSION): Likewise.
22974 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
22975 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
22976 (__gai_find_request): Likewise.
22977 (__gai_remove_request): Likewise.
22978 (__gai_notify): Likewise.
22979 (__gai_notify_only): Likewise.
22980 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
22981 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
22982 (_dl_non_dynamic_init): Likewise.
22983 (_dl_aux_init): Likewise.
22984 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
22985 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
22987 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
22988 (__wcsmbs_clone_conv): Likewise.
22989 (__wcsmbs_named_conv): Likewise.
22991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22994 * include/stdlib.h (__random): Add attribute_hidden.
22995 (__random_r): Likewise.
22996 (__srandom_r): Likewise.
22997 (__initstate_r): Likewise.
22998 (__setstate_r): Likewise.
22999 (__erand48_r): Likewise.
23000 (__nrand48_r): Likewise.
23001 (__jrand48_r): Likewise.
23002 (__srand48_r): Likewise.
23003 (__seed48_r): Likewise.
23004 (__lcong48_r): Likewise.
23005 (__drand48_iterate): Likewise.
23006 (__setenv): Likewise.
23007 (__unsetenv): Likewise.
23008 (__clearenv): Likewise.
23009 (__ptsname_r): Likewise.
23010 (__posix_openpt): Likewise.
23011 (__add_to_environ): Likewise.
23012 (__realpath): Add libc_hidden_proto.
23013 (__ecvt_r): Likewise.
23014 (__fcvt_r): Likewise.
23015 (__qecvt_r): Likewise.
23016 (__qfcvt_r): Likewise.
23017 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
23018 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
23020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23023 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
23024 * include/time.h (__mktime_internal): Likewise.
23025 * libio/iolibio.h (__fopen_internal): Likewise.
23027 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
23029 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
23031 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
23032 Correct offset used to restore PIC register.
23034 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
23037 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
23038 code to load address of __getcontext_ret when generating PIC code.
23040 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
23042 * elf/Makefile (tests-static-internal): Add
23043 tst-tls1-static-non-pie.
23044 (LDFLAGS-tst-tls1-static-non-pie): New.
23045 * elf/tst-tls1-static-non-pie.c: New file.
23047 2017-09-29 Joseph Myers <joseph@codesourcery.com>
23049 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
23050 (asinh): Define using libm_alias_double.
23051 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
23052 (cbrt): Define using libm_alias_double.
23053 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
23054 <libm-alias-double.h>.
23055 (copysign): Define using libm_alias_double.
23056 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
23057 (erf): Define using libm_alias_double.
23059 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
23060 (expm1): Define using libm_alias_double.
23061 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
23062 (fabs): Define using libm_alias_double.
23063 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
23065 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
23066 <libm-alias-double.h>.
23067 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
23069 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
23070 <libm-alias-double.h>.
23071 (getpayload): Define using libm_alias_double.
23072 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
23073 <libm-alias-double.h>.
23074 (llrint): Define using libm_alias_double.
23075 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
23076 (lrint): Define using libm_alias_double.
23077 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
23078 <libm-alias-double.h>.
23079 (nextup): Define using libm_alias_double.
23080 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
23081 <libm-alias-double.h>.
23082 (roundeven): Define using libm_alias_double.
23083 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
23085 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
23086 <libm-alias-double.h>.
23087 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
23088 using libm_alias_double.
23089 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
23090 (cos): Define using libm_alias_double.
23092 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
23093 <libm-alias-double.h>.
23094 (sincos): Define using libm_alias_double.
23095 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
23096 (tanh): Define using libm_alias_double.
23097 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
23098 <libm-alias-double.h>.
23099 (totalorder): Define using libm_alias_double.
23100 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
23101 <libm-alias-double.h>.
23102 (totalordermag): Define using libm_alias_double.
23103 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
23105 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
23107 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
23108 <libm-alias-double.h>.
23109 (getpayload): Define using libm_alias_double.
23110 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
23111 <libm-alias-double.h>.
23112 (roundeven): Define using libm_alias_double.
23113 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
23114 <libm-alias-double.h>.
23115 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
23116 <libm-alias-double.h>.
23117 (totalorder): Define using libm_alias_double.
23118 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
23119 <libm-alias-double.h>.
23120 (totalordermag): Define using libm_alias_double.
23121 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
23122 libc compat symbol here.
23123 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
23124 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
23125 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
23126 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
23127 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
23128 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
23129 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
23130 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
23131 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
23132 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
23134 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23136 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
23137 _dl_relocate_static_pie instead of _dl_start to compute load
23138 address in static PIE. Return 0 if _DYNAMIC is undefined for
23141 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23143 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
23144 _DYNAMIC is undefined for static executable.
23146 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23148 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
23150 2017-09-29 Joseph Myers <joseph@codesourcery.com>
23152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23154 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23156 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23157 (__ieee754_lgamma_r): Use fabs rather than __fabs.
23158 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23159 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23160 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23161 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
23162 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
23163 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
23164 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
23165 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23166 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
23167 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23168 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23169 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23170 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23171 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23172 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
23174 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23176 * math/bits/cmathcalls.h (cimag): Remove inline.
23177 (creal): Remove inline.
23178 (conj): Remove inline.
23180 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23182 * math/Makefile (type-float-routines): Add e_powf_log2_data.
23183 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
23184 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
23185 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
23186 (issignalingf_inline): Likewise.
23187 (POWF_LOG2_TABLE_BITS): Likewise.
23188 (POWF_LOG2_POLY_ORDER): Likewise.
23189 (POWF_SCALE_BITS): Likewise.
23190 (POWF_SCALE): Likewise.
23191 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
23192 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
23193 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
23195 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23197 * math/Makefile (type-float-routines): Add e_log2f_data.
23198 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
23199 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
23200 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
23201 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
23202 * sysdeps/i386/fpu/e_log2f_data.c: New file.
23203 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
23204 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
23206 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23208 * math/Makefile (type-float-routines): Add e_logf_data.
23209 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
23210 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
23211 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
23212 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
23213 * sysdeps/i386/fpu/e_logf_data.c: New file.
23214 * sysdeps/ia64/fpu/e_logf_data.c: New file.
23215 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
23217 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
23219 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
23220 undefined _DYNAMIC in PIE libc.a.
23221 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23224 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
23226 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
23227 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
23228 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
23229 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
23230 (__signbit): Remove.
23231 (__signbitl): Remove.
23232 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
23233 (__signbit): Remove.
23234 (__signbitl): Remove.
23235 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
23236 (__signbit): Remove.
23237 (__signbitl): Remove.
23238 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
23239 (__signbit): Remove.
23240 (__signbitl): Remove.
23241 * sysdeps/tile/bits/mathinline.h: Delete file.
23242 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
23243 (__signbit): Remove.
23244 (__signbitl): Remove.
23246 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
23248 * math/math.h: Improve handling of C99 isgreater macros.
23249 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
23250 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
23251 * sysdeps/powerpc/bits/mathinline.h: Likewise.
23252 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23253 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
23255 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
23257 * sysdeps/aarch64/libm-test-ulps: Update.
23259 2017-09-28 Joseph Myers <joseph@codesourcery.com>
23262 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23263 math_opt_barrier on argument when doing arithmetic on it.
23264 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23265 Likewise. Use math_force_eval not math_opt_barrier after
23267 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
23268 math_opt_barrier on argument when doing arithmetic on it.
23269 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23272 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
23274 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
23276 (__freeifaddrs): Likewise.
23278 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23280 * include/dirent.h (__dirfd): New declaration.
23281 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
23283 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
23284 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
23285 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
23286 * include/unistd.h (__revoke): New declaration.
23287 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
23289 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23290 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
23292 * include/dirent.h (__seekdir): New declaration.
23293 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
23294 redefine as weak alias.
23295 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
23297 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
23298 and use libc_hidden_def on them.
23299 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
23301 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
23302 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
23303 instead of getifaddrs and freeifaddrs.
23305 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
23308 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
23309 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
23310 (__dso_handle): Remove declaration.
23311 * dlfcn/tstatexit.c (__dso_handle): Removed.
23312 (main): Don't check __dso_handle.
23313 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
23314 (main): Don't check __dso_handle.
23315 * include/dso_handle.h: New file.
23316 * malloc/mtrace.c: Include <dso_handle.h>.
23317 (mtrace): Pass __dso_handle directly.
23318 * nptl/pthread_atfork.c: Include <dso_handle.h>.
23319 (__dso_handle): Remove declaration.
23320 (__pthread_atfork): Pass __dso_handle directly.
23321 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
23322 (__dso_handle): Removed.
23323 * posix/wordexp-test.c: Include <dso_handle.h>.
23324 (__dso_handle): Remove declaration.
23325 (__app_register_atfork): Pass __dso_handle directly.
23326 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
23327 (__dso_handle): Remove declaration.
23328 (at_quick_exit): Pass __dso_handle directly.
23329 * stdlib/atexit.c: Include <dso_handle.h>.
23330 (__dso_handle): Remove declaration.
23331 (atexit): Pass __dso_handle directly.
23332 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
23333 (__dso_handle): Removed.
23335 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23337 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
23340 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
23342 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
23343 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
23344 values to correct default value for given type.
23346 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
23349 * elf/Makefile (tests): Add tst-debug1.
23350 ($(objpfx)tst-debug1): New.
23351 ($(objpfx)tst-debug1.out): Likewise.
23352 ($(objpfx)tst-debug1mod1.so): Likewise.
23353 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
23354 with p_filesz == 0.
23355 * elf/tst-debug1.c: New file.
23357 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23359 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
23360 Define using __ifunc.
23362 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23364 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
23367 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23370 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
23372 2017-09-26 Florian Weimer <fweimer@redhat.com>
23374 * resolv/Makefile (tests-internal): Fix typo in comment.
23376 2017-09-26 Florian Weimer <fweimer@redhat.com>
23378 * resolv/nss_dns/dns-host.c: Fix typo in comment.
23380 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23382 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
23383 Use an union instead of a max_align_t array for __space,
23384 so that __space is the same size on all platforms.
23385 * malloc/scratch_buffer_grow_preserve.c
23386 (__libc_scratch_buffer_grow_preserve): Likewise.
23389 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
23391 * posix/Makefile (routines): Add glob-lstat-compat and
23392 glob64-lstat-compat.
23393 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
23394 * posix/glob-lstat-compat.c: New file.
23395 * posix/glob64-lstat-compat.c: Likewise.
23396 * posix/tst-glob_lstat_compat.c: Likewise.
23397 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
23398 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
23399 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
23400 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
23402 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
23403 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
23404 * posix/glob.c (glob_lstat): New function.
23405 (glob): Rename to __glob and add versioned symbol to 2.27.
23406 (glob_in_dir): Use glob_lstat.
23407 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
23408 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23409 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
23411 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
23412 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
23413 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
23414 gl_lstat on glob call.
23415 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
23416 and glob64 symbols.
23417 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23418 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23419 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23420 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23421 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23422 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23423 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23424 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23425 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23426 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23427 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23428 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23431 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
23432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23433 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23434 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23435 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23437 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23440 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23441 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23442 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23444 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
23446 * configure.ac (AS): Require binutils 2.25 or later.
23447 * configure: Regenerated.
23449 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23452 * stdlib/test-atexit-race-common.c (do_test): Minimize required
23455 2017-09-25 DJ Delorie <dj@redhat.com>
23458 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
23461 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23463 * sysdeps/ieee754/dbl-64/sincos32.h
23464 [SINCCOS32_H]: Remove define.
23465 [SINCOS32_H]: Define.
23467 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
23469 * math/Versions (expf): New libm symbol at GLIBC_2.27.
23471 * math/w_exp2f.c: New file.
23472 * math/w_expf.c: New file.
23473 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
23474 * math/w_expf_compat.c (__expf_compat): Likewise.
23475 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
23476 * sysdeps/ia64/fpu/e_expf.S: Likewise.
23477 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23478 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23479 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23480 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23481 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23482 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23483 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23484 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23485 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23486 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23487 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23488 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23497 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23498 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23499 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23500 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23501 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23506 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23507 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23508 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23510 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
23512 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
23513 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
23514 (roundtoint, converttoint): Likewise.
23515 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
23516 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
23517 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
23518 * sysdeps/ieee754/flt-32/math_config.h: New file.
23519 * sysdeps/ieee754/flt-32/math_errf.c: New file.
23520 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
23521 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
23522 * sysdeps/i386/fpu/math_errf.c: New file.
23523 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
23524 * sysdeps/ia64/fpu/math_errf.c: New file.
23525 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
23526 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
23528 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
23530 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
23531 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
23532 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
23533 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
23534 to make sure that these symbols are defined.
23535 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
23537 (__need_NULL): Do not define.
23538 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
23540 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
23541 CMGROUP_MAX, cmsgcred): Do not define.
23542 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
23544 * bits/socket.h: Likewise.
23545 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
23546 __gettimeofday instead of gettimeofday.
23547 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
23548 instead of settimeofday.
23550 2017-09-22 Joseph Myers <joseph@codesourcery.com>
23552 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
23553 (asinhf): Define using libm_alias_float.
23554 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
23555 (atanf): Define using libm_alias_float.
23556 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
23557 (cbrtf): Define using libm_alias_float.
23558 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
23559 (ceilf): Define using libm_alias_float.
23560 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
23561 <libm-alias-float.h>.
23562 (copysignf): Define using libm_alias_float.
23563 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
23564 (cosf): Define using libm_alias_float.
23565 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
23566 (erff): Define using libm_alias_float.
23568 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
23569 (expm1f): Define using libm_alias_float.
23570 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
23571 (fabsf): Define using libm_alias_float.
23572 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
23573 (floorf): Define using libm_alias_float.
23574 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
23575 (frexpf): Define using libm_alias_float.
23576 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
23578 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
23579 <libm-alias-float.h>.
23580 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
23582 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
23583 <libm-alias-float.h>.
23584 (getpayloadf): Define using libm_alias_float.
23585 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
23586 <libm-alias-float.h>.
23587 (llrintf): Define using libm_alias_float.
23588 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
23589 <libm-alias-float.h>.
23590 (llroundf): Define using libm_alias_float.
23591 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
23592 (logbf): Define using libm_alias_float.
23593 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
23594 (lrintf): Define using libm_alias_float.
23595 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
23596 (lroundf): Define using libm_alias_float.
23597 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
23598 (modff): Define using libm_alias_float.
23599 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
23600 <libm-alias-float.h>.
23601 (nearbyintf): Define using libm_alias_float.
23602 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
23603 <libm-alias-float.h>.
23604 (nextafterf): Define using libm_alias_float.
23605 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
23606 <libm-alias-float.h>.
23607 (nextupf): Define using libm_alias_float.
23608 * sysdeps/ieee754/flt-32/s_remquof.c: Include
23609 <libm-alias-float.h>.
23610 (remquof): Define using libm_alias_float.
23611 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
23612 (rintf): Define using libm_alias_float.
23613 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
23614 <libm-alias-float.h>.
23615 (roundevenf): Define using libm_alias_float.
23616 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
23617 (roundf): Define using libm_alias_float.
23618 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
23619 using libm_alias_float.
23620 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
23621 <libm-alias-float.h>.
23622 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
23623 Define using libm_alias_float.
23624 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
23625 <libm-alias-float.h>.
23626 (sincosf): Define using libm_alias_float.
23627 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
23628 (sinf): Define using libm_alias_float.
23629 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
23630 (tanf): Define using libm_alias_float.
23631 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
23632 (tanhf): Define using libm_alias_float.
23633 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
23634 <libm-alias-float.h>.
23635 (totalorderf): Define using libm_alias_float.
23636 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
23637 <libm-alias-float.h>.
23638 (totalordermagf): Define using libm_alias_float.
23639 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
23640 (truncf): Define using libm_alias_float.
23641 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
23643 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
23646 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23649 math/math.h: Let fpclassify use the builtin in C++ mode, even
23650 when optimazing for size.
23652 2017-09-22 Joseph Myers <joseph@codesourcery.com>
23654 * csu/Makefile (generated): Do not add version-info.h.
23655 (before-compile): Likewise.
23656 (all-Banner-files): Remove variable.
23657 ($(objpfx)version-info.h): Remove rule.
23658 * csu/version.c (banner): Do not include "version-info.h".
23659 * libidn/Banner: Remove.
23660 * manual/contrib.texi (Simon Josefsson): New entry.
23662 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23664 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23665 Remove conditionals on LDBL_MANT_DIG.
23666 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23667 (__ieee754_lgammal_r): Likewise.
23669 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23671 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
23673 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
23674 _Float128 and L(). Replace _Float128 with long double and L(x)
23675 with xL, throughout the file.
23676 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
23677 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
23678 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
23679 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
23681 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
23684 sysdeps/ieee754/ldbl-128ibm.
23685 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
23686 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
23687 of including it. Keep _Float128 and L() intact. These will be
23688 reviewed by a separate patch.
23689 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
23690 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
23691 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
23692 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
23694 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
23697 (__finitef128): Define to __redirect___finitef128.
23698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
23699 (__isinff128): Define to __redirect___isinff128.
23700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
23701 (__isnanf128): Define to __redirect___isnanf128.
23703 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23705 * sysdeps/powerpc/powerpc64le/Makefile
23706 (CFLAGS-tst-strtod-nan-locale.c): New variable.
23707 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
23709 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
23710 Carlos O'Donell <carlos@redhat.com>
23713 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
23714 * stdlib/test-dlclose-exit-race.c: New file.
23715 * stdlib/test-dlclose-exit-race-helper.c: New file.
23716 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
23718 2017-09-21 Joseph Myers <joseph@codesourcery.com>
23720 * crypt/Banner: Remove file.
23721 * nptl/Banner: Likewise.
23722 * resolv/Banner: Likewise.
23723 * soft-fp/Banner: Likewise.
23724 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
23725 ($(objpfx)version.d): Remove dependency on banner.h.
23726 ($(objpfx)version.os): Likewise.
23727 * nptl/version.c (banner): Do not include banner.h.
23728 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
23729 Jelinek and BIND code.
23731 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
23732 Carlos O'Donell <carlos@redhat.com>
23734 * support/xdlfcn.h: New file.
23735 * support/xdlfcn.c: New file.
23736 * support/Makefile (libsupport-routines): Add xdlfcn.
23737 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
23739 2017-09-20 Joseph Myers <joseph@codesourcery.com>
23742 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23743 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
23744 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
23745 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
23746 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
23747 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
23748 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
23749 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
23751 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
23752 Ricky Zhou <rickyz@google.com>
23753 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
23756 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
23758 (__new_exitfn): Fail registration when we finished at_exit processing.
23759 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23760 * stdlib/on_exit.c (__on_exit): Likewise.
23761 * stdlib/exit.c (__exit_funcs_done): New variable.
23762 (__run_exit_handlers): Use __exit_funcs_lock.
23763 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
23765 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
23766 (test-cxa_atexit-race, test-on_exit-race): New tests.
23767 * stdlib/test-atexit-race-common.c: New file.
23768 * stdlib/test-atexit-race.c: New file.
23769 * stdlib/test-at_quick_exit-race.c: New file.
23770 * stdlib/test-cxa_atexit-race.c: New file.
23771 * stdlib/test-on_exit-race.c: New file.
23773 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23775 * benchtests/Makefile: Add exp2f and log2f benchmarks.
23776 * benchtests/exp2f-inputs: Copy of expf-inputs.
23777 * benchtests/log2f-inputs: Copy of logf-inputs.
23779 2017-09-19 Joseph Myers <joseph@codesourcery.com>
23781 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
23782 Explicitly take address of first element of array arguments in
23783 call to INLINE_SYSCALL.
23785 2017-09-19 Andreas Schwab <schwab@suse.de>
23788 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
23790 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
23792 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
23793 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
23794 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23795 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
23796 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23797 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
23798 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23799 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
23800 * posix/Makefile (tests): Add tst-fexecve.
23801 * posix/tst-fexecve.c: New file.
23803 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23805 * benchtests/Makefile: Add logf benchmark.
23806 * benchtests/logf-inputs: Add reduced trace from wrf_r.
23808 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23810 * benchtests/Makefile: Add expf benchmark.
23811 * benchtests/expf-inputs: Add reduced trace from wrf_r.
23813 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23815 * csu/Makefile: Add -funwind-tables to libc-start.c.
23816 * debug/Makefile: Add -funwind-tables to backtrace.c.
23817 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
23818 * sysdeps/arm/Makefile: Likewise.
23819 * sysdeps/i386/Makefile: Likewise.
23820 * sysdeps/m68k/Makefile: Likewise.
23821 * sysdeps/mips/Makefile: Likewise.
23822 * sysdeps/nios2/Makefile: Likewise.
23823 * sysdeps/sh/Makefile: Likewise.
23824 * sysdeps/sparc/Makefile: Likewise.
23826 2017-09-19 Joseph Myers <joseph@codesourcery.com>
23828 * benchtests/Makefile (bench-math): Add trunc and truncf.
23829 (CFLAGS-bench-trunc.c): New variable.
23830 (CFLAGS-bench-truncf.c): Likewise.
23831 * benchtests/trunc-inputs: New file.
23832 * benchtests/truncf-inputs: Likewise.
23834 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23836 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
23838 2017-09-18 Joseph Myers <joseph@codesourcery.com>
23840 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
23841 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
23843 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23844 (exp10l): Define as weak alias.
23845 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
23846 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
23848 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
23849 (remainderl): Define as weak alias.
23851 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
23852 (fmal): Define using libm_alias_ldouble.
23853 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
23854 (acoshl): Define using libm_alias_ldouble.
23855 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
23856 (acosl): Define using libm_alias_ldouble.
23857 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
23858 (asinl): Define using libm_alias_ldouble.
23859 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
23860 (atan2l): Define using libm_alias_ldouble.
23861 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
23862 (atanhl): Define using libm_alias_ldouble.
23863 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
23864 (coshl): Define using libm_alias_ldouble.
23865 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
23866 (exp10l): Define using libm_alias_ldouble.
23867 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
23868 (exp2l): Define using libm_alias_ldouble.
23869 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
23870 (expl): Define using libm_alias_ldouble.
23871 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
23872 (fmodl): Define using libm_alias_ldouble.
23873 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
23874 (hypotl): Define using libm_alias_ldouble.
23875 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
23876 (j0l): Define using libm_alias_ldouble.
23878 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
23879 (j1l): Define using libm_alias_ldouble.
23881 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
23882 (jnl): Define using libm_alias_ldouble.
23884 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
23885 (log10l): Define using libm_alias_ldouble.
23886 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
23887 (log2l): Define using libm_alias_ldouble.
23888 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
23889 (logl): Define using libm_alias_ldouble.
23890 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
23891 (powl): Define using libm_alias_ldouble.
23892 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
23893 (remainderl): Define using libm_alias_ldouble.
23894 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
23895 (sinhl): Define using libm_alias_ldouble.
23896 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
23897 (sqrtl): Define using libm_alias_ldouble.
23898 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
23899 (tgammal): Define using libm_alias_ldouble.
23900 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
23901 (exp10l): Do not use long_double_symbol here.
23902 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23903 [LIBM_SVID_COMPAT] (remainderl): Likewise.
23904 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
23905 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
23906 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
23907 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
23908 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
23909 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
23910 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
23911 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
23912 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
23913 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
23914 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
23915 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
23916 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
23917 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
23918 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
23919 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
23920 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
23921 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
23922 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
23923 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
23925 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
23927 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
23928 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
23930 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
23932 * io/read.c (read): Add libc_hidden_weak.
23933 * sysdeps/mach/hurd/read.c (read): Likewise.
23934 * io/write.c (write): Likewise.
23935 * sysdeps/mach/hurd/write.c (write): Likewise.
23936 * io/pread64.c (__pread64): Likewise.
23937 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
23938 * posix/pread64.c (__pread64): Add libc_hidden_def.
23940 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23942 * benchtests/scripts/compare_strings.py: New option -g.
23943 (draw_graph): Print a message that a graph is being generated.
23944 (process_results): Generate graph only if -g is passed.
23945 (main): Process option -g.
23947 * benchtests/scripts/compare_strings.py (process_results):
23948 Better spacing for output.
23950 * benchtests/scripts/compare_strings.py: Use argparse.
23951 * benchtests/README: Document existence of compare_strings.py.
23953 2017-09-15 Joseph Myers <joseph@codesourcery.com>
23955 * math/s_fma.c: Include <libm-alias-double.h>.
23956 (fma): Define using libm_alias_double.
23957 * math/s_nextafter.c: Include <libm-alias-double.h>.
23958 (nextafter): Define using libm_alias_double.
23959 * math/w_acos_compat.c: Include <libm-alias-double.h>.
23960 (acos): Define using libm_alias_double.
23961 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
23962 (aocsh): Define using libm_alias_double.
23963 * math/w_asin_compat.c: Include <libm-alias-double.h>.
23964 (asin): Define using libm_alias_double.
23965 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
23966 (atan2): Define using libm_alias_double.
23967 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
23968 (atanh): Define using libm_alias_double.
23969 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
23970 (cosh): Define using libm_alias_double.
23971 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
23972 (exp10): Define using libm_alias_double.
23973 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
23974 (exp2): Define using libm_alias_double.
23975 * math/w_exp_compat.c: Include <libm-alias-double.h>.
23976 (exp): Define using libm_alias_double.
23977 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
23978 (fmod): Define using libm_alias_double.
23979 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
23980 (hypot): Define using libm_alias_double.
23981 * math/w_j0_compat.c: Include <libm-alias-double.h>.
23982 (j0): Define using libm_alias_double.
23984 * math/w_j1_compat.c: Include <libm-alias-double.h>.
23985 (j1): Define using libm_alias_double.
23987 * math/w_jn_compat.c: Include <libm-alias-double.h>.
23988 (jn): Define using libm_alias_double.
23990 * math/w_log10_compat.c: Include <libm-alias-double.h>.
23991 (log10): Define using libm_alias_double.
23992 * math/w_log2_compat.c: Include <libm-alias-double.h>.
23993 (log2): Define using libm_alias_double.
23994 * math/w_log_compat.c: Include <libm-alias-double.h>.
23995 (log): Define using libm_alias_double.
23996 * math/w_pow_compat.c: Include <libm-alias-double.h>.
23997 (pow): Define using libm_alias_double.
23998 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
23999 (remainder): Define using libm_alias_double.
24000 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
24001 (sinh): Define using libm_alias_double.
24002 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
24003 (sqrt): Define using libm_alias_double.
24004 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
24005 (tgamma): Define using libm_alias_double.
24006 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
24007 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
24008 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
24009 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
24010 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
24011 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
24012 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
24013 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
24014 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
24015 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
24016 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
24017 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
24018 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
24019 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
24020 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
24021 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
24022 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
24023 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
24024 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
24025 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
24026 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
24027 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
24028 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
24029 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
24030 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
24032 * math/e_acoshl.c: Remove.
24033 * math/e_acosl.c: Likewise.
24034 * math/e_asinl.c: Likewise.
24035 * math/e_atan2l.c: Likewise.
24036 * math/e_atanhl.c: Likewise.
24037 * math/e_coshl.c: Likewise.
24038 * math/e_expl.c: Likewise.
24039 * math/e_fmodl.c: Likewise.
24040 * math/e_gammal_r.c: Likewise.
24041 * math/e_hypotl.c: Likewise.
24042 * math/e_j0l.c: Likewise.
24043 * math/e_j1l.c: Likewise.
24044 * math/e_jnl.c: Likewise.
24045 * math/e_lgammal_r.c: Likewise.
24046 * math/e_log10l.c: Likewise.
24047 * math/e_log2l.c: Likewise.
24048 * math/e_logl.c: Likewise.
24049 * math/e_powl.c: Likewise.
24050 * math/e_rem_pio2l.c: Likewise.
24051 * math/e_sinhl.c: Likewise.
24052 * math/e_sqrtf128.c: Likewise.
24053 * math/e_sqrtl.c: Likewise.
24054 * math/k_cosl.c: Likewise.
24055 * math/k_sinl.c: Likewise.
24056 * math/k_tanl.c: Likewise.
24057 * math/s_asinhl.c: Likewise.
24058 * math/s_atanl.c: Likewise.
24059 * math/s_cbrtl.c: Likewise.
24060 * math/s_erfl.c: Likewise.
24061 * math/s_expm1l.c: Likewise.
24062 * math/s_log1pl.c: Likewise.
24063 * math/s_tanhl.c: Likewise.
24065 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
24069 [$(subdir) = math] (sysdep_calls): New variable. Has the
24070 previous contents of sysdep_routines, but re-sorted..
24071 [$(subdir) = math] (sysdep_routines): Re-use the contents from
24073 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
24074 defined in sysdep_calls and replace by the respective m_* names.
24075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
24076 (compat_symbol): Undefine to avoid duplicated compat symbols in
24079 2017-09-15 Joseph Myers <joseph@codesourcery.com>
24081 * math/s_fmaf.c: Include <libm-alias-float.h>.
24082 (fmaf): Define using libm_alias_float.
24083 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
24084 (acosf): Define using libm_alias_float.
24085 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
24086 (acoshf): Define using libm_alias_float.
24087 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
24088 (asinf): Define using libm_alias_float.
24089 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
24090 (atan2f): Define using libm_alias_float.
24091 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
24092 (atanhf): Define using libm_alias_float.
24093 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
24094 (coshf): Define using libm_alias_float.
24095 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
24096 (exp10f): Define using libm_alias_float.
24097 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
24098 (fmodf): Define using libm_alias_float.
24099 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
24100 (hypotf): Define using libm_alias_float.
24101 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
24102 (j0f): Define using libm_alias_float.
24104 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
24105 (j1f): Define using libm_alias_float.
24107 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
24108 (jnf): Define using libm_alias_float.
24110 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
24111 (log10f): Define using libm_alias_float.
24112 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
24113 (log2f): Define using libm_alias_float.
24114 * math/w_logf_compat.c: Include <libm-alias-float.h>.
24115 (logf): Define using libm_alias_float.
24116 * math/w_powf_compat.c: Include <libm-alias-float.h>.
24117 (powf): Define using libm_alias_float.
24118 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
24119 (remainderf): Define using libm_alias_float.
24120 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
24121 (sinhf): Define using libm_alias_float.
24122 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
24123 (sqrtf): Define using libm_alias_float.
24124 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
24125 (tgammaf): Define using libm_alias_float.
24127 2017-09-14 Joseph Myers <joseph@codesourcery.com>
24129 * include/math.h (roundeven): Change hidden_proto call to
24131 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
24133 [NO_LONG_DOUBLE] (__j0l): New strong alias.
24134 (y0): Rename to __y0 and define as weak alias.
24135 [NO_LONG_DOUBLE] (__y0l): New strong alias.
24136 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
24138 (y0f): Rename to __y0f and define as weak alias.
24139 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
24141 [NO_LONG_DOUBLE] (__j1l): New strong alias.
24142 (y1): Rename to __y1 and define as weak alias.
24143 [NO_LONG_DOUBLE] (__y1l): New strong alias.
24144 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
24146 (y1f): Rename to __y1f and define as weak alias.
24147 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
24149 [NO_LONG_DOUBLE] (__jnl): New strong alias.
24150 (yn): Rename to __yn and define as weak alias.
24151 [NO_LONG_DOUBLE] (__ynl): New strong alias.
24152 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
24154 (ynf): Rename to __ynf and define as weak alias.
24155 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
24156 (fromfp): Define as weak alias.
24157 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
24158 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
24159 (fromfpx): Define as weak alias.
24160 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
24161 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
24162 __getpayload and define as weak alias.
24163 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24164 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
24165 __roundeven and define as weak alias.
24166 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24167 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
24169 (setpayload): Define as weak alias.
24170 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
24171 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
24173 (setpayloadsig): Define as weak alias.
24174 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
24175 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
24176 __totalorder and define as weak alias.
24177 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24178 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
24179 to __totalordermag and define as weak alias.
24180 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24181 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
24182 (ufromfp): Define as weak alias.
24183 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
24184 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
24186 (ufromfpx): Define as weak alias.
24187 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
24188 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
24189 Rename to __getpayload and define as weak alias.
24190 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24191 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
24192 Rename to __roundeven and define as weak alias.
24193 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24194 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
24195 Rename to __totalorder and define as weak alias.
24196 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24197 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
24198 (totalordermag): Rename to __totalordermag and define as weak
24200 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24201 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
24203 (__roundevenl): Likewise.
24204 (__totalorderl): Likewise.
24205 (__totalordermagl): Likewise
24206 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
24208 (fromfpf128): Define as weak alias.
24209 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
24211 (fromfpxf128): Define as weak alias.
24212 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
24214 (setpayloadf128): Define as weak alias.
24215 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
24216 __setpayloadsigf128.
24217 (setpayloadsigf128): Define as weak alias.
24218 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
24220 (ufromfpf128): Define as weak alias.
24221 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
24223 (ufromfpxf128): Define as weak alias.
24224 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
24225 (fromfpf): Define as weak alias.
24226 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
24228 (fromfpxf): Define as weak alias.
24229 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
24230 __getpayloadf and define as weak alias.
24231 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
24232 __roundevenf and define as weak alias.
24233 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
24235 (setpayloadf): Define as weak alias.
24236 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
24238 (setpayloadsigf): Define as weak alias.
24239 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
24240 __totalorderf and define as weak alias.
24241 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
24242 Rename to __totalordermagf and define as weak alias.
24243 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
24245 (ufromfpf): Define as weak alias.
24246 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
24248 (ufromfpxf): Define as weak alias.
24249 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
24251 (fromfpl): Define as weak alias.
24252 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
24254 (fromfpxl): Define as weak alias.
24255 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
24256 to __getpayloadl and define as weak alias.
24257 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
24258 __roundevenl and define as weak alias.
24259 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
24261 (setpayloadl): Define as weak alias.
24262 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
24264 (setpayloadsigl): Define as weak alias.
24265 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
24266 to __totalorderl and define as weak alias.
24267 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
24268 Rename to __totalordermagl and define as weak alias.
24269 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
24271 (ufromfpl): Define as weak alias.
24272 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
24274 (ufromfpxl): Define as weak alias.
24275 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
24277 (fromfpl): Define as weak alias.
24278 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
24280 (fromfpxl): Define as weak alias.
24281 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
24282 Rename to __getpayloadl and define as weak alias.
24283 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
24284 to __roundevenl and define as weak alias. Call __roundeven
24285 instead of roundeven.
24286 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
24288 (setpayloadl): Define as weak alias.
24289 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
24291 (setpayloadsigl): Define as weak alias.
24292 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
24293 Rename to __totalorderl and define as weak alias.
24294 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
24295 Rename to __totalordermagl and define as weak alias.
24296 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
24298 (ufromfpl): Define as weak alias.
24299 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
24301 (ufromfpxl): Define as weak alias.
24302 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
24304 (fromfpl): Define as weak alias.
24305 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
24307 (fromfpxl): Define as weak alias.
24308 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
24309 __getpayloadl and define as weak alias.
24310 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
24311 __roundevenl and define as weak alias.
24312 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
24314 (setpayloadl): Define as weak alias.
24315 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
24317 (setpayloadsigl): Define as weak alias.
24318 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
24319 __totalorderl and define as weak alias.
24320 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
24321 Rename to __totalordermagl and define as weak alias.
24322 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
24324 (ufromfpl): Define as weak alias.
24325 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
24327 (ufromfpxl): Define as weak alias.
24329 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24331 * benchtests/bench-string.h (realloc_bufs): New function.
24332 (test_init): Call it.
24333 * benchtests/bench-memset-large.c (do_test): Likewise.
24334 * benchtests/bench-memset.c (do_test): Likewise.
24336 * benchtests/bench-memset-large.c: Print output in JSON
24338 * benchtests/bench-memset.c: Likewise.
24340 2017-09-14 Mike FABIAN <mfabian@redhat.com>
24343 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
24344 * iconvdata/Makefile: Add IBM858.
24345 * iconvdata/gconv-modules: Likewise.
24346 * iconvdata/tst-tables.sh: Likewise.
24347 * iconvdata/ibm858.c: New file.
24348 * localedata/charmaps/IBM858: Likewise.
24350 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
24353 * locales/niu_NZ (LC_TIME): copy "niu_NU".
24354 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
24356 2017-09-14 Mike FABIAN <mfabian@redhat.com>
24359 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
24360 and add tel_int_fmt.
24362 2017-09-14 Joseph Myers <joseph@codesourcery.com>
24364 * sysdeps/generic/libm-alias-float128.h: New file.
24365 * sysdeps/generic/math-type-macros-float128.h: Include
24366 <libm-alias-float128.h>.
24367 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
24369 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24371 * sysdeps/generic/libm-alias-ldouble.h: New file.
24372 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
24373 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
24374 * sysdeps/generic/math-type-macros-ldouble.h: Include
24375 <libm-alias-ldouble.h>.
24376 [!declare_mgen_alias] (declare_mgen_alias): Define to use
24377 libm_alias_ldouble.
24379 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
24381 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
24382 * math/w_exp_compat.c: ... here.
24383 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
24384 * math/w_expf_compat.c: ... here.
24385 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
24386 * math/w_expl_compat.c: ... here.
24387 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
24388 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
24389 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
24390 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
24392 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24394 * math/w_scalbln_template.c (strong_alias): Do not undefine and
24396 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
24398 (ldexpl): Only define as compat symbol for libc, not libm.
24399 (scalbnl): Define as compat symbol for libc here.
24400 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
24401 define for [IS_IN (libc)].
24402 (__ldexpl_2): Remove alias.
24403 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
24404 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
24405 name in long_double_symbol call.
24406 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
24407 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24408 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24409 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
24410 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
24412 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
24413 Define as compat symbol.
24415 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24417 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
24418 * sysdeps/unix/sysv/linux/alpha/Makefile
24419 [$(subdir) = csu] (sysdep_routines): Remove rule.
24421 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24423 * sysdeps/generic/libm-alias-double.h: New file.
24424 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
24425 * sysdeps/generic/math-type-macros-double.h: Include
24426 <libm-alias-double.h>.
24427 [declare_mgen_alias] (declare_mgen_alias): Define to use
24429 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
24430 (M_LIBM_NEED_COMPAT): Remove macro.
24431 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
24432 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
24433 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
24435 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24436 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24437 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24438 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24439 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24440 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24441 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24442 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24443 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24444 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24445 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24446 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24447 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24448 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24449 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24450 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24451 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24452 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24453 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24454 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24455 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24456 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24457 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24458 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24459 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24460 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24461 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24462 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
24463 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
24465 (declare_mgen_alias): New macro.
24466 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
24467 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
24469 (M_LIBM_NEED_COMPAT): Remove macro.
24470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
24471 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
24472 <first-versions.h>.
24473 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
24474 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
24476 2017-09-12 Joseph Myers <joseph@codesourcery.com>
24478 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
24479 (declare_mgen_alias_2): Remove.
24480 * sysdeps/generic/math-type-macros-double.h
24481 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
24483 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
24485 (ldexp): Define with declare_mgen_alias.
24486 (scalbn): Likewise.
24488 2017-09-12 Steve Ellcey <sellcey@cavium.com>
24490 * grp/initgroups.c: Include config.h.
24491 (DEFAULT_CONFIG): New macro.
24492 (internal_getgrouplist): Use DEFAULT_CONFIG.
24493 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24494 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
24495 (DEFAULT_DEFCONFIG): New macro.
24496 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
24497 * nss/grp-lookup.c: Include config.h
24498 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
24499 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
24500 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
24501 * manual/nss.texi: Update default values section.
24503 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
24506 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
24508 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
24509 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24510 Handle MathVec_Prefer_No_AVX512.
24511 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
24512 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
24515 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
24517 * posix/sched_primax.c (__sched_get_priority_max): Add
24519 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
24520 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
24521 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
24522 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
24523 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
24524 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
24525 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
24526 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
24529 2017-09-11 Joseph Myers <joseph@codesourcery.com>
24531 * sysdeps/generic/libm-alias-float.h: New file.
24532 * sysdeps/generic/math-type-macros-float.h: Include
24533 <libm-alias-float.h>.
24534 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
24536 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
24539 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
24540 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
24541 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
24542 (HWCAP_IMPORTANT): Likewise.
24543 (HWCAP_X86_64): New enum.
24544 (HWCAP_X86_AVX512_1): Updated.
24545 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
24546 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
24547 (modules-names): Add x86_64/tst-x86_64mod-1.
24548 (LDFLAGS-tst-x86_64mod-1.so): New.
24549 ($(objpfx)tst-x86_64-1): Likewise.
24550 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
24551 (tst-x86_64-1-clean): Likewise.
24552 * sysdeps/x86_64/tst-x86_64-1.c: New file.
24553 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
24555 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
24557 * po/sv.po: Update translations.
24558 * po/fr.po: Likewise.
24560 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24562 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
24564 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
24566 * elf/rtld-Rules: Fix $(error) use.
24568 2017-09-09 Mike FABIAN <mfabian@redhat.com>
24571 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
24572 * locale/iso-639.def: Change “Bengali” to “Bangla”.
24573 * localedata/locales/bn_BD: “Bengali” was still used in some
24574 comments. Change it to “Bangla”.
24576 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
24578 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
24580 2017-09-08 Steve Ellcey <sellcey@cavium.com>
24582 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
24583 thunderx2t99p1 to list of cpu names.
24584 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
24585 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
24587 2017-09-08 Steve Ellcey <sellcey@cavium.com>
24589 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
24590 Use strcmp instead of tunable_is_name.
24592 2017-09-08 Joseph Myers <joseph@codesourcery.com>
24594 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24595 (F_GET_RW_HINT): New macro.
24596 [__USE_GNU] (F_SET_RW_HINT): Likewise.
24597 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
24598 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
24599 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
24600 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
24601 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
24602 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
24603 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
24604 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
24606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24607 (F_ADD_SEALS): New macro.
24608 [__USE_GNU] (F_GET_SEALS): Likewise.
24609 [__USE_GNU] (F_SEAL_SEAL): Likewise.
24610 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
24611 [__USE_GNU] (F_SEAL_GROW): Likewise.
24612 [__USE_GNU] (F_SEAL_WRITE): Likewise.
24614 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24616 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
24617 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
24618 * posix/glob_internal.h (__glob_pattern_type):
24619 * posix/glob.c (glob):
24620 * posix/glob_pattern_p.c (__glob_pattern_p):
24623 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
24624 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24625 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
24626 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
24627 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
24629 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
24630 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
24631 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
24632 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24633 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
24634 * sysdeps/wordsize-64/glob.c: Likewise.
24635 * sysdeps/wordsize-64/glob64.c: Likewise.
24636 * sysdeps/wordsize-64/globfree.c: Likewise.
24637 * sysdeps/wordsize-64/globfree64.c: Likewise.
24638 * sysdeps/unix/sysv/linux/glob.c: New file.
24639 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
24640 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
24641 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
24642 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
24643 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
24644 adds !GLOB_NO_OLD_VERSION as an extra condition.
24645 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
24646 using relative path instead of absolute one.
24647 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
24648 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24649 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24650 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
24651 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
24652 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
24655 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
24656 (glob): Use the same scratch buffer for both getlogin_r and
24657 getpwnam_r. Don’t require preallocation of the login name. This
24658 simplifies storage allocation, and corrects the handling of
24662 * posix/glob.c (glob): Port recent patches to platforms
24663 lacking getpwnam_r.
24664 (glob): Fix longstanding misuse of errno after getpwnam_r, which
24665 returns an error number rather than setting errno.
24667 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
24668 instead of GCC extension.
24669 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
24670 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
24671 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
24675 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
24676 * posix/bug-glob1.c: Remove file.
24677 * posix/tst-glob_symlinks.c: New file.
24678 * posix/glob.c (__lstat64): New macro.
24679 (is_dir): New function.
24680 (glob, glob_in_dir): Match symlinks even if they are dangling.
24681 (link_stat, link_exists_p): Remove. All uses removed.
24685 * posix/glob.c (struct readdir_result): Remove skip_entry member.
24686 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
24691 * posix/Makefile (routines): Add globfree, globfree64, and
24693 * posix/flexmember.h: New file.
24694 * posix/glob_internal.h: Likewise.
24695 * posix/glob_pattern_p.c: Likewise.
24696 * posix/globfree.c: Likewise.
24697 * posix/globfree64.c: Likewise.
24698 * sysdeps/gnu/globfree64.c: Likewise.
24699 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
24700 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
24701 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
24702 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
24703 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
24704 * sysdeps/wordsize-64/globfree.c: Likewise.
24705 * sysdeps/wordsize-64/globfree64.c: Likewise.
24706 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
24707 [NDEBUG): Remove comments.
24708 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
24709 (dirent_type): New type. Use uint_fast8_t not
24710 uint8_t, as C99 does not require uint8_t.
24711 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
24712 (struct readdir_result): Use dirent_type. Do not define skip_entry
24713 unless it is needed; this saves a byte on platforms lacking d_ino.
24714 (readdir_result_type, readdir_result_skip_entry):
24715 New functions, replacing ...
24716 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
24717 these functions, which were removed. This makes the callers
24718 easier to read. All callers changed.
24719 (D_INO_TO_RESULT): Now empty if there is no d_ino.
24720 (size_add_wrapv, glob_use_alloca): New static functions.
24721 (glob, glob_in_dir): Check for size_t overflow in several places,
24722 and fix some size_t checks that were not quite right.
24723 Remove old code using SHELL since Bash no longer
24725 (glob, prefix_array): Separate MS code better.
24726 (glob_in_dir): Remove old Amiga and VMS code.
24727 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
24729 (glob_in_dir): Do not rely on undefined behavior in accessing
24730 struct members beyond their bounds. Use a flexible array member
24732 (link_stat): Rename from link_exists2_p and return -1/0 instead of
24733 0/1. Caller changed.
24734 (glob): Fix memory leaks.
24735 * posix/glob64 (globfree64): Move to separate file.
24736 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
24737 (globfree64): Remove hidden alias.
24738 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
24740 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
24742 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
24744 Move compat code to separate file.
24745 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
24748 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
24750 * resolv/tst-resolv-qtypes.c (domain): Changed to
24751 "const char domain[] =".
24753 2017-09-07 Joseph Myers <joseph@codesourcery.com>
24755 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
24758 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
24759 (TCP_MD5SIG_EXT): Likewise.
24760 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
24761 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
24762 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
24764 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
24766 2017-09-07 Mike FABIAN <mfabian@redhat.com>
24768 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
24770 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
24773 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
24775 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
24777 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
24778 before assuming that the file is empty. Avoid testing buffer content
24781 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24784 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
24786 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
24788 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
24790 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
24792 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
24794 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
24796 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
24799 2017-09-06 Florian Weimer <fweimer@redhat.com>
24801 * malloc/dynarray_emplace_enlarge.c
24802 (__libc_dynarray_emplace_enlarge): Add missing else.
24804 2017-09-06 Florian Weimer <fweimer@redhat.com>
24807 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
24808 case of failure to obtain the global conf object.
24810 2017-09-06 Florian Weimer <fweimer@redhat.com>
24813 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
24814 dynarray allocation failure.
24816 2017-09-06 Florian Weimer <fweimer@redhat.com>
24818 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
24819 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
24820 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
24822 (response): Call them. Add 'p', '6' flag processing.
24823 (test_reverse): New function.
24824 (test_get2_any): Call it.
24825 (test_no_inet6): Add 'p' test.
24826 (test_inet6): Likewise.
24828 2017-09-06 Florian Weimer <fweimer@redhat.com>
24830 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
24831 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
24833 (test_gai): Adjust query names. Add additional tests.
24834 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
24835 test_get2. Adjust query names. Add additional tests.
24836 (test_no_inet6): New function, extracted from threadfunc.
24837 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
24838 Add additional tests.
24840 2017-09-06 Mike FABIAN <mfabian@redhat.com>
24843 * localedata/unicode-gen/utf8_gen.py: Set the width for
24844 characters with Prepended_Concatenation_Mark property to 1
24845 * localedata/charmaps/UTF-8: Updated using the improved script.
24847 2017-09-06 Mike FABIAN <mfabian@redhat.com>
24850 * localedata/unicode-gen/utf8_gen.py: Improve the script to
24851 use the range notation for all ranges of neighbouring characters
24852 with the same width.
24854 2017-09-05 Joseph Myers <joseph@codesourcery.com>
24856 * sysdeps/generic/math-type-macros-double.h: Include
24857 <math-svid-compat.h>.
24858 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24859 * sysdeps/generic/math-type-macros-float.h: Include
24860 <math-svid-compat.h>.
24861 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24862 * sysdeps/generic/math-type-macros-ldouble.h: Include
24863 <math-svid-compat.h>.
24864 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24865 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
24867 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
24868 * math/w_acosf_compat.c: Likewise.
24869 * math/w_acosh_compat.c: Likewise.
24870 * math/w_acoshf_compat.c: Likewise.
24871 * math/w_acoshl_compat.c: Likewise.
24872 * math/w_acosl_compat.c: Likewise.
24873 * math/w_asin_compat.c: Likewise.
24874 * math/w_asinf_compat.c: Likewise.
24875 * math/w_asinl_compat.c: Likewise.
24876 * math/w_atan2_compat.c: Likewise.
24877 * math/w_atan2f_compat.c: Likewise.
24878 * math/w_atan2l_compat.c: Likewise.
24879 * math/w_atanh_compat.c: Likewise.
24880 * math/w_atanhf_compat.c: Likewise.
24881 * math/w_atanhl_compat.c: Likewise.
24882 * math/w_cosh_compat.c: Likewise.
24883 * math/w_coshf_compat.c: Likewise.
24884 * math/w_coshl_compat.c: Likewise.
24885 * math/w_exp10_compat.c: Likewise.
24886 * math/w_exp10f_compat.c: Likewise.
24887 * math/w_exp10l_compat.c: Likewise.
24888 * math/w_exp2_compat.c: Likewise.
24889 * math/w_exp2f_compat.c: Likewise.
24890 * math/w_exp2l_compat.c: Likewise.
24891 * math/w_fmod_compat.c: Likewise.
24892 * math/w_fmodf_compat.c: Likewise.
24893 * math/w_fmodl_compat.c: Likewise.
24894 * math/w_hypot_compat.c: Likewise.
24895 * math/w_hypotf_compat.c: Likewise.
24896 * math/w_hypotl_compat.c: Likewise.
24897 * math/w_j0_compat.c: Likewise.
24898 * math/w_j0f_compat.c: Likewise.
24899 * math/w_j0l_compat.c: Likewise.
24900 * math/w_j1_compat.c: Likewise.
24901 * math/w_j1f_compat.c: Likewise.
24902 * math/w_j1l_compat.c: Likewise.
24903 * math/w_jn_compat.c: Likewise.
24904 * math/w_jnf_compat.c: Likewise.
24905 * math/w_jnl_compat.c: Likewise.
24906 * math/w_lgamma_r_compat.c: Likewise.
24907 * math/w_lgammaf_r_compat.c: Likewise.
24908 * math/w_lgammal_r_compat.c: Likewise.
24909 * math/w_log10_compat.c: Likewise.
24910 * math/w_log10f_compat.c: Likewise.
24911 * math/w_log10l_compat.c: Likewise.
24912 * math/w_log2_compat.c: Likewise.
24913 * math/w_log2f_compat.c: Likewise.
24914 * math/w_log2l_compat.c: Likewise.
24915 * math/w_log_compat.c: Likewise.
24916 * math/w_logf_compat.c: Likewise.
24917 * math/w_logl_compat.c: Likewise.
24918 * math/w_pow_compat.c: Likewise.
24919 * math/w_powf_compat.c: Likewise.
24920 * math/w_powl_compat.c: Likewise.
24921 * math/w_remainder_compat.c: Likewise.
24922 * math/w_remainderf_compat.c: Likewise.
24923 * math/w_remainderl_compat.c: Likewise.
24924 * math/w_sinh_compat.c: Likewise.
24925 * math/w_sinhf_compat.c: Likewise.
24926 * math/w_sinhl_compat.c: Likewise.
24927 * math/w_sqrt_compat.c: Likewise.
24928 * math/w_sqrtf_compat.c: Likewise.
24929 * math/w_sqrtl_compat.c: Likewise.
24930 * math/w_tgamma_compat.c: Likewise.
24931 * math/w_tgammaf_compat.c: Likewise.
24932 * math/w_tgammal_compat.c: Likewise.
24933 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
24934 [LIBM_SVID_COMPAT].
24935 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
24936 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
24937 [LIBM_SVID_COMPAT].
24938 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
24939 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
24940 [LIBM_SVID_COMPAT].
24941 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
24942 * sysdeps/i386/fpu/w_sqrt.c: New file.
24943 * sysdeps/ia64/fpu/w_acos.c: Likewise.
24944 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
24945 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
24946 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
24947 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
24948 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
24949 * sysdeps/ia64/fpu/w_asin.c: Likewise.
24950 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
24951 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
24952 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
24953 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
24954 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
24955 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
24956 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
24957 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
24958 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
24959 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
24960 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
24961 * sysdeps/ia64/fpu/w_exp.c: Likewise.
24962 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
24963 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
24964 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
24965 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
24966 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
24967 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
24968 * sysdeps/ia64/fpu/w_expf.c: Likewise.
24969 * sysdeps/ia64/fpu/w_expl.c: Likewise.
24970 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
24971 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
24972 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
24973 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
24974 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
24975 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
24976 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
24977 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
24978 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
24979 * sysdeps/ia64/fpu/w_log.c: Likewise.
24980 * sysdeps/ia64/fpu/w_log10.c: Likewise.
24981 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
24982 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
24983 * sysdeps/ia64/fpu/w_log2.c: Likewise.
24984 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
24985 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
24986 * sysdeps/ia64/fpu/w_logf.c: Likewise.
24987 * sysdeps/ia64/fpu/w_logl.c: Likewise.
24988 * sysdeps/ia64/fpu/w_pow.c: Likewise.
24989 * sysdeps/ia64/fpu/w_powf.c: Likewise.
24990 * sysdeps/ia64/fpu/w_powl.c: Likewise.
24991 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
24992 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
24993 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
24994 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
24995 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
24996 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
24997 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
24998 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
24999 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
25000 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
25001 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
25002 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
25004 [LIBM_SVID_COMPAT].
25005 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
25006 * sysdeps/ieee754/k_standard.c: Likewise.
25007 * sysdeps/ieee754/k_standardf.c: Likewise.
25008 * sysdeps/ieee754/k_standardl.c: Likewise.
25009 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
25010 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
25011 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
25012 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
25013 long_double_symbol call on [LIBM_SVID_COMPAT].
25014 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25015 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25016 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25017 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25018 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25019 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25020 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25021 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25022 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25023 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25024 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25025 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25026 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25027 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25028 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25029 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25030 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
25031 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25032 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25033 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25034 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
25035 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
25037 2017-09-05 Steve Ellcey <sellcey@cavium.com>
25039 * include/shlib-compat.h (TEST_COMPAT): New Macro.
25040 * malloc/tst-mallocstate.c: Convert from test-skeleton
25041 to test-driver. Ifdef code using TEST_COMPAT macro.
25042 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
25043 * math/test-matherr.c: Likewise.
25045 2017-09-05 Joseph Myers <joseph@codesourcery.com>
25048 * debug/pcprofiledump.c (main): Use byte-swapped mask when
25049 comparing word with byte-swapped constant.
25051 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
25054 * locale/iso-639.def: add Miskito.
25055 * localedata/SUPPORTED: Add miq_NI/UTF-8.
25056 * localedata/locales/miq_NI: New file.
25058 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
25061 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
25062 (__mkdir): Likewise.
25063 * io/chmod.c (__chmod): Add libc_hidden_def.
25064 * io/mkdir.c (__mkdir): Likewise.
25065 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25066 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25067 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
25068 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
25070 2017-09-04 Joseph Myers <joseph@codesourcery.com>
25072 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25076 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
25077 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
25079 2017-09-04 Florian Weimer <fweimer@redhat.com>
25081 * math/math.h: Issue warning if log is defined.
25083 2017-09-04 Joseph Myers <joseph@codesourcery.com>
25085 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25086 kernel version to 4.13.
25088 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25090 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
25091 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
25093 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
25094 just <bits/types.h>.
25095 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
25096 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
25097 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
25098 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
25099 * misc/preadv2.c: Include <errno.h>.
25100 * misc/preadv64v2.c: Include <errno.h>.
25101 * misc/pwritev2.c: Include <errno.h>.
25102 * misc/pwritev64v2.c: Include <errno.h>.
25103 * sysdeps/posix/preadv2.c: Include <errno.h>.
25104 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
25105 Fix <unistd.h> inclusion.
25106 * sysdeps/posix/pwritev2.c: Include <errno.h>.
25107 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
25108 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
25109 __strtoul_internal): New functions.
25110 * sysdeps/posix/pause.c: Include <sigsetops.h>.
25111 * sysdeps/posix/system.c: Include <sigsetops.h>.
25112 * sysdeps/mach/hurd/i386/Makefile
25113 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
25114 [$(subdir) = csu] (sysdep-only-routines): Likewise.
25115 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
25116 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
25117 __feraiseexcept_renamed to feraiseexcept instead of
25118 __GI_feraiseexcept.
25119 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
25120 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
25121 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
25122 RWF_NOWAIT): Define to 0 if undefined already.
25123 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
25125 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
25126 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
25128 2017-09-01 Joseph Myers <joseph@codesourcery.com>
25130 * manual/math.texi (pow10): Do not document.
25131 (pow10f): Likewise.
25132 (pow10l): Likewise.
25133 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
25134 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
25135 * math/libm-test-exp10.inc (pow10_test): Remove.
25136 (do_test): Do not call pow10.
25137 * math/w_exp10_compat.c (pow10): Make into compat symbol.
25138 [NO_LONG_DOUBLE] (pow10l): Likewise.
25139 * math/w_exp10f_compat.c (pow10f): Likewise.
25140 * math/w_exp10l_compat.c (pow10l): Likewise.
25141 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
25142 (pow10): Make into compat symbol.
25143 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
25144 (pow10f): Make into compat symbol.
25145 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
25146 (pow10l): Make into compat symbol.
25147 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
25149 (CFLAGS-nldbl-pow10.c): Remove variable..
25150 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
25151 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
25152 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
25153 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
25154 Undefine and redefine.
25155 (pow10l): Make into compat symbol.
25156 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
25157 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25158 * sysdeps/arm/libm-test-ulps: Likewise.
25159 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
25160 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25161 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25162 * sysdeps/microblaze/libm-test-ulps: Likewise.
25163 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25164 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25165 * sysdeps/nios2/libm-test-ulps: Likewise.
25166 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25167 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25168 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25169 * sysdeps/sh/libm-test-ulps: Likewise.
25170 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25171 * sysdeps/tile/libm-test-ulps: Likewise.
25172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25174 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25176 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
25178 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25180 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
25181 "../ChangeLog.old/ChangeLog.8".
25182 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
25183 "../ChangeLog.old/ChangeLog.14".
25185 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25187 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
25190 2017-09-01 Joseph Myers <joseph@codesourcery.com>
25192 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
25194 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25196 * csu/version.c (banner): Remove "by Roland McGrath et al.".
25197 * nptl/Banner: Remove "by Ulrich Drepper et al.".
25199 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25201 * stdlib/tst-atexit-common.c (do_test): Test support for at least
25202 32 atexit handlers.
25204 2017-09-01 Zack Weinberg <zackw@panix.com>
25206 * math/math.h (HUGE_VAL): Improve commentary.
25208 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25209 Andreas Schwab <schwab@suse.de>
25212 * include/stdio.h (__gen_tempfd): New function.
25213 * stdio-common/Makefile (routines): Add gentempfd.
25214 * stdio-common/gentempfd.c: New file.
25215 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
25216 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
25217 unnamed file first.
25219 2017-09-01 Florian Weimer <fweimer@redhat.com>
25223 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
25224 result to determine success or failure, not the errno value.
25225 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
25226 (tst-nss-files-hosts-erange): Link with -ldl.
25227 * nss/tst-nss-files-hosts-erange.c: New file.
25228 * nss/tst-resolv-basic.c (response): Handle nodata.example.
25229 (do_test): Add NO_DATA tests.
25230 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
25231 (do_test): Call it.
25233 2017-09-01 Florian Weimer <fweimer@redhat.com>
25236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
25237 coming from gethostbyname2_r.
25239 2017-09-01 Florian Weimer <fweimer@redhat.com>
25241 * support/namespace.h (struct support_chroot_configuration): Add
25243 (struct support_chroot): Add path_hosts, path_host_conf.
25244 * support/support_chroot.c (write_file): New function.
25245 (support_chroot_create): Call it to process /etc/resolv.conf,
25246 /etc/hosts, /etc/host.conf.
25247 (support_chroot_free): Update.
25249 2017-09-01 Florian Weimer <fweimer@redhat.com>
25251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
25252 status indicates it is set.
25254 2017-09-01 Florian Weimer <fweimer@redhat.com>
25257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
25258 function lookup failures more reliable.
25260 2017-09-01 Florian Weimer <fweimer@redhat.com>
25262 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
25263 (getcanonname): Likewise.
25264 (gaih_inet): Likewise.
25266 2017-09-01 Florian Weimer <fweimer@redhat.com>
25268 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
25269 (getcanonname): Likewise.
25270 (gaih_inet): Likewise.
25272 2017-08-31 Steve Ellcey <sellcey@cavium.com>
25273 Richard Henderson <rth@twiddle.net>
25275 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
25276 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
25277 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
25278 (IREG_SIZE, OREG_SIZE): New macros.
25279 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
25280 (IREG_SIZE, OREG_SIZE): New macros.
25281 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
25282 (IREG_SIZE): New macro.
25283 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
25284 (IREG_SIZE): New macro.
25285 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
25287 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
25288 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
25289 (__CONCATX): Handle exceptions correctly on large values that may
25291 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
25292 Initialize if not already set.
25293 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
25295 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25297 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
25298 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
25300 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
25302 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
25304 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
25306 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
25308 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
25310 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
25312 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
25313 (NO_CANCELLATION): Likewise.
25314 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
25316 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
25318 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
25320 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
25321 (NO_CANCELLATION): Likewise.
25322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
25323 (NO_CANCELLATION): Likewise.
25324 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
25326 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
25328 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
25330 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
25332 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
25334 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
25335 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
25337 2017-08-31 Steve Ellcey <sellcey@cavium.com>
25339 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
25342 2017-08-31 Florian Weimer <fweimer@redhat.com>
25344 * include/libc-symbols.h (internal_function): Remove.
25346 2017-08-31 Florian Weimer <fweimer@redhat.com>
25348 * stdlib/fmtmsg.c (internal_addseverity): Remove
25351 2017-08-31 Florian Weimer <fweimer@redhat.com>
25353 * stdio-common/printf_fp.c (group_number): Remove
25355 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
25357 2017-08-31 Florian Weimer <fweimer@redhat.com>
25359 * posix/fnmatch.c (internal_function): Remove definition.
25360 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
25361 * posix/regcomp.c (peek_token, init_word_char)
25362 (duplicate_node_closure, fetch_token, peek_token)
25363 (peek_token_bracket, build_range_exp, build_collating_symbol):
25365 * posix/regex_internal.c (re_string_construct_common)
25366 (create_ci_newstate, create_cd_newstate, re_string_allocate)
25367 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
25368 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
25369 (re_string_translate_buffer, re_string_reconstruct)
25370 (re_string_peek_byte_case, re_string_fetch_byte_case)
25371 (re_string_destruct, re_string_context_at, re_node_set_alloc)
25372 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
25373 (re_node_set_add_intersect, re_node_set_init_union)
25374 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
25375 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
25376 (re_dfa_add_node, calc_state_hash, re_acquire_state)
25377 (re_acquire_state_context): Likewise.
25378 * posix/regex_internal.h (internal_function): Remove definition.
25379 (re_string_realloc_buffers, build_wcs_buffer)
25380 (build_wcs_upper_buffer, build_upper_buffer)
25381 (re_string_translate_buffer, re_string_context_at)
25382 (re_string_char_size_at, re_string_wchar_at)
25383 (re_string_elem_size_at): Likewise.
25384 * posix/regexec.c (match_ctx_init, match_ctx_clean)
25385 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
25386 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
25387 (re_search_internal, re_search_2_stub, re_search_stub)
25388 (re_copy_regs, prune_impossible_nodes, check_matching)
25389 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
25390 (free_fail_stack_return, sift_states_iter_mb)
25391 (sift_states_backward, build_sifted_states)
25392 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
25393 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
25394 (check_subexp_limits, sift_states_bkref, merge_state_array)
25395 (find_recover_state, transit_state, merge_state_with_log)
25396 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
25397 (transit_state_mb, transit_state_bkref, get_subexp)
25398 (get_subexp_sub, find_subexp_node, check_arrival)
25399 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
25400 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
25401 (check_node_accept_bytes, find_collation_sequence_value)
25402 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
25403 (acquire_init_state_context, check_halt_node_context)
25404 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
25405 (sub_epsilon_src_nodes): Likewise.
25406 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
25407 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
25408 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
25409 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
25410 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
25411 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
25412 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
25413 * sysdeps/posix/ttyname.c (getttyname): Likewise.
25414 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25415 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
25416 (PREADV): Likewise.
25417 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
25418 (PREADV): Likewise.
25419 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
25420 (PWRITEV): Likewise.
25421 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
25422 (PWRITEV): Likewise.
25423 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
25424 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25426 2017-08-31 Florian Weimer <fweimer@redhat.com>
25428 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
25429 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
25430 Remove internal_function.
25431 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25432 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
25433 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
25434 (__deallocate_stack, __libc_pthread_init)
25435 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
25436 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
25437 (__libc_disable_asynccancel, __librt_disable_asynccancel):
25439 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
25440 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
25441 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
25443 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
25444 (__pthread_mutex_unlock_usercnt): Likewise.
25446 2017-08-31 Florian Weimer <fweimer@redhat.com>
25448 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
25449 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
25450 (fts_safe_changedir): Remove internal_function.
25451 * io/ftw.c (internal_function): Remove definition.
25452 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
25454 2017-08-31 Florian Weimer <fweimer@redhat.com>
25456 * inet/deadline.c (__deadline_current_time)
25457 (__deadline_from_timeval, __deadline_to_ms): Remove
25459 * inet/getnameinfo.c (nrl_domainname): Likewise.
25460 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
25461 * inet/inet6_option.c (add_pad): Likewise.
25462 * inet/net-internal.h (__deadline_current_time)
25463 (__deadline_from_timeval, __deadline_to_ms): Likewise.
25464 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
25465 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
25466 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
25468 2017-08-31 Joseph Myers <joseph@codesourcery.com>
25470 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
25471 include <bits/nan.h>.
25472 * math/Makefile (headers): Remove bits/nan.h.
25473 * bits/nan.h: Remove.
25474 * sysdeps/ieee754/bits/nan.h: Likewise.
25475 * sysdeps/mips/bits/nan.h: Likewise.
25477 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
25478 not include <bits/inf.h>.
25479 * math/Makefile (headers): Remove bits/inf.h.
25480 * bits/inf.h: Remove.
25481 * sysdeps/ieee754/bits/inf.h: Likewise.
25483 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
25484 bits/huge_vall.h or bits/huge_val_flt128.h.
25485 (HUGE_VAL): Define directly here.
25486 [__USE_ISOC99] (HUGE_VALF): Likewise.
25487 [__USE_ISOC99] (HUGE_VALL): Likewise.
25488 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25489 (HUGE_VAL_F128): Likewise.
25490 * math/Makefile (headers): Remove bits/huge_val.h,
25491 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
25492 * bits/huge_val.h: Remove.
25493 * bits/huge_val_flt128.h: Likewise.
25494 * bits/huge_valf.h: Likewise.
25495 * bits/huge_vall.h: Likewise.
25496 * sysdeps/ia64/bits/huge_vall.h: Likewise.
25497 * sysdeps/ieee754/bits/huge_val.h: Likewise.
25498 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
25499 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
25500 * sysdeps/sh/bits/huge_val.h: Likewise.
25501 * sysdeps/sparc/bits/huge_vall.h: Likewise.
25502 * sysdeps/x86/bits/huge_vall.h: Likewise.
25504 2017-08-31 Florian Weimer <fweimer@redhat.com>
25506 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
25508 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
25510 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
25511 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25512 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
25513 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
25514 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25515 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25516 * elf/dl-libc.c (dlerror_run): Likewise.
25517 * elf/dl-load.c (add_name_to_object, decompose_rpath)
25518 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
25519 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
25520 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
25522 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
25523 (_dl_higher_prime_number, _dl_strtoul): Likewise.
25524 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
25525 * elf/dl-profile.c (_dl_start_profile): Likewise.
25526 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
25527 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
25529 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
25530 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
25531 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
25532 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
25533 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
25534 (_dl_allocate_tls_storage): Likewise.
25535 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
25536 (_dl_check_all_versions): Likewise.
25537 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25538 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
25539 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
25540 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25541 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
25542 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
25543 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
25544 internal_function from __dl_start.
25545 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
25546 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25547 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
25548 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
25549 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
25550 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
25551 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
25552 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
25553 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
25554 (_dl_next_ld_env_entry, _dl_important_hwcaps)
25555 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
25556 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
25557 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
25558 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
25559 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
25561 (struct rtld_global_ro): Remove internal_function from the
25562 _dl_lookup_symbol_x member.
25563 (_dl_symbol_value): Remove. No longer defined anywhere.
25564 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
25566 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25567 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25568 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
25569 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
25570 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
25571 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
25572 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
25573 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
25574 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
25575 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25576 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25577 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25579 2017-08-31 Florian Weimer <fweimer@redhat.com>
25581 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
25582 Remove internal_function.
25583 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
25585 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
25588 2017-08-31 Florian Weimer <fweimer@redhat.com>
25590 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
25591 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
25592 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
25594 2017-08-31 Florian Weimer <fweimer@redhat.com>
25596 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
25597 (__gai_enqueue_request): Remove internal_function.
25598 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
25599 (__gai_remove_request, __gai_notify, __gai_notify_only)
25600 (__gai_sigqueue): Likewise.
25601 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
25602 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25603 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
25604 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25607 2017-08-31 Florian Weimer <fweimer@redhat.com>
25609 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
25610 * include/dirent.h (__opendirat, __getdents, __getdents64)
25611 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
25612 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
25613 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
25614 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25616 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
25618 2017-08-31 Florian Weimer <fweimer@redhat.com>
25620 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
25622 (GETCWD_RETURN_TYPE): Likewise.
25624 2017-08-31 Florian Weimer <fweimer@redhat.com>
25626 * include/time.h (__tz_compute, __strptime_internal): Remove
25628 * time/strptime_l.c (__strptime_internal): Likewise.
25629 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
25631 2017-08-31 Florian Weimer <fweimer@redhat.com>
25633 * iconv/gconv.c (__gconv): Remove internal_function.
25634 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
25635 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
25636 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
25637 (__gconv_release_cache): Likewise.
25638 * iconv/gconv_close.c (__gconv_close): Likewise.
25639 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
25640 (read_conf_file, __gconv_get_path): Likewise.
25641 * iconv/gconv_db.c (derivation_lookup, add_derivation)
25642 (__gconv_release_step, gen_steps, increment_counter)
25643 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
25644 (__gconv_close_transform, free_modules_db): Likewise.
25645 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
25647 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
25648 (__gconv_find_transform, __gconv_lookup_cache)
25649 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
25650 (__gconv_close_transform, __gconv_release_cache)
25651 (__gconv_loaded_object, __gconv_release_shlib)
25652 (__gconv_compare_alias): Likewise.
25653 * iconv/gconv_open.c (__gconv_open): Likewise.
25654 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
25655 * iconv/iconvconfig.c (add_module): Likewise.
25656 * intl/dcigettext.c (plural_lookup, guess_category_value)
25657 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
25658 * intl/eval-plural.h (plural_eval): Likewise.
25659 * intl/finddomain.c (_nl_find_domain): Likewise.
25660 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
25661 (_nl_load_domain, _nl_find_msg): Likewise.
25662 (internal_function): Remove definition.
25663 * intl/loadinfo.h (internal_function): Likewise.
25664 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
25666 * intl/localealias.c (internal_function): Remove definition.
25667 (read_alias_file): Remove internal_function.
25668 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
25669 * intl/plural-exp.h (internal_function): Remove definition.
25670 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
25672 * intl/plural.c: Regenerate.
25673 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
25674 * locale/coll-lookup.c (__collidx_table_lookup)
25675 (__collseq_table_lookup): Likewise.
25676 * locale/coll-lookup.h (__collidx_table_lookup)
25677 (__collseq_table_lookup): Likewise.
25678 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
25679 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25680 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
25681 (_nl_unload_locale): Likewise.
25682 * locale/localeinfo.h (struct __locale_data): Remove
25683 internal_function from cleanup member.
25684 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
25685 (_nl_remove_locale, _nl_load_locale_from_archive)
25686 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
25687 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
25688 (_nl_cleanup_time): Remove internal_function.
25689 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
25690 (_nl_parse_alt_digit): Likewise.
25691 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
25692 (_nl_select_era_entry): Likewise.
25693 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
25694 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
25695 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
25696 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
25697 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
25699 2017-08-31 Florian Weimer <fweimer@redhat.com>
25701 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
25702 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25703 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
25704 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
25706 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
25707 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
25708 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
25709 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
25711 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
25713 2017-08-31 Florian Weimer <fweimer@redhat.com>
25715 * misc/getttyent.c (skip, value): Remove internal_function.
25716 * misc/syslog.c (openlog_internal): Likewise.
25717 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
25719 2017-08-31 Florian Weimer <fweimer@redhat.com>
25721 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
25722 (__nss_rewrite_field): Remove internal_function.
25723 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25724 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
25725 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25726 * nss/nsswitch.c (nss_parse_file, nss_getline)
25727 (nss_parse_service_list, nss_new_service): Likewise.
25728 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
25729 * nss/valid_field.c (__nss_valid_field): Likewise.
25730 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25732 2017-08-31 Florian Weimer <fweimer@redhat.com>
25734 * malloc/arena.c (__malloc_fork_lock_parent)
25735 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
25736 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
25737 internal_function from defintions.
25738 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
25739 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
25740 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
25741 internal_function from declarations.
25742 * malloc/malloc.c (internal_function): Do not define.
25743 (mem2mem_check): Remove internal_function from declaration.
25744 (munmap_chunk, mremap_chunk): Remove internal_function.
25745 * malloc/mtrace.c (tr_where): Likewise.
25747 2017-08-31 Florian Weimer <fweimer@redhat.com>
25749 * include/rpc/pmap_clnt.h (__get_socket): Remove
25751 * sunrpc/auth_des.c (synchronize): Likewise.
25752 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
25753 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
25754 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
25755 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
25756 (key_call): Likewise.
25757 * sunrpc/pm_getport.c (__get_socket): Likewise.
25758 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
25759 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
25760 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
25761 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
25762 (invalidate): Likewise.
25763 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
25764 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
25765 (set_input_fragment, get_input_bytes): Likewise.
25767 2017-08-31 Florian Weimer <fweimer@redhat.com>
25769 * malloc/malloc.c (_int_free): Remove locked variable and related
25772 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
25775 * Makerules (build-module-helper-objlist): Filter out
25776 $(elf-objpfx)sofini.os.
25777 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
25780 2017-08-31 Florian Weimer <fweimer@redhat.com>
25782 * libio/fcloseall.c: Assume weak_alias is defined.
25783 * libio/feof.c: Likewise.
25784 * libio/fileno.c: Likewise.
25785 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
25786 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
25788 (_IO_file_open): Call __open directly.
25789 (_IO_new_file_sync): Assume ESPIPE is defined.
25790 (_IO_file_seekoff_maybe_mmap): Call __read directly.
25791 (_IO_new_file_write): Call __write directly.
25792 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
25793 * libio/ftello64.c (__ftello64): Assume EIO is defined.
25794 * libio/genops.c: Assume _LIBC is defined.
25795 (save_for_backup): Remove internal_function.
25796 * libio/getc.c: Assume weak_alias is defined.
25797 * libio/getwc.c: Likewise.
25798 * libio/iofclose.c: Assume _LIBC is defined.
25799 * libio/iofdopen.c: Likewise.
25800 (_IO_fcntl): Remove macro definition.
25801 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
25802 Call __fcntl directly.
25803 * libio/iofflush.c: Assume weak_alias is defined.
25804 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
25806 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
25807 * libio/iofgets.c: Likewise.
25808 * libio/iofopen.c: Assume _LIBC is defined.
25809 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
25810 * libio/iofputs.c: Assume weak_alias is defined.
25811 * libio/iofread.c: Likewise.
25812 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
25813 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25814 * libio/ioftell.c: Assume weak_alias is defined.
25815 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
25816 * libio/iofwide.c: Assume _LIBC is defined.
25817 (_IO_fwide): Drop SHARED conditional because it is implied by
25819 * libio/iofwrite.c: Assume weak_alias is defined.
25820 * libio/iogetdelim.c: Likewise.
25821 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
25822 * libio/iogetwline.c (wmemcpy): Remove macro definition.
25823 (_IO_getwline): Call __wmemcpy directly.
25824 * libio/iopopen.c: Assume _LIBC is defined.
25825 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
25826 (_IO_close): Remove macro definitions.
25827 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
25829 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
25831 * libio/ioputs.c: Assume weak_alias is defined.
25832 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
25833 * libio/iosetbuffer.c: Assume weak_alias is defined.
25834 * libio/iosetvbuf.c: Likewise.
25835 * libio/ioungetc.c: Likewise.
25836 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
25837 libc_hidden_def, libc_hidden_weak, NULL are defined.
25838 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
25839 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
25841 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
25843 (_IO_old_file_init_internal): Drop SHARED conditional because it
25844 is implied by SHLIB_COMPAT.
25845 (_IO_old_file_fopen): Call __open directly.
25846 (_IO_old_file_sync): Assume ESPIPE is defined.
25847 (_IO_old_file_write): Call __write directly.
25848 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
25849 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
25850 Call __fcntl directly.
25851 * libio/oldiofgetpos.c: Assume weak_alias is defined.
25852 (_IO_old_fgetpos): Assume EIO is defined.
25853 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
25854 (_IO_old_fgetpos64): Assume EIO is defined.
25855 * libio/oldiofsetpos.c: Assume weak_alias is defined.
25856 (_IO_old_fsetpos): Assume EIO is defined.
25857 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
25858 (_IO_old_fsetpos64): Assume EIO is defined.
25859 * libio/oldiopopen.c: Assume _LIBC is defined.
25860 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
25861 (_IO_close): Remove macro definitions.
25862 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
25864 (_IO_old_proc_close): Call __close, __waitpid directly.
25865 * libio/put.c: Assume weak_alias is defined.
25866 * libio/stdfiles.c: Assume _LIBC is defined.
25867 * libio/stdio.c: Likewise.
25868 * libio/wfileops.c: Likewise.
25869 (_IO_wfile_sync): Assume ESPIPE is defined.
25870 * libio/wgenops.c: Assume _LIBC is defined.
25871 (save_for_wbackup): Remove internal_function.
25873 2017-08-31 Florian Weimer <fweimer@redhat.com>
25875 * malloc/malloc.c (top_check): Change return type to void. Remove
25877 * malloc/hooks.c (top_check): Likewise.
25878 (malloc_check, realloc_check, memalign_check): Adjust.
25880 2017-08-30 Joseph Myers <joseph@codesourcery.com>
25883 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
25884 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
25885 sigcontext and namespace requirements.
25886 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
25887 * sysdeps/m68k/sys/ucontext.h: Likewise.
25888 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
25889 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
25890 <bits/sigcontext.h>.
25891 (__ctx): Define earlier.
25892 (mcontext_t): Define structure contents rather than using struct
25894 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
25895 __glibc_reserved1 instead of __reserved.
25896 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
25897 <bits/sigcontext.h>.
25898 (__ctx): Define earlier.
25899 (mcontext_t): Define structure contents rather than using struct
25901 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
25902 mcontext_t instead of struct sigcontext.
25903 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
25904 <bits/sigcontext.h>.
25905 (__ctx): Define earlier.
25906 (mcontext_t): Define structure contents rather than using struct
25908 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
25909 <bits/sigcontext.h>.
25910 (__ctx): Define earlier.
25911 (mcontext_t): Define structure contents rather than using struct
25913 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
25914 mcontext_t instead of struct sigcontext.
25915 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
25916 mcontext_t instead of struct sigcontext.
25917 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
25918 <bits/sigcontext.h>.
25919 (__ctx): New macro.
25920 (struct __ia64_fpreg_mcontext): New type.
25921 (mcontext_t): Define structure contents rather than using struct
25923 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
25924 (uc_sigmask): Define using __ctx.
25925 (uc_stack): Likewise.
25926 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
25927 <bits/sigcontext.h>.
25928 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25929 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
25930 <bits/sigcontext.h>.
25931 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
25932 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
25933 <bits/sigcontext.h>.
25934 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
25935 <bits/sigcontext.h>.
25936 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
25937 <bits/sigcontext.h>.
25938 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
25939 <bits/sigcontext.h>.
25940 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
25941 <bits/sigcontext.h>.
25942 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
25943 <bits/sigcontext.h>.
25944 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
25945 <bits/sigcontext.h>.
25946 (__ctx): Define earlier.
25947 (mcontext_t): Define structure contents rather than using struct
25949 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
25950 <bits/sigcontext.h>. Include <bits/types.h>.
25951 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
25952 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
25953 (test-xfail-XPG42/ucontext.h/conform): Likewise.
25954 (test-xfail-UNIX98/signal.h/conform): Likewise.
25955 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25956 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25957 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25958 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25959 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25960 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25961 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25962 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25963 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25965 2017-08-30 Florian Weimer <fweimer@redhat.com>
25967 * malloc/dynarray_emplace_enlarge.c
25968 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
25969 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
25970 * malloc/tst-dynarray.c (test_long_overflow): New function.
25971 (do_test): Call it.
25973 2017-08-30 Florian Weimer <fweimer@redhat.com>
25975 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
25976 (set_arena_corrupt): Remove definitions.
25977 (mtrim): Do not check for corrupt arena.
25978 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
25981 2017-08-30 Florian Weimer <fweimer@redhat.com>
25984 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
25986 (ptmalloc_init): Do not set or use check_action.
25987 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
25988 call to malloc_printerr. Remove return statement.
25989 (free_check): Likewise. Remove arena unlock.
25990 (top_check): Update comment. Adjust call to malloc_printerr.
25991 Remove heap repair code.
25992 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
25993 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
25994 (sysmalloc): Adjust call to malloc_printerr.
25995 (munmap_chunk, __libc_realloc): Likewise. Remove return
25997 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
25998 Remove errout label and corresponding gotos.
25999 (_int_free): Likewise. Remove arena unlock.
26000 (do_set_mallopt_check): Do not set check_action.
26001 (malloc_printerr): Adjust parameter list. Do not mark arena as
26003 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
26005 * manual/probes.texi (Memory Allocation Probes): Remove
26006 memory_mallopt_check_action.
26008 2017-08-30 Steve Ellcey <sellcey@cavium.com>
26010 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
26011 Use pointer to uint64_t instead of long int for sp.
26013 2017-08-30 Florian Weimer <fweimer@redhat.com>
26016 * malloc/malloc.c (malloc_printerr): Always terminate the process,
26017 without printing a backtrace. Do not leak any information in the
26019 * manual/memory.texi (Heap Consistency Checking): Update.
26020 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
26022 2017-08-30 Florian Weimer <fweimer@redhat.com>
26024 Do not scale NPTL tests with available number of CPUs.
26025 * nptl/tst-cond16.c (count): Set to constant value of 8.
26026 * nptl/tst-cond18.c (count): Likewise.
26028 2017-08-29 Joseph Myers <joseph@codesourcery.com>
26031 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
26032 Define to take a second argument that is a macro that
26033 concatentates a suffix, not the suffix itself.
26034 (__CONCAT_d): New macro.
26035 (__CONCAT_f): Likewise.
26036 (__CONCAT_l): Likewise.
26038 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
26040 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
26043 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26044 Aurelien Jarno <aurelien@aurel32.net>
26045 Maciej W. Rozycki <macro@imgtec.com>
26048 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
26049 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
26050 `mips16-syscall6' and `mips16-syscall7'.
26051 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
26052 (CFLAGS-mips16-syscall7.c): Remove.
26053 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
26054 Remove `__mips16_syscall5', `__mips16_syscall6' and
26055 `__mips16_syscall7'.
26056 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
26057 (__mips16_syscall0): Rename `__mips16_syscall_return' to
26058 `__mips_syscall_return'.
26059 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
26060 (__mips16_syscall1): Likewise.
26061 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
26062 (__mips16_syscall2): Likewise.
26063 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
26064 (__mips16_syscall3): Likewise.
26065 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
26066 (__mips16_syscall4): Likewise.
26067 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
26069 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
26071 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
26073 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
26074 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
26075 `__mips16_syscall5'. Remove prototype.
26076 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
26077 `__mips16_syscall6'. Remove prototype.
26078 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
26079 `__mips16_syscall7'. Remove prototype.
26080 (__nomips16, __mips16_syscall_return): Move to...
26081 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
26082 (__nomips16, __mips_syscall_return): ... here.
26083 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
26084 `__mips16_syscall_return' to `__mips_syscall_return'.
26085 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
26086 `internal_syscall##nr'.
26087 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
26088 `internal_syscall##nr'.
26089 (FORCE_FRAME_POINTER): Remove.
26090 (__mips_syscall5): New prototype.
26091 (internal_syscall5): Rewrite to call `__mips_syscall5'.
26092 (__mips_syscall6): New prototype.
26093 (internal_syscall6): Rewrite to call `__mips_syscall6'.
26094 (__mips_syscall7): New prototype.
26095 (internal_syscall7): Rewrite to call `__mips_syscall7'.
26096 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
26097 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
26098 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
26099 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
26100 (sysdep_routines): Add libc-do-syscall.
26101 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
26102 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
26104 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26107 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
26108 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
26109 (advise_stack_range): New function.
26110 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
26111 stack non required to advise_stack_range at allocatestack.c
26113 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26115 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
26117 2017-08-29 Florian Weimer <fweimer@redhat.com>
26120 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
26121 __end_fct. Mangle __end_fct after setting it to NULL.
26122 * iconv/Makefile (tests): Add tst-gconv-init-failure.
26123 (modules-names, modules-names-tests): Add
26124 tst-gconv-init-failure-mod.
26125 (gconv-modules): New target.
26126 (tst-gconv-init-failure-mod.so): Link against libsupport.
26127 (tst-gconv-init-failure): Depend on gconv-modules,
26128 tst-gconv-init-failure-mod.so.
26129 * iconv/tst-gconv-init-failure-mod.c: New file.
26130 * iconv/tst-gconv-init-failure.c: Likewise.
26131 * iconv/test-gconv-modules: Likewise.
26133 2017-08-29 Florian Weimer <fweimer@redhat.com>
26136 * iconv/gconv_db.c (free_derivation): Remove redundant
26138 (gen_steps): Unconditionally mangle __btowc_fct after
26140 (increment_counter): Likewise. Do not call init_fct for internal
26143 2017-08-29 Joseph Myers <joseph@codesourcery.com>
26146 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26147 (_MSUF_): Remove macro.
26148 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
26150 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26151 (__REDIRFROM_X): New macro.
26152 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
26154 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
26155 (__REDIRTO_X): Likewise.
26156 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
26158 (__MATH_REDIRCALL_2): Likewise.
26159 (__MATH_REDIRCALL_INTERNAL): Likewise.
26160 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26161 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
26162 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
26163 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26164 * math/test-finite-macros.c: New file.
26165 * math/Makefile (tests): Add test-finite-macros.
26166 (CFLAGS-test-finite-macros.c): New variable.
26168 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
26169 Jeff Law <law@redhat.com>
26172 Mangle NULL pointers in iconv/gconv.
26173 * iconv/gconv_cache.c (find_module): Demangle init_fct before
26174 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
26175 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
26176 is non-NULL before demangling the end_fct. Check for NULL
26177 end_fct after demangling.
26178 (__gconv_release_step): Demangle the end_fct before checking
26179 it for NULL. Remove assert on __shlibc_handle != NULL.
26180 (gen_steps): Don't check btowc_fct for NULL before mangling.
26181 Demangle init_fct before checking for NULL.
26182 (increment_counter): Likewise.
26183 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
26184 end_fct for NULL before mangling.
26185 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
26188 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
26191 * locale/iso-639.def: add Morisyen.
26193 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26196 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
26197 (iszero): New C++ implementation that does not use
26198 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
26199 signaling nans are enabled, since __builtin_types_compatible_p
26200 is a C-only feature.
26201 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
26202 defined, include ieee754_float128.h for access to the union and
26203 member ieee854_float128.ieee.
26204 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
26205 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
26206 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26207 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
26208 options of test-math-zero on powerpc64le.
26210 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
26212 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26213 Change double to float.
26215 2017-08-28 Joseph Myers <joseph@codesourcery.com>
26217 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
26219 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
26220 conditional code; define contents only for [LIBM_SVID_COMPAT].
26222 2017-08-28 Florian Weimer <fweimer@redhat.com>
26224 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
26225 (abi-lp64_be-options): Remove.
26226 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
26227 (abi-hard-options): Likewise.
26228 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
26229 (abi-o32_hard-options, abi-o32_soft_2008-options)
26230 (abi-o32_hard_2008-options, abi-n32_soft-options)
26231 (abi-n32_hard-options, abi-n32_soft_2008-options)
26232 (abi-n32_hard_2008-options, abi-n64_soft-options)
26233 (abi-n64_hard-options, abi-n64_soft_2008-options)
26234 (abi-n64_hard_2008-options): Likewise.
26235 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
26236 (abi-64-v1-options, abi-64-v2-options): Likewise.
26237 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
26238 (abi-64-options): Likewise.
26239 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
26240 (abi-64-options): Likewise.
26241 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
26242 (abi-64-options): Likewise.
26243 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
26244 (abi-64-options, abi-x32-options): Likewise.
26246 2017-08-28 Florian Weimer <fweimer@redhat.com>
26248 Store supported list of SYS_* system calls in the source tree.
26249 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
26250 (bits/syscall.h): Generate from list file.
26251 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
26252 [$(subdir) = misc] (tests): Add tst-syscall-list.
26253 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
26254 [$(subdir) = misc] (tst-syscall-list-macros.list)
26255 [$(subdir) = misc] (tst-syscall-list-nr.list)
26256 (tst-syscall-list-sys.list): Helper targets for new
26257 tst-syscall-list test.
26258 [$(subdir) = misc] (tst-syscall-list.out): Run test script
26259 tst-syscall-list.sh.
26260 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
26261 target. Do not include bits/syscall.d.
26262 [$(subdir) = misc] (generated): Do not update.
26263 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
26264 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
26265 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
26266 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
26268 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
26270 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
26271 (tst-cxa_atexit, tst-on_exit): Likewise.
26272 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
26273 tst-cxa_atexit, and tst-on_exit.
26274 * stdlib/tst-atexit-common.c: New file.
26275 * stdlib/tst-atexit.c: New file.
26276 * stdlib/tst-at_quick_exit.c: New file.
26277 * stdlib/tst-cxa_atexit.c: New file.
26278 * stdlib/tst-on_exit.c: New file.
26280 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26282 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
26283 * mach/stack_chk_fail_local.c: New file.
26284 * hurd/stack_chk_fail_local.c: New file.
26285 * mach/Machrules ($(interface-library)-routines): Add
26286 stack_chk_fail_local.
26287 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
26288 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
26289 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
26290 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
26291 * hurd/Makefile (CFLAGS-hurdstartup.o,
26292 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
26294 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
26296 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
26297 (index_cpu_*, index_arch_*): Removed.
26299 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26301 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
26302 Use uint64_t instead of unsigned long.
26304 2017-08-25 Joseph Myers <joseph@codesourcery.com>
26306 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
26307 [__HAVE_DISTINCT_FLOAT128].
26309 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
26310 of <bits/math-finite.h>.
26311 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
26312 inclusion of <bits/math-finite.h>.
26313 * math/bits/math-finite.h (__REDIRTO_X): Do not define
26314 conditionally on [__MATH_DECLARING_LDOUBLE && defined
26315 __NO_LONG_DOUBLE_MATH].
26316 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
26317 (__MATH_REDIRCALL_2): Likewise.
26318 (__MATH_REDIRCALL_INTERNAL): Likewise.
26319 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26320 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
26321 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
26325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
26327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
26329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
26331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
26333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
26335 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
26336 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
26337 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
26338 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
26339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
26340 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
26341 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
26342 w_sqrtf_compat-ppc32.
26344 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26346 * math/math.h [defined __cplusplus] (issignaling): In the long
26347 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
26348 is not defined. Call __issignaling, otherwise.
26350 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26352 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
26353 syscall definitions and replace __builtin_expect with __glibc_likely.
26354 * sysdeps/unix/syscall-template.S: Update comment about cancellable
26356 (SYSCALL_CANCELLABLE): Removedefinition
26357 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
26359 (PSEUDO_END): Likewise.
26360 [IS_IN (libpthread)] (CENABLE): Likewise.
26361 [IS_IN (libpthread)] (CDISABLE): Likewise.
26362 [IS_IN (libc)] (CENABLE): Likewise.
26363 [IS_IN (libc)] (CENABLE): Likewise.
26364 [IS_IN (librt)] (CDISABLE): Likewise.
26365 [IS_IN (librt)] (CDISABLE): Likewise.
26366 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26367 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
26369 (PSEUDO_END): Likewise.
26370 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
26371 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
26372 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
26373 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
26374 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
26375 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
26376 (CENABLE): Likewise.
26377 (CDISABLE): Likewise.
26378 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26379 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
26381 (PSEUDO_END): Likewise.
26382 [IS_IN (libpthread)] (CENABLE): Likewise.
26383 [IS_IN (libpthread)] (CDISABLE): Likewise.
26384 [IS_IN (libc)] (CENABLE): Likewise.
26385 [IS_IN (libc)] (CENABLE): Likewise.
26386 [IS_IN (librt)] (CDISABLE): Likewise.
26387 [IS_IN (librt)] (CDISABLE): Likewise.
26388 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26389 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
26391 (PSEUDO_END): Likewise.
26392 [IS_IN (libpthread)] (CENABLE): Likewise.
26393 [IS_IN (libpthread)] (CDISABLE): Likewise.
26394 [IS_IN (libc)] (CENABLE): Likewise.
26395 [IS_IN (libc)] (CENABLE): Likewise.
26396 [IS_IN (librt)] (CDISABLE): Likewise.
26397 [IS_IN (librt)] (CDISABLE): Likewise.
26398 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26399 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
26401 (PSEUDO_END): Likewise.
26402 [IS_IN (libpthread)] (CENABLE): Likewise.
26403 [IS_IN (libpthread)] (CDISABLE): Likewise.
26404 [IS_IN (libc)] (CENABLE): Likewise.
26405 [IS_IN (libc)] (CENABLE): Likewise.
26406 [IS_IN (librt)] (CDISABLE): Likewise.
26407 [IS_IN (librt)] (CDISABLE): Likewise.
26408 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26409 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
26411 (PSEUDO_END): Likewise.
26412 [IS_IN (libpthread)] (CENABLE): Likewise.
26413 [IS_IN (libpthread)] (CDISABLE): Likewise.
26414 [IS_IN (libc)] (CENABLE): Likewise.
26415 [IS_IN (libc)] (CENABLE): Likewise.
26416 [IS_IN (librt)] (CDISABLE): Likewise.
26417 [IS_IN (librt)] (CDISABLE): Likewise.
26418 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26419 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
26421 (PSEUDO_END): Likewise.
26422 [IS_IN (libpthread)] (CENABLE): Likewise.
26423 [IS_IN (libpthread)] (CDISABLE): Likewise.
26424 [IS_IN (libc)] (CENABLE): Likewise.
26425 [IS_IN (libc)] (CENABLE): Likewise.
26426 [IS_IN (librt)] (CDISABLE): Likewise.
26427 [IS_IN (librt)] (CDISABLE): Likewise.
26428 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26429 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
26431 (PSEUDO_END): Likewise.
26432 [IS_IN (libpthread)] (CENABLE): Likewise.
26433 [IS_IN (libpthread)] (CDISABLE): Likewise.
26434 [IS_IN (libc)] (CENABLE): Likewise.
26435 [IS_IN (libc)] (CENABLE): Likewise.
26436 [IS_IN (librt)] (CDISABLE): Likewise.
26437 [IS_IN (librt)] (CDISABLE): Likewise.
26438 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26439 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
26441 (PSEUDO_END): Likewise.
26442 [IS_IN (libpthread)] (CENABLE): Likewise.
26443 [IS_IN (libpthread)] (CDISABLE): Likewise.
26444 [IS_IN (libc)] (CENABLE): Likewise.
26445 [IS_IN (libc)] (CENABLE): Likewise.
26446 [IS_IN (librt)] (CDISABLE): Likewise.
26447 [IS_IN (librt)] (CDISABLE): Likewise.
26448 (SINGLE_THREAD_P): Likewise.
26449 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
26451 (PSEUDO_END): Likewise.
26452 [IS_IN (libpthread)] (CENABLE): Likewise.
26453 [IS_IN (libpthread)] (CDISABLE): Likewise.
26454 [IS_IN (libc)] (CENABLE): Likewise.
26455 [IS_IN (libc)] (CENABLE): Likewise.
26456 [IS_IN (librt)] (CDISABLE): Likewise.
26457 [IS_IN (librt)] (CDISABLE): Likewise.
26458 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26459 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
26461 (PSEUDO_END): Likewise.
26462 [IS_IN (libpthread)] (CENABLE): Likewise.
26463 [IS_IN (libpthread)] (CDISABLE): Likewise.
26464 [IS_IN (libc)] (CENABLE): Likewise.
26465 [IS_IN (libc)] (CENABLE): Likewise.
26466 [IS_IN (librt)] (CDISABLE): Likewise.
26467 [IS_IN (librt)] (CDISABLE): Likewise.
26468 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26469 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
26470 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26471 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
26472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
26474 (PSEUDO_END): Likewise.
26475 [IS_IN (libpthread)] (CENABLE): Likewise.
26476 [IS_IN (libpthread)] (CDISABLE): Likewise.
26477 [IS_IN (libc)] (CENABLE): Likewise.
26478 [IS_IN (libc)] (CENABLE): Likewise.
26479 [IS_IN (librt)] (CDISABLE): Likewise.
26480 [IS_IN (librt)] (CDISABLE): Likewise.
26481 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
26484 (PSEUDO_END): Likewise.
26485 [IS_IN (libpthread)] (CENABLE): Likewise.
26486 [IS_IN (libpthread)] (CDISABLE): Likewise.
26487 [IS_IN (libc)] (CENABLE): Likewise.
26488 [IS_IN (libc)] (CENABLE): Likewise.
26489 [IS_IN (librt)] (CDISABLE): Likewise.
26490 [IS_IN (librt)] (CDISABLE): Likewise.
26491 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26492 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
26494 (PSEUDO_END): Likewise.
26495 [IS_IN (libpthread)] (CENABLE): Likewise.
26496 [IS_IN (libpthread)] (CDISABLE): Likewise.
26497 [IS_IN (libc)] (CENABLE): Likewise.
26498 [IS_IN (libc)] (CENABLE): Likewise.
26499 [IS_IN (librt)] (CDISABLE): Likewise.
26500 [IS_IN (librt)] (CDISABLE): Likewise.
26501 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
26503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26504 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
26505 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
26507 (PSEUDO_END): Likewise.
26508 [IS_IN (libpthread)] (CENABLE): Likewise.
26509 [IS_IN (libpthread)] (CDISABLE): Likewise.
26510 [IS_IN (libc)] (CENABLE): Likewise.
26511 [IS_IN (libc)] (CENABLE): Likewise.
26512 [IS_IN (librt)] (CDISABLE): Likewise.
26513 [IS_IN (librt)] (CDISABLE): Likewise.
26514 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26515 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
26517 (PSEUDO_END): Likewise.
26518 [IS_IN (libpthread)] (CENABLE): Likewise.
26519 [IS_IN (libpthread)] (CDISABLE): Likewise.
26520 [IS_IN (libc)] (CENABLE): Likewise.
26521 [IS_IN (libc)] (CENABLE): Likewise.
26522 [IS_IN (librt)] (CDISABLE): Likewise.
26523 [IS_IN (librt)] (CDISABLE): Likewise.
26524 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26526 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
26528 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
26530 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26532 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26534 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26537 * string/stratcliff.c (do_test): Declare size, nchars, inner,
26538 middle and outer with size_t instead of int. Repleace %d and
26539 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
26540 "MAX (outer, nchars - 64)" to support unsigned outer and
26541 nchars. Also exit loop when outer == 0.
26543 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26545 * include/fcntl.h (__fcntl_nocancel): Remove definition.
26546 * include/signal.h (__sigsuspend_nocancel): Likewise.
26547 * include/time.h (__nanosleep_nocancel): Likewise.
26548 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
26549 * login/utmp_file.c: Include non cancellable syscall header.
26550 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
26553 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26555 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
26556 .byte sequences with AVX512F instructions.
26557 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
26558 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
26559 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26560 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
26562 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26565 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
26566 Steve Ellcey <sellcey@cavium.com>
26568 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
26569 Use PTR_REG macro in cmp instruction.
26571 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26573 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
26574 Change the return type of the ifunc resolver to match the return
26575 type of the target function.
26577 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26579 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
26580 (preadv64): Likewise.
26581 (pwrite64(: Likewise.
26582 (pwritev64): Likewise.
26584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26585 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
26586 (LOAD_ARGS_0): Likewise.
26587 (LOAD_ARGS_1): Likewise.
26588 (LOAD_ARGS_2): Likewise.
26589 (LOAD_ARGS_3): Likewise.
26590 (LOAD_ARGS_4): Likewise.
26591 (LOAD_ARGS_5): Likewise.
26592 (LOAD_ARGS_6): Likewise.
26593 (LOAD_REGS_0): Likewise.
26594 (LOAD_REGS_1): Likewise.
26595 (LOAD_REGS_2): Likewise.
26596 (LOAD_REGS_3): Likewise.
26597 (LOAD_REGS_4): Likewise.
26598 (LOAD_REGS_5): Likewise.
26599 (LOAD_REGS_6): Likewise.
26600 (ASM_ARGS_0): Likewise.
26601 (ASM_ARGS_1): Likewise.
26602 (ASM_ARGS_2): Likewise.
26603 (ASM_ARGS_3): Likewise.
26604 (ASM_ARGS_4): Likewise.
26605 (ASM_ARGS_5): Likewise.
26606 (ASM_ARGS_6): Likewise.
26607 (LOAD_ARGS_TYPES_1): Likewise.
26608 (LOAD_ARGS_TYPES_2): Likewise.
26609 (LOAD_ARGS_TYPES_3): Likewise.
26610 (LOAD_ARGS_TYPES_4): Likewise.
26611 (LOAD_ARGS_TYPES_5): Likewise.
26612 (LOAD_ARGS_TYPES_6): Likewise.
26613 (LOAD_REGS_TYPES_1): Likewise.
26614 (LOAD_REGS_TYPES_2): Likewise.
26615 (LOAD_REGS_TYPES_3): Likewise.
26616 (LOAD_REGS_TYPES_4): Likewise.
26617 (LOAD_REGS_TYPES_5): Likewise.
26618 (LOAD_REGS_TYPES_6): Likewise.
26619 (TYPEFY): New define.
26620 (ARGIFY): Likewise.
26621 (internal_syscall0): Likewise.
26622 (internal_syscall1): Likewise.
26623 (internal_syscall2): Likewise.
26624 (internal_syscall3): Likewise.
26625 (internal_syscall4): Likewise.
26626 (internal_syscall5): Likewise.
26627 (internal_syscall6): Likewise.
26628 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
26629 (INTERNAL_SYSCALL_NCS): Remove define.
26630 (internal_syscall1): Add define.
26632 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26634 * math/w_remainder_compat.c: Remove duplicate inclusion of
26635 math-svid-compat.h.
26636 * math/w_remainderf_compat.c: Likewise.
26637 * math/w_remainderl_compat.c: Likewise.
26639 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26643 2017-08-22 Joseph Myers <joseph@codesourcery.com>
26646 * math/tgmath.h (__floating_type): Simplify definitions.
26647 (__real_integer_type): New macro.
26648 (__complex_integer_type): Likewise.
26649 (__expr_is_real): Likewise.
26650 (__tgmath_real_type_sub): Update comment to describe handling of
26652 (__tgmath_complex_type_sub): New macro.
26653 (__tgmath_complex_type): Likewise.
26654 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26655 (__TGMATH_CF128): Use __expr_is_real.
26656 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
26658 (__TGMATH_BINARY_REAL_IMAG): Likewise.
26659 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
26660 * math/gen-tgmath-tests.py (Type.create_type): Create complex
26663 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26665 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
26667 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
26669 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
26672 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
26673 nanosleep_not_cancel with __nanosleep_nocancel.
26674 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
26675 (__nanosleep_nocancel): New macro.
26676 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
26678 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
26680 (__nanosleep_nocancel): New prototype.
26682 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
26683 pause_not_cancel with __pause_nocancel.
26684 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
26685 (__pause_nocancel): New macro.
26686 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
26688 (__pause_nocancel): New prototype.
26689 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
26691 2017-08-22 Martin Sebor <msebor@redhat.com>
26693 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
26694 to return a pointer to the same type as the target function.
26696 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
26700 * include/printf.h (__printf_fphex): Add attribute_hidden.
26701 (__guess_grouping): New prototype.
26702 * stdio-common/printf_fp.c (__guess_grouping): Removed.
26703 * stdio-common/reg-printf.c (__register_printf_specifier): Add
26704 libc_hidden_proto and libc_hidden_def.
26705 * stdlib/strfmon_l.c (__guess_grouping): Removed.
26706 (__vstrfmon_l): Remove the third argument passed to
26709 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26711 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
26712 definition for issignaling that does not rely on __MATH_TG,
26713 since __MATH_TG uses __builtin_types_compatible_p, which is only
26714 available in C mode.
26715 (CFLAGS-test-math-issignaling.cc): New variable.
26716 * math/Makefile [CXX] (tests): Add test-math-issignaling.
26717 * math/test-math-issignaling.cc: New test for C++ implementation
26718 of type-generic issignaling.
26719 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26720 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
26721 options of test-math-issignaling on powerpc64le.
26723 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
26725 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26727 (hidden_proto): Likewise.
26728 (hidden_tls_proto): Likewise.
26729 (__hidden_proto): Likewise.
26731 2017-08-22 Florian Weimer <fweimer@redhat.com>
26733 math: Statically link tests of internal functionality.
26734 * math/Makefile (tests): Remove atest-exp, atest-sincos,
26736 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
26737 (gmp-objs): Remove assignment.
26738 (atest-exp, atest-sincos, atest-exp2): Remove targets.
26740 2017-08-22 Joseph Myers <joseph@codesourcery.com>
26743 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
26745 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
26747 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
26750 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
26751 variable definitions above inclusion of ../Rules.
26753 2017-08-21 Joseph Myers <joseph@codesourcery.com>
26755 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
26756 case calling __builtin_unreachable.
26758 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26760 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
26761 __waitpid_nocancel.
26762 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
26763 (__waitpid_nocancel): New macro.
26764 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
26766 (__waitpid_nocancel): Replace macro with a function.
26767 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
26770 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
26772 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
26773 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
26775 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
26776 __writev_nocancel_nostatus.
26777 (write_call_graph): Likewise.
26778 (write_bb_counts): Likewise.
26779 * resolv/herror.c (herror): Likewise.
26780 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
26782 (__writev_nocancel_nostatus): New macro.
26783 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
26785 (__writev_nocancel_nostatus): New function.
26787 2017-08-21 Joseph Myers <joseph@codesourcery.com>
26790 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26792 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26794 (hidden_proto): Likewise.
26795 (hidden_tls_proto): Likewise.
26796 (__hidden_proto): Likewise.
26799 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
26800 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
26801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
26803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
26805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
26807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
26809 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
26810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
26811 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
26812 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
26813 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26814 GLIBC_2.0 sqrtl symbol.
26816 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
26817 [__USE_MISC] (_LIB_VERSION): Likewise.
26818 [__USE_MISC] (struct exception): Likewise.
26819 [__USE_MISC] (matherr): Likewise.
26820 [__USE_MISC] (DOMAIN): Likewise.
26821 [__USE_MISC] (SING): Likewise.
26822 [__USE_MISC] (OVERFLOW): Likewise.
26823 [__USE_MISC] (UNDERFLOW): Likewise.
26824 [__USE_MISC] (TLOSS): Likewise.
26825 [__USE_MISC] (PLOSS): Likewise.
26826 [__USE_MISC] (HUGE): Likewise.
26827 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
26828 * math/math-svid-compat.h: New file.
26829 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
26831 * include/math.h [!_ISOMAC] (__matherr): Remove.
26832 * manual/arith.texi (FP Exceptions): Do not document matherr.
26833 * math/Makefile (tests): Change test-matherr to test-matherr-3.
26834 (tests-internal): New variable.
26835 (install-lib): Do not add libieee.a.
26836 (non-lib.a): Likewise.
26837 (extra-objs): Do not add libieee.a and ieee-math.o.
26838 (CPPFLAGS-s_lib_version.c): Remove variable.
26839 ($(objpfx)libieee.a): Remove rule.
26840 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
26841 * math/ieee-math.c: Remove.
26842 * math/libm-test-support.c (matherr): Remove.
26843 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
26844 and license notices. Include <math-svid-compat.h> and
26846 (matherr): Undefine as macro. Use compat_symbol_reference.
26847 (_LIB_VERSION): Likewise.
26848 * math/test-matherr-2.c: New file.
26849 * math/test-matherr-3.c: Likewise.
26850 * sysdeps/generic/math_private.h (__kernel_standard): Remove
26852 (__kernel_standard_f): Likewise.
26853 (__kernel_standard_l): Likewise.
26854 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
26855 <math_private.h>. Include <math-svid-compat.h>.
26856 (_LIB_VERSION): Undefine as macro.
26857 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
26858 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
26859 [LIBM_SVID_COMPAT], use compat_symbol.
26860 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
26861 <math_private.h>. Include <math-svid-compat.h>.
26862 (matherr): Undefine as macro.
26863 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
26865 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
26866 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
26867 compat_symbol_reference.
26868 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
26869 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
26870 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
26871 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
26872 (MATHERR_D): Remove declaration.
26873 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
26874 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
26875 [LIBM_BUILD] (pmatherrf): Likewise.
26876 [LIBM_BUILD] (pmatherr): Likewise.
26877 [LIBM_BUILD] (pmatherrl): Likewise.
26878 (DOMAIN): Likewise.
26880 (OVERFLOW): Likewise.
26881 (UNDERFLOW): Likewise.
26884 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
26885 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
26887 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
26888 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
26890 * math/lgamma-compat.h: Include <math-svid-compat.h>.
26891 * math/w_acos_compat.c: Likewise.
26892 * math/w_acosf_compat.c: Likewise.
26893 * math/w_acosh_compat.c: Likewise.
26894 * math/w_acoshf_compat.c: Likewise.
26895 * math/w_acoshl_compat.c: Likewise.
26896 * math/w_acosl_compat.c: Likewise.
26897 * math/w_asin_compat.c: Likewise.
26898 * math/w_asinf_compat.c: Likewise.
26899 * math/w_asinl_compat.c: Likewise.
26900 * math/w_atan2_compat.c: Likewise.
26901 * math/w_atan2f_compat.c: Likewise.
26902 * math/w_atan2l_compat.c: Likewise.
26903 * math/w_atanh_compat.c: Likewise.
26904 * math/w_atanhf_compat.c: Likewise.
26905 * math/w_atanhl_compat.c: Likewise.
26906 * math/w_cosh_compat.c: Likewise.
26907 * math/w_coshf_compat.c: Likewise.
26908 * math/w_coshl_compat.c: Likewise.
26909 * math/w_exp10_compat.c: Likewise.
26910 * math/w_exp10f_compat.c: Likewise.
26911 * math/w_exp10l_compat.c: Likewise.
26912 * math/w_exp2_compat.c: Likewise.
26913 * math/w_exp2f_compat.c: Likewise.
26914 * math/w_exp2l_compat.c: Likewise.
26915 * math/w_fmod_compat.c: Likewise.
26916 * math/w_fmodf_compat.c: Likewise.
26917 * math/w_fmodl_compat.c: Likewise.
26918 * math/w_hypot_compat.c: Likewise.
26919 * math/w_hypotf_compat.c: Likewise.
26920 * math/w_hypotl_compat.c: Likewise.
26921 * math/w_j0_compat.c: Likewise.
26922 * math/w_j0f_compat.c: Likewise.
26923 * math/w_j0l_compat.c: Likewise.
26924 * math/w_j1_compat.c: Likewise.
26925 * math/w_j1f_compat.c: Likewise.
26926 * math/w_j1l_compat.c: Likewise.
26927 * math/w_jn_compat.c: Likewise.
26928 * math/w_jnf_compat.c: Likewise.
26929 * math/w_jnl_compat.c: Likewise.
26930 * math/w_lgamma_main.c: Likewise.
26931 * math/w_lgamma_r_compat.c: Likewise.
26932 * math/w_lgammaf_main.c: Likewise.
26933 * math/w_lgammaf_r_compat.c: Likewise.
26934 * math/w_lgammal_main.c: Likewise.
26935 * math/w_lgammal_r_compat.c: Likewise.
26936 * math/w_log10_compat.c: Likewise.
26937 * math/w_log10f_compat.c: Likewise.
26938 * math/w_log10l_compat.c: Likewise.
26939 * math/w_log2_compat.c: Likewise.
26940 * math/w_log2f_compat.c: Likewise.
26941 * math/w_log2l_compat.c: Likewise.
26942 * math/w_log_compat.c: Likewise.
26943 * math/w_logf_compat.c: Likewise.
26944 * math/w_logl_compat.c: Likewise.
26945 * math/w_pow_compat.c: Likewise.
26946 * math/w_powf_compat.c: Likewise.
26947 * math/w_powl_compat.c: Likewise.
26948 * math/w_remainder_compat.c: Likewise.
26949 * math/w_remainderf_compat.c: Likewise.
26950 * math/w_remainderl_compat.c: Likewise.
26951 * math/w_scalb_compat.c: Likewise.
26952 * math/w_scalbf_compat.c: Likewise.
26953 * math/w_scalbl_compat.c: Likewise.
26954 * math/w_sinh_compat.c: Likewise.
26955 * math/w_sinhf_compat.c: Likewise.
26956 * math/w_sinhl_compat.c: Likewise.
26957 * math/w_sqrt_compat.c: Likewise.
26958 * math/w_sqrtf_compat.c: Likewise.
26959 * math/w_sqrtl_compat.c: Likewise.
26960 * math/w_tgamma_compat.c: Likewise.
26961 * math/w_tgammaf_compat.c: Likewise.
26962 * math/w_tgammal_compat.c: Likewise.
26963 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
26964 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
26965 * sysdeps/ieee754/k_standard.c: Likewise.
26966 * sysdeps/ieee754/k_standardf.c: Likewise.
26967 * sysdeps/ieee754/k_standardl.c: Likewise.
26968 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
26969 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
26970 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
26971 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
26972 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
26973 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
26974 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
26975 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
26976 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
26977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
26979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
26981 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
26982 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
26983 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
26984 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
26986 2017-08-21 Florian Weimer <fweimer@redhat.com>
26989 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
26990 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
26991 Move before inclusion of ../Rules.
26993 2017-08-21 Florian Weimer <fweimer@redhat.com>
26996 * assert/assert.h (assert): Use static_cast (bool) for C++.
26997 Use the ternary operator in the warning branch for GNU C.
26998 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
26999 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
27000 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
27001 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
27002 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
27004 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27007 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27008 (__syscall_clock_gettime): Add attribute_hidden.
27009 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
27010 (__start_context): Likewise.
27012 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27014 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27016 (hidden_proto): Likewise.
27017 (hidden_tls_proto): Likewise.
27018 (__hidden_proto): Likewise.
27020 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27022 * include/libc-symbols.h (attribute_hidden): Enable hidden
27023 visibility in libc.a compiled with PIE.
27025 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27028 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
27029 Add attribute_hidden.
27031 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27034 * Makerules (all-nonlib): Add $(others-extras).
27035 * catgets/Makefile (others-extras): New.
27036 * elf/Makefile (others-extras): Likewise.
27037 * nss/Makefile (others-extras): Likewise.
27039 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27042 * csu/libc-start.c (__libc_multiple_libcs): Removed.
27043 * elf/dl-open.c: Include <libc-internal.h>.
27044 (__libc_multiple_libcs): Removed.
27045 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
27047 * include/libc-internal.h (__libc_multiple_libcs): New.
27048 * misc/sbrk.c: Include <libc-internal.h>.
27049 (__libc_multiple_libcs): Removed.
27051 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27054 * grp/initgroups.c (__nss_group_database): Removed.
27055 (__nss_initgroups_database): Likewise.
27056 * nscd/gai.c (__nss_hosts_database): Likewise.
27057 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
27058 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
27059 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
27060 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
27061 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
27062 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
27064 * nss/nsswitch.c (__nss_database_custom): Define only if
27065 USE_NSCD is defined.
27066 (__nss_configure_lookup): Use __nss_database_custom only if
27067 USE_NSCD is defined.
27068 * nss/nsswitch.h (__nss_database_custom): Declare only if
27069 USE_NSCD is defined. Add attribute_hidden.
27070 (__nss_setent): Add attribute_hidden.
27071 (__nss_endent): Likewise.
27072 (__nss_getent_r): Likewise.
27073 (__nss_getent): Likewise.
27074 (DEFINE_DATABASE): Declare __nss_##arg##_database.
27076 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27079 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
27080 libc_hidden_proto and libc_hidden_def.
27082 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27085 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
27086 Add libc_hidden_proto.
27087 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
27088 Add libc_hidden_def.
27090 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27093 * gmon/Makefile (routines): Remove bb_init_func and
27095 (elide-routines.os): Removed.
27096 * gmon/bb_exit_func.c: Likewise.
27097 * gmon/bb_init_func.c: Likewise.
27098 * include/sys/gmon.h (__bb): Likewise.
27099 (__bb_init_func): Likewise.
27100 (__bb_exit_func): Likewise.
27101 * sysdeps/alpha/bb_init_func.S: Likewise.
27103 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27105 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
27106 * include/setjmp.h (____longjmp_chk): Here. Add
27109 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
27112 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
27114 (__strspn_sse2): Likewise.
27116 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27118 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
27119 (close_not_cancel_no_status): Likewise.
27120 (__close_nocancel): New macro.
27121 (__close_nocancel_nostatus): Likewise.
27122 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
27124 (close_not_cancel): Likewise.
27125 (close_not_cancel_no_status): Likewise.
27126 (__close_nocancel): New prototype.
27127 (__close_nocancel_nostatus): New function.
27128 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
27129 * catgets/open_catalog.c (__open_catalog): Replace
27130 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
27131 * gmon/gmon.c (write_gmon): Likewise.
27132 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27133 * intl/loadmsgcat.c (close): Likewise.
27134 * io/ftw.c (open_dir_stream): Likewise.
27135 (ftw_startup): Likewise.
27136 * libio/fileops.c (_IO_file_open): Likewise.
27137 (_IO_file_close_mmap): Likewise.
27138 (_IO_file_close): Likewise.
27139 * libio/iopopen.c (_IO_dup2): Likewise.
27140 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27141 * locale/loadlocale.c (_nl_load_locale): Likewise.
27142 * login/utmp_file.c (pututline_file): Likewise.
27143 (endutent_file): Likewise.
27144 * misc/daemon.c (daemon): Likewise.
27145 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27146 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27147 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27148 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27149 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27150 * nscd/nscd_helper.c (open_socket): Likewise.
27151 (__nscd_open_socket): Likewise.
27152 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27153 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
27154 (__nscd_innetgr): Likewise.
27155 * nss/nss_db/db-open.c (internal_setent): Likewise.
27156 * resolv/res-close.c (__res_iclose): Likewise.
27157 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
27158 * sysdeps/posix/closedir.c (__closedir): Likewise.
27159 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
27160 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27161 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27162 (opendir_tail): Likewise.
27163 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27164 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
27165 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27166 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27167 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27168 (gethostid): Likewise.
27169 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27170 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27173 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
27174 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27175 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27177 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
27178 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
27179 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27181 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
27182 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27184 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27186 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27187 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27188 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27191 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
27192 (openat_not_cancel_3): Likewise.
27193 (openat64_not_cancel_3): Likewise).
27194 (openat_not_cancel_3): Likewise).
27195 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
27197 (openat_not_cancel_3): Likewise.
27198 (openat64_not_cancel): Likewise.
27199 (openat64_not_cancel_3): Likewise.
27200 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
27201 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
27202 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
27203 __open{64}_nocancel.
27204 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27205 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27206 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27208 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27211 * include/argz.h (__argz_create_sep): New function prototype.
27212 (__argz_append): Likewise.
27213 (__argz_add): Likewise.
27214 (__argz_add_sep): Likewise.
27215 (__argz_delete): Likewise.
27216 (__argz_insert): Likewise.
27217 (__argz_replace): Likewise.
27218 * string/argz.h (__argz_create_sep): Removed.
27219 (__argz_append): Likewise.
27220 (__argz_add): Likewise.
27221 (__argz_add_sep): Likewise.
27222 (__argz_delete): Likewise.
27223 (__argz_insert): Likewise.
27224 (__argz_replace): Likewise.
27226 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27228 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
27229 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
27230 (GNU_PROPERTY_STACK_SIZE): Likewie.
27231 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
27232 (GNU_PROPERTY_LOPROC): Likewise.
27233 (GNU_PROPERTY_HIPROC): Likewise.
27234 (GNU_PROPERTY_LOUSER): Likewise.
27235 (GNU_PROPERTY_HIUSER): Likewise.
27236 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
27237 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
27238 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
27239 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
27240 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
27241 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
27242 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
27243 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
27244 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
27245 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
27246 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
27247 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
27248 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
27249 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
27250 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
27251 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
27252 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
27253 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
27254 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
27255 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
27256 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
27257 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
27258 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
27260 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27262 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
27265 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27268 * math/math.h (isinf): Check if in C or C++ mode before using
27269 __builtin_types_compatible_p, since this is a C mode feature.
27271 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27273 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
27274 (__write_nocancel): New macro.
27275 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
27276 Rewrite as a function prototype.
27277 (write_not_cancel): Remove macro.
27278 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
27279 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
27280 (write_gmon): Likewise.
27281 * libio/fileops.c (_IO_new_file_write): Likewise.
27282 * login/utmp_file.c (pututline_file): Likewise.
27283 (updwtmp_file): Likewise.
27284 * stdio-common/psiginfo.c (psiginfo): Likewise.
27285 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27286 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27287 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27289 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27292 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
27293 (__read_nocancel): New macro.
27294 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27296 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
27298 (__read_nocancel): New prototype.
27299 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
27300 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
27301 with __read_nocancel.
27302 * intl/loadmsgcat.c (read): Likewise.
27303 * libio/fileops.c (_IO_file_read): Likewise.
27304 * locale/loadlocale.c (_nl_load_locale): Likewise.
27305 * login/utmp_file.c (getutent_r_file): Likewise.
27306 (internal_getut_r): Likewise.
27307 (getutline_r_file): Likewise.
27308 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
27309 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27310 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27311 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27313 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
27314 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27315 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27317 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27319 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27321 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27325 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27328 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
27329 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
27332 2017-08-17 DJ Delorie <dj@redhat.com>
27334 * bug17079.c: Update to new test harness.
27335 * test-digits-dots.c: Likewise.
27336 * test-netdb.c: Likewise.
27337 * tst-field.c: Likewise.
27338 * tst-nss-getpwent.c: Likewise.
27339 * tst-nss-static.c: Likewise.
27340 * tst-nss-test1.c: Likewise.
27341 * tst-nss-test2.c: Likewise.
27342 * tst-nss-test3.c: Likewise.
27343 * tst-nss-test4.c: Likewise.
27344 * tst-nss-test5.c: Likewise.
27346 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27348 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
27349 (open_not_cancel_2): Likewise.
27350 (open_nocancel): New macro.
27351 (open64_nocancel): Likewise.
27352 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
27353 (open_not_cancel_2): Likewise.
27354 (__open_nocancel): New prototype.
27355 (__open64_nocancel): Likewise.
27356 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27358 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
27359 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
27360 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
27361 with __open_nocancel.
27362 * csu/check_fds.c (check_one_fd): Likewise.
27363 * gmon/gmon.c (write_gmon): Likewise.
27364 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
27365 * intl/loadmsgcat.c (open): Likewise.
27366 * libio/fileops.c (_IO_file_open): Likewise.
27367 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27368 * locale/loadlocale.c (_nl_load_locale): Likewise.
27369 * login/utmp_file.c (setutent_file): Likewise.
27370 * misc/daemon.c (daemon): Likewise.
27371 * nss/nss_db/db-open.c (internal_setent): Likewise.
27372 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27373 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
27374 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27375 (__opendir): Likewise.
27376 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27377 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
27378 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27379 (gethostid): Likewise.
27380 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27381 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27384 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
27385 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27386 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27388 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27390 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27392 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27394 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27396 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27398 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27399 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27401 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
27403 * benchtests/bench-skeleton.c (main): Add support for
27404 latency benchmarking.
27405 * benchtests/scripts/bench.py: Add support for latency benchmarking.
27407 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
27409 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
27410 the startup object.
27412 2017-08-17 Florian Weimer <fweimer@redhat.com>
27414 * include/sys/socket.h (__opensock): Remove internal_function.
27415 * socket/opensock.c (__opensock): Likewise.
27416 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
27418 2017-08-16 Joseph Myers <joseph@codesourcery.com>
27421 * signal/bits/types/__sigval_t.h: New file.
27422 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
27423 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
27424 and define sigval_t using __sigval_t.
27425 * include/bits/types/__sigval_t.h: New file.
27426 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
27427 instead of <bits/types/__sigval_t.h>.
27428 (struct sigevent): Use __sigval_t instead of sigval_t.
27429 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
27430 instead of <bits/types/__sigval_t.h>.
27431 (siginfo_t): Use __sigval_t instead of sigval_t.
27432 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
27433 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
27434 (struct sigevent): Use __sigval_t instead of sigval_t.
27435 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
27436 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
27437 (siginfo_t): Use __sigval_t instead of sigval_t.
27438 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
27440 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27442 * NEWS: Remove "[Add new features here]" for 2.27.
27444 2017-08-16 Joseph Myers <joseph@codesourcery.com>
27446 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
27449 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27451 * NEWS: Mention x86-64 FMA optimization.
27453 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27456 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27458 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
27459 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
27460 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
27462 2017-08-16 Andreas Schwab <schwab@suse.de>
27466 * elf/ldd.bash.in: Never run file directly.
27468 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
27471 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
27472 (L(SP_INF_0)): Likewise.
27474 2017-08-15 Florian Weimer <fweimer@redhat.com>
27476 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
27479 2017-08-15 Florian Weimer <fweimer@redhat.com>
27481 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
27482 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
27483 BROKEN_THREAD_SIGNALS code.
27484 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
27485 request_list): Remove caller_pid member used for
27486 BROKEN_THREAD_SIGNALS.
27487 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
27488 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27489 Remove BROKEN_THREAD_SIGNALS support.
27490 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27491 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
27493 2017-08-15 Florian Weimer <fweimer@redhat.com>
27495 * gmon/Makefile (tests): Add tst-gmon.
27496 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
27498 (tests-special): Add tst-gmon-prof.out.
27499 (tst-gmon.out): Depend on clean-tst-gmon-data.
27500 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
27501 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
27502 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
27504 * aclocal.m4 (GPROF): Set and substitute.
27505 * config.amke.in (GPROF): Set.
27506 * configure: Regenerate.
27508 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
27510 * elf/elf.h A (NT_PPC_TAR): New macro.
27511 (NT_PPC_PPR): Likewise.
27512 (NT_PPC_DSCR): Likewise.
27513 (NT_PPC_EBB): Likewise.
27514 (NT_PPC_PMU): Likewise.
27515 (NT_PPC_TM_CGPR): Likewise.
27516 (NT_PPC_TM_CFPR): Likewise.
27517 (NT_PPC_TM_CVMX): Likewise.
27518 (NT_PPC_TM_CVSX): Likewise.
27519 (NT_PPC_TM_SPR): Likewise.
27520 (NT_PPC_TM_CTAR): Likewise.
27521 (NT_PPC_TM_CPPR): Likewise.
27522 (NT_PPC_TM_CDSCR): Likewise.
27524 2017-08-15 Florian Weimer <fweimer@redhat.com>
27526 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
27527 regparm (2) instead of internal_function.
27528 (_MCOUNT_DECL): Adjust.
27530 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
27532 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
27533 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27535 2017-08-14 Joseph Myers <joseph@codesourcery.com>
27537 * conform/data/sys/wait.h-data (si_value): Do not expect for
27540 2017-08-14 Florian Weimer <fweimer@redhat.com>
27543 NSS: Create stubs for accidentally exported lookup functions.
27544 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
27545 Remove declaration.
27546 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
27547 (ether_hostton): Call __nss_ethers_lookup2 instead.
27548 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
27549 (ether_ntohost): Call __nss_ethers_lookup2 instead.
27550 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
27551 (setup): Call __nss_netgroup_lookup2 instead.
27552 * nss/Makefile (routines): Add compat-lookup.
27553 * nss/Versions (GLIBC_2.27): Add symbol version.
27554 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
27555 (DB_COMPAT_FCT): Remove.
27556 * nss/compat-lookup.c: New file.
27557 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
27558 from databases.def.
27559 * nss/service-lookup.c (NO_COMPAT): Remove definition.
27560 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
27561 (netname2user): Call __nss_publickey_lookup2 instead.
27562 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
27563 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
27566 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27567 Sergei Trofimovich <slyfox@inbox.ru>
27570 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
27571 Rename to MMAP2_PAGE_UNIT.
27572 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
27573 __OFF_T_MATCHES_OFF64_T is not defined.
27574 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
27576 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
27577 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
27579 2017-08-14 Florian Weimer <fweimer@redhat.com>
27581 i386: Do not set internal_function.
27582 * config.h.in (USE_REGPARMS, internal_function): Remove.
27583 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
27584 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
27586 2017-08-14 Florian Weimer <fweimer@redhat.com>
27588 * elf/dl-init.c (_dl_init): Remove internal_function.
27589 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
27590 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
27592 2017-08-14 Florian Weimer <fweimer@redhat.com>
27594 * elf/rtld.c (_dl_start): Remove internal_function.
27595 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
27598 2017-08-14 Florian Weimer <fweimer@redhat.com>
27600 * elf/dl-fini.c (_dl_fini): Remove internal_function
27601 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27603 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
27605 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
27606 (bit_cpu_SHSTK): Likewise.
27607 (index_cpu_IBT): Likewise.
27608 (index_cpu_SHSTK): Likewise.
27609 (reg_IBT): Likewise.
27610 (reg_SHSTK): Likewise.
27611 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27612 Handle index_cpu_IBT and index_cpu_SHSTK.
27614 2017-08-14 Mike FABIAN <mfabian@redhat.com>
27617 * po/fr.po: Fix spelling mistake.
27619 2017-08-13 Florian Weimer <fweimer@redhat.com>
27621 * elf/dl-addr.c (_dl_addr): Remove internal_function.
27622 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
27623 (_dl_catch_error, _dl_receive_error): Likewise.
27624 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
27625 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
27626 (_dl_deallocate_tls): Likewise.
27627 * include/dlfcn.h (_dl_addr): Likewise.
27628 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
27629 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
27630 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
27633 2017-08-13 Florian Weimer <fweimer@redhat.com>
27635 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
27636 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
27638 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
27640 2017-08-13 Florian Weimer <fweimer@redhat.com>
27642 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
27644 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
27645 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
27646 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
27647 internal_function from _dl_make_stack_executable_hook member.
27648 (_dl_make_stack_executable): Remove internal_function.
27649 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
27651 * sysdeps/unix/sysv/linux/dl-execstack.c
27652 (_dl_make_stack_executable): Likewise.
27654 2017-08-13 Florian Weimer <fweimer@redhat.com>
27656 * sysdeps/unix/sysv/linux/netlinkaccess.h
27657 (__netlink_assert_response): Remove internal_function.
27658 * sysdeps/unix/sysv/linux/netlink_assert_response.c
27659 (__netlink_assert_response): Likewise.
27661 2017-08-13 Florian Weimer <fweimer@redhat.com>
27663 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
27665 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
27667 2017-08-13 Florian Weimer <fweimer@redhat.com>
27669 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
27671 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
27672 * inet/netgroup.h (__internal_setnetgrent)
27673 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
27674 * inet/getnetgrent_r.c (__internal_setnetgrent)
27675 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
27676 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
27677 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
27678 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
27679 * nss/nsswitch.h (db_lookup_function): Likewise.
27681 2017-08-13 Florian Weimer <fweimer@redhat.com>
27683 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
27684 Remove internal_function.
27685 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
27686 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
27687 message argument on the stack.
27688 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
27691 2017-08-12 Mike FABIAN <mfabian@redhat.com>
27693 Adapt test case data to the changes in the thousands
27697 * localedata/tst-langinfo.sh: Adapt test case data.
27698 * stdlib/tst-strfmon_l.c: Likewise.
27699 * stdlib/tst-strtod4.c: Likewise.
27700 * stdlib/tst-strtod5i.c: Likewise.
27702 2017-08-11 Florian Weimer <fweimer@redhat.com>
27705 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
27706 Suppress pedantic warning resulting from statement expression.
27707 (__ASSERT_FUNCTION): Add missing __extension__.
27709 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27711 * benchtests/bench-memmove-large.c: Print output in JSON
27713 * benchtests/bench-memmove.c: Likewise.
27715 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
27716 * benchtests/bench-memchr.c (do_one_test): Likewise.
27717 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
27718 * benchtests/bench-memcpy.c (do_one_test): Likewise.
27719 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
27720 * benchtests/bench-memmove.c (do_one_test): Likewise.
27721 * benchtests/bench-memset-large.c (do_one_test): Likewise.
27722 * benchtests/bench-memset.c (do_one_test): Likewise.
27723 * benchtests/bench-string.h (test_init): Remove memsets.
27725 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
27728 (Computing the Width of an Integer Data Type): Rename section to
27729 "Width of an Integer Type". Remove inaccurate statement regarding
27730 lack of C language facilities for determining width of integer
27731 types, and reorder content to improve flow and context of
27734 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
27736 * lang.texi (va_copy): Change standard from ISO to C99.
27737 (__va_copy): Add standard and header annotation.
27738 Update description for clarity of origins and current use.
27740 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27743 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
27744 xssqrtqp requires operands to be in Vector Registers
27745 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
27746 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
27747 (__ieee754_sqrtf128): Likewise.
27749 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
27751 * sysdeps/aarch64/memcmp.S (memcmp):
27752 Rewrite of optimized memcmp.
27754 2017-08-10 Florian Weimer <fweimer@redhat.com>
27756 Introduce ld.so exceptions.
27757 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
27758 (_dl_exception_create, _dl_exception_create_format)
27759 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
27760 (_dl_catch_exception): Declare.
27761 (_dl_catch_error): Update comment.
27762 * elf/dl-error-skeleton.c (struct catch): Replace objname,
27763 errstring, malloced members with exception member.
27764 (_dl_out_of_memory): Remove.
27765 (fatal_error): New function, extracted from _dl_signal_error.
27766 (_dl_signal_exception, _dl_signal_cexception): New functions.
27767 (_dl_signal_error): Call _dl_exception_create to allocate an
27769 (_dl_catch_exception): New function, based on _dl_catch_error.
27770 (_dl_catch_error): Implement using _dl_catch_exception.
27771 * elf/dl-exception.c: New file.
27772 * elf/Makefile (dl-routines): Add dl-exception.
27773 (elide-routines.os): Likewise.
27774 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
27775 _dl_exception_create_format, _dl_exception_free.
27776 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
27777 _dl_signal_exception.
27778 * elf/dl-lookup.c (make_string): Remove.
27779 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
27780 _dl_signal_cexception, _dl_exception_free.
27781 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
27782 _dl_signal_exception.
27783 * elf/dl-sym.c (do_sym): Likewise.
27784 * elf/dl-version.c (make_string): Remove.
27785 (match_symbol): Use _dl_exception_create_format,
27786 _dl_signal_cexception, _dl_exception_free.
27787 (_dl_check_map_versions): Likewise.
27788 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
27789 _dl_catch_exception.
27790 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
27791 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
27792 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
27793 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
27794 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
27795 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
27796 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
27797 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
27799 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
27800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
27802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
27804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
27806 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
27807 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
27808 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
27810 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
27812 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
27814 2017-08-10 Florian Weimer <fweimer@redhat.com>
27816 * inet/net-internal.h (__inet6_scopeid_pton): Remove
27817 attribute_hidden, internal_function.
27818 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
27821 2017-08-10 Florian Weimer <fweimer@redhat.com>
27823 * malloc/malloc.c (get_max_fast): Reimplement as an inline
27824 function which calls __builtin_unreachable.
27826 2017-08-10 Mike FABIAN <mfabian@redhat.com>
27828 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
27829 Indian monetary formatting
27830 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
27833 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
27835 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
27836 Fix typo in comment.
27839 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
27840 PTRACE_SEIZE_DEVEL): Remove.
27841 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
27842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27843 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27845 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27847 2017-08-09 Joseph Myers <joseph@codesourcery.com>
27849 * posix/bits/types.h (__qaddr_t): Remove.
27852 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
27853 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27855 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
27856 (ucontext_t): Use __ctx with uc_flags.
27857 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
27858 (__ctxt): Likewise.
27859 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27861 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
27862 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27864 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
27865 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27867 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
27869 (ucontext_t): Use __ctx with uc_flags.
27870 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
27871 (ucontext_t): Use __ctx with uc_flags.
27872 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
27873 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
27874 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
27875 (ucontext_t): Use __ctx with uc_flags.
27876 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
27877 undefine further down.
27878 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27880 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
27881 undefine further down.
27882 (ucontext_t): Use __ctx with uc_flags.
27883 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
27884 undefine further down.
27885 (ucontext_t): Use __ctx with uc_flags.
27886 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
27887 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
27888 Rename uc_pad to __glibc_reserved1.
27889 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
27890 undefine further down.
27891 (ucontext_t): Use __ctx with uc_flags.
27892 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
27894 (ucontext_t): Use __ctx with uc_flags.
27895 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
27896 __ctx with uc_flags.
27897 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
27898 (ucontext_t): Use __ctx with uc_flags.
27899 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
27900 __ctx with uc_flags.
27902 2017-08-09 Florian Weimer <fweimer@redhat.com>
27905 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
27906 before early return.
27908 2017-08-09 Andreas Schwab <schwab@suse.de>
27911 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
27915 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
27916 tst-compat-forwarder.
27917 (modules-names): Add tst-compat-forwarder-mod.
27918 ($(objpfx)tst-compat-forwarder): Depend on
27919 $(objpfx)tst-compat-forwarder-mod.so.
27920 * nptl/tst-compat-forwarder.c: New file.
27921 * nptl/tst-compat-forwarder-mod.c: New file.
27923 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
27925 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
27928 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
27929 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27931 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
27933 (__libc_ifunc_impl_list): Add __memcpy_falkor.
27934 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
27935 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
27936 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27938 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
27941 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27944 * manual/setjmp.texi (getcontex): Document uc_stack value
27945 compatibility differences.
27947 2017-08-08 Joseph Myers <joseph@codesourcery.com>
27949 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
27950 (old_malloc_hook): Likewise.
27951 (old_memalign_hook): Likewise.
27952 (old_realloc_hook): Likewise.
27953 (struct hdr): Likewise.
27955 (freehook): Likewise.
27956 (mallochook): Likewise.
27957 (memalignhook): Likewise.
27958 (reallochook): Likewise.
27959 (mprobe): Likewise.
27960 * malloc/mtrace.c (mallwatch): Likewise.
27961 (tr_old_free_hook): Likewise.
27962 (tr_old_malloc_hook): Likewise.
27963 (tr_old_realloc_hook): Likewise.
27964 (tr_old_memalign_hook): Likewise.
27965 (tr_where): Likewise.
27966 (lock_and_info): Likewise.
27967 (tr_freehook): Likewise.
27968 (tr_mallochook): Likewise.
27969 (tr_reallochook): Likewise.
27970 (tr_memalignhook): Likewise.
27971 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
27972 * misc/mmap.c (__mmap): Likewise.
27973 * misc/mmap64.c (__mmap64): Likewise.
27974 * misc/mprotect.c (__mprotect): Likewise.
27975 * misc/msync.c (msync): Likewise.
27976 * misc/munmap.c (__munmap): Likewise.
27977 * posix/posix_madvise.c (posix_madvise): Likewise.
27978 * socket/send.c (__send): Likewise.
27979 * socket/sendto.c (__sendto): Likewise.
27980 * socket/setsockopt.c (__setsockopt): Likewise.
27981 * string/memcmp.c (__ptr_t): Remove macro.
27982 (MEMCMP): Use void * instead of ptr_t.
27983 * string/memrchr.c (__ptr_t): Remove macro.
27984 (__memrchr): Use void * instead of ptr_t.
27985 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
27986 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27987 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27988 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
27989 * sysdeps/mach/msync.c (msync): Likewise.
27990 * sysdeps/mach/munmap.c (__munmap): Likewise.
27991 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
27993 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27994 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
27995 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
27996 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
27997 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
27998 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27999 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
28000 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
28002 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28003 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
28004 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
28005 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
28006 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
28007 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
28008 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
28009 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
28010 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
28012 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
28013 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
28014 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
28015 (MEMCMP): Use void * instead of ptr_t.
28016 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
28017 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
28019 2017-08-08 Florian Weimer <fweimer@redhat.com>
28021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
28024 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
28027 * csu/libc-tls.c: Include <startup.h> first.
28028 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
28029 * elf/dl-tunables.c: Include <startup.h> first.
28030 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
28031 * sysdeps/generic/startup.h: New file.
28032 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
28033 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
28034 (I386_USE_SYSENTER): New. Defined to 0.
28036 2017-08-08 Andreas Schwab <schwab@suse.de>
28039 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
28040 * nptl/pt-system.c (system): Likewise.
28042 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28045 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
28047 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
28048 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
28049 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
28050 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
28051 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
28052 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
28053 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
28055 2017-08-07 Joseph Myers <joseph@codesourcery.com>
28058 * bits/sigaction.h (struct sigaction): Define sa_handler and
28059 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
28060 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28061 [__USE_XOPEN_EXTENDED].
28062 (SA_RESTART): Likewise.
28063 (SA_NODEFER): Likewise.
28064 (SA_RESETHAND): Likewise.
28065 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
28066 (struct sigaction): Define sa_handler and sa_sigaction using union
28067 also for [__USE_XOPEN_EXTENDED].
28068 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28069 [__USE_XOPEN_EXTENDED].
28070 (SA_RESTART): Likewise.
28071 (SA_NODEFER): Likewise.
28072 (SA_RESETHAND): Likewise.
28073 * sysdeps/unix/sysv/linux/bits/sigaction.h
28074 (struct sigaction): Define sa_handler and sa_sigaction using union
28075 also for [__USE_XOPEN_EXTENDED].
28076 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28077 [__USE_XOPEN_EXTENDED].
28078 (SA_RESTART): Likewise.
28079 (SA_NODEFER): Likewise.
28080 (SA_RESETHAND): Likewise.
28081 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
28082 (struct sigaction): Define sa_handler and sa_sigaction using union
28083 also for [__USE_XOPEN_EXTENDED].
28084 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28085 [__USE_XOPEN_EXTENDED].
28086 (SA_RESTART): Likewise.
28087 (SA_NODEFER): Likewise.
28088 (SA_RESETHAND): Likewise.
28089 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
28090 (struct sigaction): Define sa_handler and sa_sigaction using union
28091 also for [__USE_XOPEN_EXTENDED].
28092 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28093 [__USE_XOPEN_EXTENDED].
28094 (SA_RESTART): Likewise.
28095 (SA_NODEFER): Likewise.
28096 (SA_RESETHAND): Likewise.
28097 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28098 (struct sigaction): Define sa_handler and sa_sigaction using union
28099 also for [__USE_XOPEN_EXTENDED].
28100 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28101 [__USE_XOPEN_EXTENDED].
28102 (SA_RESTART): Likewise.
28103 (SA_NODEFER): Likewise.
28104 (SA_RESETHAND): Likewise.
28105 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28106 (struct sigaction): Define sa_handler and sa_sigaction using union
28107 also for [__USE_XOPEN_EXTENDED].
28108 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28109 [__USE_XOPEN_EXTENDED].
28110 (SA_RESTART): Likewise.
28111 (SA_NODEFER): Likewise.
28112 (SA_RESETHAND): Likewise.
28113 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28114 (struct sigaction): Define sa_handler and sa_sigaction using union
28115 also for [__USE_XOPEN_EXTENDED].
28116 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28117 [__USE_XOPEN_EXTENDED].
28118 (SA_RESTART): Likewise.
28119 (SA_NODEFER): Likewise. Define directly rather than as alias.
28120 (SA_RESETHAND): Likewise.
28121 (SA_INTERRUPT): Define only for [__USE_MISC].
28122 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
28123 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
28125 (SA_STACK): Define only for [__USE_MISC].
28126 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
28127 (struct sigaction): Define sa_handler and sa_sigaction using union
28128 also for [__USE_XOPEN_EXTENDED].
28129 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28130 [__USE_XOPEN_EXTENDED].
28131 (SA_RESTART): Likewise.
28132 (SA_NODEFER): Likewise.
28133 (SA_RESETHAND): Likewise.
28134 (SA_NOPTRACE): Define only for [__USE_MISC].
28136 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
28137 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
28138 (struct catalog_info): Likewise.
28139 * inet/htontest.c (lo): Likewise.
28141 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28142 * inet/inet_net.c (inet_network): Likewise.
28143 * inet/inet_netof.c (inet_netof): Likewise.
28144 * inet/rcmd.c (__ivaliduser): Likewise.
28145 (iruserok): Likewise.
28146 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
28147 * locale/programs/locale-spec.c (locale_special): Likewise.
28148 * nis/nis_findserv.c (struct findserv_req): Likewise.
28149 (__nis_findfastest_with_timeout): Likewise.
28150 * nss/test-netdb.c (test_network): Likewise.
28151 * resolv/inet_neta.c (inet_neta): Likewise.
28152 * resolv/ns_date.c (ns_datetosecs): Likewise.
28153 (SECS_PER_DAY): Likewise.
28154 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
28156 * resolv/res_comp.c (__putlong): Likewise.
28157 (__putshort): Likewise.
28158 (_getlong): Likewise.
28159 (_getshort): Likewise.
28160 * resolv/res_debug.c (p_time): Likewise.
28161 (precsize_ntoa): Likewise.
28162 (precsize_aton): Likewise.
28163 (latlon2ul): Likewise.
28164 (loc_aton): Likewise.
28165 (loc_ntoa): Likewise.
28166 * resolv/res_hconf.c (struct netaddr): Likewise.
28167 (_res_hconf_reorder_addrs): Likewise.
28168 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28169 (clnttcp_control): Likewise.
28170 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28171 (clntudp_control): Likewise.
28172 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28173 (clntunix_control): Likewise.
28174 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
28175 * sunrpc/rpc/auth.h (union des_block): Likewise.
28176 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
28177 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
28178 (xdrrec_create): Likewise.
28179 (xdrrec_endofrecord): Likewise.
28180 (flush_out): Likewise.
28181 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
28182 (xdrstdio_putlong): Likewise.
28183 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
28186 * misc/sys/cdefs.h (__long_double_t): Remove.
28187 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
28188 instead of __long_double_t,
28189 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
28191 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
28193 * benchtests/scripts/compare_strings.py: Avoid display error when
28194 running on a text terminal.
28196 * benchtests/scripts/compare_strings.py (main): Add an
28197 optional -base option.
28198 (process_results): New argument base_func.
28200 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
28202 * benchtests/bench-memcpy-large.c (test_name): Likewise.
28203 * benchtests/bench-memcpy-random.c (test_name): Likewise.
28205 2017-08-07 Andreas Schwab <schwab@suse.de>
28207 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
28208 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28209 * intl/Makefile ($(objpfx)tst-gettext.out)
28210 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
28211 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
28212 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28213 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28214 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
28215 * posix/Makefile ($(objpfx)globtest.out)
28216 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
28217 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
28218 ($(objpfx)tst-printf.out): Likewise.
28219 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
28220 ($(objpfx)tst-setcontext3.out): Likewise.
28222 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
28224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28225 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
28226 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
28227 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
28228 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
28230 (CFLAGS-doasin-fma.c): New.
28231 (CFLAGS-dosincos-fma.c): Likewise.
28232 (CFLAGS-e_asin-fma.c): Likewise.
28233 (CFLAGS-e_atan2-fma.c): Likewise.
28234 (CFLAGS-e_exp-fma.c): Likewise.
28235 (CFLAGS-e_log-fma.c): Likewise.
28236 (CFLAGS-e_pow-fma.c): Likewise.
28237 (CFLAGS-halfulp-fma.c): Likewise.
28238 (CFLAGS-mpa-fma.c): Likewise.
28239 (CFLAGS-mpatan-fma.c): Likewise.
28240 (CFLAGS-mpatan2-fma.c): Likewise.
28241 (CFLAGS-mpexp-fma.c): Likewise.
28242 (CFLAGS-mplog-fma.c): Likewise.
28243 (CFLAGS-mpsqrt-fma.c): Likewise.
28244 (CFLAGS-mptan-fma.c): Likewise.
28245 (CFLAGS-s_atan-fma.c): Likewise.
28246 (CFLAGS-sincos32-fma.c): Likewise.
28247 (CFLAGS-slowexp-fma.c): Likewise.
28248 (CFLAGS-slowpow-fma.c): Likewise.
28249 (CFLAGS-s_sin-fma.c): Likewise.
28250 (CFLAGS-s_tan-fma.c): Likewise.
28251 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
28252 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
28253 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
28254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
28255 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
28256 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
28257 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
28258 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
28259 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
28260 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
28261 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
28262 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
28263 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
28264 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
28265 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
28266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
28267 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
28268 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
28269 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
28270 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
28271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
28272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
28273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
28274 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
28275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28276 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28277 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28278 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28279 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28280 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28281 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28283 2017-08-04 Joseph Myers <joseph@codesourcery.com>
28285 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
28286 (min_of_type_f): New macro.
28287 (min_of_type_): Likewise.
28288 (min_of_type_l): Likewise.
28289 (min_of_type_f128): Likewise.
28290 (min_of_type): Define using __MATH_TG and taking an expression
28292 (math_check_force_underflow): Pass expression instead of type to
28294 (math_check_force_underflow_nonneg): Likewise.
28296 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28298 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28299 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
28300 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
28302 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28305 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
28306 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
28307 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
28308 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
28309 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
28310 memcpy_chk-nonshared, mempcpy_chk-nonshared,
28311 memmove_chk-nonshared and memset_chk-nonshared
28312 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
28313 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
28314 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
28315 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
28316 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
28317 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
28318 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
28319 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
28320 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
28321 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
28322 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
28323 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
28324 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
28325 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
28326 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
28327 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
28328 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
28329 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
28330 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
28331 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
28332 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
28333 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
28334 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
28335 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
28336 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
28337 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
28338 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
28339 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
28340 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
28341 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
28342 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
28343 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
28344 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
28345 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
28346 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
28347 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
28348 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
28349 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
28350 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
28351 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
28352 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
28353 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
28354 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
28355 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
28356 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
28357 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
28358 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
28359 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
28360 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
28361 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
28362 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
28364 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
28365 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
28366 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
28367 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
28368 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
28369 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
28370 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
28371 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
28372 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
28373 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
28374 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
28375 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
28376 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
28377 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
28378 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
28379 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
28380 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
28381 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
28382 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
28383 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28386 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28387 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28388 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28389 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28390 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28391 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28392 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28393 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28394 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28395 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28396 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28397 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28399 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28400 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28401 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28402 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28403 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28404 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28406 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28407 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28408 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28409 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28410 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28411 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28412 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28413 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28414 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28415 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28416 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28417 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28418 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28419 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28421 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28423 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
28424 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
28425 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
28426 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
28427 svml_d_log2_core-sse2, svml_d_log4_core-sse,
28428 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
28429 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
28430 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
28431 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
28432 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
28433 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
28434 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
28435 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
28436 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
28437 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
28438 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
28439 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
28440 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
28441 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
28442 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
28443 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
28444 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
28445 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
28446 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
28447 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
28448 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
28449 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
28450 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
28451 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
28452 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
28453 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
28454 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
28455 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
28456 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
28457 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
28458 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
28459 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
28460 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
28461 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
28462 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
28463 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
28464 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
28465 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
28466 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
28467 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
28468 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
28469 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
28470 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
28471 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
28472 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
28473 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
28474 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
28475 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
28476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
28477 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
28478 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
28479 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
28480 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
28481 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
28483 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
28484 Don't include <sysdep.h> nor <init-arch.h>.
28485 (_ZGVbN2v_cos): Removed.
28486 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
28488 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
28489 Don't include <sysdep.h> nor <init-arch.h>.
28490 (_ZGVdN4v_cos): Removed.
28491 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
28493 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
28494 Don't include <sysdep.h> nor <init-arch.h>.
28495 (_ZGVeN8v_cos): Removed.
28496 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
28498 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
28499 Don't include <sysdep.h> nor <init-arch.h>.
28500 (_ZGVbN2v_exp): Removed.
28501 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
28503 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
28504 Don't include <sysdep.h> nor <init-arch.h>.
28505 (_ZGVdN4v_exp): Removed.
28506 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
28508 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
28509 Don't include <sysdep.h> nor <init-arch.h>.
28510 (_ZGVeN8v_exp): Removed.
28511 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
28513 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
28514 Don't include <sysdep.h> nor <init-arch.h>.
28515 (_ZGVbN2v_log): Removed.
28516 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
28518 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
28519 Don't include <sysdep.h> nor <init-arch.h>.
28520 (_ZGVdN4v_log): Removed.
28521 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
28523 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
28524 Don't include <sysdep.h> nor <init-arch.h>.
28525 (_ZGVeN8v_log): Removed.
28526 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
28528 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
28529 Don't include <sysdep.h> nor <init-arch.h>.
28530 (_ZGVbN2vv_pow): Removed.
28531 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
28533 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
28534 Don't include <sysdep.h> nor <init-arch.h>.
28535 (_ZGVdN4vv_pow): Removed.
28536 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
28538 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
28539 Don't include <sysdep.h> nor <init-arch.h>.
28540 (_ZGVeN8vv_pow): Removed.
28541 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
28543 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
28544 Don't include <sysdep.h> nor <init-arch.h>.
28545 (_ZGVbN2v_sin): Removed.
28546 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
28548 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
28549 Don't include <sysdep.h> nor <init-arch.h>.
28550 (_ZGVbN4v_sin): Removed.
28551 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
28553 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
28554 Don't include <sysdep.h> nor <init-arch.h>.
28555 (_ZGVbN8v_sin): Removed.
28556 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
28558 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
28559 Don't include <sysdep.h> nor <init-arch.h>.
28560 (_ZGVbN2vvv_sincos): Removed.
28561 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
28563 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
28564 Don't include <sysdep.h> nor <init-arch.h>.
28565 (_ZGVdN4vvv_sincos): Removed.
28566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
28568 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
28569 Don't include <sysdep.h> nor <init-arch.h>.
28570 (_ZGVeN8vvv_sincos): Removed.
28571 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
28573 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
28574 Don't include <sysdep.h> nor <init-arch.h>.
28575 (_ZGVeN16v_cosf): Removed.
28576 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
28578 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
28579 Don't include <sysdep.h> nor <init-arch.h>.
28580 (_ZGVbN4v_cosf): Removed.
28581 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
28583 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
28584 Don't include <sysdep.h> nor <init-arch.h>.
28585 (_ZGVdN8v_cosf): Removed.
28586 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
28588 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
28589 Don't include <sysdep.h> nor <init-arch.h>.
28590 (_ZGVeN16v_expf): Removed.
28591 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
28593 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
28594 Don't include <sysdep.h> nor <init-arch.h>.
28595 (_ZGVbN4v_expf): Removed.
28596 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
28598 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
28599 Don't include <sysdep.h> nor <init-arch.h>.
28600 (_ZGVdN8v_expf): Removed.
28601 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
28603 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
28604 Don't include <sysdep.h> nor <init-arch.h>.
28605 (_ZGVeN16v_logf): Removed.
28606 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
28608 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
28609 Don't include <sysdep.h> nor <init-arch.h>.
28610 (_ZGVbN4v_logf): Removed.
28611 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
28613 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
28614 Don't include <sysdep.h> nor <init-arch.h>.
28615 (_ZGVdN8v_logf): Removed.
28616 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
28618 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
28619 Don't include <sysdep.h> nor <init-arch.h>.
28620 (_ZGVeN16vv_powf): Removed.
28621 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
28623 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
28624 Don't include <sysdep.h> nor <init-arch.h>.
28625 (_ZGVbN4vv_powf): Removed.
28626 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
28628 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
28629 Don't include <sysdep.h> nor <init-arch.h>.
28630 (_ZGVdN8vv_powf): Removed.
28631 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
28633 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
28634 Don't include <sysdep.h> nor <init-arch.h>.
28635 (_ZGVeN16vvv_sincosf): Removed.
28636 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
28638 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
28639 Don't include <sysdep.h> nor <init-arch.h>.
28640 (_ZGVbN4vvv_sincosf): Removed.
28641 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
28643 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
28644 Don't include <sysdep.h> nor <init-arch.h>.
28645 (_ZGVdN8vvv_sincosf): Removed.
28646 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
28648 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
28649 Don't include <sysdep.h> nor <init-arch.h>.
28650 (_ZGVeN16v_sinf): Removed.
28651 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
28653 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
28654 Don't include <sysdep.h> nor <init-arch.h>.
28655 (_ZGVbN4v_sinf): Removed.
28656 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
28658 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
28659 Don't include <sysdep.h> nor <init-arch.h>.
28660 (_ZGVdN8v_sinf): Removed.
28662 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28664 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28665 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
28666 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
28667 s_rint-sse4_1 and s_rintf-sse4_1.
28668 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
28669 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
28670 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
28671 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
28672 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
28673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
28674 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
28675 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
28676 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
28677 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
28678 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
28679 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28681 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
28682 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
28683 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28684 (__ceilf): Removed.
28685 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
28686 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
28687 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28688 (__floor): Removed.
28689 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
28690 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
28691 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28692 (__floorf): Removed.
28693 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
28694 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
28695 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28696 (__nearbyint): Removed.
28697 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
28698 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
28699 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28700 (__nearbyintf): Removed.
28701 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
28702 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
28703 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28705 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
28706 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
28707 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28708 (__rintf): Removed.
28710 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28712 * sysdeps/i386/start.S (_start): Check Check PIC instead of
28713 SHARED. Avoid dynamic relocation against main in static PIE.
28715 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28718 * elf/Makefile (CFLAGS-tst-prelink.c): New.
28719 (LDFLAGS-tst-prelink): Likewise.
28721 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28723 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
28724 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
28725 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
28726 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28727 (INTERNAL_SYSCALL_NCS): Likewise.
28728 (LOADARGS_1): Likewise.
28729 (LOADARGS_5): Likewise.
28730 (RESTOREARGS_1): Likewise.
28731 (RESTOREARGS_5): Likewise.
28733 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28735 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
28736 (MEMPCPY_SYMBOL): Likewise.
28737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28738 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
28739 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
28741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28742 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
28744 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
28745 (__hidden_ver1): Don't use in libc.a.
28746 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
28747 (__mempcpy): Don't create a weak alias in libc.a.
28748 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
28750 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
28751 (__hidden_ver1): Don't use in libc.a.
28753 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28755 * config.make.in (have-insert): New.
28756 * configure.ac (libc_cv_insert): New. Set to yes if linker
28757 supports INSERT in linker script.
28758 (AC_SUBST(libc_cv_insert): New.
28759 * configure: Regenerated.
28760 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
28761 if $(have-insert) == yes.
28763 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28765 * elf/Makefile (tests): Add vismain only if
28766 $(have-protected-data) == yes.
28767 (tests-pie): Likewise.
28769 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28772 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
28773 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
28775 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28778 * sysdeps/i386/i586/memset.S
28779 (__memset_zero_constant_len_parameter): Removed.
28780 * sysdeps/i386/i686/memset.S
28781 (__memset_zero_constant_len_parameter): Likewise.
28782 * sysdeps/i386/i686/multiarch/memset_chk.S
28783 (__memset_zero_constant_len_parameter): Likewise.
28784 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
28787 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
28789 * stdlib/getentropy.c (getentropy): Change return type to int.
28791 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
28793 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
28795 2017-08-03 Joseph Myers <joseph@codesourcery.com>
28797 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
28799 * math/s_nexttowardf.c (__nexttowardf): Likewise.
28800 * sysdeps/generic/math_private.h (ieee_double_shape_type):
28802 (ieee_float_shape_type): Likewise.
28803 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
28804 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
28805 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28806 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28807 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28808 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
28809 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
28810 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
28811 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28813 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
28814 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28815 (__ieee754_yn): Likewise.
28816 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28817 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28818 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
28820 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28821 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
28822 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
28823 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
28824 (__erfc): Likewise.
28825 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28826 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
28827 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
28828 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
28829 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
28830 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
28832 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28833 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
28834 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28835 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
28836 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
28837 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
28838 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
28839 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
28840 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
28841 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28842 (__issignaling): Likewise.
28843 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
28844 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
28845 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28847 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28848 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28849 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
28850 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
28852 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
28854 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
28855 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
28856 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
28857 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28858 (__erfcf): Likewise.
28859 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28860 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28861 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
28862 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
28864 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
28865 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
28867 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28868 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
28869 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28870 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
28871 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
28872 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28873 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
28874 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
28876 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
28878 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28880 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
28881 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28883 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28885 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28886 (__ieee754_ynl): Likewise.
28887 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28888 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
28890 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
28892 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28893 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
28894 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28896 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28897 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
28898 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
28899 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
28900 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
28901 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28902 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
28903 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
28905 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
28906 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
28907 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
28909 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
28910 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
28911 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
28912 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28913 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
28914 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28916 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28920 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28922 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
28923 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28924 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28925 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
28926 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28927 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
28928 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
28930 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28932 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28933 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28935 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
28936 (__ieee754_remainderl): Likewise.
28937 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28938 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28939 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28940 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28942 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28943 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28945 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28946 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
28947 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28948 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28949 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28952 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28953 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
28954 (__ieee754_y0l): Likewise.
28957 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28958 (__ieee754_y1l): Likewise.
28961 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28962 (__ieee754_ynl): Likewise.
28963 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
28964 (__ieee754_lgammal_r): Likewise.
28965 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
28967 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28968 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
28969 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28970 (__erfcl): Likewise.
28971 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
28972 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
28974 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
28975 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
28976 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28977 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
28978 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
28979 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28980 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28982 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
28983 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28984 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
28985 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
28986 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28988 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
28989 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
28991 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
28992 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
28993 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
28994 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28995 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
28997 2017-08-03 Florian Weimer <fweimer@redhat.com>
29000 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
29001 on memory allocation failure.
29003 2017-08-03 Alan Modra <amodra@gmail.com>
29005 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
29006 tst-tlsopt-powerpc.c with function name change and no test harness.
29007 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
29008 Call tls_get_addr_opt_test.
29009 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
29010 (modules-names): Add mod-tlsopt-powerpc.
29011 (mod-tlsopt-powerpc.so-no-z-defs): Define.
29012 (tst-tlsopt-powerpc): Depend on .so.
29013 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
29014 define. Expand use in TLS_GD and TLS_LD.
29016 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29018 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
29020 * sysdeps/posix/shm_open.c: Include <pthread.h>.
29022 2017-08-02 Joseph Myers <joseph@codesourcery.com>
29025 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
29026 comparing size with that of double.
29027 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29028 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29029 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29030 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29031 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29032 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
29033 unsigned __int128 types.
29035 2017-08-02 Steve Ellcey <sellcey@cavium.com>
29037 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
29038 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
29039 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
29040 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
29041 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
29043 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29045 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
29047 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29049 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
29051 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29052 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29053 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29054 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29055 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29056 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29057 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29059 2017-08-02 Joseph Myers <joseph@codesourcery.com>
29062 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
29063 bit-field expressions passed to sizeof or typeof.
29064 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29065 (__TGMATH_F128): Likewise.
29066 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29067 (__TGMATH_CF128): Likewise.
29068 (__TGMATH_UNARY_REAL_ONLY): Likewise.
29069 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
29070 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
29071 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
29072 (__TGMATH_BINARY_REAL_ONLY): Likewise.
29073 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29074 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29075 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29076 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29077 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
29078 (__TGMATH_UNARY_REAL_IMAG): Likewise.
29079 (__TGMATH_UNARY_IMAG): Likewise.
29080 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
29081 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29082 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
29084 (define_vars_for_type): Handle bit_field type specially.
29085 (Tests.__init__): Declare structure with bit-field element.
29087 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29090 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
29091 (MEMCPY_CHK): Define only if SHARED is defined.
29092 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
29094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
29097 See ChangeLog.18 for earlier changes.