1 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3 * scripts/gen-as-const.py (main): Handle --python option.
4 * scripts/gen-py-const.awk: Remove.
5 * Makerules (py-const-script): Use gen-as-const.py.
6 ($(py-const)): Likewise.
7 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
10 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
11 ~PTHREAD_MUTEX_NO_ELISION_NP.
12 * manual/README.pretty-printers: Update reference to
15 * scripts/glibcextract.py: New file.
16 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
17 or tempfile. Import glibcexctract.
18 (compute_c_consts): Remove. Moved to glibcextract.py.
19 (gen_test): Update reference to compute_c_consts.
21 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
22 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
23 * sysdeps/unix/sysv/linux/Makefile
24 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
25 Redirect stderr as well as stdout.
27 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
30 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
31 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
32 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
34 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
36 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
39 2018-12-10 Florian Weimer <fweimer@redhat.com>
42 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
43 offset instead of count for clarity. Fix typo in comment.
44 (__old_getdents64): Keep track of previous offset. Use it to call
46 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
47 that d_off is never zero.
49 2018-12-10 Andreas Schwab <schwab@suse.de>
51 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
52 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
54 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
55 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
57 2018-12-10 Joseph Myers <joseph@codesourcery.com>
59 * timezone/private.h: Update from tzcode 2018g.
60 * timezone/tzfile.h: Likewise.
61 * timezone/tzselect.ksh: Likewise.
62 * timezone/zdump.c: Likewise.
63 * timezone/zic.c: Likewise.
65 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
68 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
69 (do_test): Adjust buffer size and fix format.
71 2018-12-07 DJ Delorie <dj@redhat.com>
74 * malloc/tst-tcfree3.c: New.
75 * malloc/Makefile: Add it.
77 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
79 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
81 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
83 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
84 used as a mask for the mode argument of __vfscanf_internal and
86 * stdio-common/vfscanf-internal.c
87 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
88 (__strtof128_internal): Define to __wcstof128_internal.
89 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
90 __strtof128_internal or __wcstof128_internal when the format of
91 long double is the same as _Float128.
93 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
95 * include/unistd.h (__confstr): Add prototype and hidden prototype.
96 * posix/confstr.c (confstr): Rename to __confstr.
97 (__confstr): Add hidden def.
98 (confstr): Add weak alias for __confstr.
99 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
102 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
104 * NEWS: Mention getcpu.
105 * include/sched.h (__getcpu): New libc_hidden_proto.
106 * manual/resource.texi: Document getcpu.
107 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
108 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
109 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
110 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
111 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
112 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
113 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
114 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
115 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
116 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
117 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
118 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
119 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
121 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
122 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
123 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
132 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
133 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
134 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
135 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
136 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
137 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
138 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
139 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
140 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
141 * sysdeps/unix/sysv/linux/getcpu.c: New file.
142 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
145 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
147 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
149 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
151 2018-12-07 Florian Weimer <fweimer@redhat.com>
154 * posix/Makefile (routines): Add spawn_faction_addfchdir.
155 * posix/Versions (GLIBC_2.29): Export
156 posix_spawn_file_actions_addfchdir_np.
157 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
158 * posix/spawn_faction_destroy.c
159 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
160 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
161 and the field action.fchdir_action.
162 * posix/tst-spawn-chdir.c (add_chdir): New function.
163 (do_test): Add do_fchdir loop. Call add_chdir.
164 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
165 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
166 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
167 posix_spawn_file_actions_addfchdir_np.
168 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
170 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
172 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
173 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
175 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
177 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
179 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
181 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
183 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
185 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
186 (GLIBC_2.29): Likewise.
187 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
188 (GLIBC_2.29): Likewise.
189 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
190 (GLIBC_2.29): Likewise.
191 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
192 (GLIBC_2.29): Likewise.
193 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
196 (GLIBC_2.29): Likewise.
197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
198 (GLIBC_2.29): Likewise.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
200 (GLIBC_2.29): Likewise.
201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
202 (GLIBC_2.29): Likewise.
203 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
205 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
207 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
209 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
210 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
212 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
214 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
216 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
219 2018-12-06 Joseph Myers <joseph@codesourcery.com>
221 * manual/texinfo.tex: Update to version 2018-09-21.20 with
222 trailing whitespace removed.
223 * scripts/config.guess: Update to version 2018-11-28.
224 * scripts/config.sub: Update to version 2018-11-28.
225 * scripts/install-sh: Update to version 2018-03-11.20.
226 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
227 * scripts/move-if-change: Update to version 2018-03-07 03:47.
229 2018-12-07 Florian Weimer <fweimer@redhat.com>
233 * inet/tst-if_index-long.c: New file.
234 * inet/Makefile (tests): Add tst-if_index-long.
236 2018-12-07 Florian Weimer <fweimer@redhat.com>
238 * support/check.h (support_record_failure_is_failed): Declare.
239 * support/descriptors.h: New file.
240 * support/support_descriptors.c: Likewise.
241 * support/tst-support_descriptors.c: Likewise.
242 * support/support_record_failure.c
243 (support_record_failure_is_failed): New function.
244 * support/Makefile (libsupport-routines): Add support_descriptors.
245 (tests): Add tst-support_descriptors.
247 2018-12-05 Zack Weinberg <zackw@panix.com>
248 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
250 * stdio-common/vfprintf-internal.c
251 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
252 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
253 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
254 and __no_long_double.
255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
256 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
258 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
259 and __nldbl_*syslog* functions.
260 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
261 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
262 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
263 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
264 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
265 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
266 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
267 (__nldbl_vwprintf, __nldbl_wprintf):
268 Directly call the appropriate __v*printf_internal routine, passing
269 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
271 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
272 (__nldbl___printf_chk, __nldbl___snprintf_chk)
273 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
274 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
275 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
276 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
277 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
278 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
279 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
280 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
281 Likewise, and also pass PRINTF_FORTIFY when appropriate.
282 (__nldbl_syslog, __nldbl_vsyslog):
283 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
284 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
286 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
289 2018-12-05 Zack Weinberg <zackw@panix.com>
290 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
293 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
294 Moved here from debug/vsprintf_chk.c.
295 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
296 and completion logic for the strfile to match exactly what
297 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
298 _IO_str_init_static_internal instead of maxlen-1.
299 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
300 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
303 * debug/vsprintf_chk.c (__vsprintf_chk)
304 * debug/sprintf_chk.c (__sprintf_chk):
305 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
306 'flags' argument is positive, and slen as maxlen. No need to lock
307 the FILE and/or construct a temporary FILE. Minimize and normalize
308 header inclusions and variable names. Do not libc_hidden_def anything.
310 * debug/asprintf_chk.c (__asprintf_chk)
311 * debug/dprintf_chk.c (__dprintf_chk)
312 * debug/fprintf_chk.c (__fprintf_chk)
313 * debug/fwprintf_chk.c (__fwprintf_chk)
314 * debug/printf_chk.c (__printf_chk)
315 * debug/snprintf_chk.c (__snprintf_chk)
316 * debug/swprintf_chk.c (__swprintf_chk)
317 * debug/vasprintf_chk.c (__vasprintf_chk)
318 * debug/vdprintf_chk.c (__vdprintf_chk)
319 * debug/vfprintf_chk.c (__vfprintf_chk)
320 * debug/vfwprintf_chk.c (__vfwprintf_chk)
321 * debug/vprintf_chk.c (__vprintf_chk)
322 * debug/vsnprintf_chk.c (__vsnprintf_chk)
323 * debug/vswprintf_chk.c (__vswprintf_chk)
324 * debug/vwprintf_chk.c (__vwprintf_chk)
325 * debug/wprintf_chk.c (__wprintf_chk):
326 Directly call the corresponding vxxprintf_internal function, passing
327 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
328 the FILE and/or construct a temporary FILE. Minimize and normalize
329 header inclusions and variable names. Do not libc_hidden_def anything.
331 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
332 __obstack_vprintf_internal.
333 (__obstack_vprintf_chk): Convert into a wrapper that calls
334 __obstack_vprintf_internal (these two functions already had the
335 same code) and move to new file...
336 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
338 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
339 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
340 * debug/Makefile (routines): Add vobprintf_chk.
342 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
343 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
344 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
345 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
346 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
347 (__nldbl___obstack_vfprintf_chk):
348 Directly call the corresponding vxxprintf_internal function,
349 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
350 duplicate comparison of slen with 0 or maxlen from the corresponding
351 non-__nldbl function.
353 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
354 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
355 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
356 Remove libc_hidden_proto.
358 * stdio-common/vfprintf-internal.c
359 (__vfprintf_internal, __vfwprintf_internal):
360 Do not check _IO_FLAGS2_FORTIFY.
361 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
362 * libio/libioP.h: Update prototype of __vsprintf_internal and add
363 a comment explaining why it has the maxlen argument.
364 (_IO_acquire_lock_clear_flags2_fct): Remove.
365 (_IO_acquire_lock_clear_flags2): Remove.
366 (_IO_release_lock): Remove conditional statement which will
368 (_IO_acquire_lock): Remove variable which is now unused.
369 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
370 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
372 * stdio-common/Makefile (tests): Add tst-bz11319 and
373 tst-bz11319-fortify2.
374 (CFLAGS-tst-bz11319-fortify2.c): New macro.
375 * stdio-common/tst-bz11319-fortify2.c: New file.
376 * stdio-common/tst-bz11319.c: Likewise.
378 2018-12-05 Zack Weinberg <zackw@panix.com>
379 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
381 * misc/syslog.c: Include libioP.h, not iolibio.h.
382 (__vsyslog_internal): New function with the former body of
383 __vsyslog_chk; takes mode_flags argument same as
384 __v*printf_internal. Call __vfprintf_internal directly.
386 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
387 Remove libc_hidden_def.
388 (__syslog, __syslog_chk): Use __vsyslog_internal.
389 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
391 * include/sys/syslog.h: Add multiple inclusion guard.
392 Add prototype for __vsyslog_internal.
393 Remove declaration and libc_hidden_proto for __vsyslog_chk.
395 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
396 Use __vsyslog_internal.
398 2018-12-05 Zack Weinberg <zackw@panix.com>
399 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
401 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
402 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
403 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
405 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
406 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
408 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
409 Include wctype.h here if COMPILE_WPRINTF is defined.
410 Define __vfprintf_internal or __vfwprintf_internal, depending
412 Temporarily, on entry to this function, update mode_flags
413 according to the environmental settings corresponding to
414 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
415 Throughout, check mode_flags instead of __ldbl_is_dbl and
416 _IO_FLAGS2_FORTIFY on the destination FILE.
417 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
418 Include vfprintf-internal.c. Don't include wctype.h.
419 * stdio-common/vfprintf.c: New file. Just define __vfprintf
420 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
422 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
423 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
425 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
427 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
428 and add mode_flags argument; use __vfprintf_internal.
429 (__vdprintf): New function. Alias vdprintf to this.
430 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
431 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
432 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
433 (__obstack_printf): Use __obstack_printf_internal.
434 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
435 public aliases __vsnprintf and vsnprintf.
436 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
438 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
439 public aliases _IO_vsprintf and vsprintf.
440 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
441 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
442 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
443 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
444 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
446 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
447 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
448 * stdio-common/fprintf.c, stdio-common/fxprintf.c
449 * stdio-common/printf.c: Use __vfprintf_internal.
451 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
452 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
453 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
456 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
457 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
458 __vfwprintf_internal.
460 * libio/libio.h: Remove libc_hidden_proto and declaration for
462 Remove declaration of _IO_vfwprintf.
463 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
465 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
467 * include/stdio.h: Add prototype for __vasprintf.
468 (__vsnprintf): Remove declaration, because there are no more
470 * include/wchar.h (__vfwprintf, __vswprintf): Remove
471 declaration, because there are no more internal calls.
473 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
474 __vsnprintf_internal, instead of _IO_vsnprintf.
475 * argp/argp-help.c (__argp_error, __argp_failure): Use
476 __vasprintf_internal, instead of _IO_vasprintf.
477 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
478 redefine, because there are no more internal calls.
480 2018-12-05 Zack Weinberg <zackw@panix.com>
481 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
483 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
484 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
485 Include libio/strfile.h instead of libioP.h.
486 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
487 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
488 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
489 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
490 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
491 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
492 necessary. Do not set __no_long_double. Normalize variable names.
493 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
494 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
495 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
496 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
497 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
498 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
499 Call __vfscanf_internal / __vfwscanf_internal directly, passing
500 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
501 Do not set __no_long_double. Normalize variable names.
503 2018-12-05 Zack Weinberg <zackw@panix.com>
504 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
506 * stdio-common/isoc99_scanf.c
507 * stdio-common/isoc99_fscanf.c
508 * stdio-common/isoc99_sscanf.c
509 * stdio-common/isoc99_vscanf.c
510 * stdio-common/isoc99_vfscanf.c
511 * stdio-common/isoc99_vsscanf.c
512 * wcsmbs/isoc99_wscanf.c
513 * wcsmbs/isoc99_fwscanf.c
514 * wcsmbs/isoc99_swscanf.c
515 * wcsmbs/isoc99_vwscanf.c
516 * wcsmbs/isoc99_vfwscanf.c
517 * wcsmbs/isoc99_vswscanf.c:
518 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
519 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
520 No need to lock and unlock the FILE passed to that function.
522 * stdio-common/vfscanf-internal.c
523 (__vfscanf_internal, __vfwscanf_internal):
524 Don't look at _IO_FLAGS2_SCANF_STD.
525 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
526 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
527 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
529 2018-12-05 Zack Weinberg <zackw@panix.com>
530 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
532 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
533 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
534 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
535 * libio/strfile.h: Add multiple inclusion guard.
536 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
538 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
539 consistency with the other version of this file.
540 (ldbl_compat_symbol): New macro.
541 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
544 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
545 Define __vfscanf_internal or __vfwscanf_internal, depending on
546 COMPILE_WSCANF; don't define any other public symbols.
547 Remove errval and code to set errp.
548 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
549 as the mode_flags argument.
550 (encode_error, conv_error, input_error): Don't set errval.
551 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
552 Include vfscanf-internal.c.
553 * stdio-common/vfscanf.c: New file defining the public entry
554 point vfscanf, which calls __vfscanf_internal.
555 * stdio-common/vfwscanf.c: New file defining the public entry
556 point vfwscanf, which calls __vfwscanf_internal.
558 * stdio-common/iovfscanf.c: New file.
559 * stdio-common/iovfwscanf.c: Likewise.
561 * stdio-common/Makefile (routines): Add vfscanf-internal,
562 vfwscanf-internal, iovfscanf, iovfwscanf.
563 * stdio-common/Versions: Mention GLIBC_2.29, so that
564 it can be used in SHLIB_COMPAT expressions.
565 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
566 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
567 Call __vfscanf_internal, instead of _IO_vfscanf.
568 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
570 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
573 * libio/iovsscanf.c: Clean up includes, when possible. Use
574 _IO_strfile_read or _IO_strfile_readw, when needed. Call
575 __vfscanf_internal or __vfwscanf_internal directly.
576 * libio/iovswscanf.c: Likewise.
577 * libio/swscanf.c: Likewise.
578 * libio/vscanf.c: Likewise.
579 * libio/vwscanf.c: Likewise.
580 * libio/wscanf.c: Likewise.
581 * stdio-common/isoc99_fscanf.c: Likewise.
582 * stdio-common/isoc99_scanf.c: Likewise.
583 * stdio-common/isoc99_sscanf.c: Likewise.
584 * stdio-common/isoc99_vfscanf.c: Likewise.
585 * stdio-common/isoc99_vscanf.c: Likewise.
586 * stdio-common/isoc99_vsscanf.c: Likewise.
587 * stdio-common/scanf.c: Likewise.
588 * stdio-common/sscanf.c: Likewise.
589 * wcsmbs/isoc99_fwscanf.c: Likewise.
590 * wcsmbs/isoc99_swscanf.c: Likewise.
591 * wcsmbs/isoc99_vfwscanf.c: Likewise.
592 * wcsmbs/isoc99_vswscanf.c: Likewise.
593 * wcsmbs/isoc99_vwscanf.c: Likewise.
594 * wcsmbs/isoc99_wscanf.c: Likewise.
596 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
599 (__tz_compute): Replace time_t with __time64_t.
600 (__tz_convert): Replace time_t* with __time64_t.
601 (__offtime): Replace time_t* with __time64_t.
603 (__gmtime_r): Adjust call to __tz_convert.
606 (__localtime_r): Likewise.
607 (localtime): Likewise.
608 * time/offtime.c: Replace time_t with __time64_t.
609 * time/tzset.c: Likewise.
611 2018-12-04 Joseph Myers <joseph@codesourcery.com>
613 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
614 dynamic linker unless [$(run-built-tests) = yes].
616 2018-12-03 DJ Delorie <dj@delorie.com>
618 * support/test-container.c (check_for_unshare_hints): New.
619 (main): Call it if unshare fails. Add support for "su" scriptlet
622 2018-12-03 Joseph Myers <joseph@codesourcery.com>
624 * scripts/gen-as-const.py (compute_c_consts): Take an argument
625 'START' to indicate that start text should be output.
626 (gen_test): Likewise.
627 (main): Generate 'START' for first symbol or '--' line, or at end
628 of input if not previously generated.
630 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
633 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
634 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
635 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
638 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
641 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
644 2018-12-03 Carlos O'Donell <carlos@redhat.com>
647 * locale/programs/localedef.c: Declare boolean hard_links default true.
648 (options): Add --no-hard-links option.
649 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
650 * locale/programs/localedef.h: Declare prototype for hard_links.
651 * locale/programs/locfile.c (write_locale_data): Don't use hard
652 links if hard_links is false.
654 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
656 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
658 (__cache_sysconf): Likewise.
659 (init_cacheinfo): Likewise.
660 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
661 populate COMMON_CPUID_INDEX_80000007 and
662 COMMON_CPUID_INDEX_80000008.
663 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
664 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
665 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
666 (init_cpu_features): Use _Static_assert on
667 index_arch_Fast_Unaligned_Load.
668 __get_cpuid_registers and __get_arch_feature. Updated for
669 cpu_features_basic. Set stepping in cpu_features.
670 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
671 (FEATURE_INDEX_2): New.
672 (FEATURE_INDEX_MAX): Changed to enum.
673 (COMMON_CPUID_INDEX_D_ECX_1): New.
674 (COMMON_CPUID_INDEX_80000007): Likewise.
675 (COMMON_CPUID_INDEX_80000008): Likewise.
676 (cpuid_registers): Likewise.
677 (cpu_features_basic): Likewise.
678 (CPU_FEATURE_USABLE): Likewise.
679 (bit_arch_XXX_Usable): Likewise.
680 (cpu_features): Use cpuid_registers and cpu_features_basic.
681 (bit_arch_XXX): Reweritten.
682 (bit_cpu_XXX): Likewise.
683 (index_cpu_XXX): Likewise.
685 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
687 (CHECK_CPU_FEATURE): New.
688 (CHECK_CPU_FEATURE_USABLE): Likewise.
689 (cpu_kinds): Likewise.
690 (do_test): Print vendor, family, model and stepping. Check
691 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
692 (TEST_FUNCTION): Removed.
693 Include <support/test-driver.c> instead of
694 "../../test-skeleton.c".
695 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
696 Check POPCNT instead of POPCOUNT.
697 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
699 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
701 * scripts/gen-as-const.py (main): Avoid emitting empty line when
702 there is no element in `consts'.
704 2018-12-01 Florian Weimer <fweimer@redhat.com>
706 * support/support_capture_subprocess.c
707 (support_capture_subprocess): Check that pipe descriptors have
708 expected values. Close original pipe descriptors in subprocess.
710 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
713 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
714 attr with __pthread_default_barrierattr.
715 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
716 attr with __pthread_default_condattr.
717 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
718 attr with __pthread_default_mutexattr.
719 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
720 attr with __pthread_default_rwlockattr.
722 2018-12-01 Kemi Wang <kemi.wang@intel.com>
724 * manual/tunables.texi (POSIX Thread Tunables): New node.
725 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
726 * nptl/nptl-init.c: Include pthread_mutex_conf.h
727 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
728 __pthread_tunables_init.
729 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
730 (max_adaptive_count): Define.
731 * nptl/pthread_mutex_conf.c: New file.
732 * nptl/pthread_mutex_conf.h: New file.
733 * sysdeps/generic/adaptive_spin_count.h: New file.
734 * sysdeps/nptl/dl-tunables.list: New file.
735 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
736 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
737 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
740 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
743 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
744 * stdlib/on_exit.c (__on_exit): Likewise.
745 * stdlib/Makefile (tests): Add tst-bz20544.
746 * stdlib/tst-bz20544.c: New test.
748 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
751 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
752 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
755 2018-11-30 Florian Weimer <fweimer@redhat.com>
757 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
758 Extend error logging.
759 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
762 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
764 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
765 __sigismember instead of sigismember.
766 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
767 cancel_handler): New definitions.
768 (do_system): Use posix_spawn instead of fork and execl and remove
770 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
771 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
772 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
773 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
774 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
775 * sysdeps/unix/sysv/linux/system.c: Likewise.
779 * NEWS: Add new semantic for atfork with popen and system.
780 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
783 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
786 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
787 modification order when accessing reloc_result->addr.
788 * include/link.h (reloc_result): Add field init.
789 * nptl/Makefile (tests): Add tst-audit-threads.
790 (modules-names): Add tst-audit-threads-mod1 and
791 tst-audit-threads-mod2.
792 Add rules to build tst-audit-threads.
793 * nptl/tst-audit-threads-mod1.c: New file.
794 * nptl/tst-audit-threads-mod2.c: Likewise.
795 * nptl/tst-audit-threads.c: Likewise.
796 * nptl/tst-audit-threads.h: Likewise.
798 2018-11-30 Joseph Myers <joseph@codesourcery.com>
800 * scripts/gen-as-const.py: New file.
801 * scripts/gen-as-const.awk: Remove.
802 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
804 ($(objpfx)test-as-const-%.c): Likewise.
806 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
808 * elf/dl-exception.c: Include <_itoa.h>.
810 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
812 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
813 returned by __f_setlk.
815 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
816 Adhemerval Zanella <adhemerval.zanella@linaro.org>
818 * elf/Makefile (tests-internal): Add tst-create_format1.
819 * elf/dl-exception.c (_dl_exception_create_format): Support
821 * elf/tst-create_format1.c: New file.
823 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
825 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
826 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
828 * argp/argp-help.c (__argp_failure): Likewise.
830 2018-11-29 Mao Han <han_mao@c-sky.com>
832 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
833 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
834 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
835 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
836 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
837 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
838 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
839 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
840 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
841 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
842 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
843 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
844 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
845 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
846 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
847 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
848 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
849 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
850 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
851 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
852 (R_CKCORE_TLS_TPOFF32): New defines.
854 2018-11-29 Florian Weimer <fweimer@redhat.com>
856 * posix/Makefile (before-compile): Remove testcases.h and
858 (generated): Add testcases.h and ptestcases.h.
859 (testcases.h, ptestcases.h): Move to $(objpfx).
860 (runtests.o): Add dependency on testcases.h.
861 (runptests.o): Add dependency on ptestcases.h.
862 * posix/testcases.h, posix/ptestcases.h: Remove files.
863 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
864 not touch posix/testcases.h and posix/ptestcases.h.
866 2018-11-28 Florian Weimer <fweimer@redhat.com>
868 support: Add signal support to support_capture_subprocess_check.
869 * support/capture_subprocess.h (support_capture_subprocess_check):
870 Adjust comment and rename parameter.
871 * support/support_capture_subprocess_check.c
872 (print_actual_status): New function.
873 (support_capture_subprocess_check): Support negative
874 status_or_signal. Call print_actual_status.
875 * support/tst-support_capture_subprocess.c (do_test): Call
876 support_capture_subprocess_check.
877 * libio/tst-vtables-common.c (termination_status)
878 (init_termination_status): Remove.
879 (check_for_termination): Adjust support_capture_subprocess_check
881 (do_test): Remove call to init_termination_status.
883 2018-11-28 Joseph Myers <joseph@codesourcery.com>
885 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
886 source directory instead of a copy.
887 (CommandList.create_copy_dir): Remove.
889 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
891 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
893 2018-11-28 Florian Weimer <fweimer@redhat.com>
895 * support/support.h (support_quote_string): Do not use str
898 2018-11-27 Joseph Myers <joseph@codesourcery.com>
900 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
901 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
903 2018-11-27 Florian Weimer <fweimer@redhat.com>
905 * support/support.h (support_quote_string): Declare.
906 * support/support_quote_string.c: New file.
907 * support/tst-support_quote_string.c: Likewise.
908 * support/Makefile (libsupport-routines): Add
909 support_quote_string.
910 (tests): Add tst-support_quote_string.
912 2018-11-27 Florian Weimer <fweimer@redhat.com>
916 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
917 descriptor leak in case of ENODEV error.
919 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
922 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
923 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
926 2018-11-26 Carlos O'Donell <carlos@redhat.com>
928 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
929 Error for unknown lines.
931 2018-11-26 Joseph Myers <joseph@codesourcery.com>
933 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
934 Touch additional files.
936 2018-11-26 Florian Weimer <fweimer@redhat.com>
939 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
942 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
946 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
947 SHARED. Include sysdep.h.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
953 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
956 * nptl/Makefile (tests-static): Add tst-cond11-static.
958 * nptl/tst-cond11-static.c: New File.
959 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
962 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
964 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
965 (USE_VSYSCALL): Likewise.
966 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
967 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
969 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
974 2018-11-23 Joseph Myers <joseph@codesourcery.com>
977 * sysdeps/unix/sysv/linux/arm/kernel-features.h
978 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
981 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
983 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
984 (tst-cet-legacy-1a-ARGS): New.
985 ($(objpfx)tst-cet-legacy-1a): New target.
986 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
988 2018-11-22 Joseph Myers <joseph@codesourcery.com>
990 * conform/conformtest.py (CompileSubTest.__init__): Set
991 self.run_early to False.
992 (ExecuteSubTest.__init__): Likewise.
993 (HeaderTests.run): Try running all non-optional, non-XFAILed
994 compilation tests in a single execution of the compiler.
996 * conform/conformtest.py (CompileSubTest): New class.
997 (ExecuteSubTest): Likewise.
998 (ElementTest.run): Rename to gen_subtests. Append tests to
999 self.subtests instead of running them.
1000 (ConstantTest.run): Likewise.
1001 (SymbolTest.run): Likewise.
1002 (TypeTest.run): Likewise.
1003 (TagTest.run): Likewise.
1004 (FunctionTest.run): Likewise.
1005 (VariableTest.run): Likewise.
1006 (MacroFunctionTest.run): Likewise.
1007 (MacroStrTest.run): Likewise.
1008 (HeaderTests.handle_test_line): Generate subtests for tests.
1009 (HeaderTests.run): Run subtests for tests.
1011 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1013 * math/Versions (GLIBC_2.29): Add pow.
1014 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
1016 * math/w_pow.c: New file.
1017 * sysdeps/i386/fpu/w_pow.c: New file.
1018 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
1019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
1020 and add necessary aliases.
1021 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
1022 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
1023 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1024 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1025 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1026 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1027 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1028 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1029 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1030 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1031 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1032 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1033 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1034 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1035 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1040 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1041 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1042 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1044 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1045 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1046 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1047 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
1049 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
1050 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
1051 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
1053 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1055 * math/Versions (GLIBC_2.29): Add log2.
1056 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
1058 * math/w_log2.c: New file.
1059 * sysdeps/i386/fpu/w_log2.c: New file.
1060 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
1061 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
1062 and add necessary aliases.
1063 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
1064 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
1065 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1066 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1067 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1068 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1069 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1070 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1071 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1072 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1073 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1074 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1075 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1076 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1077 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1082 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1083 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1084 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1085 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1086 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1087 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1088 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1090 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1092 * math/Versions (GLIBC_2.29): Add log.
1093 * math/w_log_compat.c (__log_compat): Change to versioned compat
1095 * math/w_log.c: New file.
1096 * sysdeps/i386/fpu/w_log.c: New file.
1097 * sysdeps/ia64/fpu/e_log.S: Update.
1098 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
1099 and add necessary aliases.
1100 * sysdeps/ieee754/dbl-64/w_log.c: New file.
1101 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
1102 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1103 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1104 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1105 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1106 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1107 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1109 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1110 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1111 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1112 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1113 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1114 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1119 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1120 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1121 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1122 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1123 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1124 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1125 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1126 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
1128 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
1129 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
1130 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
1131 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
1133 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1135 * math/Versions (GLIBC_2.29): Add exp and exp2.
1136 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
1137 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
1138 * math/w_exp_compat.c (__exp_compat): Likewise.
1139 * math/w_exp.c: New file.
1140 * math/w_exp2.c: New file.
1141 * sysdeps/i386/fpu/w_exp.c: New file.
1142 * sysdeps/i386/fpu/w_exp2.c: New file.
1143 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
1144 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1145 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
1146 and add necessary aliases.
1147 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
1148 and add necessary aliases.
1149 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
1150 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
1151 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
1152 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
1153 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1154 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1155 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1156 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1157 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1158 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1159 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1160 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1161 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1162 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1163 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1164 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1165 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1170 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1171 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1172 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1173 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1175 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1176 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1177 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
1178 (__ieee754_exp): Rename to __exp.
1179 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
1180 (__ieee754_exp): Rename to __exp.
1181 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
1182 (__ieee754_exp): Rename to __exp.
1183 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
1185 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
1187 2018-11-20 DJ Delorie <dj@redhat.com>
1189 * malloc/malloc.c (tcache_entry): Add key field.
1190 (tcache_put): Set it.
1191 (tcache_get): Likewise.
1192 (_int_free): Check for double free in tcache.
1193 * malloc/tst-tcfree1.c: New.
1194 * malloc/tst-tcfree2.c: New.
1195 * malloc/Makefile: Run the new tests.
1196 * manual/probes.texi: Document memory_tcache_double_free probe.
1198 * dlfcn/dlerror.c (check_free): Prevent double frees.
1200 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
1202 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
1204 2018-11-20 Joseph Myers <joseph@codesourcery.com>
1206 * conform/conformtest.py (ElementTest.run): Use unique identifiers
1207 in tests. Use names for format arguments.
1208 (ConstantTest.run): Likewise.
1209 (SymbolTest.run): Likewise.
1210 (TypeTest.run): Likewise.
1211 (TagTest.run): Likewise.
1212 (FunctionTest.run): Likewise.
1213 (VariableTest.run): Likewise.
1214 (MacroFunctionTest.run): Likewise.
1215 (MacroStrTest.run): Likewise.
1216 (HeaderTests.__init__): Set self.num_tests.
1217 (HeaderTests.handle_test_line): Set test.num. Increment
1220 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
1222 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
1223 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
1226 2018-11-19 Mao Han <han_mao@c-sky.com>
1228 * scripts/config.guess: Update to version 2018-08-29.
1229 * scripts/config.sub: Update to version 2018-08-29.
1231 2018-11-19 Florian Weimer <fweimer@redhat.com>
1233 support: Print timestamps in timeout handler.
1234 * support/support_test_main.c (print_timestamp): New function.
1235 (signal_handler): Use it to print the termination time and the
1236 time of the last write to standard output.
1238 2018-11-16 Zack Weinberg <zackw@panix.com>
1239 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1241 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
1242 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
1244 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
1245 and add flags argument. Check flags instead of __ldbl_is_dbl when
1246 deciding whether to set is_long_double.
1247 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
1248 passing zero for flags argument.
1249 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
1251 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1252 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
1253 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
1254 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
1255 variable names. Remove libc_hidden_def/libc_hidden_proto from
1256 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
1257 longer called from within the library.
1258 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
1259 for __nldbl___vstrfmon_l, declare it explicitly.
1261 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
1263 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
1265 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
1267 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
1268 F_SETLK64, F_SETLKW64, respectively.
1269 * sysdeps/mach/hurd/f_setlk.c: New file.
1270 * sysdeps/mach/hurd/f_setlk.h: New file.
1271 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
1273 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
1274 (__libc_fcntl): Move non-flock operations to...
1275 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
1276 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
1278 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
1280 mktime: DEBUG_MKTIME cleanup
1281 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
1282 And it’s no longer needed now that glibc and Gnulib both have
1283 their own testing mechanisms for mktime.
1284 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
1286 mktime: fix non-EOVERFLOW errno handling
1288 mktime was not properly reporting failures when the underlying
1289 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
1290 them like EOVERFLOW failures, and set errno to EOVERFLOW.
1291 The problem could happen on non-glibc platforms, with Gnulib.
1292 * time/mktime.c (guess_time_tm): Remove, replacing with ...
1293 (tm_diff): ... this simpler function, which does not change errno.
1294 All callers changed to deal with errno themselves.
1295 (ranged_convert, __mktime_internal): Return failure immediately if
1296 the underlying function reports any failure other than EOVERFLOW.
1297 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
1300 mktime: fix bug with Y2038 DST transition
1302 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
1303 mishandle a DST transition that jumps over the Y2038 boundary.
1304 No such DST transitions are known so this is only a theoretical
1305 bug, but we might as well do things right.
1307 mktime: make more room for overflow
1309 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
1310 This is so that we can add tm_diff results to a previous guess,
1311 which will be useful in a later patch.
1313 mktime: simplify offset guess
1315 * time/mktime.c (__mktime_internal): Omit excess precision.
1317 mktime: new test for mktime failure
1319 Based on a test suggested by Albert Aribaud in:
1320 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
1321 * time/Makefile (tests): Add bug-mktime4.
1322 * time/bug-mktime4.c: New file.
1324 mktime: fix EOVERFLOW bug
1326 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
1327 Include libc-config.h, not config.h, for __set_errno.
1328 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
1330 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
1332 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
1333 __attribute_copy__ to copy attributes from name. Drop static qualifier
1334 to avoid warnings about leaf attribute not having effect on static
1337 2018-11-13 Florian Weimer <fweimer@redhat.com>
1339 * malloc/malloc.c (fastbin_push_entry): New function.
1340 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
1341 (REMOVE_FB): Remove macro.
1342 (_int_malloc): Use fastbin_pop_entry and reindent.
1343 (_int_free): Use fastbin_push_entry.
1344 (malloc_consolidate): Use atomic_exchange_acquire.
1346 2018-11-13 Joseph Myers <joseph@codesourcery.com>
1348 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
1349 alias attribute, not with strong_alias.
1351 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
1352 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
1353 with additional parameter thread.
1354 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
1355 in terms of __hidden_ver2.
1356 (hidden_tls_def): New macro.
1357 (libc_hidden_tls_def): Likewise.
1358 (rtld_hidden_tls_def): Likewise.
1359 (libm_hidden_tls_def): Likewise.
1360 (libmvec_hidden_tls_def): Likewise.
1361 (libresolv_hidden_tls_def): Likewise.
1362 (librt_hidden_tls_def): Likewise.
1363 (libdl_hidden_tls_def): Likewise.
1364 (libnss_files_hidden_tls_def): Likewise.
1365 (libnsl_hidden_tls_def): Likewise.
1366 (libnss_nisplus_hidden_tls_def): Likewise.
1367 (libutil_hidden_tls_def): Likewise.
1368 (libutil_hidden_tls_def): Likweise.
1369 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
1370 libc_hidden_tls_def.
1371 (__sim_disabled_exceptions_thread): Likewise.
1372 (__sim_round_mode_thread): Likewise.
1374 * sysdeps/sparc/sparc-ifunc.h [SHARED]
1375 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
1376 copy attributes from name.
1378 2018-11-12 Joseph Myers <joseph@codesourcery.com>
1380 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
1381 Use __attribute_copy__ to copy attributes from name.
1383 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
1384 with __hidden_ver1 call.
1385 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
1386 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
1387 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
1388 (__cosf): Do not declare here.
1389 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
1390 (__sincosf): Do not declare here.
1391 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
1392 (__sinf): Do not declare here.
1394 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
1395 (__BIG_ENDIAN): Likewise.
1396 (__BYTE_ORDER): Likewise.
1397 (strong_alias): Likewise.
1398 (_strong_alias): Likewise.
1400 2018-11-12 Florian Weimer <fweimer@redhat.com>
1402 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
1403 function. Move after the definition of in_smallbin_range. Do not
1404 use __builtin_expect for paths that lead to a noreturn function.
1405 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
1406 because it is unclear whether this is in fact an unlikely
1408 (_int_malloc, _int_free): Adjust.
1409 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
1411 * malloc/arena.c (heap_trim): Likewise.
1413 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1415 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
1416 it, free it if needed.
1417 (reauthenticate): Test and use ccwdir.
1418 (child_init_port): In non-resetids case, test and use ccwdir.
1419 (child_chdir): New nested function to set ccwdir.
1420 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
1421 * hurd/hurd/port.h (_hurd_port_move): New function.
1422 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
1423 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
1424 * hurd/Versions (_hurd_port_move): Export function.
1425 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
1427 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
1428 of dtablesize for allocating dtable_cloexec.
1430 2018-11-09 Martin Sebor <msebor@redhat.com>
1432 * include/libc-symbols.h (__attribute_copy__): Define macro unless
1433 it's already defined.
1434 (_strong_alias): Use __attribute_copy__.
1435 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
1436 * misc/sys/cdefs.h (__attribute_copy__): New macro.
1437 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
1438 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
1439 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
1440 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
1441 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
1442 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
1443 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
1444 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
1445 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
1446 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
1447 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
1448 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
1449 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
1450 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
1451 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
1452 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
1453 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
1455 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1457 * misc/tst-efgcvt.c: Include support/check.h and
1458 support/test-driver.c. Do not include test-skeleton.c.
1459 (error_count): Remove.
1460 (output_error): Replace increments to error_count with calls to
1461 support_record_failure.
1462 (output_r_error): Likewise.
1463 (special): Likewise.
1464 (do_test): Unconditionally return zero.
1465 (TEST_FUNCTION): Remove.
1467 2018-11-09 Joseph Myers <joseph@codesourcery.com>
1469 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
1471 ($(linknamespace-header-tests)): Likewise.
1473 * conform/conformtest.py: New file.
1474 * conform/conformtest.pl: Remove.
1475 * conform/GlibcConform.pm: Likewise.
1476 * conform/glibcconform.py (KEYWORDS_C90): New constant.
1477 (KEYWORDS_C99): Likewise.
1478 (KEYWORDS): Likewise.
1479 * conform/Makefile ($(conformtest-header-tests)): Use
1480 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
1481 option. Use --header instead of --headers.
1482 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
1484 * conform/data/spawn.h-data: Likewise.
1485 * conform/data/fcntl.h-data (openat): Add space after function
1487 * conform/data/wchar.h-data (wcscasecmp): Likewise.
1488 (wcscasecmp_l): Likewise.
1489 * conform/data/termios.h-data (c_cc): Add space after element
1492 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1494 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
1495 instead of manually comparing and reporting mismatching strings.
1496 * misc/tst-ldbl-error.c (do_one_test): Likewise.
1497 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1499 2018-11-08 Joseph Myers <joseph@codesourcery.com>
1501 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
1502 __ASSUME_SOCKETCALL.
1503 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1504 (__ASSUME_SOCKETCALL): Remove.
1505 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1506 (__ASSUME_SOCKETCALL): Likewise.
1507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1508 (__ASSUME_SOCKETCALL): Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1510 (__ASSUME_SOCKETCALL): Likewise.
1511 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1512 (__ASSUME_SOCKETCALL): Likewise.
1513 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1514 (__ASSUME_SOCKETCALL): Likewise.
1515 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1516 (__ASSUME_SOCKETCALL): Likewise.
1518 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
1521 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
1522 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
1523 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
1524 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
1525 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
1528 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
1531 * resolv/tst-resolv-network.c: Add test for getnetbyname.
1533 2018-11-07 Joseph Myers <joseph@codesourcery.com>
1536 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1537 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
1538 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1539 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
1541 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1543 * support/support_test_compare_string.c
1544 (support_test_compare_string): Fix printf format.
1546 2018-11-07 Florian Weimer <fweimer@redhat.com>
1548 Implement TEST_COMPARE_STRING.
1549 * support/check.h (TEST_COMPARE_STRING): Define.
1550 (support_test_compare_string): Declare.
1551 * support/Makefile (libsupport-routines): Add
1552 support_test_compare_string.
1553 (tests): Add tst-test_compare_string.
1554 * support/support_test_compare_string.c: New file.
1555 * support/tst-test_compare_string.c: Likewise.
1557 2018-11-07 Andreas Schwab <schwab@suse.de>
1560 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
1561 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
1564 2018-11-06 Joseph Myers <joseph@codesourcery.com>
1567 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1568 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
1569 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
1570 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1573 2018-11-06 Florian Weimer <fweimer@redhat.com>
1576 * posix/Makefile (routines): Add spawn_faction_addchdir.
1577 (tests): Add tst-spawn-chdir.
1578 * posix/Versions (GLIBC_2.29): Add
1579 posix_spawn_file_actions_addchdir_np.
1580 * posix/spawn_faction_addchdir.c: New file.
1581 * posix/spawn_faction_destroy.c
1582 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
1583 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
1584 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
1586 * posix/tst-spawn-chdir.c: New file.
1587 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
1588 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1589 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
1590 posix_spawn_file_actions_addchdir_np.
1591 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
1593 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
1595 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
1596 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
1598 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
1600 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
1602 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
1604 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
1606 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
1608 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1609 (GLIBC_2.29): Likewise.
1610 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1611 (GLIBC_2.29): Likewise.
1612 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1613 (GLIBC_2.29): Likewise.
1614 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1615 (GLIBC_2.29): Likewise.
1616 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1619 (GLIBC_2.29): Likewise.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1621 (GLIBC_2.29): Likewise.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1623 (GLIBC_2.29): Likewise.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1625 (GLIBC_2.29): Likewise.
1626 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1628 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1630 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1632 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1633 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1635 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1637 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1639 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1642 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1644 * misc/Makefile (tests): Add tst-ldbl-error.
1645 * misc/tst-ldbl-error.c: New file.
1647 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1649 * misc/Makefile (tests): Add tst-ldbl-warn.
1650 * misc/tst-ldbl-warn.c: New file.
1652 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1654 * argp/Makefile (tests): Add tst-ldbl-argp.
1655 * argp/tst-ldbl-argp.c: New file.
1657 2018-11-05 Arjun Shankar <arjun@redhat.com>
1659 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
1660 __gconv_path_elem and call __gconv_get_path unconditionally.
1662 2018-11-05 Andreas Schwab <schwab@suse.de>
1665 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
1666 creating the first helper thread failed.
1668 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1670 * sysdeps/mach/hurd/msync.c: New file.
1672 2018-11-02 Florian Weimer <fweimer@redhat.com>
1674 * support/shell-container.c (copy_func): Call
1675 support_copy_file_range instead of copy_file_range to support
1676 cross-device copies.
1678 2018-11-02 Florian Weimer <fweimer@redhat.com>
1680 * support/test-container.c: Include <libc-pointer-arith.h> for
1683 2018-11-01 Zong Li <zong@andestech.com>
1685 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
1686 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
1687 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
1688 (__FP_FRAC_SET_8): Add implementation for RV32 use.
1690 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
1691 variable to avoid overlap arguments.
1693 2018-11-01 Joseph Myers <joseph@codesourcery.com>
1695 * posix/bug-regex22.c (main): Use puts with distinct error
1696 messages for unexpected success of re_compile_pattern, not printf
1697 with NULL argument to %s.
1699 * stdio-common/bug22.c: Include <libc-diag.h>.
1700 (do_test): Disable -Wformat-overflow= warnings around fprintf
1701 calls outputting more than INT_MAX characters.
1702 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
1703 around printf call with NULL %s argument.
1706 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
1707 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
1709 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1710 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1711 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1712 (__ASSUME_SENDTO_SYSCALL): Likewise.
1713 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1714 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
1716 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1717 (__ASSUME_CONNECT_SYSCALL): Likewise.
1718 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1719 (__ASSUME_RECVFROM_SYSCALL): Likewise.
1720 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
1722 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
1724 [__LINUX_KERNEL_VERSION >= 0x040400]
1725 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1726 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
1729 (setsockopt): Likewise.
1731 2018-11-01 Fredrik Noring <noring@nocrew.org>
1733 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
1734 with the ISA override.
1736 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
1738 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
1741 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1743 * manual/errno.texi (EIEIO): Document how translators should
1744 translate the error message.
1745 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
1746 printing trailing whitespaces refused by git.
1747 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
1748 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1749 * hurd/Makefile (user-interfaces): Add pci.
1751 2018-10-30 Joseph Myers <joseph@codesourcery.com>
1753 * conform/linknamespace.py: New file.
1754 * conform/linknamespace.pl: Remove file.
1755 * conform/Makefile ($(linknamespace-header-tests)): Use
1756 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
1759 2018-10-30 Florian Weimer <fweimer@redhat.com>
1761 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
1764 2018-10-30 Florian Weimer <fweimer@redhat.com>
1766 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
1768 2018-10-30 Florian Weimer <fweimer@redhat.com>
1770 * stdlib/tst-strtod-overflow.c (do_test): Switch to
1771 support_blob_repeat.
1773 2018-10-30 Florian Weimer <fweimer@redhat.com>
1775 Avoid spurious test failures in stdlib/test-bz22786.
1776 * support/Makefile (libsupport-routines): Add blob_repeat.
1777 (tests): Add tst-support_blob_repeat.
1778 * support/blob_repeat.h: New file.
1779 * support/blob_repeat.c: Likewise.
1780 * support/tst-support_blob_repeat.c: Likewise.
1781 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
1782 support_blob_repeat_allocate.
1784 2018-10-30 Andreas Schwab <schwab@suse.de>
1787 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
1788 Don't use tail call.
1789 * elf/tst-unwind-main.c: New file.
1790 * elf/Makefile (tests): Add tst-unwind-main.
1791 (CFLAGS-tst-unwind-main.c): Define.
1793 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
1796 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
1798 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
1800 2018-10-29 Joseph Myers <joseph@codesourcery.com>
1802 * conform/glibcconform.py: Do not import shutil.
1803 (list_exported_functions): Use tempfile.TemporaryDirectory instead
1806 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
1807 critic_missing for versions before 3.4.
1808 * configure: Regenerated.
1809 * manual/install.texi (Tools for Compilation): Document
1810 requirement for Python to build glibc.
1811 * INSTALL: Regenerated.
1812 * Rules [PYTHON]: Make code unconditional.
1813 * benchtests/Makefile [PYTHON]: Likewise.
1814 * conform/Makefile [PYTHON]: Likewise.
1815 * manual/Makefile [PYTHON]: Likewise.
1816 * math/Makefile [PYTHON]: Likewise.
1818 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1820 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
1821 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
1822 answer to interrupt_operation, return EIEIO instead of EINTR.
1823 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
1824 _hurd_intr_rpc_msg_about_to global point to start of controlled
1825 assembly snippet. Make it check canceled flag.
1826 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
1827 the _hurd_intr_rpc_msg_about_to point.
1828 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
1829 issue, remove cancel flag check.
1831 2018-10-26 Joseph Myers <joseph@codesourcery.com>
1833 * scripts/build-many-glibcs.py: Remove compatibility for missing
1834 os.cpu_count and re.fullmatch.
1836 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1839 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
1840 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
1841 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
1843 2018-10-25 Joseph Myers <joseph@codesourcery.com>
1845 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
1848 2018-10-25 Florian Weimer <fweimer@redhat.com>
1852 XFAIL siginfo_t si_band conform test on sparc64.
1853 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1854 (__SI_BAND_TYPE): Only override long int default type on sparc64.
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1856 (conformtest-xfail-conds): Add sparc64-linux.
1857 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
1859 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
1861 2018-10-25 Joseph Myers <joseph@codesourcery.com>
1863 * elf/elf.h (NT_MIPS_DSP): New macro.
1864 (NT_MIPS_FP_MODE): Likewise.
1866 2018-10-25 Zong Li <zong@andestech.com>
1868 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
1869 name by adding the file extension (.so).
1871 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
1873 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
1874 (test-xfail-ISO11/threads.h/linknamespace,
1875 test-xfail-ISO11/threads.h/conform): Add.
1877 2018-10-24 Joseph Myers <joseph@codesourcery.com>
1879 * math/gen-libm-test.py: Import os.
1880 (ALL_FLOATS_MANUAL): New constant.
1881 (ALL_FLOATS_SUFFIX): Likewise.
1882 (Ulps.all_functions): New function.
1883 (real_all_ulps): Likewise.
1884 (generate_err_table_sub): Likewise.
1885 (generate_err_table): Likewise.
1886 (main): Handle -s and -m options.
1887 * manual/libm-err-tab.pl: Remove.
1888 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
1889 instead of libm-err-tab.pl.
1890 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
1892 * manual/install.texi (Tools for Compilation): Document
1893 requirement for Python to build manual.
1894 * INSTALL: Regenerated.
1896 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
1898 * bits/time64.h: New file.
1899 * include/time.h: Replace internal_time_t with __time64_t.
1900 * posix/bits/types (__time64_t): Add.
1901 * stdlib/Makefile: Add bits/time64.h to includes.
1902 * time/tzfile.c: Replace internal_time_t with __time64_t.
1904 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1906 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
1907 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
1908 __posix_spawn_file_actions_init, __posix_spawnattr_init,
1909 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
1910 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
1912 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
1913 * posix/spawn_faction_addclose.c
1914 (__posix_spawn_file_actions_addclose): Add hidden definition.
1915 * posix/spawn_faction_adddup2.c
1916 (__posix_spawn_file_actions_adddup2): Likewise.
1917 * posix/spawn_faction_destroy.c
1918 (__posix_spawn_file_actions_destroy): Likewise.
1919 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
1921 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
1922 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
1923 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
1925 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
1926 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
1929 2018-10-24 Andreas Schwab <schwab@suse.de>
1932 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
1934 * elf/cache.c (print_cache): Likewise.
1936 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
1938 * bits/timesize.h: New file.
1939 * stdlib/Makefile (headers): Add bits/timesize.h.
1940 * sysdeps/unix/sysv/linux/bits/msq-pad.h
1941 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
1942 * sysdeps/unix/sysv/linux/bits/sem-pad.h
1943 (__SEM_PAD_AFTER_TIME): Likewise.
1944 * sysdeps/unix/sysv/linux/bits/shm-pad.h
1945 (__SHM_PAD_AFTER_TIME): Likewise.
1946 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
1947 (__MSQ_PAD_BEFORE_TIME): Likewise.
1948 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
1949 (__SEM_PAD_BEFORE_TIME): Likewise.
1950 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
1951 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
1952 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
1953 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
1954 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
1955 (__MSQ_PAD_BEFORE_TIME): Likewise.
1956 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
1957 (__SEM_PAD_BEFORE_TIME): Likewise.
1958 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
1959 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
1960 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
1961 (__MSQ_PAD_BEFORE_TIME): Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
1963 (__SEM_PAD_BEFORE_TIME): Likewise.
1964 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
1965 (__SHM_PAD_BEFORE_TIME): Likewise.
1966 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
1967 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
1968 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
1970 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
1972 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
1973 USE_RDTSCP is defined.
1974 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
1975 USE_RDTSCP is defined.
1977 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1979 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
1983 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
1984 independently of other flags.
1986 2018-10-23 Florian Weimer <fweimer@redhat.com>
1988 * time/tst-mktime2.c (N_STRINGS): Remove.
1989 (set_timezone): New function.
1990 (spring_forward_gap): Call it. Use FAIL_EXIT1.
1991 (mktime_test1): Report localtime failure and check errno value.
1993 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
1994 (do_test): Remove alarm call. Use set_timezone and array_length.
1996 2018-10-23 Andreas Schwab <schwab@suse.de>
1998 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
1999 (__start_context): Use END instead of PSEUDO_END.
2001 2018-10-22 Joseph Myers <joseph@codesourcery.com>
2003 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2006 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2010 * wcsmbs/c32rtomb.c: New file.
2011 * wcsmbs/mbrtoc32.c: Likewise.
2012 * wcsmbs/tst-c32-state.c: Likewise.
2013 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
2014 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
2015 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
2016 (tests): Add tst-c32-state.
2017 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
2020 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
2022 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
2023 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
2025 2018-10-19 Joseph Myers <joseph@codesourcery.com>
2028 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
2029 pair and return 0 in that case, and use saved character to
2030 interpret following character.
2031 * wcsmbs/tst-c16-surrogate.c: New file.
2032 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
2033 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
2034 Depend on $(gen-locales)
2036 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
2039 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2040 (struct siginfo_t): Use correct type for si_band.
2042 2018-10-19 Florian Weimer <fweimer@redhat.com>
2045 * resource/bits/types/struct_rusage.h (struct rusage): Update
2046 comment on struct. Remove extraneous field comment.
2048 2018-10-18 David S. Miller <davem@davemloft.net>
2050 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
2051 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
2052 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
2053 sysdep_routines in subdir elf.
2054 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
2055 version for __vdso_clock_gettime.
2056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
2058 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2059 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2061 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2063 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
2065 * sysdeps/i386/init-arch.h: Removed.
2066 * sysdeps/i386/i586/init-arch.h: Likewise.
2067 * sysdeps/i386/i686/init-arch.h: Likewise.
2068 * sysdeps/i386/i686/hp-timing.h: Likewise.
2069 * sysdeps/x86_64/hp-timing.h: Likewise.
2070 * sysdeps/i386/isa.h: New file.
2071 * sysdeps/i386/i586/isa.h: Likewise.
2072 * sysdeps/i386/i686/isa.h: Likewise.
2073 * sysdeps/x86_64/isa.h: Likewise.
2074 * sysdeps/x86/hp-timing.h: New file.
2075 * sysdeps/x86/init-arch.h: Include <isa.h>.
2077 2018-10-17 Joseph Myers <joseph@codesourcery.com>
2079 * math/libm-test-pow.inc (pow_test_data): Do not allow
2080 divide-by-zero exception for pow(+/- 0, -Inf).
2082 2018-10-17 Zack Weinberg <zackw@panix.com>
2084 * manual/job.texi (Job Control is Optional): Remove node, as
2085 job control has not been optional in quite some time.
2086 (Job Control): Mention briefly that systems older than
2087 POSIX.1-2001 might not support job control.
2088 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
2089 defined on systems conforming to POSIX.1-2001.
2091 2018-10-17 Arjun Shankar <arjun@redhat.com>
2094 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
2096 * (__gconv_read_conf): Mark function static.
2097 * (once): New static variable.
2098 * (__gconv_load_conf): New function.
2099 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
2100 * iconv/gconv_db.c (once): Remove static variable.
2101 * (__gconv_compare_alias): Use __gconv_load_conf instead of
2103 * (__gconv_find_transform): Likewise.
2104 * iconv/tst-iconv-mt.c: New test.
2105 * iconv/Makefile: Add tst-iconv_mt.
2107 2018-10-17 Joseph Myers <joseph@codesourcery.com>
2109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2111 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
2112 (shmatt_t): Define as __syscall_ulong_t.
2113 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
2114 and [__SHM_PAD_AFTER_TIME].
2115 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
2116 Define shm_segsz and associated padding based on
2117 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
2118 Use __syscall_ulong_t instead of unsigned long int.
2119 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
2121 [__USE_MISC] (struct shm_info): Likewise.
2122 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
2123 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
2124 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
2127 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2128 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
2129 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2130 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2131 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2132 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2136 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
2137 (SHMLBA): Remove macro.
2138 (__getpagesize): Remove function declaration.
2139 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
2141 (SHMLBA): Remove macro.
2142 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
2144 (SHMLBA): Remove macro.
2145 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
2147 (SHMLBA): Remove macro.
2148 (__getpagesize): Remove function declaration.
2149 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
2151 (SHMLBA): Remove macro.
2152 (__getshmlba): Remove function declaration.
2153 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
2154 (SHMLBA): Remove macro.
2155 (__getpagesize): Remove function declaration.
2156 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
2157 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
2158 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2159 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
2160 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
2161 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
2162 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
2163 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
2164 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
2165 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
2167 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
2170 * nptl/tst-mutex10.c: New File.
2171 * nptl/Makefile (tests): Add tst-mutex10.
2172 (tst-mutex10-ENV): New variable.
2173 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
2174 Ensure that elision path is used if elision is available.
2175 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
2177 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
2179 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
2180 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
2181 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
2182 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
2184 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
2185 (__pthread_mutex_cond_lock_adjust): Likewise.
2186 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2188 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
2189 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2190 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2191 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
2193 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2194 Use atomic_load_relaxed and atomic_store_relaxed.
2195 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
2196 Use atomic_store_relaxed.
2198 2018-10-17 Andreas Schwab <schwab@suse.de>
2200 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
2201 * crypt/badsalttest.c (TIMEOUT): Likewise.
2202 * crypt/sha256c-test.c (TIMEOUT): Likewise.
2203 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
2204 * io/test-lfs.c (TIMEOUT): Likewise.
2205 * libio/tst-atime.c (TIMEOUT): Likewise.
2206 * localedata/tst-leaks.c (TIMEOUT): Likewise.
2207 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
2208 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
2209 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
2210 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
2211 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
2212 * nptl/tst-cond11.c (TIMEOUT): Likewise.
2213 * nptl/tst-cond14.c (TIMEOUT): Likewise.
2214 * nptl/tst-cond15.c (TIMEOUT): Likewise.
2215 * nptl/tst-cond24.c (TIMEOUT): Likewise.
2216 * nptl/tst-cond25.c (TIMEOUT): Likewise.
2217 * nptl/tst-kill2.c (TIMEOUT): Likewise.
2218 * nptl/tst-kill3.c (TIMEOUT): Likewise.
2219 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
2220 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
2221 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
2222 * nptl/tst-once2.c (TIMEOUT): Likewise.
2223 * nptl/tst-once3.c (TIMEOUT): Likewise.
2224 * nptl/tst-once4.c (TIMEOUT): Likewise.
2225 * nptl/tst-robust8.c (TIMEOUT): Likewise.
2226 * nptl/tst-robust9.c (TIMEOUT): Likewise.
2227 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
2228 * nptl/tst-sem14.c (TIMEOUT): Likewise.
2229 * nptl/tst-sem6.c (TIMEOUT): Likewise.
2230 * nptl/tst-signal3.c (TIMEOUT): Likewise.
2231 * nptl/tst-spin4.c (TIMEOUT): Likewise.
2232 * nptl/tst-tls3.c (TIMEOUT): Likewise.
2233 * nptl/tst-tls4.c (TIMEOUT): Likewise.
2234 * posix/tst-chmod.c (TIMEOUT): Likewise.
2235 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
2236 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
2237 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
2238 * posix/tst-regex2.c (TIMEOUT): Likewise.
2239 * posix/tst-waitid.c (TIMEOUT): Likewise.
2240 * rt/tst-aio.c (TIMEOUT): Likewise.
2241 * rt/tst-aio10.c (TIMEOUT): Likewise.
2242 * rt/tst-aio4.c (TIMEOUT): Likewise.
2243 * rt/tst-aio5.c (TIMEOUT): Likewise.
2244 * rt/tst-aio6.c (TIMEOUT): Likewise.
2245 * rt/tst-aio64.c (TIMEOUT): Likewise.
2246 * rt/tst-aio7.c (TIMEOUT): Likewise.
2247 * rt/tst-aio9.c (TIMEOUT): Likewise.
2248 * rt/tst-clock.c (TIMEOUT): Likewise.
2249 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
2250 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
2251 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
2252 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
2253 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
2254 * rt/tst-timer4.c (TIMEOUT): Likewise.
2255 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
2256 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
2257 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
2258 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
2259 * time/tst-ftime.c (TIMEOUT): Likewise.
2260 * timezone/tst-tzset.c (TIMEOUT): Likewise.
2262 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2264 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
2265 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
2268 2018-10-15 Joseph Myers <joseph@codesourcery.com>
2270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2272 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
2273 instead of <bits/wordsize.h>.
2274 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
2275 and [__SEM_PAD_AFTER_TIME].
2276 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
2277 __syscall_ulong_t instead of unsigned long int.
2278 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
2279 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
2280 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
2281 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
2282 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
2283 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
2284 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
2285 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
2286 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2287 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2288 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2290 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
2292 regex: simplify by using intprops.h
2294 * posix/regex_internal.h [_LIBC]: Include intprops.h.
2295 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
2296 intprops.h defines them.
2298 regex: __builtin_expect → __glibc_unlikely
2300 This refactoring was prompted by a problem when the regex code is
2301 used as part of Gnulib and when the builder’s compiler does not grok
2302 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
2303 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
2304 Although this refactoring does not fix the problem directly,
2305 we might as well have Gawk use the now-preferred glibc style for when
2306 __builtin_expect is unavailable.
2307 * posix/regex_internal.h (BE): Remove.
2308 All uses replaced by __glibc_unlikely or __glibc_likely.
2310 2018-10-11 Joseph Myers <joseph@codesourcery.com>
2312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2314 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
2315 instead of <bits/wordsize.h>.
2316 (msgqnum_t): Define as __syscall_ulong_t.
2317 (msglen_t): Likewise.
2318 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
2319 and [__MSQ_PAD_AFTER_TIME].
2320 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
2321 __syscall_ulong_t instead of unsigned long int.
2322 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
2323 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
2324 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
2325 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
2326 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
2327 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
2328 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
2329 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
2330 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2331 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2332 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2334 2018-10-10 Joseph Myers <joseph@codesourcery.com>
2336 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
2337 (struct shmid_ds): Condition padding after time fields on
2339 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
2340 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
2341 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2343 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
2344 (struct semid_ds): Condition padding after time fields on
2346 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
2347 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
2348 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
2349 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2351 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
2352 (struct msqid_ds): Condition padding after time fields on
2354 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
2355 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
2356 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
2357 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2359 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2361 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
2363 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2365 * libio/tst-readline.c (TIMEOUT): Define.
2367 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
2369 mktime fix for Gnulib + coreutils
2371 This fix affects only Gnulib. Problem discovered when
2372 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
2374 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
2375 Do not define since it is not used. Defining an unused static
2376 function prompts a warning from GCC when Coreutils is configured
2377 with --enable-gcc-warnings.
2379 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2381 * benchtests/scripts/compare_bench.py (main): set float type on
2384 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
2387 * localedata/locales/kl_GL (mon): Update, the relative case.
2388 (alt_mon): Add, fill with month names in the nominative case.
2389 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
2390 (d_fmt): Set to "%b %d %Y".
2392 2018-10-04 Joseph Myers <joseph@codesourcery.com>
2394 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
2395 <bits/mman-linux.h>.
2396 (PROT_READ): Don't define here.
2397 (PROT_WRITE): Likewise.
2398 (PROT_EXEC): Likewise.
2399 (PROT_NONE): Likewise.
2400 (PROT_GROWSDOWN): Likewise.
2401 (PROT_GROWSUP): Likewise.
2402 (MAP_SHARED): Likewise.
2403 (MAP_PRIVATE): Likewise.
2404 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
2405 [__USE_MISC] (MAP_FILE): Likewise.
2406 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
2407 [__USE_MISC] (MAP_ANON): Likewise.
2408 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
2409 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
2410 (MCL_CURRENT): Likewise.
2411 (MCL_FUTURE): Likewise.
2412 (MCL_ONFAULT): Likewise.
2413 [__USE_MISC] (MADV_NORMAL): Likewise.
2414 [__USE_MISC] (MADV_RANDOM): Likewise.
2415 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
2416 [__USE_MISC] (MADV_WILLNEED): Likewise.
2417 [__USE_MISC] (MADV_DONTNEED): Likewise.
2418 [__USE_MISC] (MADV_FREE): Likewise.
2419 [__USE_MISC] (MADV_REMOVE): Likewise.
2420 [__USE_MISC] (MADV_DONTFORK): Likewise.
2421 [__USE_MISC] (MADV_DOFORK): Likewise.
2422 [__USE_MISC] (MADV_HWPOISON): Likewise.
2423 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
2424 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
2425 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
2426 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
2427 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
2428 (__MAP_ANONYMOUS): New macro.
2429 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
2430 <bits/mman-linux.h> inclusion.
2431 (MAP_FIXED): Likewise.
2432 (MS_SYNC): Likewise.
2433 (MS_ASYNC): Likewise.
2434 (MS_INVALIDATE): Likewise.
2435 [__USE_MISC] (MADV_MERGEABLE): Likewise.
2436 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
2437 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
2438 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
2439 [__USE_MISC] (MADV_DONTDUMP): Likewise.
2440 [__USE_MISC] (MADV_DODUMP): Likewise.
2441 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
2442 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
2445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
2447 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
2448 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
2449 Add test-nldbl-redirect.
2450 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
2451 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
2452 $(objpfx)libnldbl_nonshared.a.
2454 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
2456 * support/support.h (support_objdir_elf_ldso): New variable.
2457 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
2458 * support/Makefile (CFLAGS-support_paths.c): Add definition
2459 for OBJDIR_ELF_LDSO_PATH.
2460 * support/test-container.c (main): Search for the ld.so
2461 which is also used by the testsuite.
2463 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
2466 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
2467 should be "sap" rather than "sab".
2468 (day): Fix spelling of Sunday, should be "sapaat" rather than
2471 2018-10-02 Joseph Myers <joseph@codesourcery.com>
2473 * math/libm-test-fma.inc (fma_test_data): Add more tests.
2475 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
2478 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
2479 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
2480 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
2482 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2484 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
2486 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
2488 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
2490 (CFLAGS-elision-unlock.c): Likewise.
2491 (CFLAGS-elision-timed.c): Likewise.
2492 (CFLAGS-elision-trylock.c): Likewise.
2493 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
2495 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2498 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
2499 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
2500 new fd_to_filename interface.
2501 * libio/freopen64.c (freopen64): Likewise.
2502 * libio/tst-memstream.h: New file.
2503 * libio/tst-memstream4.c: Likewise.
2504 * libio/tst-wmemstream4.c: Likewise.
2505 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
2506 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
2507 and remove internal dynamic allocation.
2509 2018-10-01 Joseph Myers <joseph@codesourcery.com>
2511 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
2512 (MREMAP_MAYMOVE): Do not define here.
2513 [__USE_GNU] (MREMAP_FIXED): Likewise.
2514 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
2515 (MREMAP_MAYMOVE): Define here instead.
2516 [__USE_GNU] (MREMAP_FIXED): Likewise.
2517 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
2518 (MREMAP_MAYMOVE): Remove.
2519 [__USE_GNU] (MREMAP_FIXED): Likewise.
2521 2018-09-28 Joseph Myers <joseph@codesourcery.com>
2523 * math/fromfp.h: Do not include <math_private.h>.
2524 * math/s_cacosh_template.c: Likewise.
2525 * math/s_casin_template.c: Likewise.
2526 * math/s_casinh_template.c: Likewise.
2527 * math/s_ccos_template.c: Likewise.
2528 * math/s_cproj_template.c: Likewise.
2529 * math/s_fdim_template.c: Likewise.
2530 * math/s_fmaxmag_template.c: Likewise.
2531 * math/s_fminmag_template.c: Likewise.
2532 * math/s_iseqsig_template.c: Likewise.
2533 * math/s_ldexp_template.c: Likewise.
2534 * math/s_nextdown_template.c: Likewise.
2535 * math/w_log1p_template.c: Likewise.
2536 * math/w_scalbln_template.c: Likewise.
2537 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
2538 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
2539 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
2540 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
2541 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
2542 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
2543 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
2544 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
2545 * sysdeps/i386/fpu/s_atanl.c: Likewise.
2546 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
2547 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
2548 * sysdeps/i386/fpu/s_fdim.c: Likewise.
2549 * sysdeps/i386/fpu/s_logbl.c: Likewise.
2550 * sysdeps/i386/fpu/s_rintl.c: Likewise.
2551 * sysdeps/i386/fpu/s_significandl.c: Likewise.
2552 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
2553 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
2554 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2555 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2556 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
2557 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2558 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2559 * sysdeps/ieee754/k_standardf.c: Likewise.
2560 * sysdeps/ieee754/k_standardl.c: Likewise.
2561 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2562 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2563 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
2564 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2565 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2566 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2567 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2568 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
2569 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
2570 * sysdeps/ieee754/s_signgam.c: Likewise.
2571 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2572 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
2573 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
2574 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
2575 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
2576 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
2577 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2578 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
2579 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2580 * sysdeps/riscv/rvd/s_finite.c: Likewise.
2581 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
2582 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
2583 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
2584 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
2585 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
2586 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
2587 * sysdeps/riscv/rvf/fegetround.c: Likewise.
2588 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
2589 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
2590 * sysdeps/riscv/rvf/fesetround.c: Likewise.
2591 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
2592 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
2593 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
2594 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
2595 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
2596 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
2597 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
2598 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
2599 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
2600 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
2601 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
2602 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
2603 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
2604 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
2605 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2606 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2607 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
2609 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
2611 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
2614 * sysdeps/i386/dl-cet.c: Removed.
2615 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
2617 (_dl_runtime_profile_shstk): Likewise.
2618 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
2619 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
2621 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2624 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
2625 do_test_with_invalid_iov): New tests.
2626 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
2627 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
2628 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
2630 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2631 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2632 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
2634 2018-09-27 Joseph Myers <joseph@codesourcery.com>
2636 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2637 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
2638 (MATH_REDIRECT_BINARY_ARGS): New macro.
2639 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
2640 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
2641 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
2643 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
2644 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2645 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
2646 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2647 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2648 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2649 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2656 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
2657 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
2658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
2660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
2662 * sysdeps/generic/math_private_calls.h
2663 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
2664 Do not declare and define as an inline function.
2665 * math/divtc3.c (__divtc3): Use copysign functions instead of
2666 __copysign variants.
2667 * math/multc3.c (__multc3): Likewise.
2668 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
2669 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
2670 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2671 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2673 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2674 (__ieee754_yn): Likewise.
2675 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2676 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
2677 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2678 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2679 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
2681 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
2682 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2684 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2688 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2689 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2691 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2692 (__ieee754_ynf): Likewise.
2693 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2694 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2695 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
2696 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2698 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2699 (__ieee754_ynl): Likewise.
2700 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2701 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2702 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2705 (__ieee754_ynl): Likewise.
2706 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
2707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2711 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2713 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
2714 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2715 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
2716 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
2717 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2719 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2720 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
2721 using MATH_REDIRECT.
2722 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
2724 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
2725 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2727 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
2728 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2729 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2730 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
2732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
2734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
2735 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2736 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2737 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2738 (round): Redirect to __round.
2739 (__roundl): Call round instead of __round.
2740 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
2742 [_ARCH_PWR5X] (__roundf): Likewise.
2743 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
2744 functions instead of __round variants.
2745 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2746 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
2748 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
2750 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
2752 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
2753 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
2755 (__ieee754_expl): Call roundl instead of __roundl.
2757 2018-09-27 Andreas Schwab <schwab@suse.de>
2760 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
2761 (do_test): Make st1 static.
2763 2018-09-26 Andreas Schwab <schwab@suse.de>
2766 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
2767 * elf/Makefile (tests): Add tst-unwind-ctor.
2768 (modules-names): Add tst-unwind-ctor-lib.
2769 ($(objpfx)tst-unwind-ctor): Depend on
2770 $(objpfx)tst-unwind-ctor-lib.so.
2772 2018-09-26 Joseph Myers <joseph@codesourcery.com>
2774 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
2775 file. Most contents moved from ....
2776 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
2777 and include <bits/mman-map-flags-generic.h>.
2778 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2779 (sysdep_headers): Add bits/mman-map-flags-generic.h.
2780 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
2781 <bits/mman-map-flags-generic.h>.
2782 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
2783 macros defined in <bits/mman-map-flags-generic.h>.
2784 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
2785 <bits/mman-map-flags-generic.h>.
2786 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
2787 defined in <bits/mman-map-flags-generic.h>.
2789 2018-09-26 Andreas Schwab <schwab@suse.de>
2791 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
2794 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
2795 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2796 Fangrui Song <maskray@google.com>
2799 * config.make.in (have-textrel_ifunc): New define.
2800 * configure.ac: Add check if linker supports textrel relocation with
2802 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
2804 (CFLAGS-tst-ifunc-textrel.c): New rule.
2805 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
2806 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
2807 * elf/tst-ifunc-textrel.c: New file.
2809 2018-09-25 Joseph Myers <joseph@codesourcery.com>
2811 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
2812 <bits/procfs-prregset.h>.
2813 (prgregset_t): Define using __prgregset_t.
2814 (prfpregset_t): Define using __prfpregset_t.
2815 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2816 (sysdep_headers): Add bits/procfs-prregset.h.
2817 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
2818 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
2819 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
2820 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
2822 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
2823 <bits/procfs-id.h> and <bits/procfs-extra.h>.
2824 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
2826 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2827 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
2828 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
2829 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
2830 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
2831 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
2832 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
2833 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
2834 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
2835 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
2836 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
2837 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
2838 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
2839 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
2840 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
2841 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
2842 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
2843 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
2844 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
2845 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
2846 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
2847 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
2848 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2849 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
2851 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
2852 AArch64 version. Include <bits/procfs.h>.
2853 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2854 (sysdep_headers): Add bits/procfs.h.
2855 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
2856 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
2857 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
2858 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
2859 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
2860 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
2861 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
2862 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
2863 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
2864 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
2865 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
2866 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
2867 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
2868 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2869 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2871 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
2873 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2875 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
2878 2018-09-25 Arjun Shankar <arjun@redhat.com>
2880 * iconv/gconv_int.h (__gconv_path_elem): Remove.
2881 (__gconv_max_path_elem_len): Likewise.
2882 (__gconv_nmodules): Likewise.
2883 (__gconv_get_path): Likewise.
2884 (path_elem): Move to ...
2885 * iconv/gconv_conf.c: ... here.
2886 (__gconv_get_path): Mark function static.
2887 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
2888 * iconv/gconv_open.c: ... here.
2890 2018-09-24 Andreas Schwab <schwab@suse.de>
2892 * scripts/haveversions.awk: New file.
2893 * Makerules ($(common-objpfx)Versions.def)
2894 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
2895 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
2897 * Makeconfig ($(common-objpfx)Versions.def)
2898 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
2899 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
2901 ($(common-objpfx)Versions.mk): New rule. Include it.
2902 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
2903 Emit error if build-obsolete-nsl = yes.
2904 * manual/install.texi (Configuring and compiling): Describe
2905 --enable-obsolete-nsl as unavaiable after version 2.28.
2906 * INSTALL: Regenerate.
2908 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2910 * NEWS: Add note about new TLE support on powerpc64le.
2911 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
2912 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
2914 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
2915 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
2916 * sysdeps/powerpc/powerpc32/sysdep.h,
2917 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
2918 ABORT_TRANSACTION): Remove macros.
2919 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
2920 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
2921 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
2923 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2924 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
2926 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
2928 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2931 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
2932 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
2933 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
2934 which is the same as in it_IT.
2935 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
2936 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
2938 2018-09-20 Joseph Myers <joseph@codesourcery.com>
2940 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2941 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
2942 using MATH_REDIRECT.
2943 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
2945 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2947 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2949 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2950 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
2952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
2953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
2955 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2956 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2957 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2958 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2959 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2960 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2961 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
2962 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2963 (ceil): Redirect to __ceil.
2964 (floor): Redirect to __floor.
2965 (trunc): Redirect to __trunc.
2966 (__truncl): Call trunc instead of __trunc.
2967 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
2969 [_ARCH_PWR5X] (__truncf): Likewise.
2970 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
2971 trunc functions instead of __trunc variants.
2972 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2974 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2976 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2978 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2981 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
2982 [__i586__ || __pentium__].
2983 [__i486__]: Handle explicitly.
2984 (HAS_CPUID): Define to 1 if above macros are undefined.
2985 (HAS_I586): Likewise.
2986 (HAS_I686): Likewise.
2988 2018-09-20 Florian Weimer <fweimer@redhat.com>
2990 * misc/tst-gethostid.c: New file.
2991 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
2992 (tst-gethostid): Link with -ldl.
2994 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
2996 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
2997 value from gethostbyname_r.
2999 2018-09-19 Carlos O'Donell <carlos@redhat.com>
3001 * stdlib/tst-setcontext9.c (f1): Rename to...
3003 (f1b): New function implementing lower half of f1 in alternate stack.
3005 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
3007 Fix mktime localtime offset confusion
3009 * include/time.h (__mktime_internal): The localtime offset is now
3010 of type long int instead of time_t. This is the longstanding type
3011 in glibc, and it is more than enough to represent difference
3012 between localtime and gmtime even if it is 32 bits and time_t is
3013 64. Changing it now will let us avoid an unnecessary change when
3014 time_t is widened to 64 bits on 32-bit platforms.
3015 * time/mktime-internal.h (mktime_offset_t): Now long int.
3017 Merge mktime, timegm from upstream Gnulib
3018 [BZ #23603][BZ #16346]
3019 This fixes some obscure problems with integer overflow.
3020 Although it looks scary, it is almost all a byte-for-byte copy
3021 from Gnulib, and the Gnulib code has been tested reasonably well.
3022 * include/intprops.h: New file, copied from Gnulib.
3023 * include/verify.h, time/mktime-internal.h:
3024 New tiny files, simplified from Gnulib.
3025 * time/mktime.c: Copy from Gnulib. This has the following changes:
3026 Do not include config.h if DEBUG_MKTIME is nonzero.
3027 Include stdbool.h, intprops.h, verify.h.
3028 Include string.h only if needed.
3029 Include stdlib.h on MS-Windows.
3030 Include mktime-internal.h.
3031 (DEBUG_MKTIME): Default to 0, and simplify later uses.
3032 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
3033 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
3034 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
3035 simplify later conditionals; default the others to zero. Use
3036 these conditionals to express only the code needed on the current
3037 platform. In uses of these conditionals, explicitly spell out how
3038 _LIBC affects things, so it’s easier to review from a glibc
3040 (WRAPV): Remove; no longer needed now that we have
3041 systematic overflow checking.
3042 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
3043 compartmentalize tzset issues. Move system-dependent tzsettish
3044 code here from mktime.
3045 (verify): Remove; now done by verify.h. All uses changed.
3046 (long_int): Use a more-conservative definition, to avoid
3048 (SHR): Remove, replacing with ...
3049 (shr): New function, which means we needn’t worry about side
3050 effects in args, and conversion analysis is simpler.
3051 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
3052 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
3053 (time_t_avg, time_t_add_ok): Remove.
3054 (mktime_min, mktime_max): New constants.
3055 (leapyear, isdst_differ): Use bool for booleans.
3056 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
3057 Use long_int, not time_t, for mktime differences.
3058 (long_int_avg): New function, replacing time_t_avg.
3059 INT_ADD_WRAPV replaces time_t_add_ok.
3060 (guess_time_tm): 6th arg is now long_int, not time_t const *.
3062 (convert_time): New function.
3063 (ranged_convert): Use it.
3064 (__mktime_internal): Last arg now points to mktime_offset_t, not
3065 time_t. All uses changed. This is a no-op on glibc, where
3066 mktime_offset_t is always time_t. Use int, not time_t, for UTC
3067 offset guess. Directly check for integer overflow instead of
3068 using a heuristic that works only 99.9...% of the time.
3069 Access *OFFSET only once, to avoid an unlikely race if the
3070 compiler delays a load and if this cascades into a signed integer
3072 (mktime): Move tzsettish code to my_tzset, and move
3073 localtime_offset to within mktime so that it doesn’t
3074 need a separate ifdef.
3075 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
3076 instead of localtime.
3077 * time/timegm.c: Copy from Gnulib. This has the following changes:
3078 Include mktime-internal.h.
3079 [!_LIBC]: Include config.h and time.h. Do not include
3080 timegm.h or time_r.h. Make __mktime_internal a macro,
3081 and include mktime-internal.h to get its declaration.
3082 (timegm): Temporary is now mktime_offset_t, not time_t.
3083 This affects only Gnulib.
3085 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3088 * string/test-strstr.c (pr23637): New function.
3089 (test_main): Add tests with longer needles.
3090 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
3091 * string/strstr.c (AVAILABLE): Likewise.
3093 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3095 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
3097 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3099 * NEWS: Mention pow improvements.
3100 * math/Makefile (type-double-routines): Add e_pow_log_data.
3101 * sysdeps/generic/math_private.h (__exp1): Remove.
3102 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
3103 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
3104 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
3106 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
3107 (exp_inline): Remove.
3108 (__ieee754_exp): Only single double input is handled.
3109 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
3110 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
3111 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
3112 (__pow_log_data): Define.
3113 * sysdeps/ieee754/dbl-64/upow.h: Remove.
3114 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
3115 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
3116 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
3118 (CFLAGS-e_pow-fma4.c): Likewise.
3120 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
3122 Simplify tzfile fstat failure code
3124 * time/tzfile.c (__tzfile_read): Simplify slightly.
3126 Fix tzfile low-memory assertion failure
3128 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
3129 when registering time zone abbreviations.
3131 2018-09-18 Joseph Myers <joseph@codesourcery.com>
3133 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
3134 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
3135 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
3136 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
3137 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
3138 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
3139 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
3140 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3141 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3143 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
3145 (__ceill): Call ceil instead of __ceil.
3146 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
3148 (__floorl): Call floor instead of __floor.
3150 2018-09-17 Joseph Myers <joseph@codesourcery.com>
3152 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3153 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
3154 using MATH_REDIRECT.
3155 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
3157 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
3158 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3159 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3160 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
3161 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3162 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3163 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3164 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
3166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
3167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
3168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
3169 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3170 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3173 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3174 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3175 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
3177 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
3178 functions instead of __ceil variants.
3179 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3180 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
3182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
3184 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3185 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
3187 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3188 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3191 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
3193 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
3194 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
3195 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
3196 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
3197 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
3198 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
3199 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
3200 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
3201 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
3202 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3203 (ILL_BADIADDR): Remove constant.
3204 (TRAP_BRANCH): Likewise.
3205 (TRAP_HWBKPT): Likewise.
3207 2018-09-14 Joseph Myers <joseph@codesourcery.com>
3210 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
3211 Remove [_MIPS_SIM = _ABIN32] conditional case.
3212 (struct elf_prpsinfo): Likewise.
3215 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
3216 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
3217 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
3219 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
3220 elf_prpsinfo): Likewise.
3221 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
3222 elf_prpsinfo): Likewise.
3223 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
3226 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3227 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
3228 using MATH_REDIRECT.
3229 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
3231 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
3232 * sysdeps/alpha/fpu/s_rint.c: Likewise.
3233 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
3234 * sysdeps/i386/fpu/s_rintl.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3237 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
3238 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3239 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3241 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
3242 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
3243 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
3244 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
3245 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
3246 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3247 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3248 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
3249 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
3253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
3254 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3255 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3256 * sysdeps/x86_64/fpu/math_private.h: Remove file.
3257 * math/e_scalb.c (invalid_fn): Use rint functions instead of
3259 * math/e_scalbf.c (invalid_fn): Likewise.
3260 * math/e_scalbl.c (invalid_fn): Likewise.
3261 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3263 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3265 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
3266 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
3267 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3269 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3271 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3273 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
3274 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3276 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3277 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
3279 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3280 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
3281 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3282 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
3283 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3284 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
3285 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3286 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
3287 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3288 && !NO_MATH_REDIRECT] (floor): Likewise.
3289 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
3291 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3294 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
3295 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3296 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3297 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3298 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
3300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
3301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
3302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
3303 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3304 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3307 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3308 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3309 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
3311 [_ARCH_PWR5X] (__floorf): Likewise.
3312 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
3314 [__SSE4_1__] (__floorf): Likewise.
3315 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
3316 instead of __floor variants.
3317 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
3318 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
3319 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
3320 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
3321 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
3322 * math/w_tgamma_compat.c (__tgamma): Likewise.
3323 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
3324 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
3325 * math/w_tgammal_compat.c (__tgammal): Likewise.
3326 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
3327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3329 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
3331 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3332 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3334 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3335 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
3337 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3338 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
3340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3341 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
3343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3345 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
3346 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
3347 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3348 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3350 2018-09-12 Joseph Myers <joseph@codesourcery.com>
3352 * elf/Makefile (modules-names-tests): New variable.
3354 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3356 * NEWS: Mention log2 improvements.
3357 * math/Makefile (type-double-routines): Add e_log2_data.
3358 * sysdeps/i386/fpu/e_log2_data.c: New file.
3359 * sysdeps/ia64/fpu/e_log2_data.c: New file.
3360 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
3361 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
3362 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
3363 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
3364 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
3366 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3368 * NEWS: Mention log improvement.
3369 * math/Makefile (type-double-routines): Add e_log_data.
3370 * sysdeps/i386/fpu/e_log_data.c: New file.
3371 * sysdeps/ia64/fpu/e_log_data.c: New file.
3372 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
3373 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
3374 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
3375 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
3376 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
3377 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
3379 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
3380 Xuepeng Guo <xuepeng.guo@intel.com>
3383 * sysdeps/i386/start.S: Include <sysdep.h>
3384 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
3385 enabled. Add cfi_undefined (eip).
3387 2018-09-11 Joseph Myers <joseph@codesourcery.com>
3389 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
3391 (EXTRACT_WORDS64): Likewise.
3392 (INSERT_WORDS64): Likewise.
3393 (GET_FLOAT_WORD): Likewise.
3394 (SET_FLOAT_WORD): Likewise.
3396 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
3398 (Config.build_gcc): Use --disable-libsanitizer for first GCC
3399 build, but not for second build if --full-gcc. Use
3400 --enable-languages=all for second build if --full-gcc.
3401 (get_parser): Add --full-gcc option.
3402 (main): Update call to Context.
3404 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
3407 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
3408 Single Quotation Mark).
3409 (thousands_sep): Likewise.
3410 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
3411 * localedata/locales/it_IT (thousands_sep): Use ".".
3412 (grouping): Use "3;3".
3414 2018-09-10 Joseph Myers <joseph@codesourcery.com>
3416 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3417 x86_64 and i686 configs using --enable-obsolete-rpc
3418 --enable-obsolete-nsl.
3420 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
3422 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3424 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
3426 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3427 Increment size of new_argv by one.
3429 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
3432 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
3433 * localedata/locales/ar_IN (d_fmt): Likewise.
3434 * localedata/locales/bhb_IN (d_fmt): Likewise.
3435 * localedata/locales/bho_IN (d_fmt): Likewise.
3436 * localedata/locales/bn_BD (d_fmt): Likewise.
3437 * localedata/locales/bn_IN (d_fmt): Likewise.
3438 * localedata/locales/doi_IN (d_fmt): Likewise.
3439 * localedata/locales/gu_IN (d_fmt): Likewise.
3440 * localedata/locales/hi_IN (d_fmt): Likewise.
3441 * localedata/locales/hne_IN (d_fmt): Likewise.
3442 * localedata/locales/kn_IN (d_fmt): Likewise.
3443 * localedata/locales/mag_IN (d_fmt): Likewise.
3444 * localedata/locales/mai_IN (d_fmt): Likewise.
3445 * localedata/locales/mjw_IN (d_fmt): Likewise.
3446 * localedata/locales/ml_IN (d_fmt): Likewise.
3447 * localedata/locales/mni_IN (d_fmt): Likewise.
3448 * localedata/locales/mr_IN (d_fmt): Likewise.
3449 * localedata/locales/pa_IN (d_fmt): Likewise.
3450 * localedata/locales/raj_IN (d_fmt): Likewise.
3451 * localedata/locales/sat_IN (d_fmt): Likewise.
3452 * localedata/locales/sd_IN (d_fmt): Likewise.
3453 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
3454 * localedata/locales/ta_IN (d_fmt): Likewise.
3455 * localedata/locales/ta_LK (d_fmt): Likewise.
3456 * localedata/locales/tcy_IN (d_fmt): Likewise.
3457 * localedata/locales/ur_IN (d_fmt): Likewise.
3459 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
3460 * localedata/locales/ks_IN (d_fmt): Likewise.
3461 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
3463 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
3464 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
3465 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
3466 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
3468 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
3470 * NEWS: Mention exp and exp2 improvements.
3471 * math/Makefile (libm-support): Remove t_exp.
3472 (type-double-routines): Add math_err and e_exp_data.
3473 * sysdeps/aarch64/libm-test-ulps: Update.
3474 * sysdeps/arm/libm-test-ulps: Update.
3475 * sysdeps/i386/fpu/e_exp_data.c: New file.
3476 * sysdeps/i386/fpu/math_err.c: New file.
3477 * sysdeps/i386/fpu/t_exp.c: Remove.
3478 * sysdeps/ia64/fpu/e_exp_data.c: New file.
3479 * sysdeps/ia64/fpu/math_err.c: New file.
3480 * sysdeps/ia64/fpu/t_exp.c: Remove.
3481 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
3482 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
3483 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
3484 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
3485 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
3486 * sysdeps/ieee754/dbl-64/math_config.h: New file.
3487 * sysdeps/ieee754/dbl-64/math_err.c: New file.
3488 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
3489 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
3490 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
3491 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
3492 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
3493 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
3494 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
3495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3498 2018-09-05 Joseph Myers <joseph@codesourcery.com>
3500 * sysdeps/alpha/fpu/math_private.h: Remove.
3502 * sysdeps/generic/math_private.h
3503 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
3504 Move this inline function ....
3505 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
3506 * include/math.h [!_ISOMAC]: To here....
3508 2018-09-04 Joseph Myers <joseph@codesourcery.com>
3510 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
3512 [!FE_HAVE_ROUNDING_MODES]: And this code ....
3513 * include/fenv.h [!_ISOMAC]: ... to here.
3514 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
3515 (feraiseexcept): Likewise.
3516 * math/fromfp.h: Do not include <fenv_private.h>.
3517 * math/s_cexp_template.c: Likewise.
3518 * math/s_csin_template.c: Likewise.
3519 * math/s_csinh_template.c: Likewise.
3520 * math/s_ctan_template.c: Likewise.
3521 * math/s_ctanh_template.c: Likewise.
3522 * math/s_iseqsig_template.c: Likewise.
3523 * math/w_acos_compat.c: Likewise.
3524 * math/w_acosf_compat.c: Likewise.
3525 * math/w_acosl_compat.c: Likewise.
3526 * math/w_asin_compat.c: Likewise.
3527 * math/w_asinf_compat.c: Likewise.
3528 * math/w_asinl_compat.c: Likewise.
3529 * math/w_j0_compat.c: Likewise.
3530 * math/w_j0f_compat.c: Likewise.
3531 * math/w_j0l_compat.c: Likewise.
3532 * math/w_j1_compat.c: Likewise.
3533 * math/w_j1f_compat.c: Likewise.
3534 * math/w_j1l_compat.c: Likewise.
3535 * math/w_jn_compat.c: Likewise.
3536 * math/w_jnf_compat.c: Likewise.
3537 * math/w_log10_compat.c: Likewise.
3538 * math/w_log10f_compat.c: Likewise.
3539 * math/w_log10l_compat.c: Likewise.
3540 * math/w_log2_compat.c: Likewise.
3541 * math/w_log2f_compat.c: Likewise.
3542 * math/w_log2l_compat.c: Likewise.
3543 * math/w_log_compat.c: Likewise.
3544 * math/w_logf_compat.c: Likewise.
3545 * math/w_logl_compat.c: Likewise.
3546 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3551 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3552 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3553 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3554 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3555 * sysdeps/ieee754/k_standardl.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3558 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3563 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3565 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3568 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3569 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3572 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3573 * math/w_ilogb_template.c: Include <fenv.h> instead of
3575 * math/w_llogb_template.c: Likewise.
3576 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3577 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3579 2018-09-03 Joseph Myers <joseph@codesourcery.com>
3581 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
3582 * math/fromfp.h: Include <fenv_private.h>.
3583 * math/math-narrow.h: Likewise.
3584 * math/s_cexp_template.c: Likewise.
3585 * math/s_csin_template.c: Likewise.
3586 * math/s_csinh_template.c: Likewise.
3587 * math/s_ctan_template.c: Likewise.
3588 * math/s_ctanh_template.c: Likewise.
3589 * math/s_iseqsig_template.c: Likewise.
3590 * math/w_acos_compat.c: Likewise.
3591 * math/w_acosf_compat.c: Likewise.
3592 * math/w_acosl_compat.c: Likewise.
3593 * math/w_asin_compat.c: Likewise.
3594 * math/w_asinf_compat.c: Likewise.
3595 * math/w_asinl_compat.c: Likewise.
3596 * math/w_ilogb_template.c: Likewise.
3597 * math/w_j0_compat.c: Likewise.
3598 * math/w_j0f_compat.c: Likewise.
3599 * math/w_j0l_compat.c: Likewise.
3600 * math/w_j1_compat.c: Likewise.
3601 * math/w_j1f_compat.c: Likewise.
3602 * math/w_j1l_compat.c: Likewise.
3603 * math/w_jn_compat.c: Likewise.
3604 * math/w_jnf_compat.c: Likewise.
3605 * math/w_llogb_template.c: Likewise.
3606 * math/w_log10_compat.c: Likewise.
3607 * math/w_log10f_compat.c: Likewise.
3608 * math/w_log10l_compat.c: Likewise.
3609 * math/w_log2_compat.c: Likewise.
3610 * math/w_log2f_compat.c: Likewise.
3611 * math/w_log2l_compat.c: Likewise.
3612 * math/w_log_compat.c: Likewise.
3613 * math/w_logf_compat.c: Likewise.
3614 * math/w_logl_compat.c: Likewise.
3615 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
3616 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
3617 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
3618 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3638 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3643 * sysdeps/ieee754/float128/float128_private.h: Likewise.
3644 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3645 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3646 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3647 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3648 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3649 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3650 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3651 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3652 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3653 * sysdeps/ieee754/k_standardl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3679 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3680 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3684 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3685 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3690 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3691 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3692 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3693 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3694 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3695 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3696 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3697 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3698 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3699 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3700 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3701 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3702 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3703 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3704 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3705 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3706 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3707 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3708 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3709 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3710 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3711 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3712 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3713 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3714 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3715 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3716 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3717 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3718 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3719 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3720 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3721 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3722 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3723 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3724 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3726 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3729 * include/stdio.h (__libc_fatal): Mention newline in comment.
3730 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
3731 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
3732 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3733 * nss/nsswitch.c (__nss_next2): Likewise.
3734 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
3735 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
3736 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
3737 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3738 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
3739 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
3740 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
3741 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
3742 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
3743 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
3744 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
3745 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3746 (__netlink_assert_response): Likewise.
3748 2018-08-31 Joseph Myers <joseph@codesourcery.com>
3750 * conform/glibcconform.py: New file.
3751 * conform/list-header-symbols.py: Likewise.
3752 * conform/list-header-symbols.pl: Remove.
3753 * conform/Makefile (tests-special): Only add linknamespace tests
3755 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
3757 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
3760 * support/Makefile (libsupport-routines): Add
3761 support_copy_file_range and xcopy_file_range.
3762 * support/support.h: Include <sys/types.h>.
3763 (support_copy_file_range): New prototype.
3764 * support/support_copy_file_range.c: New file. Copied and
3765 modified from io/copy_file_range-compat.c.
3766 * support/test-container.c (copy_one_file): Call xcopy_file_rang
3767 instead of copy_file_range.
3768 * support/xcopy_file_range.c: New file.
3769 * support/xunistd.h (xcopy_file_range): New prototype.
3771 2018-08-30 Carlos O'Donell <carlos@redhat.com>
3773 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
3774 xpthread_create and xpthread_join.
3776 2018-08-30 Florian Weimer <fweimer@redhat.com>
3778 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
3780 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
3782 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
3785 2018-08-29 Joseph Myers <joseph@codesourcery.com>
3787 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
3788 and minus_oflow as non-finite.
3790 2018-08-28 Joseph Myers <joseph@codesourcery.com>
3792 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
3793 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
3794 moved to fenv_private.h except for ...
3795 (TOINT_INTRINSICS): Kept in math_private.h.
3796 (roundtoint): Likewise.
3797 (converttoint): Likewise.
3798 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
3799 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3800 * sysdeps/arm/math_private.h: Remove.
3801 * sysdeps/generic/fenv_private.h: New file. Contents moved from
3803 * sysdeps/generic/math_private.h: ... this file. Include
3804 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
3805 Include <fenv_private.h>. Remove functions and macros moved to
3807 * sysdeps/i386/fpu/math_private.h: Remove.
3808 * sysdeps/mips/math_private.h: Move to ....
3809 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
3810 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
3811 [__mips_hard_float] conditional. Include next <fenv_private.h>.
3812 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
3813 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3814 * sysdeps/powerpc/fpu/math_private.h: Do not include
3816 * sysdeps/riscv/rvf/math_private.h: Move to ....
3817 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
3818 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
3820 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
3821 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3822 * sysdeps/sparc/fpu/math_private.h: Remove.
3823 * sysdeps/i386/fpu/fenv_private.h: Move to ....
3824 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
3825 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
3827 * sysdeps/x86_64/fpu/math_private.h: Do not include
3828 <sysdeps/i386/fpu/fenv_private.h>.
3830 2018-08-28 Florian Weimer <fweimer@redhat.com>
3833 * posix/tst-regcomp-truncated.c: New file.
3834 * posix/Makefile (tests): Add it.
3835 (tst-regcomp-truncated.out): Depend on generated locales.
3837 2018-08-28 Florian Weimer <fweimer@redhat.com>
3839 * support/test-container.c (main): Treat unshare failure with
3840 EPERM as an unsupported test.
3842 2018-08-28 Florian Weimer <fweimer@redhat.com>
3845 nscd: Fix use-after-free in addgetnetgrentX and its callers.
3846 * nscd/netgroupcache.c
3847 (addgetnetgrentX): Add tofreep parameter. Do not free
3848 heap-allocated buffer.
3849 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
3850 (addgetnetgrentX_ignore): New function.
3851 (addgetnetgrent): Call it.
3852 (readdgetnetgrent): Likewise.
3854 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3856 * string/memmem.c: Use memcmp for first match.
3858 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3861 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
3863 2018-08-27 DJ Delorie <dj@redhat.com>
3865 * support/Makefile (others): Don't list programs explicitly as a
3866 dependency of "others".
3868 2018-08-27 Joseph Myers <joseph@codesourcery.com>
3870 * sysdeps/generic/math-tests-trap-force.h: New file.
3871 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
3872 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
3873 * sysdeps/powerpc/math-tests.h: Remove file.
3874 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
3876 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
3877 Torvald Riegel <triegel@redhat.com>
3880 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
3881 Update r to include the set wake-request flag if waiters are
3882 remaining after spinning.
3884 2018-08-27 Joseph Myers <joseph@codesourcery.com>
3886 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
3888 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
3891 regex: fix uninitialized memory access
3892 I introduced this bug into gnulib in commit
3893 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
3894 eventually it was merged into glibc. The bug was found by
3895 project-repo <bugs@feusi.co> and reported here:
3896 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
3897 Diagnosis and draft fix reported by Assaf Gordon here:
3898 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
3899 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
3900 * posix/regex_internal.c (build_wcs_upper_buffer):
3901 Fix bug when mbrtowc returns 0.
3903 2018-08-24 Carlos O'Donell <carlos@redhat.com>
3905 * po/be.po: Update translation.
3907 2018-08-24 DJ Delorie <dj@delorie.com>
3909 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
3912 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3915 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
3916 create temporary files in source tree.
3918 2018-08-24 Joseph Myers <joseph@codesourcery.com>
3920 * sysdeps/generic/math-tests-trap.h: New file.
3921 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
3922 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
3923 * sysdeps/aarch64/math-tests.h: Remove file.
3924 * sysdeps/arm/math-tests.h: Likewise.
3925 * sysdeps/riscv/math-tests.h: Likewise.
3926 * sysdeps/aarch64/math-tests-trap.h: New file.
3927 * sysdeps/arm/math-tests-trap.h: Likewise.
3928 * sysdeps/riscv/math-tests-trap.h: Likewise.
3930 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
3932 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
3933 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
3934 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
3935 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
3936 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
3937 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
3941 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3942 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3943 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3944 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3945 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
3946 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
3947 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
3948 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3949 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3951 2018-08-23 Joseph Myers <joseph@codesourcery.com>
3953 * sysdeps/generic/math-tests-exceptions.h: New file.
3954 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
3955 (EXCEPTION_TESTS_float): Do not define here.
3956 (EXCEPTION_TESTS_double): Likewise.
3957 (EXCEPTION_TESTS_long_double): Likewise.
3958 (EXCEPTION_TESTS_float128): Likewise.
3959 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
3961 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
3962 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
3963 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
3964 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
3965 * sysdeps/mips/math-tests.h: Likewise.
3966 * sysdeps/nios2/math-tests.h: Likewise.
3967 * sysdeps/riscv/math-tests.h [!__riscv_flen]
3968 (EXCEPTION_TESTS_float): Do not define here.
3969 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
3970 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
3971 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
3973 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
3975 * NEWS: Move optimized sinf entry to 2.29.
3977 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
3979 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
3981 2018-08-22 DJ Delorie <dj@redhat.com>
3983 * Makefile (testroot.pristine): New rules to initialize the
3984 test-in-container "testroot".
3985 * Makerules (all-testsuite): Add tests-container.
3986 * Rules (tests-expected): Add tests-container.
3987 (binaries-all-tests): Likewise.
3988 (tests-container): New, run these tests in the testroot container.
3989 * support/Makefile (others): Add *-container, support_paths.c,
3990 xmkdirp, and links-dso-program.
3991 * support/links-dso-program-c.c: New.
3992 * support/links-dso-program.cc: New.
3993 * support/test-container.c: New.
3994 * support/shell-container.c: New.
3995 * support/echo-container.c: New.
3996 * support/true-container.c: New.
3997 * support/xmkdirp.c: New.
3998 * support/xsymlink.c: New.
3999 * support/support_paths.c: New.
4000 * support/support.h: Add support paths prototypes.
4001 * support/xunistd.h: Add xmkdirp () and xsymlink ().
4003 * nss/tst-nss-test3.c: Convert to test-in-container.
4004 * nss/tst-nss-test3.root/: New.
4006 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
4008 regex: port Gnulib code to z/OS POSIX environment
4009 Problem reported by Arnold Robbins in:
4010 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
4011 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
4014 2018-08-22 Joseph Myers <joseph@codesourcery.com>
4016 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
4017 (ROUNDING_TESTS_double): Remove.
4018 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
4019 (ROUNDING_TESTS_double): Remove.
4020 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
4021 (ROUNDING_TESTS_double): Remove.
4022 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
4023 (ROUNDING_TESTS_float): Remove.
4024 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
4025 (ROUNDING_TESTS_float): Remove.
4026 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
4027 (ROUNDING_TESTS_float): Remove.
4028 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
4030 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4031 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4033 * sysdeps/generic/math-tests-rounding.h: New file.
4034 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
4035 (ROUNDING_TESTS_float): Do not define here.
4036 (ROUNDING_TESTS_double): Likewise.
4037 (ROUNDING_TESTS_long_double): Likewise.
4038 (ROUNDING_TESTS_float128): Likewise.
4039 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
4040 (ROUNDING_TESTS_double): Undefine before defining.
4041 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
4042 (ROUNDING_TESTS_double): Undefine before defining.
4043 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
4044 (ROUNDING_TESTS_double): Undefine before defining.
4045 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
4046 (ROUNDING_TESTS_float): Undefine before defining.
4047 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
4048 (ROUNDING_TESTS_float): Undefine before defining.
4049 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
4050 (ROUNDING_TESTS_float): Undefine before defining.
4051 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
4052 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
4054 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
4055 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
4056 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
4057 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4058 (ROUNDING_TESTS_float): Do not define here.
4059 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
4060 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
4061 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
4062 (ROUNDING_TESTS_float): Likewise.
4063 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
4064 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
4065 * sysdeps/mips/math-tests.h [__mips_soft_float]
4066 (ROUNDING_TESTS_float): Likewise.
4067 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
4068 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
4069 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
4070 (ROUNDING_TESTS_double): Likewise.
4071 (ROUNDING_TESTS_long_double): Likewise.
4073 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
4075 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
4076 (PF_XDP): New macro.
4077 (AF_XDP): New macro.
4078 (SOL_XDP): New macro.
4080 2018-08-21 Joseph Myers <joseph@codesourcery.com>
4082 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
4083 (TCP_INQ): Likewise.
4084 (TCP_CM_INQ): Likewise.
4085 (TCP_REPAIR_ON): Likewise.
4086 (TCP_REPAIR_OFF): Likewise.
4087 (TCP_REPAIR_OFF_NO_WP): Likewise.
4088 (struct tcp_zerocopy_receive): New type.
4090 2018-08-21 Florian Weimer <fweimer@redhat.com>
4092 * support/support.h (support_descriptor_supports_holes): Declare.
4093 * support/Makefile (libsupport-routines): Add
4094 support_descriptor_supports_holes.
4095 * support/support_descriptor_supports_holes.c: New file.
4096 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
4097 and stop testing if holes are not supported.
4098 * io/test-lfs.c (do_prepare): Likewise.
4099 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
4101 * timezone/tst-tzset.c (create_tz_file): Likewise.
4102 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
4104 (do_prepare): Set it.
4105 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
4107 2018-08-21 Florian Weimer <fweimer@redhat.com>
4110 * Makeconfig (+cflags): Do not sort (and deduplicate).
4112 2018-08-21 Florian Weimer <fweimer@redhat.com>
4114 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
4115 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
4117 2018-08-20 Florian Weimer <fweimer@redhat.com>
4119 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
4120 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
4122 2018-08-20 Joseph Myers <joseph@codesourcery.com>
4124 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
4125 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
4126 and ssi_arch members.
4128 * elf/elf.c (NT_VMCOREDD): New macro.
4129 (AT_MINSIGSTKSZ): Likewise.
4131 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4134 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
4135 s_cosf-ppc64 and s_cosf-power8.
4136 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
4137 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4138 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4139 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
4141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
4144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4146 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4147 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4149 2018-08-17 Florian Weimer <fweimer@redhat.com>
4151 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4153 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
4155 * malloc/malloc.c (_int_malloc): Additional binning code checks.
4157 2018-08-16 Florian Weimer <fweimer@redhat.com>
4159 * configure.ac: Add --with-nonshared-cflags option.
4160 * config.make.in (extra-nonshared-cflags): Set variable.
4161 * Makeconfig (CFLAGS-.oS): Use it.
4162 * manual/install.texi (Configuring and compiling): Document
4163 --with-nonshared-cflags.
4164 * configure: Regenerate.
4165 * INSTALL: Likewise.
4167 2018-08-16 Florian Weimer <fweimer@redhat.com>
4169 * Makeconfig (ASFLAGS): Always append required assembler flags.
4171 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
4173 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
4174 (malloc_consolidate): Likewise.
4176 2018-08-16 Pochang Chen <johnchen902@gmail.com>
4178 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
4180 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4182 * benchtests/bench-strlen.c (do_test): Allocate buffers before
4185 * benchtests/bench-strlen.c: Print performance numbers in json.
4187 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4189 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4190 (sysdep_routines): Build strcmp-power9 and strncmp-power9
4191 only for little endian.
4192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4193 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
4194 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
4195 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
4196 Add check for little endian.
4197 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4198 (__strcmp_power9): Add check for little endian.
4199 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
4200 Add check for little endian.
4201 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4202 (__strncmp_power9): Add check for little endian.
4203 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
4204 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
4205 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4206 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
4207 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
4209 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
4211 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
4212 [!STRLEN](STRLEN): Set to __strlen.
4213 * sysdeps/aarch64/multiarch/strlen.c: New file.
4214 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
4215 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
4216 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4217 (__libc_ifunc_impl_list): Add strlen.
4218 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4219 strlen_generic and strlen_asimd.
4221 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
4223 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
4224 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
4225 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4227 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
4229 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
4231 2018-08-14 Florian Weimer <fweimer@redhat.com>
4234 * include/stdio.h (__vfxprintf): Declare.
4235 * stdio-common/fxprintf.c (__vfxprintf): New function.
4236 (__fxprintf): Call it.
4237 * misc/err.c (convert_and_print): Remove function.
4238 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
4239 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
4240 * misc/Makefile (tests): Add tst-warn-wide.
4241 * misc/tst-warn-wide.c: New file.
4243 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
4244 Szabolcs Nagy <szabolcs.nagy@arm.com>
4246 * NEWS: Mention sinf, cosf, sincosf.
4247 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
4248 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
4249 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
4250 constants rather than including generic sincosf.h.
4251 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
4252 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
4253 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
4254 (reduced_cos): Remove.
4255 (sinf_poly): New function.
4256 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
4258 2018-08-14 Florian Weimer <fweimer@redhat.com>
4262 * nss/nss_files/files-alias.c (get_next_alias): During :include:
4263 processing, bail out if no room, and close the stream before
4265 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
4266 (tst-nss-files-alias-leak): Link with libdl.
4267 (tst-nss-files-alias-leak.out): Depend on nss_files.
4269 * nss/tst-nss-files-alias-leak.c: New file.
4271 2018-08-14 Florian Weimer <fweimer@redhat.com>
4273 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
4274 server_user, stat_user.
4276 2018-08-13 Joseph Myers <joseph@codesourcery.com>
4278 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4280 (io_pgetevents): New syscall.
4283 * manual/install.texi (Configuring and compiling): Do not list
4284 tools used for testing pretty printers here.
4285 (Tools for Compilation): List Python, PExpect and GDB here.
4286 Update descriptions of uses of Perl and Python.
4287 * INSTALL: Regenerate.
4289 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4292 2018-08-13 Florian Weimer <fweimer@redhat.com>
4294 * misc/error.c (error): Add missing va_end call.
4295 (error_at_line): Likewise.
4297 2018-08-13 Florian Weimer <fweimer@redhat.com>
4299 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
4301 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4303 * benchtests/scripts/benchout.schema.json (properties): Add
4306 * benchtests/bench-skeleton.c (main): Add duration and
4307 iterations attributes.
4309 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
4311 regex: Gnulib unibyte RRI uses bytes not chars
4312 Adjust the non-glibc code to agree with what Gawk needs for
4313 rational range interpretation (RRI) for regular expression ranges.
4314 In unibyte locales, Gawk wants ranges to use the underlying byte
4315 rather than the character code point. This change does not affect
4317 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
4318 In unibyte locales, use the byte value rather than
4319 running it through btowc.
4321 2018-08-10 Joseph Myers <joseph@codesourcery.com>
4323 * sysdeps/generic/math-tests-snan.h: New file.
4324 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
4325 (SNAN_TESTS_float): Do not define here.
4326 (SNAN_TESTS_double): Likewise.
4327 (SNAN_TESTS_long_double): Likewise.
4328 (SNAN_TESTS_float128): Likewise.
4329 * sysdeps/i386/fpu/math-tests-snan.h: New file.
4330 * sysdeps/i386/fpu/math-tests.h: Remove file.
4331 * sysdeps/ia64/math-tests-snan.h: New file.
4332 * sysdeps/ia64/math-tests.h: Remove file.
4333 * sysdeps/x86/math-tests.h: Likewise.
4334 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
4336 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4337 Szabolcs Nagy <szabolcs.nagy@arm.com>
4339 * math/Makefile: Add s_sincosf_data.c.
4340 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
4341 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
4342 (sincosf_poly): Likewise.
4343 (reduce_small): Likewise.
4344 (reduce_large): Likewise.
4345 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
4346 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
4347 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
4348 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
4350 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4351 Szabolcs Nagy <szabolcs.nagy@arm.com>
4353 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
4354 (converttoint): Use lround.
4355 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
4356 document the semantics when TOINT_INTRINSICS is set.
4357 (converttoint): Likewise.
4358 (TOINT_RINT): Remove.
4359 (TOINT_SHIFT): Remove.
4360 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
4363 2018-08-10 Florian Weimer <fweimer@redhat.com>
4366 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
4368 (__old_getdents64): Use getdents64. Convert entries without
4370 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
4371 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
4372 tst-readdir64-compat.
4374 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4376 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
4379 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4381 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
4382 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
4383 code to s390x-mcount.h and #include it.
4384 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
4385 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4388 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4390 * stdlib/Versions: Remove __fentry__.
4391 * sysdeps/i386/Versions: Add __fentry__.
4392 * sysdeps/x86_64/Versions: Add __fentry__.
4394 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4396 * sysdeps/s390/Makefile: Register the new tests.
4397 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
4398 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
4399 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
4400 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
4401 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
4402 * sysdeps/s390/tst-dl-runtime.c: New file.
4404 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4406 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4409 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4411 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4414 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4416 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4419 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4421 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4424 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4426 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4427 Use symbolic offsets for stack variables.
4429 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4431 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4432 Use symbolic offsets for stack variables.
4434 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4436 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4437 Use symbolic offsets for stack variables.
4439 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4441 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4442 Use symbolic offsets for stack variables.
4444 2018-08-09 Joseph Myers <joseph@codesourcery.com>
4446 * math/gen-libm-test.py: New file.
4447 * math/gen-libm-test.pl: Remove.
4448 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
4449 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
4451 ($(libm-test-c-noauto-obj)): Likewise.
4452 ($(libm-test-c-auto-obj)): Likewise.
4453 ($(libm-test-c-narrow-obj)): Likewise.
4454 (regen-ulps): Likewise.
4455 * math/README.libm-test: Update references to gen-libm-test.pl.
4456 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
4457 referencing gen-libm-test.pl.
4458 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
4459 * math/libm-test-support.c: Likewise.
4460 * math/libm-test-support.h: Likewise.
4461 * sysdeps/generic/libm-test-ulps: Likewise.
4463 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
4465 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
4468 2018-08-08 Joseph Myers <joseph@codesourcery.com>
4470 * math/libm-test-nextdown.inc (do_test): Move comment to ....
4471 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
4473 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4475 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
4477 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
4478 __pthread_setspecific): Add hidden proto.
4479 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
4480 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
4482 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4484 * benchtests/bench-string.h (buf1_size, buf2_size): New
4486 (init_sizes): New function.
4487 (test_init): Use it.
4488 (alloc_buf, exit_error): New functions.
4489 (alloc_bufs): Use ALLOC_BUF.
4490 (realloc_bufs): Remove.
4491 * benchtests/bench-memcmp.c (do_test): Adjust.
4492 * benchtests/bench-memset-large.c (do_test): Likewise.
4493 * benchtests/bench-memset-walk.c (do_test): Likewise.
4494 * benchtests/bench-memset.c (do_test): Likewise.
4495 * benchtests/bench-strncmp.c (do_test): Likewise.
4497 2018-08-06 Andreas Schwab <schwab@suse.de>
4499 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
4500 of CONST_THREAD_AREA.
4502 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
4504 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
4505 (STATE_SAVE_MASK): Likewise.
4506 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
4507 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
4508 (STATE_SAVE_MASK): Likewise.
4509 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
4510 instead of <cpu-features.h>.
4512 2018-08-03 DJ Delorie <dj@redhat.com>
4514 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
4515 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
4517 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4519 2018-08-03 Joseph Myers <joseph@codesourcery.com>
4521 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
4523 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
4524 * math/libm-test-logb.inc (logb_test_data): Likewise.
4526 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
4528 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
4529 * string/strstr.c (AVAILABLE): Likewise.
4531 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
4533 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
4535 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
4536 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
4537 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
4539 2018-08-03 Carlos O'Donell <carlos@redhat.com>
4541 * po/be.po: Update translation.
4543 * po/be.po: Update translation.
4545 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
4547 * sysdeps/x86/cpu-features-offsets.sym
4548 (rtld_global_ro_offsetof): Removed.
4549 (CPU_FEATURES_SIZE): Likewise.
4550 (CPUID_OFFSET): Likewise.
4551 (CPUID_SIZE): Likewise.
4552 (CPUID_EAX_OFFSET): Likewise.
4553 (CPUID_EBX_OFFSET): Likewise.
4554 (CPUID_ECX_OFFSET): Likewise.
4555 (CPUID_EDX_OFFSET): Likewise.
4556 (FAMILY_OFFSET): Likewise.
4557 (MODEL_OFFSET): Likewise.
4558 (FEATURE_OFFSET): Likewise.
4559 (FEATURE_SIZ): Likewise.
4560 (COMMON_CPUID_INDEX_1): Likewise.
4561 (COMMON_CPUID_INDEX_7): Likewise.
4562 (FEATURE_INDEX_1): Likewise.
4563 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
4565 2018-08-02 Carlos O'Donell <carlos@redhat.com>
4567 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
4568 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
4569 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
4570 (install-locales): Depend on install-locale-archive.
4571 (install-locale-archive): Define.
4572 (install-locale-files): Define.
4573 (build-one-locale): Define macro.
4574 * manual/install.texi (Running make install): Document.
4575 * manual/INSTALL: Regenerate.
4577 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
4579 * benchtests/scripts/compare_strings.py: Import traceback.
4580 (parse_file): Pretty-print error.
4582 * NEWS: Mention the change.
4583 * elf/dl-tunables.list: Rename tune namespace to cpu.
4584 * sysdeps/powerpc/dl-tunables.list: Likewise.
4585 * sysdeps/x86/dl-tunables.list: Likewise.
4586 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
4588 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
4589 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
4590 * manual/README.tunables: Likewise.
4591 * manual/tunables.texi: Likewise.
4592 * sysdeps/powerpc/cpu-features.c: Likewise.
4593 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
4594 (init_cpu_features): Likewise.
4595 * sysdeps/x86/cpu-features.c: Likewise.
4596 * sysdeps/x86/cpu-features.h: Likewise.
4597 * sysdeps/x86/cpu-tunables.c: Likewise.
4598 * sysdeps/x86_64/Makefile: Likewise.
4599 * sysdeps/x86/dl-cet.c: Likewise.
4601 2018-08-02 Joseph Myers <joseph@codesourcery.com>
4604 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
4605 [__mips_hard_float].
4606 (FE_UNDERFLOW): Likewise.
4607 (FE_OVERFLOW): Likewise.
4608 (FE_DIVBYZERO): Likewise.
4609 (FE_INVALID): Likewise.
4610 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
4611 (FE_TOWARDZERO): Define only if [__mips_hard_float].
4612 (FE_UPWARD): Likewise.
4613 (FE_DOWNWARD): Likewise.
4614 (__FE_UNDEFINED): Define if [!__mips_hard_float]
4615 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
4616 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
4617 [__mips_hard_float].
4618 (FP_ROUNDMODE): Likewise.
4619 (FP_RND_NEAREST): Likewise.
4620 (FP_RND_ZERO): Likewise.
4621 (FP_RND_PINF): Likewise.
4622 (FP_RND_MINF): Likewise.
4623 (FP_EX_INVALID): Likewise.
4624 (FP_EX_OVERFLOW): Likewise.
4625 (FP_EX_UNDERFLOW): Likewise.
4626 (FP_EX_DIVZERO): Likewise.
4627 (FP_EX_INEXACT): Likewise.
4628 (FP_INIT_ROUNDMODE): Likewise.
4629 * sysdeps/mips/nofpu/fesetenv.c: New file.
4630 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
4632 2018-08-01 Joseph Myers <joseph@codesourcery.com>
4634 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
4635 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
4636 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
4637 conditional on [FE_UPWARD].
4639 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
4641 regex: fix memory leak in Gnulib
4642 Problem and fix reported by Assaf Gordon in:
4643 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
4644 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
4645 range_ends members too, as they are defined in 'struct
4646 re_charset_t' even if not _LIBC. This affects only Gnulib.
4648 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
4650 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
4652 (get_common_indices): This.
4653 (init_cpu_features): Updated.
4655 2018-08-01 Joseph Myers <joseph@codesourcery.com>
4657 * sysdeps/generic/math-tests-snan-payload.h: New file.
4658 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
4659 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
4660 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
4661 * sysdeps/generic/math-tests.h: Include
4662 <math-tests-snan-payload.h>.
4663 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
4664 * sysdeps/hppa/math-tests.h: Remove file.
4665 * sysdeps/mips/math-tests.h [!__mips_nan2008]
4666 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
4667 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
4670 * sysdeps/generic/math-tests-snan-cast.h: New file.
4671 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
4672 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
4673 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
4674 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
4676 2018-08-01 Carlos O'Donel <carlos@redhat.com>
4678 * version.h (RELEASE): Set to "development".
4679 (VERSION): Set to "2.28.9000".
4680 * NEWS (2.29): New section.
4682 * version.h (RELEASE): Set to "stable".
4683 (VERSION): Set to "2.28".
4684 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
4685 * NEWS: Add the list of bugs fixed in 2.28.
4687 * po/ca.po: Update to latest version.
4688 * po/cs.po: Likewise
4689 * po/da.po: Likewise
4690 * po/el.po: Likewise
4691 * po/eo.po: Likewise
4692 * po/es.po: Likewise
4693 * po/fi.po: Likewise
4694 * po/fr.po: Likewise
4695 * po/gl.po: Likewise
4696 * po/hu.po: Likewise
4697 * po/ia.po: Likewise
4698 * po/id.po: Likewise
4699 * po/it.po: Likewise
4700 * po/ja.po: Likewise
4701 * po/ko.po: Likewise
4702 * po/lt.po: Likewise
4703 * po/nb.po: Likewise
4704 * po/nl.po: Likewise
4705 * po/pt_BR.po: Likewise
4706 * po/ru.po: Likewise
4707 * po/rw.po: Likewise
4708 * po/sk.po: Likewise
4709 * po/sl.po: Likewise
4710 * po/tr.po: Likewise
4711 * po/zh_CN.po: Likewise
4712 * po/zh_TW.po: Likewise
4714 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4716 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
4718 (init): ... before initializing libpthread.
4720 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
4721 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
4722 (__mach_setup_tls): ... new function.
4723 (mach_setup_tls): New alias.
4724 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
4725 __mach_setup_thread.
4726 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
4727 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
4728 * mach/Versions [libc] (mach_setup_tls): Add symbol.
4729 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
4731 2018-07-31 Carlos O'Donell <carlos@redhat.com>
4733 * manual/install.texi: Update versions.
4734 * INSTALL: Regenerate.
4736 * manual/contrib.texi (Contributors): Update contributions.
4738 2018-07-31 Carlos O'Donell <carlos@redhat.com>
4740 * po/be.po: Update translations.
4742 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4744 * sysdeps/sh/libm-test-ulps: Update.
4746 2018-07-30 Carlos O'Donell <carlos@redhat.com>
4748 * po/bg.po: Update translations.
4749 * po/de.po: Likewise.
4750 * po/hr.po: Likewise.
4751 * po/pt_BR.po: Likewise.
4752 * po/sv.po: Likewise.
4753 * po/vi.po: Likewise.
4755 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
4758 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
4759 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
4760 (CFLAGS-tst-cet-property-1.o): New.
4761 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
4762 ($(objpfx)tst-cet-property-2): Likewise.
4763 ($(objpfx)tst-cet-property-2.out): Likewise.
4764 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
4765 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
4766 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
4767 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
4768 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
4770 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
4773 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
4775 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4777 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
4778 __sbrk): Do not set attribute_hidden.
4779 * sysdeps/mach/hurd/not-errno.h: New file.
4780 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
4781 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
4783 2018-07-27 Carlos O'Donell <carlos@redhat.com>
4785 * po/uk.po: Update translations.
4786 * po/cs.po: Likewise.
4787 * po/pl.po: Likewise.
4789 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4791 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
4792 parse beyond the note end.
4794 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4796 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
4797 kernel does not support OFD locks.
4798 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
4800 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4802 * sysdeps/mach/hurd/Versions (libc): Make __access and
4803 __access_noerrno external so they can override the ld symbols.
4804 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
4805 __writev, __open64, __access_noerrno extern so they can be overrided.
4806 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
4807 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
4809 2018-07-26 Carlos O'Donell <carlos@redhat.com>
4811 * po/libc.pot: Regenerate.
4813 2018-07-26 Joseph Myers <joseph@codesourcery.com>
4815 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4817 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
4820 * sysdeps/x86/cpu-features.c (get_extended_indices): New
4822 (init_cpu_features): Call get_extended_indices for both Intel
4824 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
4825 Remove "for AMD" comment.
4827 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
4830 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
4831 COMMON_CPUID_INDEX_80000001.
4833 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
4835 * string/tst-xbzero-opt.c (use_test_buffer): New function.
4836 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
4838 2018-07-26 Florian Weimer <fweimer@redhat.com>
4840 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
4841 aliases for symbols not in the implementation namespace.
4843 2018-07-25 Carlos O'Donell <carlos@redhat.com>
4846 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
4847 lowercase in LATIN script.
4848 * localedata/Makefile (test-input): Add en_US.UTF-8.
4849 * localedata/en_US.UTF-8.in: New file.
4850 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
4851 and restore old tests.
4852 * posix/tst-regexloc.c (do_test): Add back range expression test.
4854 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4856 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
4858 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4860 * nptl/threads.h: Move to ...
4861 * sysdeps/nptl/threads.h: ... here.
4862 * sysdeps/hurd/stdc-predef.h: New file.
4864 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4866 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
4867 tst-cet-setcontext-1 if CET is enabled.
4868 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
4869 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
4871 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4873 * include/threads.h: Move to ...
4874 * sysdeps/nptl/threads.h: ... here.
4875 * sysdeps/htl/threads.h: New file.
4876 * conform/Makefile (linknamespace-libs-ISO11): Use
4877 static-thread-library instead of linking libpthread.
4878 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
4880 2018-07-25 Florian Weimer <fweimer@redhat.com>
4882 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
4883 nanoseconds into seconds.
4884 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
4885 (do_test): Likewise.
4886 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
4887 (do_test): Likewise. Avoid nanosecond overflow and spurious
4888 timeouts due to system load.
4889 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
4890 (child_wait): Increment it.
4891 (do_test): Wait as long as necessary until all expected threads
4894 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
4895 H.J. Lu <hongjiu.lu@intel.com>
4897 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
4899 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
4900 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
4901 (__push___start_context): New.
4902 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
4904 (__getcontext): Record the current shadow stack base. Save the
4905 caller's shadow stack pointer and base.
4906 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
4907 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
4908 (__push___start_context): New prototype.
4909 (__makecontext): Call __push___start_context to allocate a new
4910 shadow stack, push __start_context onto the new stack as well
4911 as the new shadow stack.
4912 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
4914 (__setcontext): Restore the target shadow stack.
4915 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
4917 (__swapcontext): Record the current shadow stack base. Save
4918 the caller's shadow stack pointer and base. Restore the target
4920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4921 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
4922 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
4924 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4926 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
4927 tst-setcontext8 and tst-setcontext9.
4928 * stdlib/tst-setcontext6.c: New file.
4929 * stdlib/tst-setcontext7.c: Likewise.
4930 * stdlib/tst-setcontext8.c: Likewise.
4931 * stdlib/tst-setcontext9.c: Likewise.
4933 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4935 * stdlib/Makefile ((tests): Add tst-setcontext5.
4936 * stdlib/tst-setcontext5.c: New file.
4938 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4940 * stdlib/Makefile (tests): Add tst-setcontext4.
4941 * stdlib/tst-setcontext4.c: New file.
4943 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4945 * stdlib/Makefile (tests): Add tst-swapcontext1.
4946 * stdlib/tst-swapcontext1.c: New test.
4948 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4950 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
4951 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
4952 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
4953 and tst-cet-legacy-4c.
4954 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
4955 and tst-cet-legacy-mod-4.
4956 (CFLAGS-tst-cet-legacy-2.c): New.
4957 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
4958 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
4959 (CFLAGS-tst-cet-legacy-3.c): Likewise.
4960 (CFLAGS-tst-cet-legacy-4.c): Likewise.
4961 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
4962 ($(objpfx)tst-cet-legacy-1): Likewise.
4963 ($(objpfx)tst-cet-legacy-2): Likewise.
4964 ($(objpfx)tst-cet-legacy-2.out): Likewise.
4965 ($(objpfx)tst-cet-legacy-2a): Likewise.
4966 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
4967 ($(objpfx)tst-cet-legacy-4): Likewise.
4968 ($(objpfx)tst-cet-legacy-4.out): Likewise.
4969 ($(objpfx)tst-cet-legacy-4a): Likewise.
4970 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
4971 (tst-cet-legacy-4a-ENV): Likewise.
4972 ($(objpfx)tst-cet-legacy-4b): Likewise.
4973 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
4974 (tst-cet-legacy-4b-ENV): Likewise.
4975 ($(objpfx)tst-cet-legacy-4c): Likewise.
4976 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
4977 (tst-cet-legacy-4c-ENV): Likewise.
4978 * sysdeps/x86/tst-cet-legacy-1.c: New file.
4979 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
4980 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
4981 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
4982 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
4983 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
4984 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
4985 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
4986 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
4987 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
4988 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
4990 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4992 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
4993 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
4995 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
4996 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
4999 2018-07-25 Andreas Schwab <schwab@suse.de>
5002 * locale/weightwc.h (findidx): Handle the case where usrc is a
5003 prefix of cp but one character too short.
5005 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5007 * NEWS: Add ISO C threads addition.
5009 2018-07-24 Florian Weimer <fweimer@redhat.com>
5011 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5012 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
5013 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
5016 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5018 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
5019 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
5020 <sys/prctl.h> and <asm/prctl.h>.
5021 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
5022 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
5024 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
5025 ARCH_CET_LEGACY_BITMAP.
5026 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
5027 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
5028 * sysdeps/x86/libc-start.c: Include <startup.h>.
5030 2018-07-24 Florian Weimer <fweimer@redhat.com>
5032 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
5033 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
5035 2018-07-24 Rical Jasan <rj@2c3t.io>
5036 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5037 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5040 * manual/debug.texi: Update adjacent chapter name.
5041 * manual/probes.texi: Likewise.
5042 * manual/threads.texi (ISO C Threads): New section.
5043 (POSIX Threads): Convert to a section.
5045 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5046 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5049 * nptl/Makefile (tests): Add new test files.
5050 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
5051 * nptl/tst-cnd-basic.c: Likewise.
5052 * nptl/tst-cnd-broadcast.c: Likewise.
5053 * nptl/tst-cnd-timedwait.c: Likewise.
5054 * nptl/tst-mtx-basic.c: Likewise.
5055 * nptl/tst-mtx-recursive.c: Likewise.
5056 * nptl/tst-mtx-timedlock.c: Likewise.
5057 * nptl/tst-mtx-trylock.c: Likewise.
5058 * nptl/tst-thrd-basic.c: Likewise.
5059 * nptl/tst-thrd-detach.c: Likewise.
5060 * nptl/tst-thrd-sleep.c: Likewise.
5061 * nptl/tst-tss-basic.c: Likewise.
5063 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5066 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
5067 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
5069 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5070 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5071 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5072 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5073 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5074 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5075 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5076 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5077 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5078 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5080 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5088 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5089 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5090 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5091 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5092 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5093 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5094 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5095 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5096 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
5097 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
5098 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
5099 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
5100 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
5102 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
5103 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
5104 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
5105 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
5106 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
5107 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
5108 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
5109 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
5110 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
5111 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
5112 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
5113 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5120 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
5121 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
5122 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
5123 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
5124 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
5125 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
5126 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
5127 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
5130 * conform/data/threads.h-data (thread_local): New macro.
5131 (TSS_DTOR_ITERATIONS): Likewise.
5133 (tss_dtor_t): Likewise.
5134 (tss_create): New function.
5135 (tss_get): Likewise.
5136 (tss_set): Likewise.
5137 (tss_delete): Likewise.
5138 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
5139 tss_get, and tss_set objects.
5140 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5141 * nptl/tss_create.c: New file.
5142 * nptl/tss_delete.c: Likewise.
5143 * nptl/tss_get.c: Likewise.
5144 * nptl/tss_set.c: Likewise.
5145 * sysdeps/nptl/threads.h (thread_local): New define.
5146 (TSS_DTOR_ITERATIONS): Likewise.
5147 (tss_t): New typedef.
5148 (tss_dtor_t): Likewise.
5149 (tss_create): New prototype.
5150 (tss_get): Likewise.
5151 (tss_set): Likewise.
5152 (tss_delete): Likewise.
5155 * conform/data/threads.h-data (cnd_t): New type.
5156 (cnd_init): New function.
5157 (cnd_signal): Likewise.
5158 (cnd_broadcast): Likewise.
5159 (cnd_wait): Likewise.
5160 (cnd_timedwait): Likewise.
5161 (cnd_destroy): Likewise.
5162 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
5163 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
5165 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5166 * nptl/cnd_broadcast.c: New file.
5167 * nptl/cnd_destroy.c: Likewise.
5168 * nptl/cnd_init.c: Likewise.
5169 * nptl/cnd_signal.c: Likewise.
5170 * nptl/cnd_timedwait.c: Likewise.
5171 * nptl/cnd_wait.c: Likewise.
5172 * sysdeps/nptl/threads.h (cnd_t): New type.
5173 (cnd_init): New prototype.
5174 (cnd_signa): Likewise.
5175 (cnd_broadcast): Likewise.
5176 (cnd_wait): Likewise.
5177 (cnd_timedwait): Likewise.
5178 (cnd_destroy): Likewise.
5181 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
5182 (once_flag): New type.
5183 (call_once): New function.
5184 * nptl/Makefile (libpthread-routines): Add call_once object.
5185 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
5186 * nptl/call_once.c: New file.
5187 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
5188 (once_flag): New type.
5189 (call_once): New prototype.
5192 * conform/data/threads.h-data (mtx_plain): New constant.
5193 (mtx_recursive): Likewise.
5194 (mtx_timed): Likewise.
5196 (mtx_init): New function.
5197 (mtx_lock): Likewise.
5198 (mtx_timedlock): Likewise.
5199 (mtx_trylock): Likewise.
5200 (mtx_unlock): Likewise.
5201 (mtx_destroy): Likewise.
5202 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
5203 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
5204 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
5205 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
5206 * nptl/mtx_destroy.c: New file.
5207 * nptl/mtx_init.c: Likewise.
5208 * nptl/mtx_lock.c: Likewise.
5209 * nptl/mtx_timedlock.c: Likewise.
5210 * nptl/mtx_trylock.c: Likewise.
5211 * nptl/mtx_unlock.c: Likewise.
5212 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
5213 (mtx_recursive): Likewise.
5214 (mtx_timed): Likewise.
5216 (mtx_init): New prototype.
5217 (mtx_lock): Likewise.
5218 (mtx_timedlock): Likewise.
5219 (mtx_trylock): Likewise.
5220 (mtx_unlock): Likewise.
5221 (mtx_destroy): Likewise.
5224 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
5225 (linknamespace-libs-ISO11): Add libpthread.a.
5226 * conform/data/threads.h-data: New file: add C11 thrd_* types and
5228 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
5229 * nptl/Makefile (headers): Add threads.h.
5230 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
5231 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
5233 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
5234 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
5235 thrd_join, thrd_sleep, and thrd_yield symbols.
5236 * nptl/descr.h (struct pthread): Add c11 field.
5237 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
5238 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
5239 routine with expected function prototype.
5240 (__pthread_create_2_1): Add C11 threads check based on attribute
5242 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
5243 * nptl/thrd_create.c: New file.
5244 * nptl/thrd_current.c: Likewise.
5245 * nptl/thrd_detach.c: Likewise.
5246 * nptl/thrd_equal.c: Likewise.
5247 * nptl/thrd_exit.c: Likewise.
5248 * nptl/thrd_join.c: Likewise.
5249 * nptl/thrd_priv.h: Likewise.
5250 * nptl/thrd_sleep.c: Likewise.
5251 * nptl/thrd_yield.c: Likewise.
5252 * include/threads.h: Likewise.
5254 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5256 * bits/indirect-return.h: New file.
5257 * misc/sys/cdefs.h (__glibc_has_attribute): New.
5258 * sysdeps/x86/bits/indirect-return.h: Likewise.
5259 * stdlib/Makefile (headers): Add bits/indirect-return.h.
5260 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
5261 (swapcontext): Add __INDIRECT_RETURN.
5262 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
5263 (prepare_test_buffer): Use it.
5265 2018-07-24 Andreas Schwab <schwab@suse.de>
5268 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
5269 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
5271 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5273 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
5274 Redefine if shadow stack is enabled.
5275 (SYSCALL_ERROR_LABEL): Likewise.
5276 (__vfork): Pop shadow stack and jump back to to caller directly
5277 when shadow stack is in use.
5278 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
5279 Redefine if shadow stack is enabled.
5280 (SYSCALL_ERROR_LABEL): Likewise.
5281 (__vfork): Pop shadow stack and jump back to to caller directly
5282 when shadow stack is in use.
5284 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5286 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
5289 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
5292 2018-07-20 Joseph Myers <joseph@codesourcery.com>
5294 * scripts/build-many-glibcs.py (Context.checkout): Default
5295 binutils version to 2.31 branch.
5297 2018-07-20 Zong Li <zong@andestech.com>
5299 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
5300 URL of gcc's tarball.
5302 2018-07-20 Florian Weimer <fweimer@redhat.com>
5305 * posix/regcomp.c (build_equiv_class): When comparing weights, do
5306 not compare an extra byte after the end of the weights.
5308 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5310 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
5312 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
5314 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
5315 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
5316 * scripts/check-execstack.awk: Consider `xfail' variable containing a
5317 list of libraries whose stack executability is expected.
5318 * elf/Makefile ($(objpfx)check-execstack.out): Pass
5319 $(check-execstack-xfail) to check-execstack.awk through `xfail'
5321 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
5322 libc.so libpthread.so.
5324 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
5326 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
5328 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
5330 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
5332 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
5334 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5336 * benchtests/scripts/compare_bench.py (__main__): use the argparse
5337 library to improve command line parsing.
5338 (__main__): make schema file as optional parameter (--schema),
5339 defaulting to benchtests/scripts/benchout.schema.json.
5340 (main): move out of the parsing stuff to __main_ and leave it
5341 only as caller of main comparison functions.
5343 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
5345 * NEWS: Add a note for Intel CET status.
5346 * manual/install.texi: Likewise.
5347 * INSTALL: Regenerated.
5349 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
5352 * localedata/locales/oc_FR (mon): Rename to...
5353 (alt_mon): This, then update October (typo fix).
5354 (mon): New content (genitive case, month names preceded by
5358 * localedata/locales/oc_FR (abday): Update all items.
5359 (day): Update Wednesday and Saturday (typo fixes).
5360 (abmon): Update all items, except May.
5361 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
5362 (LC_IDENTIFICATION): Bump the revision number and date.
5363 Keep the "category" entries in alphabetic order.
5364 (LC_ADDRESS): Remove no longer needed comment.
5365 (LC_COLLATE): Use “copy "ca_ES"”.
5366 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
5369 2018-07-18 Joseph Myers <joseph@codesourcery.com>
5371 * grp/tst_fgetgrent.c: Include <unistd.h>.
5372 (main): Use mkstemp instead of tmpnam.
5373 * io/test-utime.c (main): Likewise.
5374 * posix/annexc.c (macrofile): Change to modifiable array.
5375 (main): Remove macrofile here.
5376 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
5378 (check_header): Do not remove macrofile here.
5379 * posix/bug-getopt1.c: Include <stdlib.h>.
5380 (do_test): Use mkstemp instead of tmpnam.
5381 * posix/bug-getopt2.c: Include <stdlib.h>.
5382 (do_test): Use mkstemp instead of tmpnam.
5383 * posix/bug-getopt3.c: Include <stdlib.h>.
5384 (do_test): Use mkstemp instead of tmpnam.
5385 * posix/bug-getopt4.c: Include <stdlib.h>.
5386 (do_test): Use mkstemp instead of tmpnam.
5387 * posix/bug-getopt5.c: Include <stdlib.h>.
5388 (do_test): Use mkstemp instead of tmpnam.
5389 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
5390 (main): Use mkstemp instead of tmpnam.
5391 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
5392 (main): Use mkstemp instead of tmpnam.
5393 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
5394 (main): use mkstemp instead of tmpnam.
5395 * stdlib/isomac.c (macrofile): Change to modifiable array.
5396 (main): Remove macrofile here.
5397 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
5399 (check_header): Do not remove macrofile here.
5401 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5403 * manual/tunables.texi: Document glibc.tune.x86_ibt and
5404 glibc.tune.x86_shstk.
5406 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5408 * NEWS: Mention --enable-cet.
5409 * manual/install.texi: Document --enable-cet.
5410 * INSTALL: Regenerated.
5412 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5414 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
5415 Add _CET_NOTRACK before indirect jump to jump table.
5417 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5419 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
5420 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5423 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5425 * sysdeps/i386/i686/multiarch/strcat-sse2.S
5426 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5429 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5431 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
5432 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5435 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
5438 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5441 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5443 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
5444 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5446 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
5448 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5450 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
5451 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5454 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5456 * sysdeps/i386/i686/multiarch/memset-sse2.S
5457 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5460 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5462 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
5463 indirect jump to jump table.
5465 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
5468 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5472 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5474 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
5475 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5479 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5481 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
5482 _CET_NOTRACK before indirect jump to jump table.
5484 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5486 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
5487 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5490 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5492 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
5493 indirect jump to jump table.
5495 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
5498 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
5499 (LOCALES): Likewise.
5500 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
5501 * localedata/locales/sah_RU: New file.
5502 * localedata/sah_RU.UTF-8.in: New file.
5504 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5506 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
5508 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
5509 _CET_ENDBR to indirect jump targets and adjust jump destination
5511 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
5513 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
5514 _CET_ENDBR to indirect jump targets and adjust jump destination
5516 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
5518 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
5519 _CET_ENDBR to indirect jump targets and adjust jump destination
5522 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5524 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
5527 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5529 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
5531 (_dl_tlsdesc_undefweak): Likewise.
5532 (_dl_tlsdesc_dynamic): Likewise.
5533 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
5534 (_dl_tlsdesc_resolve_rel): Likewise.
5535 (_dl_tlsdesc_resolve_rela): Likewise.
5536 (_dl_tlsdesc_resolve_hold): Likewise.
5537 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
5538 (_dl_tlsdesc_undefweak): Likewise.
5539 (_dl_tlsdesc_dynamic): Likewise.
5540 (_dl_tlsdesc_resolve_rela): Likewise.
5541 (_dl_tlsdesc_resolve_hold): Likewise.
5543 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5545 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
5547 * sysdeps/x86_64/crti.S (_init): Likewise.
5550 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
5553 * localedata/locales/os_RU (mon): Rename to...
5555 (mon): Import from CLDR (genitive case).
5557 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5559 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
5560 cet-tunables.h> when CET is enabled.
5562 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
5565 * configure.ac: Add --enable-cet.
5566 * configure: Regenerated.
5567 * elf/Makefille (all-built-dso): Add a comment.
5568 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
5569 Include <dl-prop.h>.
5570 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
5572 * elf/dl-open.c: Include <dl-prop.h>.
5573 (dl_open_worker): Call _dl_open_check.
5574 * elf/rtld.c: Include <dl-prop.h>.
5575 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
5577 * sysdeps/generic/dl-prop.h: New file.
5578 * sysdeps/i386/dl-cet.c: Likewise.
5579 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
5580 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
5581 * sysdeps/x86/cet-tunables.h: Likewise.
5582 * sysdeps/x86/check-cet.awk: Likewise.
5583 * sysdeps/x86/configure: Likewise.
5584 * sysdeps/x86/configure.ac: Likewise.
5585 * sysdeps/x86/dl-cet.c: Likewise.
5586 * sysdeps/x86/dl-procruntime.c: Likewise.
5587 * sysdeps/x86/dl-prop.h: Likewise.
5588 * sysdeps/x86/libc-start.h: Likewise.
5589 * sysdeps/x86/link_map.h: Likewise.
5590 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
5592 (_dl_runtime_profile): Likewise.
5593 (_dl_runtime_resolve_shstk): New.
5594 (_dl_runtime_profile_shstk): Likewise.
5595 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
5597 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
5598 (CFLAGS-.os): Likewise.
5599 (CFLAGS-.op): Likewise.
5600 (CFLAGS-.oS): Likewise.
5601 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
5603 (tests-special): Add $(objpfx)check-cet.out.
5604 (cet-built-dso): New.
5605 (+$(cet-built-dso:=.note)): Likewise.
5606 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
5607 ($(objpfx)check-cet.out): New.
5608 (generated): Add check-cet.out.
5609 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
5611 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
5612 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
5613 (init_cpu_features): Call get_cet_status to check CET status
5614 and update dl_x86_feature_1 with CET status. Call
5615 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
5616 (set_x86_shstk). Disable and lock CET in libc.a.
5617 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
5618 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
5619 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
5620 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
5621 (_CET_ENDBR): Define if not defined.
5622 (ENTRY): Add _CET_ENDBR.
5623 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
5625 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
5627 (_dl_runtime_profile): Likewise.
5629 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
5632 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
5633 restore r2 on longjmp.
5634 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
5636 Added rules to build test tst-setjmp-bug21895-static.
5637 Added module setjmp-bug21895 and rules to build a shared object from it.
5638 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
5639 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
5641 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
5643 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
5644 * benchtests/bench-strstr.c: Likewise.
5645 * string/memmem.c (FASTSEARCH): Define.
5646 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
5647 Add support for FASTSEARCH.
5648 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
5649 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
5650 (FASTSEARCH): Define.
5651 * string/test-strcasestr.c: Rename __strnlen to strnlen.
5652 * string/test-strstr.c: Likewise.
5654 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
5656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
5657 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
5659 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5660 H.J. Lu <hongjiu.lu@intel.com>
5662 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
5663 (__longjmp): Restore shadow stack pointer if shadow stack is
5664 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
5665 isn't defined for __longjmp_cancel.
5666 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
5667 (_setjmp): Save shadow stack pointer if shadow stack is enabled
5668 and SHADOW_STACK_POINTER_OFFSET is defined.
5669 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
5670 (setjmp): Save shadow stack pointer if shadow stack is enabled
5671 and SHADOW_STACK_POINTER_OFFSET is defined.
5672 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
5673 (__sigsetjmp): Save shadow stack pointer if shadow stack is
5674 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5675 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
5677 (____longjmp_chk): Restore shadow stack pointer if shadow stack
5678 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5679 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
5680 Remove jmp_buf-ssp.sym.
5681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5683 (____longjmp_chk): Restore shadow stack pointer if shadow stack
5684 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5685 * sysdeps/x86/Makefile (gen-as-const-headers): Add
5687 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
5688 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
5689 (__longjmp): Restore shadow stack pointer if shadow stack is
5690 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
5691 isn't defined for __longjmp_cancel.
5692 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
5693 (__sigsetjmp): Save shadow stack pointer if shadow stack is
5694 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5696 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
5699 * nptl/pthread_create.c: Include <tls-setup.h>.
5700 (__pthread_create_2_1): Call tls_setup_tcbhead.
5701 * sysdeps/generic/tls-setup.h: New file.
5702 * sysdeps/x86/nptl/tls-setup.h: Likewise.
5703 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
5704 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
5706 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
5708 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
5709 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
5710 (X86_FEATURE_1_SHSTK): Likewise.
5711 (CET_ENABLED): Likewise.
5712 (IBT_ENABLED): Likewise.
5713 (SHSTK_ENABLED): Likewise.
5715 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
5718 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
5719 (LOCALES): Likewise.
5720 * localedata/dsb_DE.UTF-8.in: New file.
5721 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
5723 2018-07-12 Florian Weimer <fweimer@redhat.com>
5725 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
5726 __mprotect, not mprotect.
5728 2018-07-11 Florian Weimer <fweimer@redhat.com>
5730 * io/Makefile (headers): Add bits/statx.h.
5732 2018-07-10 Mike FABIAN <mfabian@redhat.com>
5734 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
5735 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
5737 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
5738 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
5741 2018-07-10 Florian Weimer <fweimer@redhat.com>
5743 * io/Makefile (routines): Add statx.
5744 (tests-internal): Add tst-statx.
5745 * io/Versions (GLIBC_2.28): Export statx.
5746 * io/bits/statx.h: New file.
5747 * io/sys/stat.h [__USE_GNU]: Include it.
5748 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
5749 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
5751 * io/statx.c: New file.
5752 * io/statx_generic.: Likewise.
5753 * io/tst-statx.: Likewise.
5754 * include/bits/statx.h: Likewise.
5755 * sysdeps/unix/sysv/linux/kernel-features.h
5756 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
5757 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5758 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
5759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
5761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5762 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
5763 * sysdeps/unix/sysv/linux/statx.c: New file.
5764 * manual/filesys.texi: Note that statx is undocumented.
5765 * sysdeps/**/libc*.abilist: Update.
5767 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5769 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
5770 a kernel issue which lead to test failure in some cases.
5772 2018-07-10 Florian Weimer <fweimer@redhat.com>
5775 * posix/regexec.c (check_node_accept_bytes): When comparing
5776 weights, do not compare an extra byte after the end of the
5779 2018-07-10 Florian Weimer <fweimer@redhat.com>
5781 * libio/readline.c: Fix copyright year.
5782 * libio/tst-readline.c Likewise.
5783 * nss/tst-nss-files-hosts-getent.c: Likewise.
5785 2018-07-06 Florian Weimer <fweimer@redhat.com>
5788 * nss/nss_files/files-XXX.c (internal_getent): Use
5789 __libc_readline_unlocked. Seek back to the start of the line if
5790 parsing failes with ERANGE.
5791 (get_contents_ret, get_contents): Remove.
5792 * nss/tst-nss-files-hosts-getent.c: New file.
5793 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
5794 (tst-nss-files-hosts-getent): Link with -ldl.
5796 2018-07-06 Florian Weimer <fweimer@redhat.com>
5798 * include/stdio.h (__libc_readline_unlocked): Declare.
5799 (__ftello64, __fseeko64): Declare aliases.
5800 * libio/readline.c: New file.
5801 * libio/tst-readline.c: Likewise.
5802 (routines): Add readline.
5803 (tests-internal): Add tst-readlime.
5804 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
5805 __libc_readline_unlocked.
5806 * libio/fseeko.c (__fseeko): Rename from fseeko.
5807 (fseeko): Add alias.
5808 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
5809 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
5810 (fseeko64): Add alias.
5811 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
5812 * libio/ftello64.c (__ftello64): Rename from ftello64.
5813 (ftello64): Add alias.
5815 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5817 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
5820 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5822 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
5823 Use dl_hwcap without masking.
5824 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
5827 2018-07-06 Florian Weimer <fweimer@redhat.com>
5829 * conform/conformtest.pl (checknamespace): Escape literal braces
5830 in regular expressions.
5832 2018-07-06 Amit Pawar <amit.pawar@amd.com>
5834 * sysdeps/x86/cpu-features.c (get_common_indeces):
5835 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
5836 * sysdeps/x86/cpu-features.c (init_cpu_features):
5837 AVX_Fast_Unaligned_Load is disabled for Excavator core.
5839 2018-07-05 Florian Weimer <fweimer@redhat.com>
5841 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
5843 (CFLAGS-elf-init.oS): Likewise.
5845 2018-07-05 Florian Weimer <fweimer@redhat.com>
5846 Carlos O'Donell <carlos@redhat.com>
5848 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
5849 $(no-stack-protector). stack_chk_fail_local.c can be compiled
5850 with stack protector enabled because there is no risk of infinite
5853 2018-07-05 Maciej W. Rozycki <macro@mips.com>
5857 * libc-abis (ABSOLUTE): New ABI.
5858 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
5859 * NEWS: Mention the new ABI.
5861 2018-07-05 Florian Weimer <fweimer@redhat.com>
5864 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
5865 (RENAME_WHITEOUT): Define.
5866 [__USE_GNU] (renameat2): Declare.
5867 * stdio-common/Makefile (routines): Add renameat2.
5868 (tests): Add tst-renameat2.
5869 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
5870 * stdio-common/renameat2.c: New file.
5871 * stdio-common/tst-renameat2.c: Likewise.
5872 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
5873 * manual/filesys.texi (Temporary Files): Note that renameat2 is
5875 * sysdeps/unix/sysv/linux/kernel-features.h
5876 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
5877 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5878 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
5879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5880 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
5881 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5882 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
5883 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5884 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
5885 * include/stdio.h (__renameat): Add alias for renameat.
5886 * stdio-common/renameat.c (__renameat): Rename from renameat.
5887 Add hidden definition and alias.
5888 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5889 * sysdeps/mach/hurd/renameat.c: Likewise.
5890 * sysdeps/**/libc*.abilist: Add renameat2.
5892 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5894 * posix/bug-regex33.c: Fix build after regex sync.
5896 2018-07-04 Carlos O'Donell <carlos@redhat.com>
5899 * localedata/tst-langinfo-setlocale.c: New file.
5900 * localedata/tst-langinfo-setlocale-static.c: New file.
5901 * localedata/tst-langinfo-newlocale.c: New file.
5902 * localedata/tst-langinfo-newlocale-static.c: New file.
5903 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
5904 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
5905 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
5906 (tests-static): Remove tst-langinfo-static. Add
5907 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
5908 (tests-special): Remove $(objpfx)tst-langinfo.out,
5909 $(objpfx)tst-langinfo-static.out. Add
5910 $(objpfx)tst-langinfo-setlocale.out,
5911 $(objpfx)tst-langinfo-newlocale.out,
5912 $(objpfx)tst-langinfo-setlocale-static.out,
5913 $(objpfx)tst-langinfo-newlocale-static.out.
5914 ($(objpfx)tst-langinfo.out): Remove.
5915 ($(objpfx)tst-langinfo-static.out): Remove.
5916 ($(objpfx)tst-langinfo-newlocale.out): New target.
5917 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
5918 (test-xfail-tst-langinfo-newlocale-static): Add.
5919 ($(objpfx)tst-langinfo-setlocale.out): New target.
5920 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
5921 * localedata/tst-langinfo.c: Call test_locale.
5922 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
5925 2018-07-04 Florian Weimer <fweimer@redhat.com>
5927 testrun.sh: Implement --tool=strace, --tool=valgrind
5928 * Makefile (testrun-script): Define variable.
5929 (testrun.sh): Use variable.
5930 * manual/install.texi (Tools for Compilation): make 4.0 or later
5932 * configure.ac: Check for make 4.0 or later.
5933 * INSTALL: Regenerate.
5934 * configure: Likewise.
5936 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5942 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
5943 * posix/PCRE.tests: Remove invalid test.
5944 * posix/bug-regex28.c: Fix expected values for used syntax.
5945 * posix/bug-regex37.c: New file.
5946 * posix/bug-regex38.c: Likewise.
5947 * posix/regcomp.c: Sync with gnulib.
5948 * posix/regex.c: Likewise.
5949 * posix/regex.h: Likewise.
5950 * posix/regex_internal.c: Likewise.
5951 * posix/regex_internal.h: Likewise.
5952 * posix/regexec.c: Likewise.
5954 2018-06-26 Mike FABIAN <mfabian@redhat.com>
5957 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
5958 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
5959 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
5960 * localedata/unicode-gen/PropList.txt: likewise.
5961 * localedata/unicode-gen/UnicodeData.txt: likewise.
5962 * localedata/charmaps/UTF-8: Regenerate.
5963 * localedata/locales/i18n_ctype: likewise.
5964 * localedata/locales/tr_TR: likewise.
5965 * localedata/locales/translit_circle: likewise.
5966 * localedata/locales/translit_cjk_compat: likewise.
5967 * localedata/locales/translit_combining: likewise.
5968 * localedata/locales/translit_compat: likewise.
5969 * localedata/locales/translit_font: likewise.
5970 * localedata/locales/translit_fraction: likewise.
5972 2018-07-03 Florian Weimer <fweimer@redhat.com>
5975 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
5976 * stdio-common/tst-printf.sh: Adjust expected output.
5979 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5981 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
5984 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5986 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
5987 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
5988 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
5989 * stdio-common/tst-printfsz-islongdouble.c: New file.
5990 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
5991 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
5992 [subdir == stdio-common] (routines): Add ieee128-printf_size.
5993 [subdir == stdio-common] (tests-internal): Add
5994 test-printf-size-ieee128, and test-printf-size-ibm128.
5995 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
5996 (CFLAGS-test-printf-size-ibm128.c): New variables.
5997 [subdir == stdio-common] (tests-special): Add
5998 $(objpfx)test-printf-size-ieee128.out and
5999 $(objpfx)test-printf-size-ibm128.out.
6000 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
6001 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
6002 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
6003 __printf_sizeieee128.
6004 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
6006 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
6008 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
6011 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6013 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
6014 (exp2f_inline): Likewise.
6015 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
6016 (__math_uflowf): Likewise.
6017 (__math_may_uflowf): Likewise.
6018 (__math_divzerof): Likewise.
6019 (__math_invalidf): Likewise.
6020 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
6021 (__math_oflowf): Likewise.
6022 (__math_uflowf): Likewise.
6023 (__math_may_uflowf): Likewise.
6024 (__math_divzerof): Likewise.
6025 (__math_invalidf): Likewise.
6027 2018-06-29 DJ Delorie <dj@redhat.com>
6028 Carlos O'Donell <carlos@redhat.com>
6031 * include/libc-symbols.h: Comment the freeres framework.
6032 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
6033 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
6034 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
6035 * dlfcn/dlerror.c: Include libc-symbols.h
6036 (__dlerror_main_freeres): New function.
6037 * dlfcn/dlfreeres.c: New file.
6038 * dlfcn/sdlfreeres.c: New file.
6039 * include/dlfcn.h: Declare __dlerror_main_freeres.
6040 * malloc/set-freeres.c: Declare __libdl_freeres, and
6041 __libpthread_freeres.
6042 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
6043 the releavant libraries are loaded.
6044 * malloc/thread-freeres.c: Add comments.
6045 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
6046 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
6047 * nptl/allocatestack.c (__nptl_free_stacks): New function.
6048 (__free_stacks): Rename to...
6049 (free_stacks): ...this. Mark static.
6050 (queue_stack): Call free_stacks.
6051 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
6052 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
6053 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
6054 ptr_freeres element from struct.
6055 (pthread_functions): Remove .ptr_freeres from struct initializer.
6056 [SHARED] (nptl_freeres): Remove.
6057 * nptl/nptlfreeres.c: New file.
6059 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
6060 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
6062 (__free_stacks): Rename to...
6063 (__nptl_stacks_freeres): ...this.
6064 (__shm_directory_freeres): Declare.
6065 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
6066 (__nptl_unwind_freeres): ...this.
6067 * resolv/res-close.c: Add comment.
6068 * resolv/resolv_conf.c: Include libc-symbols.h.
6069 * string/strerror_l.c: Include libc-symbols.h.
6070 * sunrpc/rpc_thread.c: Include libc-symbols.h.
6071 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
6072 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
6073 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
6075 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6077 * stdlib/tst-strfmon_l.c: Add tests for long double.
6079 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
6082 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
6083 * localedata/locales/dsb_DE: New file.
6085 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6088 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
6090 (alt_mon): New entry, import from CLDR (nominative case).
6092 2018-06-29 Sylvain Lesage <severo@rednegra.net>
6095 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
6097 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
6099 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
6100 Use vector registers.
6102 * sysdeps/aarch64/multiarch/memmove_falkor.S
6103 (__memcpy_falkor): Use vector registers.
6105 2018-06-29 Martin Sebor <msebor@redhat.com>
6107 * manual/stdio.texi (Customizing Printf): Mention interaction
6110 2018-06-29 Maciej W. Rozycki <macro@mips.com>
6113 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
6114 `st_value' is 0 if `st_shndx' is SHN_ABS.
6115 * elf/tst-absolute-zero.c: New file.
6116 * elf/tst-absolute-zero-lib.c: New file.
6117 * elf/tst-absolute-zero-lib.lds: New file.
6118 * elf/Makefile (tests): Add `tst-absolute-zero'.
6119 (modules-names): Add `tst-absolute-zero-lib'.
6120 (LDLIBS-tst-absolute-zero-lib.so): New variable.
6121 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
6122 ($(objpfx)tst-absolute-zero: New dependency.
6124 2018-06-29 Zack Weinberg <zackw@panix.com>
6126 * configure.ac: New command-line option --disable-crypt.
6127 Force --disable-nss-crypt when --disable-crypt is given, with a
6128 warning if it was explicitly enabled.
6129 * configure: Regenerate.
6130 * config.make.in: New boolean substitution variable $(build-crypt).
6131 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
6132 when $(build-crypt).
6133 * manual/install.texi: Document --disable-crypt.
6134 * INSTALL: Regenerate.
6136 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
6138 * conform/Makefile: Only include libcrypt.a in
6139 linknamespace-libs-xsi and linknamespace-libs-XPG4
6140 when $(build-crypt).
6141 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
6142 USE_CRYPT to 1 when $(build-crypt).
6143 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
6144 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
6145 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
6147 2018-06-29 Zack Weinberg <zackw@panix.com>
6149 * crypt/crypt.h, posix/unistd.h: Update comments and
6150 prototypes for crypt and crypt_r.
6152 * manual/crypt.texi (Cryptographic Functions): New initial
6154 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
6155 (Unpredictable Bytes): Improve initial exposition. Clarify error
6156 behavior of getentropy and getrandom.
6157 * manual/examples/genpass.c: Generate a salt using getentropy
6158 instead of the current time. Use hash $5$ (SHA-2-256).
6159 * manual/examples/testpass.c: Demonstrate validation against
6160 hashes generated with three different one-way functions.
6162 * manual/intro.texi: crypt.texi does not need an overview
6165 * manual/nss.texi, manual/memory.texi, manual/socket.texi
6166 * manual/terminal.texi: Consistently refer to "passphrases"
6167 * instead of "passwords", and to the "user database" instead
6168 * of the "password database".
6169 * manual/users.texi: Similarly. Add notes about how actual
6170 passphrase hashes are now stored in the shadow database.
6171 Remove 20-year-old junk todo note.
6173 2018-06-29 Zack Weinberg <zackw@panix.com>
6175 * manual/crypt.texi: Use a normal top-level @node declaration.
6176 Move most of the introductory text to the 'crypt' section.
6177 Move the example programs below the @deftypefun for 'crypt_r'.
6178 Move the 'getpass' section...
6179 * manual/terminal.texi: ...here.
6181 2018-06-29 Zack Weinberg <zackw@panix.com>
6182 Florian Weimer <fweimer@redhat.com>
6184 * posix/unistd.h: Do not declare encrypt.
6185 (_XOPEN_CRYPT): Remove macro definition.
6186 (crypt): Declare only for _USE_MISC.
6187 * stdlib/stdlib.h: Do not declare setkey.
6188 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
6189 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
6191 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
6192 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
6193 into compat symbols. Don't define initial_perm if it's not
6195 * crypt/cert.c: Link explicitly with the expected versions for
6196 setkey and encrypt. If they are not available at all, mark
6197 the test as unsupported.
6199 * sunrpc/des_crypt.c: Unconditionally block linkage with
6200 cbc_crypt and ecb_crypt for new binaries.
6201 * sunrpc/des_soft.c: Unconditionally block linkage with
6202 des_setparity for new binaries.
6204 * manual/crypt.texi: Remove the entire "DES Encryption"
6205 section. Also remove the paragraph talking about FIPS 140-2
6206 from the introduction.
6207 * manual/string.texi (strfry, memfrob): Revise. Recommend use
6208 of libgcrypt for "real" encryption, not DES.
6209 * manual/conf.texi (Constants for Sysconf): Mention that
6210 _XOPEN_CRYPT is no longer impelemented.
6212 * conform/data/unistd.h-data: Remove crypt function declaration.
6214 2018-06-29 Florian Weimer <fweimer@redhat.com>
6217 * malloc/hooks.c: Update comments on restoring of dumped heaps.
6218 (disallow_malloc_check): Remove variable.
6219 (__malloc_check_init): Adjust.
6220 (malloc_set_state): Update comment.
6221 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
6224 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6227 * localedata/locales/ast_ES (mon): Rename to...
6229 (mon): Import from CLDR (genitive case).
6231 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
6232 Jakub Sitnicki <jkbs@redhat.com>
6235 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
6238 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
6240 * manual/llio.texi: Remove spurious space.
6242 2018-06-28 Florian Weimer <fweimer@redhat.com>
6245 * time/bits/types/struct_timespec.h: Change header inclusion guard to
6248 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6250 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6251 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
6252 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
6253 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
6254 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
6255 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
6256 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
6258 2018-06-27 Maciej W. Rozycki <macro@mips.com>
6261 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
6262 Copy and null-terminate entries that are not terminated, in
6263 addition to empty ones.
6265 2018-06-27 Florian Weimer <fweimer@redhat.com>
6268 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
6269 (extend_alloca_account): Remove.
6270 * manual/stdio.texi (Variable Arguments Output): Update comment.
6272 2018-06-27 Joseph Myers <joseph@codesourcery.com>
6274 * nptl/sockperf.c: Remove file.
6276 2018-06-27 Florian Weimer <fweimer@redhat.com>
6279 * elf/dl-deps.c (_dl_map_object_deps): Use struct
6280 scratch_buffer instead of extend_alloca.
6282 2018-06-27 Florian Weimer <fweimer@redhat.com>
6285 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
6286 scratch_buffer instead of extend_alloca. Update comments.
6288 2018-06-27 Florian Weimer <fweimer@redhat.com>
6291 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
6292 instead of extend_alloca.
6294 2018-06-26 Joseph Myers <joseph@codesourcery.com>
6297 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
6298 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
6300 * scripts/test-installation.pl: Put temporary files in build
6301 directory, not /tmp.
6302 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
6303 (CFLAGS-bug4.c): Likewise.
6304 (CFLAGS-bug5.c): Likewise.
6305 (CFLAGS-test-fseek.c): Likewise.
6306 (CFLAGS-test-popen.c): Likewise.
6307 (CFLAGS-test_rdwr.c): Likewise.
6308 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
6310 * stdio-common/bug4.c (main): Likewise.
6311 * stdio-common/bug5.c (main): Likewise.
6312 * stdio-common/test-fseek.c (TESTFILE): Likewise.
6313 * stdio-common/test-popen.c (do_test): Likewise.
6314 * stdio-common/test_rdwr.c (main): Likewise.
6316 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
6318 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
6319 (sem_open): Set sem.newsem.pad to zero for valgrind.
6321 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6324 * NEWS: Mention fcntl64 addition.
6325 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
6326 * login/utmp_file.c: Likewise.
6327 * sysdeps/posix/fdopendir.c: Likewise.
6328 * sysdeps/posix/opendir.c: Likewise.
6329 * sysdeps/unix/pt-fcntl.c: Likewise.
6330 * include/fcntl.h (__libc_fcntl64, __fcntl64,
6331 __fcntl64_nocancel_adjusted): New prototype.
6332 (__fcntl_nocancel_adjusted): Remove prototype.
6333 * io/Makefile (routines): Add fcntl64.
6334 (CFLAGS-fcntl64.c): New rule.
6335 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
6336 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
6337 * io/fcntl.h (fcntl64): Add prototype and redirect if
6338 __USE_FILE_OFFSET64 is defined.
6339 * io/fcntl64.c: New file.
6340 * manual/llio.text: Add a note for which commands fcntl acts a
6342 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
6343 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
6344 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
6346 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
6347 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
6349 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
6350 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
6351 to __fcntl64_nocancel.
6352 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
6353 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
6354 to __fcntl64_nocancel.
6355 * sysdeps/generic/not-cancel.h: Likewise.
6356 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
6357 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
6358 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
6359 (fcntl64): New symbol.
6360 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6361 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6362 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6365 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6366 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6367 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6368 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6369 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6370 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
6372 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6373 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
6374 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6375 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6376 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6377 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6378 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6379 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6380 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6385 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6386 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6387 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6389 2018-06-26 Florian Weimer <fweimer@redhat.com>
6391 Run thread shutdown functions in an explicit order.
6392 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
6394 (__libc_thread_freeres): Call thread shutdown functions
6396 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
6397 * include/string.h (__strerror_thread_freeres): Declare.
6398 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
6399 arena_thread_freeres. No longer static. Remove thread shutdown
6401 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
6403 * resolv/res-close.c (__res_thread_freeres): Renamed from
6404 res_thread_freeres. No longer static. Remove thread shutdown
6406 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
6407 * resolv/resolv_conf.c (freeres): Remove incorrect section
6408 attribute and use libc_freeres_fn.
6409 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
6410 strerror_thread_freeres. No longer static. Remove thread
6411 shutdown hook registration.
6412 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
6413 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
6414 shutdown hook registration.
6415 * Makerules (shlib.lds): Do not provide section boundary symbols
6416 for __libc_thread_subfreeres.
6417 * manual/memory.texi (Basic Allocation): Update comment.
6419 2018-06-26 Florian Weimer <fweimer@redhat.com>
6421 Remove always-defined _RPC_THREAD_SAFE_ macro.
6422 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
6423 Do not define _RPC_THREAD_SAFE_.
6424 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
6426 * sunrpc/clnt_perr.c: Likewise.
6427 * sunrpc/clnt_raw.c: Likewise.
6428 * sunrpc/clnt_simp.c: Likewise.
6429 * sunrpc/key_call.c: Likewise.
6430 * sunrpc/rpc_common.c: Likewise.
6431 * sunrpc/rpc_main.c: Likewise.
6432 * sunrpc/rpc_thread.c: Likewise.
6433 * sunrpc/svc.c: Likewise.
6434 * sunrpc/svc_raw.c: Likewise.
6435 * sunrpc/svc_simple.c: Likewise.
6436 * sumrpc/svcauth_des.c: Likewise.
6438 2018-06-26 Florian Weimer <fweimer@redhat.com>
6440 * libio/Makefile (tests-internal): Add tst-vtables,
6441 tst-vtables-interposed.
6442 * libio/tst-vtables.c: New file.
6443 * libio/tst-vtables-common.c: Likewise.
6444 * libio/tst-vtables-interposed.c: Likewise.
6446 2018-06-26 Florian Weimer <fweimer@redhat.com>
6448 * support/support_test_main.c (support_test_main): Only call
6449 setvbuf if not disables.
6450 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
6451 * support/test-driver.h (struct test_config): Add no_setvbuf member.
6453 2018-06-26 Florian Weimer <fweimer@redhat.com>
6456 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
6458 2018-06-25 Florian Weimer <fweimer@redhat.com>
6461 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6462 Use struct scratch_buffer instead of extend_alloca.
6464 2018-06-25 Florian Weimer <fweimer@redhat.com>
6467 * nss/getent.c (initgroups_keys): Use dynarray instead of
6470 2018-06-25 Florian Weimer <fweimer@redhat.com>
6473 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
6474 Use struct scratch_buffer instead of extend_alloca.
6476 2018-06-25 Florian Weimer <fweimer@redhat.com>
6479 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
6480 back to malloc directly, without stack allocations.
6482 2018-06-25 Florian Weimer <fweimer@redhat.com>
6485 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
6488 2018-06-25 Florian Weimer <fweimer@redhat.com>
6491 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
6493 * nscd/hstcache.c (addhstbyX): Likewise.
6494 * nscd/pwdcache.c (addpwbyX): Likewise.
6495 * nscd/servicescache.c (addservbyX): Likewise.
6497 2018-06-25 Florian Weimer <fweimer@redhat.com>
6500 * nscd/connections.c (read_cmdline): New function.
6501 (restart): Use it. Update comment.
6503 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
6506 * localedata/locales/csb_PL (mon): Rename to...
6508 (abmon): Rename to...
6510 (mon): Add with proper genitive forms, copy from Wikipedia.
6513 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
6516 * localedata/locales/csb_PL (mon): Fix typos:
6517 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
6518 (yesstr): Add, value is "jo".
6519 (nostr): Add, value is "nié".
6521 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6523 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
6524 all log1p and significand functions on m680x0.
6525 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
6526 of s_significand.c..
6527 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6528 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
6529 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
6530 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
6531 s_log1p.c and include it..
6533 2018-06-21 Vincent Chen <vincentc@andestech.com>
6535 * elf/elf.h (R_NDS32_NONE): New define.
6536 (R_NDS32_32_RELA): Likewise.
6537 (R_NDS32_COPY): Likewise.
6538 (R_NDS32_GLOB_DAT): Likewise.
6539 (R_NDS32_JUMP_SLOT): Likewise.
6540 (R_NDS32_RELATIVE): Likewise.
6541 (R_NDS32_TLS_TPOFF): Likewise.
6542 (R_NDS32_TLS_DESC): Likewise.
6544 2018-06-21 Mark Wielaard <mark@klomp.org>
6546 * elf/elf.h (R_BPF_MAP_FD): Removed.
6547 (R_BPF_64_64, R_BPF_64_32): New.
6549 2018-06-21 Florian Weimer <fweimer@redhat.com>
6552 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
6553 Renamed from libc_feholdsetround_ctx.
6554 (default_libc_feresetround_ctx): Renamed from
6555 libc_feresetround_ctx.
6556 (default_libc_feholdsetround_noex_ctx): Renamed from
6557 libc_feholdsetround_noex_ctx.
6558 (default_libc_feresetround_noex_ctx): Renamed from
6559 libc_feresetround_noex_ctx.
6560 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
6561 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
6562 forwardning to the old implementations under the new names.
6563 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
6564 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
6565 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
6566 (libc_feresetround_ctx): Forward to default implements for i386
6567 and MATH_SET_BOTH_ROUNDING_MODES.
6568 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
6569 Add -DMATH_SET_BOTH_ROUNDING_MODES.
6571 2018-06-20 Joseph Myers <joseph@codesourcery.com>
6573 * string/tst-cmp.c: Include <libc-diag.h>.
6574 (strncmp_max): Disable -Wstringop-overflow= around call to
6576 (strncasecmp_max): Disable -Wstringop-overflow= around call to
6579 * string/bug-strpbrk1.c: Include <libc-diag.h>.
6580 (main): Disable -Wunused-value around call to strpbrk.
6581 * string/bug-strspn1.c: Include <libc-diag.h>.
6582 (main): Disable -Wunused-value around call to strspn.
6584 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6585 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6587 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
6588 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
6590 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6592 * math/Makefile (libm-calls): Move s_significandF to...
6593 (gen-libm-calls): ... here.
6594 * math/s_significand_template.c: New file.
6595 * math/s_significand.c: Removed.
6596 * math/s_significandf.c: Removed.
6597 * math/s_significandl.c: Removed.
6598 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
6599 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
6601 * math/e_exp2_template.c (declare_mgen_finite_alias,
6602 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
6603 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
6604 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
6606 2018-06-20 Florian Weimer <fweimer@redhat.com>
6608 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
6610 2018-06-19 Joseph Myers <joseph@codesourcery.com>
6613 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
6614 floating-point number to strtod functions rather than possibly
6615 negating result of those functions.
6616 * stdio-common/tst-scanf-round.c: New file.
6617 * stdio-common/Makefile (tests): Add tst-scanf-round.
6618 ($(objpfx)tst-scanf-round): Depend on $(libm).
6620 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6622 * sysdeps/mach/hurd/localplt.data: Move to...
6623 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
6624 R_386_GLOB_DAT like on Linux i386.
6626 2018-06-18 Joseph Myers <joseph@codesourcery.com>
6628 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
6629 (SHM_STAT_ANY): New macro.
6630 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
6631 (SHM_STAT_ANY): Likewise.
6632 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
6633 (SHM_STAT_ANY): Likewise.
6634 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
6635 (SHM_STAT_ANY): Likewise.
6636 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
6637 (SHM_STAT_ANY): Likewise.
6638 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
6639 (SHM_STAT_ANY): Likewise.
6640 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
6641 (SHM_STAT_ANY): Likewise.
6642 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
6643 (SHM_STAT_ANY): Likewise.
6644 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
6645 (SHM_STAT_ANY): Likewise.
6646 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
6647 (SHM_STAT_ANY): Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
6649 (SHM_STAT_ANY): Likewise.
6650 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
6651 (SHM_STAT_ANY): Likewise.
6653 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
6654 (SEM_STAT_ANY): New macro.
6655 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
6656 (SEM_STAT_ANY): Likewise.
6657 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
6658 (SEM_STAT_ANY): Likewise.
6659 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
6660 (SEM_STAT_ANY): Likewise.
6661 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
6662 (SEM_STAT_ANY): Likewise.
6663 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
6664 (SEM_STAT_ANY): Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
6666 (SEM_STAT_ANY): Likewise.
6667 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
6668 (SEM_STAT_ANY): Likewise.
6669 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
6670 (SEM_STAT_ANY): Likewise.
6671 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
6672 (SEM_STAT_ANY): Likewise.
6674 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
6675 (MSG_STAT_ANY): New macro.
6676 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
6677 (MSG_STAT_ANY): Likewise.
6678 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
6679 (MSG_STAT_ANY): Likewise.
6680 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
6681 (MSG_STAT_ANY): Likewise.
6682 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
6683 (MSG_STAT_ANY): Likewise.
6684 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
6685 (MSG_STAT_ANY): Likewise.
6686 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
6687 (MSG_STAT_ANY): Likewise.
6688 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
6689 (MSG_STAT_ANY): Likewise.
6690 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
6691 (MSG_STAT_ANY): Likewise.
6692 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
6693 (MSG_STAT_ANY): Likewise.
6695 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6696 (MAP_TYPE): Change value to 0x2b.
6698 2018-06-18 Florian Weimer <fweimer@redhat.com>
6701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
6702 socket with SOCK_CLOEXEC.
6704 2018-06-18 Joseph Myers <joseph@codesourcery.com>
6707 * sysdeps/powerpc/powerpc64/le/Makefile
6708 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
6709 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
6710 (gnulib-tests): Also add $(f128-loader-link) for
6711 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
6713 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6715 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
6716 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
6718 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
6719 (sendfile64): New strong alias.
6720 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
6721 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
6722 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
6723 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
6725 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
6726 ___pthread_get_cleanup_stack.
6727 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
6728 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
6729 * mach/shortcut.awk: Make syscall stubs include
6730 <mach-shortcuts-hidden.h> and add hidden definition.
6731 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
6732 (__mach_msg): Add hidden prototype.
6733 * mach/msg.c: Include <mach.h>.
6734 (__mach_msg): Add hidden definition.
6735 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
6736 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
6737 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
6738 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
6739 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
6740 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
6741 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
6742 prototype and definition.
6743 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
6744 hidden target for _hurd_self_sigstate.
6746 2018-06-15 Joseph Myers <joseph@codesourcery.com>
6749 * stdlib/tst-strtod-nan-sign-main.c: New file.
6750 * stdlib/tst-strtod-nan-sign.c: Likewise.
6751 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
6752 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
6753 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
6754 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
6755 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
6757 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
6760 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
6763 2018-06-14 Florian Weimer <fweimer@redhat.com>
6766 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
6767 that the result stays within the ISO-8859-1 range.
6768 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
6769 characters are defined in IBM273.
6771 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6773 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
6774 __mach_task_self): Remove attribute_hidden.
6776 2018-06-14 Joseph Myers <joseph@codesourcery.com>
6778 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
6779 ignore -Wrestrict for one test.
6781 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
6782 Szabolcs Nagy <szabolcs.nagy@arm.com>
6784 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
6786 2018-06-14 Florian Weimer <fweimer@redhat.com>
6788 * scripts/update-abilist.sh: Accept empty list of files to patch.
6790 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
6792 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
6793 test-xfail-check-abi-libmachuser): Add.
6794 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
6795 __libc_read and __libc_write to __read and __write.
6796 * sysdeps/hurd/include/hurd/port.h: New file.
6797 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
6798 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
6799 __thread_switch, __evc_wait): Move declarations to...
6800 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
6802 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
6803 use PLT to call _hurd_self_sigstate.
6805 2018-06-13 Joseph Myers <joseph@codesourcery.com>
6808 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
6809 MAX_EXP as overflowing.
6810 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
6812 (round_str): Output also whether result overflows in each rounding
6814 * stdlib/tst-strtod-round-data: Add more tests.
6815 * stdlib/tst-strtod-round-data.h: Regenerated.
6816 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
6817 (TEST): Handle extra arguments for overflow flags.
6818 (struct test_overflow): New type.
6819 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
6820 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
6821 (test_in_one_mode): Take argument with overflow information.
6822 (do_test): Update calls to test_in_one_mode.
6824 2018-06-12 Carlos O'Donell <carlos@redhat.com>
6826 * elf/dl-load (_dl_dst_substitute): Correct comment.
6827 (_dl_dst_count): Likewise.
6829 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
6830 lll_futex_timed_wait.
6832 2018-06-12 Joseph Myers <joseph@codesourcery.com>
6835 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
6837 * math/test-nan-const.c: New file.
6838 * math/Makefile (tests): Add test-nan-const.
6839 (CFLAGS-test-nan-const.c): New variable.
6841 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
6843 * benchtests/scripts/compare_strings.py (process_results): Add
6844 funcs argument. Compare only functions which are selected.
6845 (main): Check if base function is among selected functions.
6846 Pass selected functions to process_results.
6847 (__main__): Add -f/--functions argument.
6849 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
6850 Hongbo Zhang <hongbo.zhang@linaro.org>
6852 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
6853 __memcpy_falkor for phecda core.
6854 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
6855 __memmove_falkor for phecda core.
6856 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
6857 __memset_falkor for phecda core.
6858 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
6860 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
6861 macro to identify phecda core.
6863 2018-06-12 Carlos O'Donell <carlos@redhat.com>
6864 Andreas Schwab <schwab@suse.de>
6865 Dmitry V. Levin <ldv@altlinux.org>
6866 Florian Weimer <fweimer@redhat.com>
6873 * elf/dl-dst.h: Remove DL_DST_COUNT.
6874 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
6875 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
6876 (is_dst): Comment. Support ELF gABI.
6877 (_dl_dst_count): Comment. Simplify and count DSTs.
6878 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
6879 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
6882 2018-06-12 Zack Weinberg <zackw@panix.com>
6884 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
6885 * sysdeps/unix/sysv/linux/dl-sysdep.c
6886 Include not-cancel.h. Use __close_nocancel instead of __close,
6887 __open64_nocancel instead of __open, __read_nocancel instead of
6888 __libc_read, and __write_nocancel instead of __libc_write.
6890 * csu/check_fds.c (check_one_fd)
6891 * sysdeps/posix/fdopendir.c (__fdopendir)
6892 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
6893 instead of __fcntl and/or __libc_fcntl.
6895 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
6896 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
6897 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
6898 Use __open64_nocancel instead of __open_nocancel.
6900 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
6901 hidden_proto declarations to the end and issue them if either
6902 IS_IN(libc) or IS_IN(rtld).
6903 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
6904 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
6905 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
6906 read_nocancel, waitpid_nocancel, write_nocancel.
6908 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
6909 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
6910 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
6912 * nptl/pt-fcntl.c: New file.
6913 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
6914 (libpthread-routines): Add pt-fcntl.
6915 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
6916 (__libc_fcntl): Remove attribute_hidden.
6917 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
6918 __fcntl_nocancel_adjusted, not fcntl_common.
6919 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
6920 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
6921 to fcntl_nocancel.c.
6922 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6925 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
6927 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
6928 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
6929 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
6930 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
6931 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
6932 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
6933 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
6934 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
6935 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
6936 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
6937 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
6938 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
6939 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
6940 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
6941 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
6942 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
6943 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
6944 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
6945 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
6946 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
6948 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
6949 libpthread-routines.
6950 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
6953 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
6954 __libc_read, and __write instead of __libc_write. Define
6955 __open64 in addition to __open.
6957 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
6961 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
6962 to _private_tm[3] and add __glibc_reserved2.
6963 Add _Static_assert of offset of __private_ss == 0x30.
6964 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
6965 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
6967 2018-06-12 Florian Weimer <fweimer@redhat.com>
6969 x86: Make strncmp usable from rtld.
6970 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
6971 __strncmp_ia32 if in libc (and not in rtld).
6972 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
6973 strncmp if not in libc (and not to __strncmp_sse2).
6975 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
6978 * localedata/locales/gd_GB (mon): Rename to...
6980 (mon): Import from CLDR (genitive case).
6981 * localedata/locales/hsb_DE (mon): Rename to...
6983 (mon): Import from CLDR (genitive case).
6984 * localedata/locales/wa_BE (mon): Rename to...
6986 (mon): Add, fill with the proper genitive forms, but CLDR data
6987 is incomplete; completed according to the comments in this file.
6988 (d_t_fmt): Do not use "di" before the month name, no longer needed.
6990 * localedata/locales/wa_BE (country_name): Reword
6991 "Beljike" -> "Beldjike".
6993 2018-06-11 Joseph Myers <joseph@codesourcery.com>
6996 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
6997 cases of non-finite arguments.
6998 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7000 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
7003 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
7005 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7008 * include/unistd.h (__execvpex): New prototype.
7009 * posix/Makefile (tests): Add tst-spawn4.
7010 (tests-internal): Add tst-spawn4-compat.
7011 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
7012 * posix/tst-spawn4-compat.c: New file.
7013 * posix/tst-spawn4.c: Likewise.
7014 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
7015 binaries as shell scripts.
7016 * sysdeps/posix/spawni.c (__spawni): Likewise.
7018 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
7021 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
7022 ($(all-built-dso:=.dynsym): New target.
7023 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
7024 ($(objpfx)check-initfini.out): New target.
7025 (generated): Add check-initfini.out.
7026 * scripts/check-initfini.awk: New file.
7027 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
7029 * sysdeps/alpha/crti.S (_init): Mark as hidden.
7031 * sysdeps/arm/crti.S (_init): Mark as hidden.
7033 * sysdeps/hppa/crti.S (_init): Mark as hidden.
7035 * sysdeps/i386/crti.S (_init): Mark as hidden.
7037 * sysdeps/ia64/crti.S (_init): Mark as hidden.
7039 * sysdeps/m68k/crti.S (_init): Mark as hidden.
7041 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
7043 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
7045 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
7047 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
7049 * sysdeps/nios2/crti.S (_init): Mark as hidden.
7051 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
7053 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
7055 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
7057 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
7059 * sysdeps/sh/crti.S (_init): Mark as hidden.
7061 * sysdeps/sparc/crti.S (_init): Mark as hidden.
7063 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
7066 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7068 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
7069 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
7070 and TF redirection to KFtype and KF only when the default
7071 long double type is not the IEEE 128-bit floating point type.
7073 2018-06-05 Joseph Myers <joseph@codesourcery.com>
7075 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
7077 (HWCAP_USCAT): Likewise.
7078 (HWCAP_ILRCPC): Likewise.
7079 (HWCAP_FLAGM): Likewise.
7080 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7082 (_dl_aarch64_cap_flags): Add new flag names.
7084 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
7085 (MAP_FIXED_NOREPLACE): New macro.
7086 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
7087 (MAP_FIXED_NOREPLACE): Likewise.
7088 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
7089 (MAP_FIXED_NOREPLACE): Likewise.
7090 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7091 (MAP_FIXED_NOREPLACE): Likewise.
7092 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
7093 (MAP_FIXED_NOREPLACE): Likewise.
7094 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
7095 (MAP_FIXED_NOREPLACE): Likewise.
7096 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
7097 (MAP_FIXED_NOREPLACE): Likewise.
7098 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
7099 (MAP_FIXED_NOREPLACE): Likewise.
7100 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
7101 (MAP_FIXED_NOREPLACE): Likewise.
7102 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
7103 (MAP_FIXED_NOREPLACE): Likewise.
7104 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
7105 (MAP_FIXED_NOREPLACE): Likewise.
7106 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
7107 (MAP_FIXED_NOREPLACE): Likewise.
7108 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
7109 (MAP_FIXED_NOREPLACE): Likewise.
7110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
7111 (MAP_FIXED_NOREPLACE): Likewise.
7112 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
7113 (MAP_FIXED_NOREPLACE): Likewise.
7115 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7118 2018-06-04 Joseph Myers <joseph@codesourcery.com>
7120 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7123 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7125 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
7127 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
7129 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7131 * benchtests/scripts/compare_string.py: (process_results) Catch
7132 exception in non-existent base_func and catch exception in
7133 non-existent attribute.
7134 (parse_file) Catch exception if input file does not exist.
7136 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7138 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
7139 options to avoid diff calculation and omit header, respectively.
7140 (main): process --no-diff and --no-header
7142 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7143 H.J. Lu <hongjiu.lu@intel.com>
7145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7146 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
7148 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7149 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
7150 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
7152 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
7153 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7154 AVX unaligned load is fast and vzeroupper is preferred.
7155 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
7156 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
7157 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
7158 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
7159 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
7160 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
7161 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
7162 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
7163 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
7164 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
7167 2018-06-01 Florian Weimer <fweimer@redhat.com>
7169 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
7170 configuring with --disable-multi-arch, building with
7171 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
7174 2018-06-01 Florian Weimer <fweimer@redhat.com>
7176 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
7177 results from building with “-march=x86-64 -mtune=generic
7178 -mfpmath=sse” and running on a Haswell-era CPU.
7180 2018-06-01 Joseph Myers <joseph@codesourcery.com>
7183 * soft-fp/sqrttf2.c: Remove file.
7184 * soft-fp/sqrtdf2.c: Move to ....
7185 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
7187 (__sqrtdf2): Make conditional on
7188 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7190 * soft-fp/sqrtsf2.c: Move to ....
7191 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
7193 (__sqrtsf2): Make conditional on
7194 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7196 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
7197 (gcc-double-routines): Remove sqrtdf2.
7198 (gcc-quad-routines): Remove sqrttf2.
7199 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7200 Do not filter out sqrtsf2 and sqrtdf2.
7201 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7202 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
7204 2018-06-01 Florian Weimer <fweimer@redhat.com>
7206 * sysdeps/generic/libcidn.abilist: Remove file.
7208 2018-06-01 Florian Weimer <fweimer@redhat.com>
7211 * libio/strfile.h (struct _IO_str_fields): Rename members to
7212 discourage their use and add comment.
7213 (_IO_STR_DYNAMIC): Remove unused macro.
7214 * libio/strops.c (_IO_str_init_static_internal): Do not use
7215 callback pointers. Call malloc and free.
7216 (_IO_str_overflow): Do not use callback pointers. Call malloc
7218 (enlarge_userbuf): Likewise.
7219 (_IO_str_finish): Call free.
7220 * libio/wstrops.c (_IO_wstr_init_static): Initialize
7221 _allocate_buffer_unused.
7222 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
7224 (enlarge_userbuf): Likewise.
7225 (_IO_wstr_finish): Call free.
7226 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
7227 _allocate_buffer_unused, _free_buffer_unused.
7228 * libio/memstream.c (__open_memstream): Likewise.
7229 * libio/vasprintf.c (_IO_vasprintf): Likewise.
7230 * libio/wmemstream.c (open_wmemstream): Likewise.
7232 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7234 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
7237 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7239 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
7240 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
7241 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
7243 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
7245 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
7247 2018-05-29 Florian Weimer <fweimer@redhat.com>
7249 * support/Makefile (libsupport-routines): Add
7250 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
7251 xpthread_barrierattr_setpshared.
7252 * support/xpthread_barrierattr_destroy.c: New file.
7253 * support/xpthread_barrierattr_init.c: Likewise.
7254 * support/xpthread_barrierattr_setpshared.c: Likewise.
7256 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
7259 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
7260 _r_debug and update DT_DEBUG for debugger.
7262 2018-05-29 Florian Weimer <fweimer@redhat.com>
7264 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
7265 (tst-strtod5i.out): Likewise.
7267 2018-05-25 Joseph Myers <joseph@codesourcery.com>
7269 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
7270 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
7271 (sparc64-quad-routines): New variable. Moved from ....
7272 [$(subdir) = soft-fp] (sysdep_routines): Add
7273 $(sparc64-quad-routines). Moved from ....
7274 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
7275 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
7276 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
7278 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
7279 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
7280 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
7281 * sysdeps/sparc/sparc64/qp_add.c: ... here.
7282 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
7283 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
7284 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
7285 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
7286 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
7287 * sysdeps/sparc/sparc64/qp_div.c: ... here.
7288 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
7289 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
7290 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
7291 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
7292 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
7293 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
7294 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
7295 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
7296 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
7297 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
7298 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
7299 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
7300 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
7301 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
7302 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
7303 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
7304 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
7305 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
7306 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
7307 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
7308 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
7309 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
7310 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
7311 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
7312 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
7313 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
7314 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
7315 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
7316 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
7317 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
7318 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
7319 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
7320 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
7321 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
7322 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
7323 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
7324 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
7325 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
7326 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
7327 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
7328 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
7329 * sysdeps/sparc/sparc64/qp_util.c: ... here.
7330 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
7331 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
7332 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
7333 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
7334 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
7335 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
7337 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
7338 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
7339 (sparc32-quad-routines): New variable. Moved from ....
7340 [$(subdir) = soft-fp] (sysdep_routines): Add
7341 $(sparc32-quad-routines). Moved from ....
7342 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
7343 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
7345 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
7346 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
7347 * sysdeps/sparc/sparc32/q_add.c: ... here.
7348 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
7349 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
7350 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
7351 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
7352 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
7353 * sysdeps/sparc/sparc32/q_div.c: ... here.
7354 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
7355 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
7356 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
7357 * sysdeps/sparc/sparc32/q_feq.c: ... here.
7358 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
7359 * sysdeps/sparc/sparc32/q_fge.c: ... here.
7360 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
7361 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
7362 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
7363 * sysdeps/sparc/sparc32/q_fle.c: ... here.
7364 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
7365 * sysdeps/sparc/sparc32/q_flt.c: ... here.
7366 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
7367 * sysdeps/sparc/sparc32/q_fne.c: ... here.
7368 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
7369 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
7370 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
7371 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
7372 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
7373 * sysdeps/sparc/sparc32/q_mul.c: ... here.
7374 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
7375 * sysdeps/sparc/sparc32/q_neg.c: ... here.
7376 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
7377 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
7378 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
7379 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
7380 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
7381 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
7382 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
7383 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
7384 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
7385 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
7386 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
7387 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
7388 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
7389 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
7390 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
7391 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
7392 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
7393 * sysdeps/sparc/sparc32/q_sub.c: ... here.
7394 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
7395 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
7396 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
7397 * sysdeps/sparc/sparc32/q_util.c: ... here.
7398 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
7399 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
7400 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
7401 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
7403 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7404 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7406 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
7407 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
7408 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
7409 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
7411 2018-05-24 Joseph Myers <joseph@codesourcery.com>
7413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
7415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7417 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
7418 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
7420 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7423 * math/math.h [C++] (iseqsig): Fix parameter type for the long
7426 2018-05-23 Joseph Myers <joseph@codesourcery.com>
7428 * sysdeps/sh/Implies: Remove sh/soft-fp.
7429 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
7430 * sysdeps/sh/sfp-machine.h: ... here.
7432 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
7434 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7435 (__mempcpy_erms): Skip zero length.
7436 (__memmove_erms): Likewise.
7437 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7438 (__memset_erms): Likewise.
7440 2018-05-23 Joseph Myers <joseph@codesourcery.com>
7442 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
7443 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7444 Add functions moved from ....
7445 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
7446 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
7447 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
7449 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
7450 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
7451 * sysdeps/alpha/e_sqrtl.c: ... here.
7452 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
7453 * sysdeps/alpha/local-soft-fp.h: ... here.
7454 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
7455 * sysdeps/alpha/ots_add.c: ... here.
7456 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
7457 * sysdeps/alpha/ots_cmp.c: ... here.
7458 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
7459 * sysdeps/alpha/ots_cmpe.c: ... here.
7460 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
7461 * sysdeps/alpha/ots_cvtqux.c: ... here.
7462 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
7463 * sysdeps/alpha/ots_cvtqx.c: ... here.
7464 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
7465 * sysdeps/alpha/ots_cvttx.c: ... here.
7466 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
7467 * sysdeps/alpha/ots_cvtxq.c: ... here.
7468 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
7469 * sysdeps/alpha/ots_cvtxt.c: ... here.
7470 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
7471 * sysdeps/alpha/ots_div.c: ... here.
7472 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
7473 * sysdeps/alpha/ots_mul.c: ... here.
7474 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
7475 * sysdeps/alpha/ots_nintxq.c: ... here.
7476 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
7477 * sysdeps/alpha/ots_sub.c: ... here.
7478 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
7479 * sysdeps/alpha/sfp-machine.h: ... here.
7481 2018-05-23 Florian Weimer <fweimer@redhat.com>
7489 Switch to extern IDNA implementation (libidn2).
7490 * libidn: Remove subdirectory.
7491 * LICENSES: Do not mention licensing conditions for the removed
7493 * config.h.in (HAVE_LIBIDN): Remove.
7494 * include/dlfcn.h (__libc_dlopen): Update comment.
7495 * include/idna.h: Remove file.
7496 * inet/Makefile (routines): Add idna.
7497 (tests-static, tests-internal): Add tst-idna_name_classify.
7498 (LOCALES): Generate locales for tests.
7499 (tst-idna_name_classify.out): Depend on generated locales.
7500 * inet/idna_name_classify.c: New file.
7501 * inet/tst-idna_name_classify.c: Likewise.
7502 * inet/net-internal.h (__idna_to_dns_encoding)
7503 (__idna_from_dns_encoding): Declare.
7504 * inet/net-internal.h (enum idna_name_classification): Define.
7505 (__idna_name_classify): Declare.
7506 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
7507 __idna_from_dns_encoding.
7508 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
7509 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
7510 name as a fallback in case of encoding errors.
7511 (getnameinfo): Use DEPRECATED_NI_IDN.
7512 * inet/idna.c: New file.
7513 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
7514 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
7515 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
7516 (modules-names): Add tst-no-libidn2.
7517 (extra-test-objs): Add tst-no-libidn2.os.
7518 (LDFLAGS-tst-no-libidn2.so): Set soname.
7519 (LOCALES): Set, and generate locales.
7520 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
7521 (tst-resolv-ai_idn-latin1): Likewise.
7522 (tst-resolv-ai_idn-nolibidn2): Likewise.
7523 (tst-resolv-ai_idn.out): Depend on locales.
7524 (tst-resolv-ai_idn-latin1.out): Depend on locales.
7525 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
7527 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
7528 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
7529 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
7530 * resolv/tst-resolv-ai_idn.c: New file.
7531 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
7532 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
7533 * resolv/tst-no-libidn2.c: Likewise.
7534 * support/support_format_addrinfo.c (format_ai_flags): Do not
7535 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
7536 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
7537 (gaih_inet): Call __idna_to_dns_encoding and
7538 __idna_from_dns_encoding, and use the original (punycode) name if
7539 __idna_from_dns_encoding fails due to an encoding error.
7540 (getaddrinfo): Use DEPRECATED_AI_IDN.
7541 * sysdeps/unix/inet/Subdirs (libidn): Remove.
7542 * sysdeps/unix/inet/configure: Remove file.
7543 * sysdeps/unix/inet/configure.ac: Likewise.
7545 2018-05-23 Florian Weimer <fweimer@redhat.com>
7547 Implement allocate_once.
7548 * include/allocate_once.h: New file.
7549 * misc/allocate_once.c: Likewise.
7550 * misc/tst-allocate_once.c: Likewise.
7551 * misc/Makefile (routines): Add allocate_once.
7552 (tests-internal): Add tst-allocate_once.
7553 (generated): Add tst-allocate_once.mtrace,
7554 tst-allocate_once-mem.out.
7555 (tests-special): Add tst-allocate_once-mem.out.
7556 (tst-allocate_once-ENV): Set MALLOC_TRACE.
7557 (tst-allocate_once-mem.out): Call mtrace.
7558 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
7560 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
7563 * string/test-memcpy.c (do_test1): New function.
7564 (test_main): Call it.
7566 2018-05-23 Andreas Schwab <schwab@suse.de>
7570 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
7571 (L(preloop_large)): Save initial destination pointer in %r11 and
7572 use it instead of %rax after the loop.
7573 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
7575 2018-05-22 Joseph Myers <joseph@codesourcery.com>
7577 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
7578 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
7579 -I../soft-fp. Moved from ....
7580 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
7581 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
7582 * sysdeps/aarch64/e_sqrtl.c: ... here.
7583 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
7584 * sysdeps/aarch64/sfp-machine.h: ... here.
7586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
7587 -Wmaybe-uninitialized around access to fq[0].
7588 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7592 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
7593 aliases for non-libc case of versioned symbols.
7594 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
7595 (llseek): Define as compat symbol if
7596 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
7598 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
7599 Make into a compat symbol, disabled for minimum symbol version
7600 GLIBC_2.28 and later.
7601 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
7603 2018-05-22 Florian Weimer <fweimer@redhat.com>
7605 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
7606 not add -mpreferred-stack-boundary=4.
7607 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
7608 (stack-align-test-flags): Likewise.
7609 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
7611 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
7612 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
7613 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
7614 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
7615 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
7616 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
7617 (CFLAGS-tst-align2.c): Likewise.
7619 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
7621 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
7622 (index_arch_Prefer_FSRM): Likewise.
7623 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7624 Also check Prefer_FSRM.
7625 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
7626 Also return OPTIMIZE (erms) for Prefer_FSRM.
7628 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
7630 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
7631 (index_cpu_FSRM): Likewise.
7632 (reg_FSRM): Likewise.
7634 2018-05-18 Joseph Myers <joseph@codesourcery.com>
7636 * math/gen-tgmath-tests.py: Import sys.
7637 (Tests.__init__): Initialize macros_seen.
7638 (Tests.add_tests): Add macro to macros_seen. Only generate tests
7639 if requested to do so for this macro.
7640 (Tests.add_all_tests): Take argument for macro for which to
7642 (Tests.check_macro_list): New function.
7643 (main): Handle check-list argument and argument specifying macro
7644 for which to generate tests.
7645 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
7646 [PYTHON] (tgmath3-macro-tests): Likewise.
7647 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
7648 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
7650 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
7651 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
7653 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
7655 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
7657 [PYTHON] (tests-special): Add
7658 $(objpfx)test-tgmath3-macro-list.out.
7659 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
7661 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
7662 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
7666 * time/tzset.c (SECSPERDAY): Cast to time_t.
7667 * time/tst-y2039.c: New file.
7668 * time/Makefile (tests): Add tst-y2039.
7670 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7672 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7673 (PREFETCH_ONE_SET): Remove duplicate line.
7675 2018-05-17 Florian Weimer <fweimer@redhat.com>
7677 * sysdeps/generic/math-type-macros-double.h: Include
7678 <math-nan-payload-double.h> after <libm-alias-double.h>.
7679 * sysdeps/generic/math-type-macros-float.h: Include
7680 <math-nan-payload-float.h> after <libm-alias-float.h>.
7681 * sysdeps/generic/math-type-macros-float128.h: Include
7682 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
7683 * sysdeps/generic/math-type-macros-ldouble.h: Include
7684 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
7686 2018-05-17 Andreas Schwab <schwab@suse.de>
7688 * resolv/res_send.c (__res_context_send): Don't set errno when
7689 returing error after malloc failure.
7691 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
7693 * nptl/allocatestack.c (allocate_stack): Remove the
7694 !__ASSUME_PRIVATE_FUTEX paths.
7695 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
7696 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7698 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
7699 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7700 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7701 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7702 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
7703 !__ASSUME_PRIVATE_FUTEX path.
7704 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
7705 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
7706 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7707 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
7708 !__ASSUME_PRIVATE_FUTEX macros.
7709 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7710 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7711 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7712 * sysdeps/unix/sysv/linux/kernel-features.h
7713 (__ASSUME_PRIVATE_FUTEX): Removed.
7715 2018-05-17 Joseph Myers <joseph@codesourcery.com>
7717 * math/Makefile (libm-narrow-fns): Add div.
7718 (libm-test-funcs-narrow): Likewise.
7719 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
7720 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
7721 * math/gen-auto-libm-tests.c (test_functions): Add div.
7722 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
7723 (NARROW_DIV_ROUND_TO_ODD): Likewise.
7724 (NARROW_DIV_TRIVIAL): Likewise.
7725 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
7727 (__ddivl): Likewise.
7728 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
7730 (CFLAGS-nldbl-ddiv.c): New variable.
7731 (CFLAGS-nldbl-fdiv.c): Likewise.
7732 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
7734 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
7736 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
7737 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
7738 * math/auto-libm-test-in: Add tests of div.
7739 * math/auto-libm-test-out-narrow-div: New generated file.
7740 * math/libm-test-narrow-div.inc: New file.
7741 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
7744 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
7745 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
7746 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
7747 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
7753 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
7755 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
7756 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7757 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
7758 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7760 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
7761 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7762 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7763 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7764 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7765 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7766 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7767 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7768 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7769 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7770 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7771 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7772 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7777 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
7778 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7779 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7780 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7781 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7784 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7786 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7789 * nscd/nscd-client.h (sendfileall): Remove prototype.
7790 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
7791 (handle_request): Use writeall instead of sendfileall.
7792 * nscd/aicache.c (addhstaiX): Likewise.
7793 * nscd/grpcache.c (cache_addgr): Likewise.
7794 * nscd/hstcache.c (cache_addhst): Likewise.
7795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7796 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
7797 * nscd/pwdcache.c (cache_addpw): Likewise.
7798 * nscd/servicescache.c (cache_addserv): Likewise.
7799 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
7800 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
7801 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
7804 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
7806 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
7807 Include <string/strncat.c>.
7808 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
7810 (__GI___strncat): New hidden alias.
7812 2018-05-16 Joseph Myers <joseph@codesourcery.com>
7814 * sysdeps/mips/mips32/libm-test-ulps: Update.
7815 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7817 2018-05-16 Florian Weimer <fweimer@redhat.com>
7819 * support/Makefile (libsupport-routines): Add support_quote_blob,
7820 support_test_compare_blob.
7821 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
7822 * support/check.h (TEST_COMPARE_BLOB): Define.
7823 (support_test_compare_blob): Declare.
7824 * support/support.h (support_quote_blob): Declare.
7825 * support/support_quote_blob.c: New file.
7826 * support/support_test_compare_blob.c: Likewise.
7827 * support/tst-support_quote_blob.c: Likewise.
7828 * support/tst-test_compare_blob.c: Likewise.
7830 2018-05-16 Florian Weimer <fweimer@redhat.com>
7832 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
7833 of <strtod_nan_double.h>.
7834 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
7835 instead of SET_MANTISSA.
7836 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
7837 of include <strtod_nan_float.h>.
7838 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
7839 instead of <strtod_nan_ldouble.h>.
7840 * stdlib/strtod_nan_double.h: Move to ...
7841 * sysdeps/generic/math-nan-payload-double.h: ... here.
7842 (FLOAT): Remove definition.
7843 (SET_MANTISSA): Rename to ...
7844 (SET_NAN_PAYLOAD): ... this.
7845 * stdlib/strtod_nan_float.h: Move to ...
7846 * sysdeps/generic/math-nan-payload-float.h: ... here.
7847 (FLOAT): Remove definition.
7848 (SET_MANTISSA): Rename to ...
7849 (SET_NAN_PAYLOAD): ... this.
7850 * sysdeps/generic/math-type-macros-double.h: Include
7851 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
7852 instead of <math-svid-compat.h>.
7853 * sysdeps/generic/math-type-macros-float.h: Include
7854 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
7855 instead of <math-svid-compat.h>.
7856 * sysdeps/generic/math-type-macros-float128.h: Include
7857 <math-nan-payload-float128.h>.
7858 * sysdeps/generic/math-type-macros-ldouble.h: Include
7859 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
7860 instead of <math-svid-compat.h>.
7861 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
7862 check for definition.
7863 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
7864 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
7865 Include <ieee754_float128.h>.
7866 (FLOAT): Remove definition.
7867 (SET_MANTISSA): Rename to ...
7868 (SET_NAN_PAYLOAD): ... this.
7869 * sysdeps/ieee754/float128/strtof128_nan.c: Include
7870 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
7871 Do not include <float128_private.h>.
7872 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
7874 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
7875 (FLOAT): Remove definition.
7876 (SET_MANTISSA): Rename to ...
7877 (SET_NAN_PAYLOAD): ... this.
7878 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
7879 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
7880 (FLOAT): Remove definition.
7881 (SET_MANTISSA): Rename to ...
7882 (SET_NAN_PAYLOAD): ... this.
7883 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
7884 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
7885 (FLOAT): Remove definition.
7886 (SET_MANTISSA): Rename to ...
7887 (SET_NAN_PAYLOAD): ... this.
7888 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
7889 of "../stdlib/strtod_nan_double.h".
7890 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
7891 of "../stdlib/strtod_nan_float.h".
7892 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
7893 instead of "../stdlib/strtod_nan_ldouble.h".
7894 * manual/arith.texi (Parsing of Floats): Adjust comment.
7896 2018-05-16 Joseph Myers <joseph@codesourcery.com>
7898 * math/Makefile (libm-narrow-fns): Add mul.
7899 (libm-test-funcs-narrow): Likewise.
7900 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
7901 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
7902 * math/gen-auto-libm-tests.c (test_functions): Add mul.
7903 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
7904 (NARROW_MUL_ROUND_TO_ODD): Likewise.
7905 (NARROW_MUL_TRIVIAL): Likewise.
7906 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
7907 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
7909 (__dmull): Likewise.
7910 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
7912 (CFLAGS-nldbl-dmul.c): New variable.
7913 (CFLAGS-nldbl-fmul.c): Likewise.
7914 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
7916 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
7918 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
7919 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
7920 * math/auto-libm-test-in: Add tests of mul.
7921 * math/auto-libm-test-out-narrow-mul: New generated file.
7922 * math/libm-test-narrow-mul.inc: New file.
7923 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
7924 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
7925 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
7926 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
7927 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
7928 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
7929 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
7930 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
7931 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
7932 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
7933 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
7934 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
7935 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
7936 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
7937 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
7938 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7939 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
7940 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7942 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
7943 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7944 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7945 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7946 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7947 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7948 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7949 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7950 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7951 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7952 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7953 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7954 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7959 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
7960 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7961 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7962 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7964 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7965 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7966 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7968 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
7970 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7973 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
7975 * sysdeps/i386/ldsodefs.h: Removed.
7976 * sysdeps/x86_64/ldsodefs.h: Moved to ...
7977 * sysdeps/x86/ldsodefs.h: This.
7979 (La_i86_retval): Likewise.
7980 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
7981 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
7983 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
7985 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
7988 2018-05-13 Alan Modra <amodra@gmail.com>
7990 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
7991 R_PARISC_TLS_DTPOFF32 reloc addend.
7993 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7995 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
7996 * math/math.h: Restrict the prototype definition for the functions
7997 issignaling(_Float128) and iszero(_Float128); and template
7998 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
7999 __HAVE_FLOAT128_UNLIKE_LDBL.
8000 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
8001 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
8002 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
8003 __f128() constants; define the type _Float128 as long double;
8004 and reuse long double in __CFLOAT128.
8006 2018-05-11 Joseph Myers <joseph@codesourcery.com>
8008 * sysdeps/generic/math_private.h: Do not include
8010 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
8012 * math/fromfp.h: Include <math-barriers.h>.
8013 * math/math-narrow.h: Likewise.
8014 * math/s_nextafter.c: Likewise.
8015 * math/s_nexttowardf.c: Likewise.
8016 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8017 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8018 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8019 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8020 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8021 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8022 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8032 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8035 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8036 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8037 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8038 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8039 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8040 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8041 * sysdeps/ieee754/k_standardl.c: Likewise.
8042 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8043 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8045 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8048 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8049 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8051 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8054 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8055 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8058 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8059 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8060 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8061 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8062 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
8063 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
8065 2018-05-11 Florian Weimer <fweimer@redhat.com>
8067 Use 64-bit epoch values in the time zone file parser.
8068 * include/time.h (internal_time_t): Define.
8069 (__tzfile_compute): Use it.
8070 * time/tzfile.c (struct leap): Use internal_time_t for epoch
8072 (transitions): Switch to internal_time_t.
8073 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
8075 (__tzfile_compute): Use internal_time_t for timer argument. Check
8076 for truncation before calling __offtime.
8078 2018-05-11 Florian Weimer <fweimer@redhat.com>
8081 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
8082 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
8084 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
8085 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
8086 export without --enable-obsolete-rpc.
8087 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
8088 symbol. This should not have been exported, ever.
8090 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
8093 * localedata/locales/gd_GB (abmon): Fix typo in May:
8094 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
8096 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8098 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8099 Use multiple registers to copy data in loop tail.
8101 * sysdeps/aarch64/multiarch/memmove_falkor.S
8102 (__memmove_falkor): Use multiple registers to move data in
8105 2018-05-10 Joseph Myers <joseph@codesourcery.com>
8107 * math/math-underflow.h: New file.
8108 * sysdeps/generic/math_private.h: Do not include <float.h>.
8109 (fabs_tg): Remove macro. Moved to math-underflow.h.
8110 (min_of_type_f): Likewise.
8111 (min_of_type_): Likewise.
8112 (min_of_type_l): Likewise.
8113 (min_of_type_f128): Likewise.
8114 (min_of_type): Likewise.
8115 (math_check_force_underflow): Likewise.
8116 (math_check_force_underflow_nonneg): Likewise.
8117 (math_check_force_underflow_complex): Likewise.
8118 * math/e_exp2_template.c: Include <math-underflow.h>.
8119 * math/k_casinh_template.c: Likewise.
8120 * math/s_catan_template.c: Likewise.
8121 * math/s_catanh_template.c: Likewise.
8122 * math/s_ccosh_template.c: Likewise.
8123 * math/s_cexp_template.c: Likewise.
8124 * math/s_clog10_template.c: Likewise.
8125 * math/s_clog_template.c: Likewise.
8126 * math/s_csin_template.c: Likewise.
8127 * math/s_csinh_template.c: Likewise.
8128 * math/s_csqrt_template.c: Likewise.
8129 * math/s_ctan_template.c: Likewise.
8130 * math/s_ctanh_template.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8149 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8150 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8151 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8152 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8153 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8154 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8155 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8156 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8157 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8159 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8160 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8161 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8162 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8166 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8167 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8171 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8175 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8176 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8177 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8178 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8199 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8201 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8208 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8209 * sysdeps/x86/fpu/powl_helper.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
8211 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8216 2018-05-09 Joseph Myers <joseph@codesourcery.com>
8218 * sysdeps/generic/math-barriers.h: New file.
8219 * sysdeps/generic/math_private.h [!math_opt_barrier]
8220 (math_opt_barrier): Move to math-barriers.h.
8221 [!math_opt_barrier] (math_force_eval): Likewise.
8222 * sysdeps/aarch64/fpu/math-barriers.h: New file.
8223 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
8225 (math_force_eval): Likewise.
8226 * sysdeps/alpha/fpu/math-barriers.h: New file.
8227 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
8229 (math_force_eval): Likewise.
8230 * sysdeps/x86/fpu/math-barriers.h: New file.
8231 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
8233 (math_force_eval): Likewise.
8234 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
8235 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
8236 multiple-include guard for rename.
8237 * sysdeps/powerpc/fpu/math-barriers.h: New file.
8238 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
8240 (math_force_eval): Likewise.
8242 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8246 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
8248 * stdlib/Makefile (test-bz22786): New test.
8249 * stdlib/test-bz22786.c: New test.
8251 2018-05-09 Joseph Myers <joseph@codesourcery.com>
8253 * include/math-narrow-eval.h: New file. Contents moved from ....
8254 * sysdeps/generic/math_private.h: ... here.
8255 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
8256 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8257 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
8258 * stdlib/strtod_l.c: Likewise.
8259 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8260 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8261 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8274 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8275 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8277 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8278 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8279 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8280 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8281 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8283 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8284 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8285 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8286 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8287 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8289 2018-05-08 Andreas Schwab <schwab@suse.de>
8291 * sysdeps/nptl/internaltypes.h: Fix comment.
8293 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
8295 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8296 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
8299 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8301 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
8302 of I into loop header.
8303 * benchtests/bench-memmove-walk.c
8304 (test_main): Likewise.
8306 2018-05-07 Alexandre Oliva <oliva@gnu.org>
8309 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
8310 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
8312 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8315 * elf/dl-load.c (open_verify): Fix stack overflow.
8316 * elf/Makefile (tst-big-note): New test.
8317 * elf/tst-big-note-lib.S: New.
8318 * elf/tst-big-note.c: New.
8320 2018-05-04 Joseph Myers <joseph@codesourcery.com>
8322 * scripts/abilist.awk: Ignore absolute symbols.
8323 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
8324 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
8325 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
8326 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
8327 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
8328 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
8329 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8330 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
8331 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
8332 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
8333 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
8334 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
8335 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8336 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
8337 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
8338 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8339 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
8340 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
8341 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8342 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
8343 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8344 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
8345 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
8346 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
8347 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
8348 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8349 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
8350 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
8351 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8352 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
8353 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
8354 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8355 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
8356 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8357 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
8358 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
8359 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
8360 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
8361 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8362 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
8363 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
8364 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8365 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
8366 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
8367 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8368 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
8369 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8370 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
8371 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
8372 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
8373 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
8374 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8375 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
8376 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
8377 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8378 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
8379 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
8380 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8381 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
8382 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8383 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
8384 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
8385 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
8386 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
8387 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8388 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
8389 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
8390 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8391 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
8392 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
8393 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8394 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
8395 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8396 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
8397 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
8398 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
8399 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
8400 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8401 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
8402 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
8403 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8404 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
8405 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
8406 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8407 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
8408 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8409 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
8410 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
8411 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
8412 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
8413 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8414 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8416 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
8417 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8418 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
8419 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
8420 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8421 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
8422 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8423 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
8424 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
8425 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
8426 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
8427 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8428 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8430 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
8431 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8432 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
8433 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
8434 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8435 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
8436 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8437 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
8438 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
8440 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
8441 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8442 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
8443 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
8444 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8445 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
8446 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
8447 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8448 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
8449 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8450 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
8451 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
8452 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
8453 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
8454 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8455 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8456 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8458 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
8459 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
8460 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
8461 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
8462 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8463 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
8464 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
8465 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
8466 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
8467 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
8468 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
8469 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
8470 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
8471 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8472 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
8473 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
8474 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
8475 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
8476 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8477 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8479 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
8480 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
8481 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
8482 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8483 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
8484 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8485 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
8486 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
8487 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
8488 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8489 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8490 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
8491 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8492 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8493 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
8494 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8495 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
8496 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
8497 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8498 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
8499 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
8500 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8501 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
8502 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8503 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
8504 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
8505 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
8506 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
8514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
8516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
8566 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
8567 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
8569 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
8570 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8571 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
8572 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
8573 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8574 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
8575 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8576 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
8577 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
8578 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
8579 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
8580 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
8581 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8582 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8584 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8585 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
8586 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
8587 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8588 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
8589 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8590 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
8591 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
8592 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
8593 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
8594 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8595 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8597 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8598 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
8599 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
8600 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8601 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
8602 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8603 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
8604 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
8605 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
8606 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
8607 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8608 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
8609 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
8610 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8611 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
8612 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
8613 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8614 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
8615 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8616 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
8617 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
8618 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
8619 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
8620 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8621 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8623 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
8624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
8627 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8628 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
8629 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8630 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
8631 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
8633 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
8634 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8635 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8637 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
8638 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8639 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
8640 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
8641 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8642 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
8643 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8644 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
8645 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
8646 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
8647 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
8648 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8649 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
8650 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8652 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
8653 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
8654 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8655 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
8656 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8657 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
8658 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
8659 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
8660 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
8661 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8662 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8663 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
8664 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
8665 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8666 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
8667 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
8668 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8669 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
8670 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8671 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
8672 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
8673 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
8674 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
8676 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
8679 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
8680 Use atomic_load_acquire to load __tid.
8682 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8684 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
8685 Restore the pointer into %rdx, after syscall and use %rdx,
8686 instead of %rsi, to restore context.
8688 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8690 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
8691 Pop the pointer into %rdx after syscall and use %rdx, instead
8692 of %rsi, to restore context.
8694 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8696 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
8697 handlers after setjmp.
8698 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
8700 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
8701 <libc-pointer-arith.h>.
8702 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
8703 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
8704 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
8705 _JUMP_BUF_SIGSET_BITS_PER_WORD.
8706 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
8707 * sysdeps/x86/__longjmp_cancel.S: New file.
8708 * sysdeps/x86/longjmp.c: Likewise.
8709 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
8711 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8713 * NEWS: Add ustat.h deprecation entry.
8714 * bits/ustat.h: Remove file.
8715 * misc/sys/ustat.h: Likewise.
8716 * misc/ustat.h: Likewise.
8717 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
8718 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
8719 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
8721 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
8722 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
8723 generic Linux implementation.
8725 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8727 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
8728 * math/w_expl_compat.c: Likewise.
8729 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
8731 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
8733 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
8735 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8737 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
8738 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
8739 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
8741 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
8742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8744 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
8745 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
8748 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8750 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
8752 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
8753 * math/w_asin_template.c: Likewise.
8754 * math/w_atanh_template.c: Likewise.
8756 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8758 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
8759 to powerpc/powerpc64/be for big-endian.
8760 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
8763 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
8764 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
8765 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
8766 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
8767 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8768 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
8769 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
8770 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
8771 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
8772 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8773 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
8774 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
8775 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
8776 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
8777 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
8778 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
8779 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
8780 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
8781 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
8782 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
8783 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
8784 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8785 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
8786 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
8787 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
8788 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8789 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
8790 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
8791 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
8792 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8793 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8794 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8796 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
8797 adjusted to imply powerpc64 and older processors on powerpc64/be.
8798 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
8799 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
8800 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
8801 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
8802 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
8803 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
8804 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
8805 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
8806 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
8807 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
8808 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
8809 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
8810 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
8811 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
8812 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
8813 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
8814 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
8815 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
8816 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
8817 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
8818 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
8819 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
8820 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
8821 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
8822 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
8823 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
8824 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
8825 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
8826 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
8827 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
8828 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
8830 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
8831 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
8832 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
8833 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
8835 * sysdeps/powerpc/powerpc64/be/Implies: New file.
8836 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
8837 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
8838 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
8840 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
8841 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
8842 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
8843 * sysdeps/powerpc/powerpc64le/configure: Likewise.
8844 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
8845 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
8846 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
8847 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
8848 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
8849 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
8850 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
8852 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
8853 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
8854 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
8855 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
8856 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
8857 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
8858 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
8859 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
8860 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
8861 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
8862 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
8864 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
8865 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
8866 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
8867 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
8868 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
8869 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
8870 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
8871 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
8872 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
8873 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
8874 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
8875 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
8877 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
8878 and adjusted to imply olders processors.
8879 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
8880 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
8881 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
8882 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
8883 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
8884 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
8885 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
8886 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
8887 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
8888 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
8889 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
8907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
8908 powerpc64 and adjusted.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
8914 2018-04-27 Joseph Myers <joseph@codesourcery.com>
8916 * sysdeps/tile: Remove.
8917 * sysdeps/unix/sysv/linux/tile: Likewise.
8918 * README (tilegx-*-linux-gnu): Remove from list of supported
8920 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
8921 contribution of support for generic Linux kernel syscall
8923 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
8924 tilegx configurations.
8925 (Config.install_linux_headers): Do not handle tile.
8926 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
8928 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
8929 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
8930 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
8931 conditional undefine and redefine.
8932 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
8934 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
8935 conditional undefine and redefine.
8937 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
8939 * signal/tst-sigaction.c: New file to test BZ #23069.
8940 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
8942 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8945 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
8946 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
8947 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
8948 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8950 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8952 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
8953 _DIRENT_MATCHES_DIRENT64 is not defined.
8954 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
8955 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
8957 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
8958 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
8960 2018-04-25 Joseph Myers <joseph@codesourcery.com>
8962 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
8963 version to GCC 8 branch.
8965 2018-04-24 Joseph Myers <joseph@codesourcery.com>
8967 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
8968 (check_no_hidden): Use type of original function when declaring
8971 * sysdeps/unix/sysv/linux/sys/ptrace.h
8972 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
8973 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
8974 (struct __ptrace_seccomp_metadata): New type.
8975 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8976 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8977 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
8978 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8979 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
8980 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8981 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8982 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8983 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8984 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8985 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8986 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8987 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
8988 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8989 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
8990 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8992 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8994 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
8996 * dirent/versionsort.c (versionsort): Likewise.
8997 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
8998 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
8999 * dirent/versionsort64.c (versionsort64): Likewise.
9000 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
9001 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
9002 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
9003 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
9004 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
9005 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
9006 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
9007 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
9008 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
9009 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
9012 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
9013 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
9015 2018-04-23 Joseph Myers <joseph@codesourcery.com>
9017 * elf/elf.h (NT_PPC_PKEY): New macro.
9019 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
9022 * localedata/locales/hr_HR: fix thousands_sep and
9025 2018-04-20 Joseph Myers <joseph@codesourcery.com>
9027 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
9028 (XTABS): Define to TAB3.
9030 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9032 * sysdeps/hppa/fpu/libm-test-ulps: Update.
9034 * dirent/scandir-tail-common.c: New file.
9035 * dirent/scandir-tail.c: Use scandir-tail-common.c.
9036 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
9037 * dirent/scandir.c: Use scandir-tail-common.c.
9038 * dirent/scandirat.c: Likewise.
9039 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
9040 * dirent/scandir64.c (scandir64): Always build and alias to scandir
9041 if _DIRENT_MATCHES_DIRENT64 is defined.
9042 * dirent/scandirat64.c (scandirat64): Likewise.
9043 * include/dirent.h (__scandir_tail): Only define iff
9044 _DIRENT_MATCHES_DIRENT64 is not defined.
9045 (__scandir64_tail): Define regardless.
9046 (__scandirat, scandirat64): Remove libc_hidden_proto.
9047 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
9048 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
9050 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
9051 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9052 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
9053 * sysdeps/unix/sysv/linux/scandir64.c: New file.
9055 2018-04-20 Joseph Myers <joseph@codesourcery.com>
9057 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
9059 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9061 (_dl_aarch64_cap_flags): Add asimdfhm.
9063 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
9065 * sysdeps/nios2/libm-test-ulps: Update.
9067 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9069 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
9070 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
9072 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
9074 (_DIRENT_MATCHES_DIRENT64): Undef
9075 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
9076 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
9077 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
9078 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
9079 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
9080 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
9081 use getdents64 syscalls as base.
9082 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
9084 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
9085 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
9086 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
9088 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
9089 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
9090 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
9091 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9093 (__get_clockfreq_via_proc_openprom): Use __getdents64.
9094 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
9096 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9098 * scripts/test_printers_common.py (init_test): Disable lock elision.
9100 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9102 * math/test-tgmath.c (count_double, count_float,
9103 count_ldouble, count_cdouble, count_cfloat,
9104 count_cldouble): Use volatile int.
9106 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9108 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9109 (conformtest-xfail-conds): Add i386-gnu.
9110 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
9112 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
9113 ipc_perm.cuid, ipc_perm.cgid): Likewise.
9114 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
9115 msqid_ds.msg_lrpid): Likewise.
9116 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
9118 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
9119 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9120 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
9121 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
9123 (struct statvfs64): Likewise.
9124 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
9126 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
9127 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
9128 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
9129 instead of wait_queue.
9130 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
9131 instead of vm_area_struct.
9132 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
9133 struct sched_param definition to it.
9134 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9135 * bits/types/struct_sched_param.h: New file.
9136 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
9137 <bits/types/struct_sched_param.h> instead of <sched.h>.
9138 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
9139 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
9140 generic version but include <bits/pthreadtypes.h> to make struct
9141 sigevent's sigev_notify_attributes field a pthread_attr_t*.
9142 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
9144 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
9145 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
9146 [__USE_XOPEN] (OFDEL): New macro.
9147 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
9148 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
9149 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
9151 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
9152 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
9153 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
9155 * sysdeps/i386/sys/ucontext.h: Likewise.
9156 * sysdeps/m68k/sys/ucontext.h: Likewise.
9157 * sysdeps/mips/sys/ucontext.h: Likewise.
9158 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
9159 * sysdeps/mach/hurd/i386/Makefile
9160 (test-xfail-POSIX/fcntl.h/conform): Add.
9161 (test-xfail-POSIX/signal.h/conform): Add.
9162 (test-xfail-POSIX/semaphore.h/conform): Add.
9163 (test-xfail-POSIX/regex.h/conform): Add.
9164 (test-xfail-POSIX/aio.h/conform): Add.
9165 (test-xfail-POSIX/mqueue.h/conform): Add.
9166 (test-xfail-POSIX/sys/types.h/conform): Add.
9167 (test-xfail-UNIX98/fcntl.h/conform): Add.
9168 (test-xfail-UNIX98/netdb.h/conform): Add.
9169 (test-xfail-UNIX98/signal.h/conform): Add.
9170 (test-xfail-UNIX98/semaphore.h/conform): Add.
9171 (test-xfail-UNIX98/regex.h/conform): Add.
9172 (test-xfail-UNIX98/aio.h/conform): Add.
9173 (test-xfail-UNIX98/ftw.h/conform): Add.
9174 (test-xfail-UNIX98/mqueue.h/conform): Add.
9175 (test-xfail-UNIX98/netinet/in.h/conform): Add.
9176 (test-xfail-UNIX98/sys/wait.h/conform): Add.
9177 (test-xfail-UNIX98/sys/sem.h/conform): Add.
9178 (test-xfail-UNIX98/sys/uio.h/conform): Add.
9179 (test-xfail-UNIX98/sys/socket.h/conform): Add.
9180 (test-xfail-UNIX98/sys/types.h/conform): Add.
9181 (test-xfail-UNIX98/stdlib.h/conform): Add.
9182 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
9183 (test-xfail-POSIX2008/fcntl.h/conform): Add.
9184 (test-xfail-POSIX2008/netdb.h/conform): Add.
9185 (test-xfail-POSIX2008/signal.h/conform): Add.
9186 (test-xfail-POSIX2008/semaphore.h/conform): Add.
9187 (test-xfail-POSIX2008/regex.h/conform): Add.
9188 (test-xfail-POSIX2008/aio.h/conform): Add.
9189 (test-xfail-POSIX2008/mqueue.h/conform): Add.
9190 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
9191 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
9192 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
9193 (test-xfail-POSIX2008/sys/types.h/conform): Add.
9194 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
9195 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
9196 (test-xfail-XOPEN2K/netdb.h/conform): Add.
9197 (test-xfail-XOPEN2K/signal.h/conform): Add.
9198 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
9199 (test-xfail-XOPEN2K/regex.h/conform): Add.
9200 (test-xfail-XOPEN2K/aio.h/conform): Add.
9201 (test-xfail-XOPEN2K/ftw.h/conform): Add.
9202 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
9203 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
9204 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
9205 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
9206 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
9207 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
9208 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
9209 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
9210 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
9211 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
9212 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
9213 (test-xfail-XOPEN2K8/signal.h/conform): Add.
9214 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
9215 (test-xfail-XOPEN2K8/regex.h/conform): Add.
9216 (test-xfail-XOPEN2K8/aio.h/conform): Add.
9217 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
9218 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
9219 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
9220 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
9221 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
9222 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
9223 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
9224 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
9225 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
9226 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
9227 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
9229 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
9230 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
9232 2018-04-18 Joseph Myers <joseph@codesourcery.com>
9234 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
9235 --enable-obsolete for powerpc-linux-gnuspe.
9237 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9239 * conform/data/sys/un.h-data: Allow sun_ prefix.
9240 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
9242 * sysdeps/mach/include/mach.h: Likewise.
9243 * sysdeps/mach/include/mach/mig_support.h: Likewise.
9244 * sysdeps/mach/include/mach_error.h: Likewise.
9246 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9248 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
9249 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
9250 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
9251 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
9253 2018-04-16 Andreas Schwab <schwab@suse.de>
9256 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
9258 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
9260 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
9261 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
9263 2018-04-12 DJ Delorie <dj@redhat.com>
9265 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9268 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9270 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
9271 (struct kernel_sigaction): Use the same definition on 31bit as is used
9274 2018-04-09 Florian Weimer <fweimer@redhat.com>
9277 * resolv/res_send.c (send_dg): Use designated initializers instead
9278 of assignment to zero-initialize other fields of struct mmsghdr.
9280 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9282 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
9283 __READDIR_ALIAS): Undefine after usage.
9284 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
9285 __READDIR_R_ALIAS): Likewise.
9286 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
9287 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
9288 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
9289 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
9290 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
9291 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
9292 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9293 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9294 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
9295 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
9296 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
9297 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
9298 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9299 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
9300 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
9301 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
9302 * sysdeps/unix/sysv/linux/readdir.c: New file.
9303 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
9304 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
9305 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
9307 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9309 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
9311 * manual/charset.texi (Converting a Character): Fix typo.
9313 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9317 * sysdeps/arm/libm-test-ulps: Update.
9319 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
9320 as base implementation.
9321 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9322 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9323 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9324 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9325 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9326 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
9327 remove unrequired definitions and update comments.
9328 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
9329 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
9330 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
9331 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
9332 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
9333 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
9334 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
9335 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
9336 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
9337 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
9338 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
9339 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9340 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9341 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
9342 and RESET_SA_RESTORER hooks.
9344 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
9346 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9348 2018-04-05 Florian Weimer <fweimer@redhat.com>
9350 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
9351 integer overflow, memory leak on error, and indeterminate errno
9352 value. Add a null wide character to terminate the result string.
9353 * manual/charset.texi (Converting a Character): Mention embedded
9354 null bytes in the mbrtowc input string. Explain what happens in
9355 the -2 result case. Do not claim that mbrtowc is simple or
9356 obvious to use. Adjust the description of the code example. Use
9357 @code, not @var, for concrete variables.
9359 2018-04-05 Florian Weimer <fweimer@redhat.com>
9361 * manual/examples/mbstouwcs.c: New file.
9362 * manual/charset.texi (Converting a Character): Include it.
9364 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9366 * include/dirent.h (dirfd): Add hidden proto.
9367 * dirent/dirfd.c (dirfd): Add hidden def.
9368 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
9369 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
9371 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9373 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
9374 sin, cos and sincos to 1 ULP.
9376 2018-04-04 Maciej W. Rozycki <macro@mips.com>
9379 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
9381 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
9382 * elf/tst-absolute-sym.c: New file.
9383 * elf/tst-absolute-sym-lib.c: New file.
9384 * elf/tst-absolute-sym-lib.lds: New file.
9385 * elf/Makefile (tests): Add `tst-absolute-sym'.
9386 (modules-names): Add `tst-absolute-sym-lib'.
9387 (LDLIBS-tst-absolute-sym-lib.so): New variable.
9388 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
9389 ($(objpfx)tst-absolute-sym): New dependency.
9392 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
9394 (SYMBOL_ADDRESS): New macro.
9395 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
9396 SYMBOL_ADDRESS for symbol address calculation.
9397 * elf/dl-runtime.c (_dl_fixup): Likewise.
9398 (_dl_profile_fixup): Likewise.
9399 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
9400 * elf/rtld.c (dl_main): Likewise.
9401 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
9402 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9403 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
9404 (elf_machine_rela): Likewise.
9405 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
9406 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
9407 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9408 (elf_machine_rela): Likewise.
9409 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9410 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
9411 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
9412 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9414 (elf_machine_reloc): Likewise.
9415 (elf_machine_got_rel): Likewise.
9416 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
9417 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
9418 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9422 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
9423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9425 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9427 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9432 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
9433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9435 2018-04-04 Zack Weinberg <zackw@panix.com>
9437 * sysdeps/generic/internal-signals.h: Include signal.h,
9438 sigsetops.h, and stdbool.h.
9439 (__libc_signal_block_all): Actually block all signals.
9440 (__libc_signal_block_app): Likewise.
9441 (__libc_signal_restore_set): Actually restore the signal mask.
9443 2018-04-04 Florian Weimer <fweimer@redhat.com>
9445 inet: Actually build and run tst-deadline.
9446 * inet/Makefile (tests-internal): Add tst-deadline and do not
9447 overwrite the variable.
9448 (tests-static-internal): Remove variable.
9450 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
9453 * bits/uio-ext.h (RWF_APPEND): New.
9454 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
9455 * manual/llio.texi: Document RWF_APPEND.
9456 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
9457 (RWF_SUPPORTED): Add RWF_APPEND.
9459 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9462 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
9463 check for internal nptl signals.
9464 * nptl/sigaction.c (__sigaction): Likewise.
9465 * signal/sigaddset.c (sigaddset): Likewise.
9466 * signal/sigdelset.c (sigdelset): Likewise.
9467 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9468 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
9470 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
9471 to filter out internal nptl signals.
9472 * signal/tst-sigset.c (do_test): Check ech signal indidually and
9473 also check realtime signals using standard macros.
9474 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
9475 __is_internal_signal, __libc_signal_block_all,
9476 __libc_signal_block_app, __libc_signal_restore_set): New functions.
9477 * sysdeps/nptl/sigfillset.c: Remove file.
9478 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
9479 Change return to bool.
9480 (__clear_internal_signals): Remove SIGTIMER clean since it is
9481 equal to SIGCANEL on Linux.
9482 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
9483 signal set was constructed using standard functions.
9485 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9487 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
9489 * hurd/hurdsig.c (interrupted_reply_port_location): Use
9490 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
9491 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
9493 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
9494 * signal/sigaddset.c: Include <sigsetopts.h>.
9495 * signal/sigdelset.c: Likewise.
9497 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9499 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
9501 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
9502 logic as sin and cos.
9504 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9506 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
9507 inputs. Return correct sign.
9508 (do_sincos): Remove small input check before do_sin, let do_sin set
9513 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9515 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
9516 (do_cos_slow): Likewise.
9517 (do_sin_slow): Likewise.
9518 (reduce_and_compute): Likewise.
9530 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9532 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
9533 (do_cos): Remove corp parameter and calculations.
9535 (do_sincos): Remove cor variable.
9536 (__sin): Use do_sincos for huge inputs.
9538 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9539 (reduce_and_compute_sincos): Remove unused function.
9541 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9543 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
9544 reduce_sincos, improve accuracy to 136 bits.
9545 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
9546 (__sin): Use improved reduction and simplified do_sincos calculation.
9548 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9550 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9552 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
9553 (do_sincos_2): Likewise.
9554 (__sin): Remove middle range reduction case.
9556 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
9559 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9561 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
9562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
9565 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
9567 2018-04-03 Joseph Myers <joseph@codesourcery.com>
9569 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9572 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9574 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
9576 (opendir_oflags): Use O_DIRECTORY regardless.
9577 (__opendir, __opendirat): Remove need_isdir_precheck usage.
9578 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
9580 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9582 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
9583 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
9585 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
9586 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
9587 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
9588 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
9589 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
9590 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
9592 * htl/Makefile: Bump licence to LGPL 2.1+.
9593 * htl/alloca_cutoff.c: Likewise.
9594 * htl/cthreads-compat.c: Likewise.
9595 * htl/lockfile.c: Likewise.
9596 * htl/pt-alloc.c: Likewise.
9597 * htl/pt-cancel.c: Likewise.
9598 * htl/pt-cleanup.c: Likewise.
9599 * htl/pt-create.c: Likewise.
9600 * htl/pt-dealloc.c: Likewise.
9601 * htl/pt-detach.c: Likewise.
9602 * htl/pt-exit.c: Likewise.
9603 * htl/pt-getattr.c: Likewise.
9604 * htl/pt-initialize.c: Likewise.
9605 * htl/pt-internal.h: Likewise.
9606 * htl/pt-join.c: Likewise.
9607 * htl/pt-self.c: Likewise.
9608 * htl/pt-setcancelstate.c: Likewise.
9609 * htl/pt-setcanceltype.c: Likewise.
9610 * htl/pt-sigmask.c: Likewise.
9611 * htl/pt-spin-inlines.c: Likewise.
9612 * htl/pt-testcancel.c: Likewise.
9613 * htl/pt-yield.c: Likewise.
9614 * htl/tests/test-1.c: Likewise.
9615 * htl/tests/test-10.c: Likewise.
9616 * htl/tests/test-11.c: Likewise.
9617 * htl/tests/test-12.c: Likewise.
9618 * htl/tests/test-13.c: Likewise.
9619 * htl/tests/test-14.c: Likewise.
9620 * htl/tests/test-15.c: Likewise.
9621 * htl/tests/test-16.c: Likewise.
9622 * htl/tests/test-17.c: Likewise.
9623 * htl/tests/test-2.c: Likewise.
9624 * htl/tests/test-3.c: Likewise.
9625 * htl/tests/test-4.c: Likewise.
9626 * htl/tests/test-5.c: Likewise.
9627 * htl/tests/test-6.c: Likewise.
9628 * htl/tests/test-7.c: Likewise.
9629 * htl/tests/test-8.c: Likewise.
9630 * htl/tests/test-9.c: Likewise.
9631 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
9632 * sysdeps/htl/bits/cancelation.h: Likewise.
9633 * sysdeps/htl/bits/pthread-np.h: Likewise.
9634 * sysdeps/htl/bits/pthread.h: Likewise.
9635 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
9636 * sysdeps/htl/bits/semaphore.h: Likewise.
9637 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
9638 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
9639 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
9640 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
9641 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
9642 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
9643 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
9644 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
9645 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
9646 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
9647 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
9648 * sysdeps/htl/old_pt-atfork.c: Likewise.
9649 * sysdeps/htl/pt-atfork.c: Likewise.
9650 * sysdeps/htl/pt-attr-destroy.c: Likewise.
9651 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
9652 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
9653 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
9654 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
9655 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
9656 * sysdeps/htl/pt-attr-getscope.c: Likewise.
9657 * sysdeps/htl/pt-attr-getstack.c: Likewise.
9658 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
9659 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
9660 * sysdeps/htl/pt-attr-init.c: Likewise.
9661 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
9662 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
9663 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
9664 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
9665 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
9666 * sysdeps/htl/pt-attr-setscope.c: Likewise.
9667 * sysdeps/htl/pt-attr-setstack.c: Likewise.
9668 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
9669 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
9670 * sysdeps/htl/pt-attr.c: Likewise.
9671 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
9672 * sysdeps/htl/pt-barrier-init.c: Likewise.
9673 * sysdeps/htl/pt-barrier-wait.c: Likewise.
9674 * sysdeps/htl/pt-barrier.c: Likewise.
9675 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
9676 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
9677 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
9678 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
9679 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
9680 * sysdeps/htl/pt-cond-destroy.c: Likewise.
9681 * sysdeps/htl/pt-cond-init.c: Likewise.
9682 * sysdeps/htl/pt-cond-signal.c: Likewise.
9683 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
9684 * sysdeps/htl/pt-cond-wait.c: Likewise.
9685 * sysdeps/htl/pt-cond.c: Likewise.
9686 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
9687 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
9688 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
9689 * sysdeps/htl/pt-condattr-init.c: Likewise.
9690 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
9691 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
9692 * sysdeps/htl/pt-destroy-specific.c: Likewise.
9693 * sysdeps/htl/pt-equal.c: Likewise.
9694 * sysdeps/htl/pt-getconcurrency.c: Likewise.
9695 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
9696 * sysdeps/htl/pt-getschedparam.c: Likewise.
9697 * sysdeps/htl/pt-getspecific.c: Likewise.
9698 * sysdeps/htl/pt-init-specific.c: Likewise.
9699 * sysdeps/htl/pt-key-create.c: Likewise.
9700 * sysdeps/htl/pt-key-delete.c: Likewise.
9701 * sysdeps/htl/pt-key.h: Likewise.
9702 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
9703 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
9704 * sysdeps/htl/pt-mutex-init.c: Likewise.
9705 * sysdeps/htl/pt-mutex-lock.c: Likewise.
9706 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
9707 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
9708 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
9709 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
9710 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
9711 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
9712 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
9713 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
9714 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
9715 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
9716 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
9717 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
9718 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
9719 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
9720 * sysdeps/htl/pt-mutexattr.c: Likewise.
9721 * sysdeps/htl/pt-once.c: Likewise.
9722 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
9723 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
9724 * sysdeps/htl/pt-rwlock-init.c: Likewise.
9725 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
9726 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
9727 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
9728 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
9729 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
9730 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
9731 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
9732 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
9733 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
9734 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
9735 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
9736 * sysdeps/htl/pt-setconcurrency.c: Likewise.
9737 * sysdeps/htl/pt-setschedparam.c: Likewise.
9738 * sysdeps/htl/pt-setschedprio.c: Likewise.
9739 * sysdeps/htl/pt-setspecific.c: Likewise.
9740 * sysdeps/htl/pt-spin.c: Likewise.
9741 * sysdeps/htl/pt-startup.c: Likewise.
9742 * sysdeps/htl/pthread.h: Likewise.
9743 * sysdeps/htl/sem-close.c: Likewise.
9744 * sysdeps/htl/sem-destroy.c: Likewise.
9745 * sysdeps/htl/sem-getvalue.c: Likewise.
9746 * sysdeps/htl/sem-init.c: Likewise.
9747 * sysdeps/htl/sem-open.c: Likewise.
9748 * sysdeps/htl/sem-post.c: Likewise.
9749 * sysdeps/htl/sem-timedwait.c: Likewise.
9750 * sysdeps/htl/sem-trywait.c: Likewise.
9751 * sysdeps/htl/sem-unlink.c: Likewise.
9752 * sysdeps/htl/sem-wait.c: Likewise.
9753 * sysdeps/hurd/htl/pt-kill.c: Likewise.
9754 * sysdeps/i386/htl/pt-machdep.h: Likewise.
9755 * sysdeps/mach/htl/pt-block.c: Likewise.
9756 * sysdeps/mach/htl/pt-spin.c: Likewise.
9757 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
9758 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
9759 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
9760 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
9761 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
9762 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
9763 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
9764 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
9765 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
9766 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
9767 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
9768 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
9769 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
9770 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
9771 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
9772 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
9773 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
9774 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
9775 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
9776 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
9777 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
9778 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
9779 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
9780 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
9781 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
9782 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
9783 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
9784 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
9785 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
9786 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
9787 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
9788 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
9789 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
9790 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
9791 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
9792 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
9793 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
9794 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
9795 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
9796 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
9797 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
9798 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
9799 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
9801 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
9802 * README: Remove the mention of out-of-tree patches needed for
9805 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
9806 (UTIME_NOW, UTIME_OMIT): Define macros.
9808 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
9809 instead of pthread_detach.
9810 (__cthread_fork): Call __pthread_create instead of pthread_create.
9811 (__cthread_keycreate): Call __pthread_key_create instead of
9813 (__cthread_getspecific): Call __pthread_getspecific instead of
9814 pthread_getspecific.
9815 (__cthread_setspecific): Call __pthread_setspecific instead of
9816 pthread_setspecific.
9817 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
9818 __pthread_mutex_unlock instead of pthread_mutex_lock and
9819 pthread_mutex_unlock.
9820 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
9821 ___pthread_get_cleanup_stack.
9822 (__pthread_get_cleanup_stack): New strong alias.
9823 * htl/pt-create.c: Include <pthreadP.h>.
9824 (entry_point): Call __pthread_exit instead of pthread_exit.
9825 (pthread_create): Rename to __pthread_create.
9826 (pthread_create): New strong alias.
9827 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
9828 (pthread_detach): New strong alias.
9829 (__pthread_detach): Call __pthread_cond_broadcast instead of
9830 pthread_cond_broadcast.
9831 * htl/pt-exit.c: Include <pthreadP.h>.
9832 (__pthread_exit): Call __pthread_setcancelstate and
9833 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
9834 __pthread_get_cleanup_stack.
9835 * htl/pt-testcancel.c: Include <pthreadP.h>.
9836 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
9837 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
9838 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
9839 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
9840 pthread_attr_getstacksize.
9841 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
9842 Rename to __pthread_attr_getstackaddr.
9843 (pthread_attr_getstackaddr): New strong alias.
9844 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
9845 Rename to __pthread_attr_getstacksize.
9846 (pthread_attr_getstacksize): New strong alias.
9847 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
9848 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
9849 (pthread_attr_setstack): New strong alias.
9850 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
9851 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
9852 pthread_attr_getstacksize, pthread_attr_setstacksize and
9853 pthread_attr_setstackaddr.
9854 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
9855 Rename to __pthread_attr_setstackaddr.
9856 (pthread_attr_setstackaddr): New strong alias.
9857 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
9858 Rename to __pthread_attr_setstacksize.
9859 (pthread_attr_setstacksize): New strong alias.
9860 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
9861 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
9863 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
9864 (__pthread_key_create): New hidden def.
9865 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
9866 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
9867 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
9868 __pthread_exit, __pthread_key_create, __pthread_getspecific,
9869 __pthread_setspecific, __pthread_setcancelstate,
9870 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
9871 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
9872 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
9874 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
9875 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
9876 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
9877 (pthread_attr_setstackaddr): New strong alias.
9878 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
9879 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
9880 (pthread_attr_setstacksize): New strong alias.
9881 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
9882 (call_exit): Call __pthread_exit instead of pthread_exit.
9883 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
9884 (_pthread_mutex_init): New hidden definition.
9885 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
9886 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
9887 instead of pthread_attr_init and pthread_attr_setstack.
9889 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
9890 __vm_deallocate instead of vm_allocate and vm_deallocate.
9891 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
9893 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
9895 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
9897 * hurd/siginfo.c: Include <libioP.h>.
9898 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
9899 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
9901 * mach/devstream.c: Include <libioP.h>.
9902 (dealloc_ref): Call __mach_port_deallocate instead of
9903 mach_port_deallocate.
9904 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
9905 Call __mach_port_deallocate instead of mach_port_deallocate.
9906 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
9908 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
9910 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
9911 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
9912 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
9914 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
9916 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
9918 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
9919 __clock_gettime instead of clock_gettime.
9920 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
9921 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9922 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
9923 * sysdeps/unix/bsd/stty.c (stty): Likewise.
9924 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
9926 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
9927 __clock_gettime and __nanosleep instead of clock_gettime and
9929 * hurd/catch-signal.c (hurd_catch_signal): Rename to
9930 __hurd_catch_signal.
9931 (hurd_catch_signal): New strong alias.
9932 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
9933 __hurd_catch_signal instead of hurd_catch_signal.
9934 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
9935 * hurd/hurdexec.c (_hurd_init): Add hidden def.
9936 * hurd/hurdinit.c (_hurd_init): Add hidden def.
9937 * hurd/hurdsig.c: Include <mach/mig_support.h>.
9938 (_hurd_thread_sigstate): Add hidden def.
9939 (_hurd_internal_post_signal): Use __mutex_unlock instead of
9941 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
9942 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
9943 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
9944 __hurd_file_name_path_lookup.
9945 (hurd_file_name_path_lookup): New strong alias.
9946 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
9947 hurd_file_name_path_lookup.
9948 * mach/errstring.c (mach_error_type): Add hidden def.
9949 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
9950 * mach/mutex-init.c (__mutex_init): Add hidden def.
9951 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
9952 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
9953 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
9954 * sysdeps/mach/hurd/getcwd.c
9955 (_hurd_canonicalize_directory_name_internal): Rename to
9956 __hurd_canonicalize_directory_name_internal.
9957 (_hurd_canonicalize_directory_name_internal): New strong alias.
9958 (__canonicalize_directory_name_internal, __getcwd): Call
9959 __hurd_canonicalize_directory_name_internal instead of
9960 _hurd_canonicalize_directory_name_internal.
9961 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
9962 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
9964 * sysdeps/hurd/include/hurd.h: New file.
9965 * sysdeps/hurd/include/hurd/fd.h: New file.
9966 * sysdeps/hurd/include/hurd/signal.h: New file.
9967 * sysdeps/mach/include/lock-intern.h: New file.
9968 * sysdeps/mach/include/mach.h: New file.
9969 * sysdeps/mach/include/mach/mig_support.h: New file.
9970 * sysdeps/mach/include/mach_error.h: New file.
9971 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
9973 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
9974 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
9975 _HEADER_H_HIDDEN_DEF macro.
9976 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
9977 _hurd_fd_error_signal): Add hidden prototype.
9978 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
9980 * libio/iolibio.h (_IO_puts): New hidden prototype.
9981 * libio/ioputs.c (_IO_puts): New hidden def.
9982 * sysdeps/mach/hurd/localplt.data: New file.
9984 2018-04-02 Agustina Arzille <avarzille@riseup.net>
9985 Amos Jeffries <squid3@treenet.co.nz>
9986 David Michael <fedora.dm0@gmail.com>
9987 Marco Gerards <marco@gnu.org>
9988 Marcus Brinkmann <marcus@gnu.org>
9989 Neal H. Walfield <neal@gnu.org>
9990 Pino Toscano <toscano.pino@tiscali.it>
9991 Richard Braun <rbraun@sceen.net>
9992 Roland McGrath <roland@gnu.org>
9993 Samuel Thibault <samuel.thibault@ens-lyon.org>
9994 Thomas DiModica <ricinwich@yahoo.com>
9995 Thomas Schwinge <tschwinge@gnu.org>
9997 * htl: New directory.
9998 * sysdeps/htl: New directory.
9999 * sysdeps/hurd/htl: New directory.
10000 * sysdeps/i386/htl: New directory.
10001 * sysdeps/mach/htl: New directory.
10002 * sysdeps/mach/hurd/htl: New directory.
10003 * sysdeps/mach/hurd/i386/htl: New directory.
10004 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
10005 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
10006 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
10008 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10010 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
10011 signals in thread created for runing timers.
10013 2018-04-01 Florian Weimer <fweimer@redhat.com>
10015 * support/support_format_addrinfo.c (support_format_addrinfo):
10016 Include unknown error number in formatted result.
10018 2018-03-29 Florian Weimer <fweimer@redhat.com>
10020 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
10023 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10025 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
10026 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
10027 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10028 (__ASSUME_CLONE_BACKWARDS): Define.
10030 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
10033 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
10034 early when linux sentinel value is set.
10036 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10038 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
10040 2018-03-27 Andreas Schwab <schwab@suse.de>
10043 * resolv/res_send.c (__res_context_send): Return ENOMEM if
10044 allocation of private copy of nsaddr_list fails.
10046 2018-03-26 Joseph Myers <joseph@codesourcery.com>
10049 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
10050 * sysdeps/unix/sysv/linux/umount.c: ... here.
10051 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
10052 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
10053 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
10054 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
10056 * sysdeps/unix/sysv/linux/umount.S: Likewise.
10057 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
10059 2018-03-26 Andreas Schwab <schwab@suse.de>
10061 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
10062 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
10063 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
10064 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
10065 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
10066 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
10067 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
10068 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
10069 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
10070 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
10071 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
10072 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
10073 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
10074 (R_RISCV_NUM): Define.
10076 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10078 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
10079 TLS declaration of errno.
10080 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
10082 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
10083 (ARCH_SETUP_TLS): Likewise.
10084 * sysdeps/mach/hurd/libc-start.h: New file copied from
10085 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
10086 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
10087 instead of __libc_setup_tls.
10088 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
10089 __libc_setup_tls before initializing libpthread and running _hurd_init
10090 which starts the signal thread.
10091 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
10093 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10095 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
10098 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
10099 after it is defined.
10101 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
10102 Max Horn <max@quendi.de>
10106 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
10108 * string/test-memmove.c (do_test2): New testcase.
10110 2018-03-22 Joseph Myers <joseph@codesourcery.com>
10112 * sysdeps/generic/frame.h: Remove file.
10113 * sysdeps/arm/frame.h: Likewise.
10114 * sysdeps/hppa/frame.h: Likewise.
10115 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
10117 (GET_FRAME): Likewise.
10118 (GET_STACK): Likewise.
10119 (CALL_SIGHANDLER): Likewise.
10120 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
10122 (GET_FRAME): Likewise.
10123 (GET_STACK): Likewise.
10124 (CALL_SIGHANDLER): Likewise.
10125 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
10126 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10127 (GET_FRAME): Likewise.
10128 (GET_STACK): Likewise.
10129 (CALL_SIGHANDLER): Likewise.
10130 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
10131 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10132 (GET_FRAME): Likewise.
10133 (GET_STACK): Likewise.
10134 (ADVANCE_STACK_FRAME): Likewise.
10135 (CALL_SIGHANDLER): Likewise.
10136 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
10137 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10138 (GET_FRAME): Likewise.
10139 (GET_STACK): Likewise.
10140 (CALL_SIGHANDLER): Likewise.
10141 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
10142 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10143 (GET_FRAME): Likewise.
10144 (GET_STACK): Likewise.
10145 (CALL_SIGHANDLER): Likewise.
10146 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
10147 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10148 (GET_FRAME): Likewise.
10149 (GET_STACK): Likewise.
10150 (CALL_SIGHANDLER): Likewise.
10151 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
10152 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10153 (GET_FRAME): Likewise.
10154 (GET_STACK): Likewise.
10155 (CALL_SIGHANDLER): Likewise.
10156 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
10157 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10158 (GET_FRAME): Likewise.
10159 (GET_STACK): Likewise.
10160 (CALL_SIGHANDLER): Likewise.
10161 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
10162 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10163 (GET_FRAME): Likewise.
10164 (GET_STACK): Likewise.
10165 (CALL_SIGHANDLER): Likewise.
10166 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
10167 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10168 (GET_FRAME): Likewise.
10169 (GET_STACK): Likewise.
10170 (CALL_SIGHANDLER): Likewise.
10171 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
10172 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10173 (GET_FRAME): Likewise.
10174 (GET_STACK): Likewise.
10175 (CALL_SIGHANDLER): Likewise.
10176 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
10177 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10178 (GET_FRAME): Likewise.
10179 (GET_STACK): Likewise.
10180 (CALL_SIGHANDLER): Likewise.
10181 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
10182 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10183 (FIRST_FRAME_POINTER): Likewise.
10184 (ADVANCE_STACK_FRAME): Likewise.
10185 (GET_STACK): Likewise.
10186 (GET_FRAME): Likewise.
10187 (CALL_SIGHANDLER): Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
10189 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10190 (ADVANCE_STACK_FRAME): Likewise.
10191 (GET_STACK): Likewise.
10192 (GET_FRAME): Likewise.
10193 (CALL_SIGHANDLER): Likewise.
10194 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
10195 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10196 (GET_FRAME): Likewise.
10197 (GET_STACK): Likewise.
10198 (CALL_SIGHANDLER): Likewise.
10199 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
10200 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10201 (GET_FRAME): Likewise.
10202 (GET_STACK): Likewise.
10203 (CALL_SIGHANDLER): Likewise.
10205 2018-03-21 Joseph Myers <joseph@codesourcery.com>
10207 * sysdeps/x86_64/backtrace.c: Move to ....
10208 * debug/backtrace.c: ... here.
10209 * sysdeps/aarch64/backtrace.c: Remove file.
10210 * sysdeps/alpha/backtrace.c: Likewise.
10211 * sysdeps/hppa/backtrace.c: Likewise.
10212 * sysdeps/ia64/backtrace.c: Likewise.
10213 * sysdeps/mips/backtrace.c: Likewise.
10214 * sysdeps/nios2/backtrace.c: Likewise.
10215 * sysdeps/riscv/backtrace.c: Likewise.
10216 * sysdeps/sh/backtrace.c: Likewise.
10217 * sysdeps/tile/backtrace.c: Likewise.
10219 2018-03-20 Joseph Myers <joseph@codesourcery.com>
10222 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
10225 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
10228 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
10229 possibly overflowing computations.
10231 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10233 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
10234 values from Linux-specific section now that it is in the GNU section.
10235 * sysdeps/gnu/errlist.c: Regenerate.
10237 2018-03-20 Joseph Myers <joseph@codesourcery.com>
10239 * math/Makefile (libm-narrow-fns): Add sub.
10240 (libm-test-funcs-narrow): Likewise.
10241 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
10242 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
10243 * math/gen-auto-libm-tests.c (test_functions): Add sub.
10244 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
10245 (NARROW_SUB_ROUND_TO_ODD): Likewise.
10246 (NARROW_SUB_TRIVIAL): Likewise.
10247 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
10249 (__dsubl): Likewise.
10250 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
10252 (CFLAGS-nldbl-dsub.c): New variable.
10253 (CFLAGS-nldbl-fsub.c): Likewise.
10254 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10256 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
10258 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
10259 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
10260 * math/auto-libm-test-in: Add tests of sub.
10261 * math/auto-libm-test-out-narrow-sub: New generated file.
10262 * math/libm-test-narrow-sub.inc: New file.
10263 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10264 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
10266 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
10267 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
10268 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
10277 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
10278 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
10279 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
10280 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
10281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10282 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10283 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10284 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10285 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10286 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10287 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10288 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10289 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10290 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10291 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10292 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10293 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10294 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10299 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10300 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10301 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10302 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10303 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10304 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10305 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
10306 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
10307 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10308 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10310 2018-03-19 Joseph Myers <joseph@codesourcery.com>
10313 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
10315 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
10317 * benchtests/bench-timing.h (attribute_hidden): Undefine.
10319 2018-03-18 Richard Braun <rbraun@sceen.net>
10321 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
10324 2018-03-18 Agustina Arzille <avarzille@riseup.net>
10326 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
10327 (__libc_cleanup_fct): Define function.
10328 (__libc_cleanup_region_start, __libc_cleanup_region_end,
10329 __libc_cleanup_end): Rewrite implementation using
10330 __attribute__ ((__cleanup__)).
10331 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
10332 * hurd/Makefile (routines): Add hurdlock.
10333 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
10335 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
10336 * hurd/hurdpid.c: Include <lowlevellock.h>
10337 (_S_msg_proc_newids): Use lll_wait to synchronize.
10338 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
10339 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
10340 * mach/Makefile (lock-headers): Remove machine-lock.h.
10341 * mach/lock-intern.h: Include <lowlevellock.h> instead of
10343 (__spin_lock_t): New type.
10344 (__SPIN_LOCK_INITIALIZER): New macro.
10345 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
10346 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
10347 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
10348 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
10349 (__mutex_init): Initialize with lll.
10350 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
10351 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
10353 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10354 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
10355 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
10356 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
10357 (__setpgid): Use lll for synchronization.
10358 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
10359 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
10360 instead of <cthreads.h>.
10361 (_IO_lock_inexpensive): New macro
10362 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
10363 (__libc_lock_self0): New declaration.
10364 (__libc_lock_owner_self): New macro.
10365 (__libc_key_t): Remove type.
10366 (_LIBC_LOCK_INITIALIZER): New macro.
10367 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
10368 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
10369 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
10370 __libc_lock_define_initialized_recursive,
10371 __rtld_lock_define_initialized_recursive,
10372 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
10373 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
10374 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
10375 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
10376 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
10377 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
10378 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
10380 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
10381 * hurd/hurdlock.c: New file.
10382 * hurd/hurdlock.h: New file.
10383 * mach/lowlevellock.h: New file
10385 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10387 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
10388 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
10389 when opening a symlink with O_NOFOLLOW.
10390 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
10391 path when flags contains O_NOFOLLOW.
10392 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
10393 if flags contains O_DIRECTORY and the result is a directory.
10394 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
10395 oneself when the pointer given in D is nul (as set by ext2fs).
10396 * sysdeps/mach/hurd/mlockall.c: New file.
10397 * sysdeps/mach/hurd/munlockall.c: New file.
10399 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
10401 * hurd/hurdsig.c: Include <pthread.h>.
10402 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
10403 get the signal thread stack layout.
10404 * hurd/Makefile (headers): Remove threadvar.h.
10405 (inline-headers): Remove threadvar.h.
10406 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
10407 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
10408 __hurd_threadvar_max, __hurd_errno_location.
10409 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
10410 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
10411 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
10412 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
10413 unless TLS is not initialized yet, in which case we do not need a
10414 critical section yet anyway.
10415 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
10417 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
10419 (__hurd_threadvar_index): Remove enum.
10420 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
10421 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
10423 (__hurd_reply_port0): New variable declaration.
10424 (__hurd_local_reply_port): New macro.
10425 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
10426 (interrupted_reply_port_location): Add thread_t parameter. Use it
10427 with THREAD_TCB to access thread-local variables.
10428 (_hurdsig_abort_rpcs): Pass ss->thread to
10429 interrupted_reply_port_location.
10430 (_hurd_internal_post_signal): Likewise.
10431 (_hurdsig_init): Use presence of cthread_fork instead of
10432 __hurd_threadvar_stack_mask to start signal thread by hand.
10433 Remove signal thread threadvar initialization.
10434 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
10435 * hurd/sigunwind.c: Include <hurd/threadvar.h>
10436 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
10438 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
10440 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
10441 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
10442 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
10443 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
10444 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
10445 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
10446 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
10448 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
10449 <hurd/threadvar.h>.
10450 [IS_IN(rtld)] (rtld_errno): New variable.
10451 [IS_IN(rtld)] (__errno_location): New weak function.
10452 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
10453 * sysdeps/mach/hurd/errno.c: Remove file.
10454 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
10455 (__fork): Remove THREADVAR_SPACE macro and its use.
10456 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
10458 (init): Do not initialize threadvar.
10459 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
10461 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
10462 __hurd_local_reply_port instead of threadvar.
10463 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
10464 _hurd_sigstate fields.
10465 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
10466 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
10467 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
10468 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
10469 instead of threadvar.
10470 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
10471 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
10472 (use_threadvar, global_reply_port): Remove variables.
10473 (__hurd_reply_port0): New variable.
10474 (__mig_get_reply_port): Use __hurd_local_reply_port and
10475 __hurd_reply_port0 instead of threadvar.
10476 (__mig_dealloc_reply_port): Likewise.
10477 (__mig_init): Do not initialize threadvar.
10478 * sysdeps/mach/hurd/profil.c: Fix comment.
10479 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
10480 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
10481 cthread_keycreate, cthread_getspecific, cthread_setspecific to
10482 __cthread_fork, __cthread_detach, __pthread_getattr_np,
10483 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
10484 __cthread_setspecific.
10485 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
10486 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
10487 __cthread_t instead of cthread_fork, cthread_detach,
10488 pthread_getattr_np, pthread_attr_getstack.
10489 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
10490 __cthread_keycreate.
10491 (cthread_getspecific): Rename to __cthread_getspecific.
10492 (cthread_setspecific): Rename to __cthread_setspecific.
10493 (__libc_getspecific): Use __cthread_getspecific instead of
10494 cthread_getspecific.
10495 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
10496 __cthread_keycreate instead of cthread_keycreate.
10497 (__libc_setspecific): Use __cthread_setspecific instead of
10498 cthread_setspecific.
10499 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
10501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
10502 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
10503 testing whether it is defined.
10505 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10507 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
10509 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
10510 * sysdeps/mach/i386/thread_state.h
10511 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
10513 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
10515 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
10517 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
10518 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
10520 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
10522 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
10523 descriptor instead of creating a new one.
10524 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
10526 * mach/setup-thread.c: Include <ldsodefs.h>.
10527 (__mach_setup_thread): Call _dl_allocate_tls, pass
10528 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
10529 MACHINE_THREAD_STATE_FLAVOR, before getting
10530 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
10531 MACHINE_THREAD_STATE_FLAVOR with the result.
10532 * hurd/hurdfault.c (_hurdsig_fault_init): Call
10533 MACHINE_THREAD_STATE_FIX_NEW.
10534 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
10535 too. Add original thread parameter.
10537 2018-03-16 Joseph Myers <joseph@codesourcery.com>
10539 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
10540 Remove inline function.
10542 * sysdeps/i386/fpu/libm-test-ulps: Update.
10543 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10545 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
10547 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
10550 2018-03-15 Joseph Myers <joseph@codesourcery.com>
10552 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
10553 (__sincos_code): Remove define and undefine.
10554 [__FAST_MATH__] (__sincos): Remove inline function.
10555 [__FAST_MATH__] (__sincosf): Remove inline function.
10556 [__FAST_MATH__] (__sincosl): Remove inline function.
10557 (__atan2l): Remove inline functions.
10558 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
10559 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
10561 (floor): Remove inline function.
10563 [__FAST_MATH__] (__ldexp_code): Remove macro.
10564 [__FAST_MATH__] (ldexp): Remove inline function.
10565 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
10566 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
10567 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
10568 [__USE_ISOC99] (__lrint_code): Remove macro.
10569 [__USE_ISOC99] (__llrint_code): Likewise.
10570 [__USE_ISOC99] (lrintf): Remove inline function.
10571 [__USE_ISOC99] (lrint): Likewise.
10572 [__USE_ISOC99] (lrintl): Likewise.
10573 [__USE_ISOC99] (llrint): Likewise.
10574 [__USE_ISOC99] (llrintf): Likewise.
10575 [__USE_ISOC99] (llrintl): Likewise.
10577 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10579 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
10580 (__ieee754_sqrtf): Remove.
10581 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
10582 (__ieee754_sqrtf): Remove.
10583 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
10584 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
10585 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
10586 (__ieee754_sqrtf): Remove.
10587 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
10588 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
10591 (__ieee754_sqrt): Remove.
10592 (__ieee754_sqrtf): Remove.
10593 (__ieee754_sqrtl): Remove.
10594 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
10595 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
10596 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
10597 (__ieee754_sqrtf): Remove.
10598 (__ieee754_sqrtl): Remove.
10600 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10602 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
10603 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10604 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10605 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
10606 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
10607 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10608 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10609 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10611 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
10612 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
10613 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10614 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10615 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10616 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
10617 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10618 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10619 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10620 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
10621 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
10622 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10623 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
10624 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
10625 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
10626 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10627 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10628 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10629 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
10630 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
10631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10633 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
10634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
10635 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
10636 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
10637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10638 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10639 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
10640 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
10641 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10642 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
10643 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10644 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10645 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10646 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10647 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
10648 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
10649 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10650 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
10652 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10654 * include/math.h (sqrt): Declare with asm redirect.
10657 (sqrtf128): Likewise.
10658 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
10659 nonlib and libnldbl with -fmath-errno.
10660 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
10661 * math/w_sqrt_template.c: Likewise.
10662 * math/w_sqrtf_compat.c: Likewise.
10663 * math/w_sqrtl_compat.c: Likewise.
10664 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
10665 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
10666 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
10669 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10671 * benchtests/Makefile: Define _ISOMAC.
10672 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
10673 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
10674 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
10675 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
10676 * benchtests/bench-timing.h: Define attribute_hidden.
10678 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10680 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
10683 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10686 * localedata/locales/cs_CZ (mon): Rename to...
10688 (mon): Import from CLDR (genitive case).
10690 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10693 * localedata/locales/el_CY (abmon): Rename to...
10694 (ab_alt_mon): This.
10695 (abmon): Import from CLDR (abbreviated genitive case).
10696 * localedata/locales/el_GR (abmon): Rename to...
10697 (ab_alt_mon): This.
10698 (abmon): Import from CLDR (abbreviated genitive case).
10700 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10703 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
10705 2018-03-15 Robert Buj <robert.buj@gmail.com>
10708 * localedata/locales/ca_ES (abmon): Rename to...
10709 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
10710 (mon): Rename to...
10712 (abmon): Import from CLDR (genitive case, month names preceded by
10715 (abday): Synchronize with CLDR.
10716 (d_t_fmt): Likewise.
10720 (LC_TIME): Improve indentation.
10721 (LC_TELEPHONE): Likewise.
10722 (LC_NAME): Likewise.
10723 (LC_ADDRESS): Likewise.
10725 2018-03-14 Joseph Myers <joseph@codesourcery.com>
10727 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
10728 (lrintf): Remove definitions used only with old GCC.
10729 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
10730 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
10731 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
10732 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
10733 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
10734 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
10735 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
10736 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
10737 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
10738 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
10739 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
10740 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
10741 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
10742 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
10743 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
10744 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
10745 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
10746 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
10747 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
10748 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
10749 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
10750 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
10751 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
10752 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
10753 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
10754 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
10755 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
10756 [__FAST_MATH__] (__M_SQRT2): Remove macro.
10758 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10760 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
10761 instruction to unbreak builds with binutils 2.26 and older.
10763 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
10765 * sysdeps/aarch64/strncmp.S (count): New macro.
10766 (strncmp): Store misaligned length in SRC1 in COUNT.
10767 (mutual_align): Adjust.
10768 (misaligned8): Load dword at a time when it is safe.
10770 2018-03-12 Zack Weinberg <zackw@panix.com>
10774 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
10775 if the _IO_EOF_SEEN bit is already set; update commentary.
10776 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
10777 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10779 * support/support_openpty.c, support/tty.h: New files.
10780 * support/Makefile (libsupport-routines): Add support_openpty.
10782 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
10784 * libio/Makefile (tests): Add tst-fgetc-after-eof.
10785 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
10787 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
10789 * po/pt_BR.po: Update translations.
10791 2018-03-12 David Michael <fedora.dm0@gmail.com>
10793 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
10794 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
10795 get a port to the startup server.
10797 2018-03-11 Zack Weinberg <zackw@panix.com>
10799 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
10800 before nldbl-compat.h.
10802 2018-03-10 Zack Weinberg <zackw@panix.com>
10804 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
10805 math.h or math_private.h.
10807 * sysdeps/alpha/fpu/s_isnan.c
10808 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
10809 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
10810 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
10811 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
10812 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
10813 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
10814 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
10815 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
10816 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
10817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
10818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
10819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
10821 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
10822 Include math_private.h.
10824 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
10825 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
10826 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
10827 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
10828 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
10829 * sysdeps/powerpc/power7/fpu/s_logb.c:
10830 Include math.h and math_private.h.
10832 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
10833 uses of $at in .set noat / .set at.
10835 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
10837 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
10838 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
10839 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
10840 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
10843 2018-03-09 Florian Weimer <fweimer@redhat.com>
10845 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
10848 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
10851 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
10852 Add nop before __startcontext, add explaining comments.
10854 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10857 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
10859 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10860 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
10861 Do not build hardware transactional code for __SPE__.
10862 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10863 (__lll_trylock_elision): Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10865 (__lll_unlock_elision): Likewise.
10867 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
10868 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
10869 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
10870 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
10871 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
10872 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
10873 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
10874 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
10875 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
10876 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
10877 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
10878 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
10880 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
10881 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
10883 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
10884 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
10885 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
10886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
10887 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
10888 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10889 (__ASSUME_CLONE_BACKWARDS): Define.
10890 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
10891 __clone2 if __NR_clone2 is defined.
10892 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10893 (__ASSUME_CLONE_BACKWARDS): Likewise.
10894 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10895 (__ASSUME_CLONE_BACKWARDS): Likewise.
10896 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10897 (__ASSUME_CLONE2): Likewise.
10898 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10899 (__ASSUME_CLONE_BACKWARDS3): Likewise.
10900 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
10901 variants and the define architecture can use.
10902 (__ASSUME_CLONE_DEFAULT): Define as default.
10903 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10904 (__ASSUME_CLONE_BACKWARDS): Likewise.
10905 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10906 (__ASSUME_CLONE_BACKWARDS): Likewise.
10907 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10908 (__ASSUME_CLONE_BACKWARDS2): Likewise.
10910 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
10912 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
10914 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
10917 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
10918 (do_test_limit): Likewise.
10920 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
10921 for every implementation.
10922 (do_test): Likewise.
10924 * benchtests/bench-strncmp.c: Convert output to json.
10926 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10928 * io/futimens.c: Add missing start-of-file descriptive comment.
10929 * io/utime.c: Likewise.
10930 * misc/futimesat.c: Likewise.
10931 * misc/utimes.c: Likewise.
10932 * sysdeps/mach/hurd/futimesat.c: Likewise.
10933 * sysdeps/mach/hurd/utimes.c: Likewise.
10934 * sysdeps/posix/utime.c: Likewise.
10935 * sysdeps/posix/utimes.c: Likewise.
10936 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
10937 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10938 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
10939 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
10941 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10943 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
10945 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
10946 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
10947 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
10948 (__futimens): Move implementation to...
10949 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
10950 utime_tvalue_from_tspec): ... new helper functions.
10951 (hurd_futimens): New function.
10952 * sysdeps/mach/hurd/futimesat.c: New file.
10953 * sysdeps/mach/hurd/utimensat.c: New file.
10955 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
10957 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
10958 UTIME_OMIT): New macros.
10959 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
10960 before reverting to converting time spec to time value and calling
10962 * sysdeps/mach/hurd/utime-helper.c: New file.
10963 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
10964 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
10965 reverting to utime_tvalue_from_tval and __file_utimes.
10966 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
10967 (__lutimes): Just call hurd_futimens after lookup.
10968 * sysdeps/mach/hurd/utimes.c: Likewise.
10970 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10972 * bits/sigaction.h: Add include guard.
10973 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10974 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10975 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
10976 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
10977 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10978 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
10979 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10980 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
10981 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
10983 2018-03-05 Joseph Myers <joseph@codesourcery.com>
10985 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
10986 -Wmaybe-uninitialized for -Os.
10987 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
10990 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10992 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
10993 __INO_T_MATCHES_INO64_T is defined.
10994 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10995 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
10997 * dirent/alphasort64.c: Likewise.
10998 * dirent/scandir.c: Likewise.
10999 * dirent/scandir64-tail.c: Likewise.
11000 * dirent/scandir64.c: Likewise.
11001 * dirent/scandirat.c: Likewise.
11002 * dirent/scandirat64.c: Likewise.
11003 * dirent/versionsort.c: Likewise.
11004 * dirent/versionsort64.c: Likewise.
11005 * include/dirent.h: Likewise.
11007 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
11008 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
11009 for socketpair endpoint.
11010 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
11011 WRITE_BUFFER_SIZE as buffer size for sending socket.
11012 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
11013 issue on system where send is implemented with sendto syscall.
11014 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
11015 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
11016 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
11017 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
11020 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
11021 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
11022 sa_restorer for vDSO case.
11023 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
11025 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11027 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
11028 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
11029 * hurd/hurd/ioctl.h: Include <mach/port.h>
11030 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
11031 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
11032 <mach/mach_types.h> and <mach/message.h>.
11033 (headers): Move mach/param.h to bits/mach/param.h.
11034 * sysdeps/mach/i386/mach/param.h: Move file to ...
11035 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
11036 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
11038 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
11039 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
11040 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
11041 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
11042 trivial, for C++ conformity.
11043 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
11044 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
11045 Process mig output through $(migheadersed).
11046 * hurd/Makefile (migheadersed): Define variable.
11047 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
11048 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
11050 * hurd/hurd.h: Include <bits/types/sigset_t.h>
11051 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
11052 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
11053 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
11054 <bits/types/sigset_t.h>.
11055 [!defined __USE_GNU]: Do not #error out.
11056 (struct hurd_sigstate): Use _NSIG instead of NSIG.
11057 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
11058 Include <stddef.h> and <bits/types/sigset_t.h>
11059 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
11060 instead of sighandler_t.
11061 * stdlib/errno.h (error_t): Move definition to...
11062 * bits/types/error_t.h: ... new header.
11063 * stdlib/Makefile (headers): Add bits/types/error_t.h.
11064 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
11065 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
11066 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
11067 * hurd/hurd.h: Include <bits/types/error_t.h>
11068 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
11069 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
11070 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
11071 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
11072 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
11073 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
11074 * sysdeps/mach/hurd/futimens.c: New file.
11076 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
11079 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
11080 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
11081 * nscd/gai.c (__nss_hosts_database): Readd definition.
11082 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
11083 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
11084 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
11086 2018-03-02 Joseph Myers <joseph@codesourcery.com>
11088 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
11089 (ifunc_one): Likewise.
11091 2018-03-01 DJ Delorie <dj@delorie.com>
11094 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
11097 2018-03-01 Maciej W. Rozycki <macro@mips.com>
11099 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
11100 `match_pid' parameter.
11101 (td_ta_thr_iter): Update accordingly.
11103 2018-03-01 Florian Weimer <fweimer@redhat.com>
11105 * nptl/Makefile (install-lib-ldscripts): Remove.
11106 (install): Remove rule.
11107 ($(inst_libdir)/libpthread.so): Likewise.
11109 2018-03-01 Mike FABIAN <mfabian@redhat.com>
11112 * localedata/locales/an_ES: update month and day names,
11113 improve d_fmt, improve postal_fmt, add country_post,
11116 2018-03-01 Mike FABIAN <mfabian@redhat.com>
11118 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
11119 Ukrainian instead of Bulgarian.
11121 2018-03-01 Florian Weimer <fweimer@redhat.com>
11123 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
11126 2018-03-01 Florian Weimer <fweimer@redhat.com>
11128 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
11129 * nptl/Makefile (routines): Add pthread_atfork.
11130 (static-only-routines): Set to pthread_atfork.
11131 (libpthread-routines): Remove pthread_atfork.
11132 (libpthread-static-only-routines): Remove.
11133 (install): Update comment.
11134 (libpthread.so): Do not install libpthread_nonshared.a.
11135 (tests): Do not link with libpthread_nonshared.a.
11136 (generated): Remove libpthread_nonshared.a.
11137 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
11138 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
11139 with libpthread_nonshared.a.
11141 2018-02-28 Joseph Myers <joseph@codesourcery.com>
11144 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
11145 (libc_feholdexcept_setroundf128): New macro.
11146 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
11149 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
11151 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
11152 * include/inttypes.h: New file.
11154 2018-02-27 Joseph Myers <joseph@codesourcery.com>
11156 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
11157 -Os in two more places.
11159 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11161 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
11162 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
11163 be sorted correctly at the moment because of a bug.
11165 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11167 [BZ #22550] - es_ES locale (and other es_* locales): collation should
11168 treat ñ as a primary different character, sync the collation
11169 for Spanish with CLDR.
11170 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
11171 * localedata/Makefile: Add new test files.
11172 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
11173 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
11175 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
11176 * localedata/am_ET.UTF-8.in: New test file.
11177 * localedata/az_AZ.UTF-8.in: Likewise.
11178 * localedata/be_BY.UTF-8.in: Likewise.
11179 * localedata/ber_DZ.UTF-8.in: Likewise.
11180 * localedata/ber_MA.UTF-8.in: Likewise.
11181 * localedata/bg_BG.UTF-8.in: Likewise.
11182 * localedata/br_FR.UTF-8.in: Likewise.
11183 * localedata/cmn_TW.UTF-8.in: Likewise.
11184 * localedata/crh_UA.UTF-8.in: Likewise.
11185 * localedata/csb_PL.UTF-8.in: Likewise.
11186 * localedata/cv_RU.UTF-8.in: Likewise.
11187 * localedata/cy_GB.UTF-8.in: Likewise.
11188 * localedata/dz_BT.UTF-8.in: Likewise.
11189 * localedata/eo.UTF-8.in: Likewise.
11190 * localedata/es_ES.UTF-8.in: Likewise.
11191 * localedata/fa_IR.UTF-8.in: Likewise.
11192 * localedata/fi_FI.UTF-8.in: Likewise.
11193 * localedata/fil_PH.UTF-8.in: Likewise.
11194 * localedata/fur_IT.UTF-8.in: Likewise.
11195 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
11196 * localedata/ha_NG.UTF-8.in: Likewise.
11197 * localedata/ig_NG.UTF-8.in: Likewise.
11198 * localedata/ik_CA.UTF-8.in: Likewise.
11199 * localedata/kk_KZ.UTF-8.in: Likewise.
11200 * localedata/ku_TR.UTF-8.in: Likewise.
11201 * localedata/ky_KG.UTF-8.in: Likewise.
11202 * localedata/ln_CD.UTF-8.in: Likewise.
11203 * localedata/mi_NZ.UTF-8.in: Likewise.
11204 * localedata/ml_IN.UTF-8.in: Likewise.
11205 * localedata/mn_MN.UTF-8.in: Likewise.
11206 * localedata/mr_IN.UTF-8.in: Likewise.
11207 * localedata/mt_MT.UTF-8.in: Likewise.
11208 * localedata/nb_NO.UTF-8.in: Likewise.
11209 * localedata/om_KE.UTF-8.in: Likewise.
11210 * localedata/os_RU.UTF-8.in: Likewise.
11211 * localedata/ps_AF.UTF-8.in: Likewise.
11212 * localedata/ro_RO.UTF-8.in: Likewise.
11213 * localedata/ru_RU.UTF-8.in: Likewise.
11214 * localedata/sc_IT.UTF-8.in: Likewise.
11215 * localedata/se_NO.UTF-8.in: Likewise.
11216 * localedata/sq_AL.UTF-8.in: Likewise.
11217 * localedata/sv_SE.UTF-8.in: Likewise.
11218 * localedata/szl_PL.UTF-8.in: Likewise.
11219 * localedata/tg_TJ.UTF-8.in: Likewise.
11220 * localedata/tk_TM.UTF-8.in: Likewise.
11221 * localedata/tt_RU.UTF-8.in: Likewise.
11222 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
11223 * localedata/ug_CN.UTF-8.in: Likewise.
11224 * localedata/uz_UZ.UTF-8.in: Likewise.
11225 * localedata/vi_VN.UTF-8.in: Likewise.
11226 * localedata/yi_US.UTF-8.in: Likewise.
11227 * localedata/yo_NG.UTF-8.in: Likewise.
11228 * localedata/zh_CN.UTF-8.in: Likewise.
11229 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
11230 file and fix bugs in the collation.
11231 * localedata/locales/az_AZ: Likewise.
11232 * localedata/locales/be_BY: Likewise.
11233 * localedata/locales/ber_DZ: Likewise.
11234 * localedata/locales/ber_MA: Likewise.
11235 * localedata/locales/bg_BG: Likewise.
11236 * localedata/locales/br_FR: Likewise.
11237 * localedata/locales/br_FR@euro: Likewise.
11238 * localedata/locales/ca_ES: Likewise.
11239 * localedata/locales/cns11643_stroke: Likewise.
11240 * localedata/locales/crh_UA: Likewise.
11241 * localedata/locales/cs_CZ: Likewise.
11242 * localedata/locales/csb_PL: Likewise.
11243 * localedata/locales/cv_RU: Likewise.
11244 * localedata/locales/cy_GB: Likewise.
11245 * localedata/locales/da_DK: Likewise.
11246 * localedata/locales/dz_BT: Likewise.
11247 * localedata/locales/en_CA: Likewise.
11248 * localedata/locales/eo: Likewise.
11249 * localedata/locales/es_CU: Likewise.
11250 * localedata/locales/es_EC: Likewise.
11251 * localedata/locales/es_ES: Likewise.
11252 * localedata/locales/es_US: Likewise.
11253 * localedata/locales/et_EE: Likewise.
11254 * localedata/locales/fa_IR: Likewise.
11255 * localedata/locales/fi_FI: Likewise.
11256 * localedata/locales/fil_PH: Likewise.
11257 * localedata/locales/fur_IT: Likewise.
11258 * localedata/locales/gez_ER@abegede: Likewise.
11259 * localedata/locales/ha_NG: Likewise.
11260 * localedata/locales/hr_HR: Likewise.
11261 * localedata/locales/hsb_DE: Likewise.
11262 * localedata/locales/hu_HU: Likewise.
11263 * localedata/locales/ig_NG: Likewise.
11264 * localedata/locales/ik_CA: Likewise.
11265 * localedata/locales/is_IS: Likewise.
11266 * localedata/locales/iso14651_t1_pinyin: Likewise.
11267 * localedata/locales/kk_KZ: Likewise.
11268 * localedata/locales/ku_TR: Likewise.
11269 * localedata/locales/ky_KG: Likewise.
11270 * localedata/locales/ln_CD: Likewise.
11271 * localedata/locales/lt_LT: Likewise.
11272 * localedata/locales/lv_LV: Likewise.
11273 * localedata/locales/mi_NZ: Likewise.
11274 * localedata/locales/ml_IN: Likewise.
11275 * localedata/locales/mn_MN: Likewise.
11276 * localedata/locales/mr_IN: Likewise.
11277 * localedata/locales/mt_MT: Likewise.
11278 * localedata/locales/nb_NO: Likewise.
11279 * localedata/locales/om_KE: Likewise.
11280 * localedata/locales/os_RU: Likewise.
11281 * localedata/locales/pl_PL: Likewise.
11282 * localedata/locales/ps_AF: Likewise.
11283 * localedata/locales/ro_RO: Likewise.
11284 * localedata/locales/ru_RU: Likewise.
11285 * localedata/locales/ru_UA: Likewise.
11286 * localedata/locales/sc_IT: Likewise.
11287 * localedata/locales/se_NO: Likewise.
11288 * localedata/locales/si_LK: Likewise.
11289 * localedata/locales/sq_AL: Likewise.
11290 * localedata/locales/sv_FI: Likewise.
11291 * localedata/locales/sv_FI@euro: Likewise.
11292 * localedata/locales/sv_SE: Likewise.
11293 * localedata/locales/szl_PL: Likewise.
11294 * localedata/locales/tg_TJ: Likewise.
11295 * localedata/locales/ti_ER: Likewise.
11296 * localedata/locales/tk_TM: Likewise.
11297 * localedata/locales/tl_PH: Likewise.
11298 * localedata/locales/tr_TR: Likewise.
11299 * localedata/locales/tt_RU: Likewise.
11300 * localedata/locales/tt_RU@iqtelif: Likewise.
11301 * localedata/locales/ug_CN: Likewise.
11302 * localedata/locales/uk_UA: Likewise.
11303 * localedata/locales/uz_UZ: Likewise.
11304 * localedata/locales/uz_UZ@cyrillic: Likewise.
11305 * localedata/locales/vi_VN: Likewise.
11306 * localedata/locales/yi_US: Likewise.
11307 * localedata/locales/yo_NG: Likewise.
11309 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11311 * gen-locales.mk: Make test files which contain @ modifiers in their
11313 * localedata/gen-locale.sh: Likewise.
11315 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11317 * posix/tst-fnmatch.input: Fix results for range expressions
11319 * posix/tst-regexloc.c: Do not use a range expression for
11320 de_DE.ISO-8859-1 locale.
11322 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11324 * posix/bug-regex5.c: Fix test case because with the new
11325 iso14651_t1_common file, the da_DK locale now has 6 collating elements
11326 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
11329 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11331 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
11332 downloaded from ISO, the collation order of @-. and space has changed.
11333 Therefore, this test file needed to be adapted.
11334 * localedata/fr_CA.UTF-8.in: Likewise.
11335 * localedata/fr_FR.UTF-8.in: Likewise.
11336 * localedata/uk_UA.UTF-8.in: Likewise.
11338 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11340 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
11341 order of ȥ in the new iso14651_t1_common file.
11342 * localedata/pl_PL.UTF-8.in: Likewise.
11344 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11346 * localedata/locales/iso14651_t1_common: Add sections for various
11347 scripts to the iso14651_t1_common file.
11349 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11351 * localedata/locales/iso14651_t1_common: Use the code point of a
11352 character in the fourth collation level instead of IGNORE for all
11353 entries which have IGNORE on all 4 levels.
11355 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11357 * localedata/locales/iso14651_t1_common: Add some convenient collation
11358 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
11359 rules similar to those in CLDR.
11361 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11363 * localedata/locales/iso14651_t1_common: The new version of this
11364 file downloaded from ISO contained several syntax errors which
11365 are fixed by this patch.
11367 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11369 * localedata/locales/iso14651_t1_common: replace all <U.....>
11370 with <U000.....> because glibc understands only 4 digit or 8 digit
11372 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11374 * localedata/locales/iso14651_t1_common: Necessary changes
11375 to make the file downloaded from ISO usable by glibc.
11377 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11380 * localedata/locales/iso14651_t1_common: Update file to
11381 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
11383 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11385 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
11386 of <nptl/pthreadP.h>
11387 (thread_attr_compare): Move function to...
11388 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
11389 * sysdeps/nptl/timer_routines.h: ... new header.
11390 * sysdeps/mach/hurd/gai_misc.h: New file.
11392 2018-02-26 Joseph Myers <joseph@codesourcery.com>
11394 * string/strcoll_l.c: Include <libc-diag.h>.
11395 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
11396 declarations of seq1 and seq2.
11399 * stdlib/atoi.c (atoi): Use libc_hidden_def.
11400 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
11402 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
11406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
11407 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
11408 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
11409 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
11410 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
11411 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
11413 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11415 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
11416 macros used in __ptrace_request.
11418 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
11421 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
11423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
11424 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
11425 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
11428 2018-02-23 Joseph Myers <joseph@codesourcery.com>
11431 * ctype/ctype.c (tolower): Use libc_hidden_def.
11432 (toupper): Likewise.
11433 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
11434 [!_ISOMAC] (toupper): Likewise.
11436 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11438 * localedata/Makefile: Remove --quiet argument when
11441 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11444 * localedata/locales/pt_BR (LC_TIME): use / instead of -
11446 * localedata/locales/pt_PT (LC_TIME): likewise
11448 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11451 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
11452 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
11453 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
11455 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11459 * nptl/Makefile (routines): Remove unregister-atfork.
11460 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
11461 (fork_handler_alloc): Remove function.
11462 (fork_handlers, fork_handler_init): New variables.
11463 (__fork_lock): Rename to atfork_lock.
11464 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
11465 to use a dynamic array to add/remove atfork handlers.
11466 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11467 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
11468 Remove declaration.
11469 (fork_handler): Remove next, refcntr, and need_signal member.
11470 (__run_fork_handler_type): New enum.
11471 (__run_fork_handlers): New prototype.
11472 * nptl/register-atfork.c: Remove file.
11473 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
11475 * sysdeps/nptl/nptl-signals.h: Move to ...
11476 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
11478 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
11479 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
11480 unnecessary check for SIGTIMER.
11481 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
11482 remove unnecessary removal of SIGTIMER.
11483 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
11484 include-signals.h rename.
11485 * nptl/pthreadP.h: Likewise.
11486 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
11487 __is_internal_signal instead of __nptl_is_internal_signal.
11489 2018-02-22 Andrew Waterman <andrew@sifive.com>
11492 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
11493 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
11494 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
11495 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
11497 2018-02-22 DJ Delorie <dj@delorie.com>
11499 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
11501 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
11503 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
11504 do_misaligned, not misaligned8.
11506 2018-02-22 Steve Ellcey <sellcey@cavium.com>
11508 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
11509 Add memcpy_thunderx2.
11510 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
11512 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
11513 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
11514 and IS_THUNDERX2PA checks.
11515 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
11516 Use macro to set name appropriately.
11517 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
11518 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
11519 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
11521 (IS_THUNDERX2): New macro.
11523 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
11525 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11527 2018-02-21 Zack Weinberg <zackw@panix.com>
11529 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
11530 Define here, unconditionally.
11531 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
11532 * libio/libioP.h: Remove #if 0 blocks.
11533 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
11534 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
11535 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
11537 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
11538 Assume weak_alias is always defined.
11540 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
11541 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
11542 Remove #if 0 and #ifdef TODO blocks.
11543 Assume text_set_element is always defined.
11545 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
11546 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
11547 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
11549 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
11550 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
11551 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
11552 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
11553 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
11554 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
11555 Reformat bit flags for _flags field to make occupancy clearer.
11557 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
11558 Keep definitions consistent with those in libio/libio.h.
11560 * libio/libio.h (_IO_file_flags): Remove macro.
11561 All uses changed to _flags.
11563 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
11564 (__HAVE_COLUMN, _IO_BE): Don't define.
11565 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
11566 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
11567 * libio/libioP.h (EOF): Don't define.
11568 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
11569 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
11570 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
11571 testing _IO_UNIFIED_JUMPTABLES.
11573 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
11574 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
11575 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
11576 (_IO_size_t): Delete; all uses changed to size_t.
11577 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
11578 (_IO_off_t): Delete; all uses changed to off_t.
11579 (_IO_off64_t): Delete; all uses changed to off64_t.
11580 (_IO_pid_t): Delete; all uses changed to pid_t.
11581 (_IO_uid_t): Delete; all uses changed to uid_t.
11582 (_IO_wint_t): Delete; all uses changed to wint_t.
11583 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
11584 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
11585 (_IO_cookie_io_functions_t): Delete; all uses changed to
11586 cookie_io_functions_t.
11587 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
11588 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
11589 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
11590 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
11592 * libio/iofopncook.c: Remove unnecessary forward declarations.
11593 * libio/iolibio.h: Correct outdated commentary.
11594 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
11595 * stdio-common/fxprintf.c (__fxprintf_nocancel):
11596 Remove unnecessary casts.
11597 * stdio-common/getline.c: Use _IO_getdelim directly.
11598 Don't redefine ssize_t.
11599 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
11600 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
11601 Remove outdated comments.
11602 * stdio-common/vfscanf.c: Don't redefine va_list.
11604 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
11605 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
11606 Remove preprocessor conditionals on _LIBC and __USE_GNU,
11607 which are always true, and __cplusplus, which is always false.
11609 2018-02-21 Joseph Myers <joseph@codesourcery.com>
11613 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
11614 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
11615 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
11616 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
11618 [!_ISOMAC] (putc_unlocked): Likewise.
11619 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
11620 define inline if [__USE_EXTERN_INLINES].
11621 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
11626 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
11627 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
11628 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
11629 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
11630 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
11632 * time/tzfile.c (__tzfile_read): Likewise.
11634 2018-02-21 Mike FABIAN <mfabian@redhat.com>
11637 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
11639 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
11641 * io/fcntl.h: Fix a typo in a comment.
11643 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
11646 * include/features.h: Add _ISOC11_SOURCE to test for whether to
11647 define _DEFAULT_SOURCE.
11648 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
11650 2018-02-21 Florian Weimer <fweimer@redhat.com>
11653 * elf/cache.c (save_cache): Call fsync on temporary file before
11655 (save_aux_cache): Call fdatasync on temporary file before renaming
11658 2018-02-21 Florian Weimer <fweimer@redhat.com>
11661 * include/caller.h: Remove file.
11662 * elf/dl-caller.c: Likewise.
11663 * elf/Makefile (dl-routines): Remove dl-caller.
11664 (shared-only-routines): Do not add dl-caller.
11665 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
11667 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
11669 (dl_open_worker): Do not call __check_caller.
11670 (_dl_open): Do not set caller_dl_open member.
11671 * elf/rtld.c (_rtld_global_ro): Do not initialize
11672 _dl_check_caller member.
11673 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
11674 _dl_check_caller member.
11675 (_dl_check_caller): Remove declaration.
11676 * sysdeps/unix/sysv/linux/dl-execstack.c
11677 (_dl_make_stack_executable): Do not call __check_caller.
11679 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
11681 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
11682 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
11684 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
11686 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
11689 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
11692 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
11693 of 199606L, 200112L, and 200809L.
11694 (_XOPEN_SOURCE): Document special values of 600 and 700.
11695 (_ISOC11_SOURCE): Document macro.
11696 (_ATFILE_SOURCE): Likewise.
11697 (_FORTIFY_SOURCE): Likewise.
11699 2018-02-19 Joseph Myers <joseph@codesourcery.com>
11703 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
11704 and define as weak alias of __ferror_unlocked. Use
11706 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
11708 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
11709 function if [__USE_EXTERN_INLINES].
11710 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
11713 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
11716 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
11718 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
11721 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
11722 the GLIBC_2.1 version.
11724 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
11727 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
11728 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
11729 intl/tst-gettext-de.po from po/de.po by removing the
11730 POT-Creation-Date line.
11731 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
11733 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
11736 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11738 * mach/Makefile (headers): Add mach/param.h.
11739 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
11740 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
11741 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
11742 (__ptsname_r): Move implementation to...
11743 (__ptsname_internal): ... new function. Add filling the STP
11746 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
11748 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
11751 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
11753 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
11756 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11758 * nptl/Makefile (tst-mutex8-ENV): Delete.
11759 * nptl/tst-mutex8.c (check_type):
11760 Add runtime check if mutex will be elided.
11762 2018-02-15 Joseph Myers <joseph@codesourcery.com>
11766 * manual/install.texi (Configuring and compiling): Describe
11767 passing CC and CFLAGS on configure command line, not as
11768 environment variables. Use @code markup on those variables.
11769 Specify what options go in CC and what go in CFLAGS. Note the
11770 requirement to compile with optimization.
11771 * INSTALL: Regenerated.
11774 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
11775 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
11776 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
11777 __sigprocmask instead of sigprocmask.
11778 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
11780 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
11781 __sigsetjmp and sigprocmask.
11784 * include/argz.h (argz_next): Use libc_hidden_proto.
11785 (__argz_next): Likewise.
11786 * string-argz-next.c (__argz_next): Use libc_hidden_def.
11787 (argz_next): Use libc_hidden_weak.
11790 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
11792 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
11796 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
11798 * libio/iofputs.c (fputs): Use libc_hidden_weak.
11802 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
11803 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
11804 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
11805 (__feof_unlocked): New declaration, and inline function if
11806 [__USE_EXTERN_INLINES].
11807 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
11808 instead of feof_unlocked.
11809 * intl/localealias.c [_LIBC] (FEOF): Likewise.
11810 * nss/nsswitch.c (nss_parse_file): Likewise.
11811 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
11813 * time/getdate.c (__getdate_r): Likewise.
11814 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
11815 Define as macro to call __feof_unlocked.
11817 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
11819 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
11821 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
11823 * math/Makefile: Remove mpexp.c and mplog.c
11824 * sysdeps/i386/fpu/mpexp.c: Delete file.
11825 * sysdeps/i386/fpu/mplog.c: Likewise.
11826 * sysdeps/ia64/fpu/mpexp.c: Likewise.
11827 * sysdeps/ia64/fpu/mplog.c: Likewise.
11828 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
11829 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
11830 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
11831 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11832 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
11833 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
11834 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
11835 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
11836 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
11837 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11838 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
11839 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
11840 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11841 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
11842 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
11843 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11845 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11847 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11849 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11851 * sysdeps/sh/libm-test-ulps: Update.
11853 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11855 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
11858 2018-02-12 Zack Weinberg <zackw@panix.com>
11861 * posix/sys/types.h: Don't include sys/sysmacros.h.
11862 * misc/sys/sysmacros.h: Remove the conditional deprecation
11863 warnings for the macros defined by this header.
11865 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11867 * manual/probes.texi: Remove slowexp probes.
11868 * math/Makefile: Remove slowexp.
11869 * sysdeps/generic/math_private.h (__slowexp): Remove.
11870 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
11871 document error bounds.
11872 * sysdeps/i386/fpu/slowexp.c: Remove.
11873 * sysdeps/ia64/fpu/slowexp.c: Remove.
11874 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
11875 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
11876 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
11877 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
11878 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
11879 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
11880 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
11881 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
11882 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
11883 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
11884 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
11886 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
11889 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
11890 * benchtests/pow-inputs: Update comment for slow path cases.
11891 * manual/probes.texi (slowpow_p10): Delete removed probe.
11892 (slowpow_p10): Likewise.
11893 * math/Makefile: Remove halfulp.c and slowpow.c.
11894 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
11895 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
11896 (__halfulp): Remove.
11897 (__slowpow): Remove.
11898 * sysdeps/i386/fpu/halfulp.c: Delete file.
11899 * sysdeps/i386/fpu/slowpow.c: Likewise.
11900 * sysdeps/ia64/fpu/halfulp.c: Likewise.
11901 * sysdeps/ia64/fpu/slowpow.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
11903 improve comments and add error analysis.
11904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
11905 (power1): Remove function:
11906 (log1): Remove error argument, add error analysis.
11907 (my_log2): Remove function.
11908 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
11909 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11910 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
11911 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
11912 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
11913 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
11914 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
11915 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
11916 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
11917 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
11918 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
11919 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11920 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
11921 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11923 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
11925 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
11926 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
11928 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
11931 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
11932 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
11933 and PTRACE_SETHBPREGS.
11935 2018-02-10 Zack Weinberg <zackw@panix.com>
11938 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
11940 * malloc/tst-malloc-stats-cancellation.c: New test case.
11941 * malloc/Makefile: Add new test case.
11943 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
11945 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
11947 2018-02-10 Joseph Myers <joseph@codesourcery.com>
11949 * math/Makefile (libm-narrow-fns): Add add.
11950 (libm-test-funcs-narrow): Likewise.
11951 * math/Versions (GLIBC_2.28): Add narrowing add functions.
11952 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
11953 * math/gen-auto-libm-tests.c (test_functions): Add add.
11954 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
11955 (NARROW_ADD_ROUND_TO_ODD): Likewise.
11956 (NARROW_ADD_TRIVIAL): Likewise.
11957 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
11959 (__daddl): Likewise.
11960 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
11962 (CFLAGS-nldbl-dadd.c): New variable.
11963 (CFLAGS-nldbl-fadd.c): Likewise.
11964 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11966 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
11968 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
11969 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
11970 * math/auto-libm-test-in: Add tests of add.
11971 * math/auto-libm-test-out-narrow-add: New generated file.
11972 * math/libm-test-narrow-add.inc: New file.
11973 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11974 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
11975 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
11976 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
11977 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
11978 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
11979 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
11980 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
11981 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
11984 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
11987 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
11988 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
11989 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
11990 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
11991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11992 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11999 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12001 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12002 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12003 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12009 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12010 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12011 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12012 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12013 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12014 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12016 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12020 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
12021 (f128-pairs): New variable.
12022 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
12023 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
12025 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
12026 Also make tests add $(f128-loader-link) to gnulib-tests.
12028 2018-02-09 DJ Delorie <dj@redhat.com>
12031 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
12032 64-bit ELF type for 64-bit ELF objects.
12034 2018-02-09 Joseph Myers <joseph@codesourcery.com>
12036 * math/libm-test-driver.c (snan_tests_arg): New variable.
12037 * math/libm-test-support.h (snan_tests_arg): New declaration.
12038 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
12040 * math/Makefile (test-type-pairs): New variable.
12041 (test-type-pairs-f64xf128-yes): Likewise.
12042 (tests): Add test-narrow-macros.
12043 (libm-test-funcs-narrow): New variable.
12044 (libm-test-c-narrow): Likewise.
12045 (generated): Add $(libm-test-c-narrow).
12046 (libm-tests-base-narrow): New variable.
12047 (libm-tests-narrow): Likewise.
12048 (libm-tests): Add $(libm-tests-narrow).
12049 (libm-tests-for-type): Handle $(libm-tests-narrow).
12050 (libm-test-c-narrow-obj): New variable.
12051 ($(libm-test-c-narrow-obj)): New rule.
12052 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
12053 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
12054 $(o-iterator) to set dependencies and CFLAGS.
12055 * math/gen-auto-libm-tests.c: Document use for narrowing
12057 (output_for_one_input_case): Take argument NARROW.
12058 (generate_output): Likewise. Update call to
12059 output_for_one_input_case.
12060 (main): Take --narrow option. Update call to generate_output.
12061 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
12062 (apply_lit): Update call to _apply_lit.
12063 (apply_arglit): New function.
12064 (parse_args): Handle "a" arguments.
12065 (parse_auto_input): Handle format names using ":".
12066 * math/README.libm-test: Document "a" parameter type.
12067 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
12068 (ARG_TYPE_TRUE_MIN): Likewise.
12069 (ARG_TYPE_MAX): Likwise.
12070 (ARG_MIN_EXP): Likewise.
12071 (ARG_MAX_EXP): Likewise.
12072 (ARG_MANT_DIG): Likewise.
12073 (TEST_COND_arg_ibm128): Likewise.
12074 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
12075 (TEST_COND_arg_fmt): New macro.
12076 (init_max_error): Update prototype.
12077 * math/libm-test-support.c (test_ibm128): New variable.
12078 (init_max_error): Take argument testing_ibm128 and set test_ibm128
12079 instead of using [TEST_COND_ibm128] conditional.
12080 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
12081 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
12082 [TEST_NARROW] (TEST_MSG): New definition.
12083 (arg_plus_zero): New macro.
12084 (arg_minus_zero): Likewise.
12085 (arg_plus_infty): Likewise.
12086 (arg_minus_infty): Likewise.
12087 (arg_qnan_value_pl): Likewise.
12088 (arg_qnan_value): Likewise.
12089 (arg_snan_value_pl): Likewise.
12090 (arg_snan_value): Likewise.
12091 (arg_max_value): Likewise.
12092 (arg_min_value): Likewise.
12093 (arg_min_subnorm_value): Likewise.
12094 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
12095 (RUN_TEST_LOOP_aa_f): New macro.
12096 (TEST_SUFF): New macro.
12097 (TEST_SUFF_STR): Likewise.
12098 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
12099 (TEST_COND_any_ibm128): New macro.
12100 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
12101 this_func. Update call to init_max_error.
12102 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
12103 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
12104 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
12105 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
12106 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
12107 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
12108 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
12109 * math/test-math-scalar.h (TEST_NARROW): Likewise.
12110 * math/test-math-vector.h (TEST_NARROW): Likewise.
12111 * math/test-arg-double.h: New file.
12112 * math/test-arg-float128.h: Likewise.
12113 * math/test-arg-float32x.h: Likewise.
12114 * math/test-arg-float64.h: Likewise.
12115 * math/test-arg-float64x.h: Likewise.
12116 * math/test-arg-ldouble.h: Likewise.
12117 * math/test-math-narrow.h: Likewise.
12118 * math/test-narrow-macros.c: Likewise.
12119 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
12120 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
12121 test-narrow-macros-ldbl-64.
12122 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
12124 * math/bits/mathcalls-narrow.h: New file.
12125 * include/bits/mathcalls-narrow.h: Likewise.
12126 * math/math-narrow.h: Likewise.
12127 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
12128 (__MATHCALL_NARROW_ARGS_2): Likewise.
12129 (__MATHCALL_NARROW_ARGS_3): Likewise.
12130 (__MATHCALL_NARROW_NORMAL): Likewise.
12131 (__MATHCALL_NARROW_REDIR): Likewise.
12132 (__MATHCALL_NARROW): Likewise.
12133 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
12134 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
12136 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
12137 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
12138 (libm-narrow-fns): New variable.
12139 (libm-narrow-types-basic): Likewise.
12140 (libm-narrow-types-ldouble-yes): Likewise.
12141 (libm-narrow-types-float128-yes): Likewise.
12142 (libm-narrow-types-float128-alias-yes): Likewise.
12143 (libm-narrow-types): Likewise.
12144 (libm-routines): Add narrowing functions.
12145 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
12146 (libc_feholdexcept_setroundf128): New macro.
12147 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
12148 * sysdeps/ieee754/float128/float128_private.h: Include
12149 <math/math-narrow.h>.
12150 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
12151 Undefine and redefine.
12152 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
12153 (libm_alias_float_ldouble): Undefine and redefine.
12154 (libm_alias_double_ldouble): Likewise.
12156 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
12158 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
12160 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
12163 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
12165 * manual/creature.texi: Convert references to gcc.info to gcc.
12166 * manual/stdio.texi: Likewise.
12167 * manual/string.texi: Likewise.
12169 2018-02-07 Joseph Myers <joseph@codesourcery.com>
12172 * posix/bits/types.h (__int_least8_t): New typedef.
12173 (__uint_least8_t): Likewise.
12174 (__int_least16_t): Likewise.
12175 (__uint_least16_t): Likewise.
12176 (__int_least32_t): Likewise.
12177 (__uint_least32_t): Likewise.
12178 (__int_least64_t): Likewise.
12179 (__uint_least64_t): Likewise.
12180 * sysdeps/generic/stdint.h (int_least8_t): Define using
12182 (int_least16_t): Define using __int_least16_t.
12183 (int_least32_t): Define using __int_least32_t.
12184 (int_least64_t): Define using __int_least64_t.
12185 (uint_least8_t): Define using __uint_least8_t.
12186 (uint_least16_t): Define using __uint_least16_t.
12187 (uint_least32_t): Define using __uint_least32_t.
12188 (uint_least64_t): Define using __uint_least64_t.
12189 * wcsmbs/uchar.h: Include <bits/types.h>.
12190 (char16_t): Define using __uint_least16_t conditional only on
12192 (char32_t): Define using __uint_least32_t conditional only on
12194 * wcsmbs/test-char-types.c: New file.
12195 * wcsmbs/Makefile (tests): Add test-char-types.
12197 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
12200 2018-02-07 Zack Weinberg <zackw@panix.com>
12202 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
12203 Delete all contents except for definitions of _G_HAVE_MMAP and
12204 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
12205 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
12206 sysdeps/unix/sysv/linux/_G_config.h. Make same content
12209 * libio/libio.h: Don't include bits/_G_config.h here.
12210 Include stddef.h with __need_wchar_t defined. Include
12211 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
12212 Define _IO_iconv_t here, directly.
12213 Don't define _IO_HAVE_ST_BLKSIZE.
12214 * libio/libioP.h: Include _G_config.h here. Move include of
12215 shlib-compat.h up with rest of includes. Simplify conditionals
12216 controlling definition of _IO_JUMPS_OFFSET.
12218 * csu/init.c: Remove always-true #if around entire file.
12219 Don't include stdio.h. Set _IO_stdin_used to hardwired
12220 constant 0x20001, and update commentary.
12221 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
12222 Replace all uses of _G_va_list with __gnuc_va_list.
12223 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
12224 instead of #if _IO_HAVE_ST_BLKSIZE.
12225 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
12226 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
12229 * libio/bits/libio.h: Move back to libio/libio.h and adjust
12230 multiple-include guard to match.
12231 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
12233 Remove preprocessor conditionals that are always true and/or
12234 redundant to other preprocessor conditionals in the same nest.
12235 Include shlib-compat.h unconditionally.
12236 Error out if _LIBC is not defined, or if _ISOMAC is defined,
12237 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
12238 defined after including stdio.h.
12239 Use __BEGIN_DECLS/__END_DECLS.
12241 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
12242 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
12243 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
12245 2018-02-07 Zack Weinberg <zackw@panix.com>
12247 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
12248 New single-type headers split from _G_config.h.
12249 * libio/bits/types/cookie_io_functions_t.h
12250 * libio/bits/types/struct_FILE.h
12251 New single-type headers split from libio.h.
12253 * libio/Makefile: Install the above new headers. Don't install
12254 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
12256 * libio/_G_config.h, libio/libio.h: Delete file.
12258 * libio/bits/libio.h: Remove improper-inclusion guard.
12259 Include stdio.h and don't repeat anything that it does.
12260 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
12261 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
12262 __io_read_fn as cookie_read_function_t,
12263 __io_write_fn as cookie_write_function_t,
12264 __io_seek_fn as cookie_seek_function_t,
12265 __io_close_fn as cookie_close_function_t,
12266 and _IO_cookie_io_functions_t as cookie_io_functions_t.
12267 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
12268 here, in the "compatibility defines" section. Remove an #if 0
12269 block. Use the "body" macros from bits/types/struct_FILE.h to
12270 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
12271 and _IO_ferror_unlocked.
12272 Move prototypes of __uflow and __overflow...
12274 * libio/stdio.h: ...here. Don't include bits/libio.h.
12275 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
12276 directly from stdarg.h. Include bits/types/__fpos_t.h,
12277 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
12278 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
12279 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
12280 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
12281 cookie_io_functions_t, not _IO_cookie_io_functions_t;
12282 __ssize_t, not _IO_ssize_t. Unconditionally define
12283 BUFSIZ as 8192 and EOF as (-1).
12285 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
12286 macros from bits/types/struct_FILE.h instead of _IO_* macros
12287 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
12288 instead of _IO_ssize_t.
12289 * libio/bits/stdio2.h: Similarly.
12291 * libio/iolibio.h: Add multiple-include guard.
12292 Include bits/libio.h after stdio.h.
12293 * libio/libioP.h: Add multiple-include guard.
12294 Include stdio.h and bits/libio.h before iolibio.h.
12296 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
12297 * include/bits/types/cookie_io_functions_t.h
12298 * include/bits/types/struct_FILE.h: New wrappers.
12300 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
12301 Get definitions of _G_fpos_t and _G_fpos64_t from
12302 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
12303 respectively. Remove improper-inclusion guards.
12305 * conform/data/stdio.h-data: Update expectations of va_list.
12306 * scripts/check-installed-headers.sh: Remove special case for
12307 libio.h and _G_config.h.
12309 2018-02-07 Joseph Myers <joseph@codesourcery.com>
12313 * include/sys/sysmacros.h [!_ISOMAC]
12314 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
12315 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
12316 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
12317 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
12319 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
12320 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
12322 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
12323 Undefine and redefine to add use __gnu_dev_ prefix.
12324 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
12326 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
12327 and define as hidden inline function.
12328 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
12330 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
12332 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
12333 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
12334 (gnu_dev_minor): Likewise.
12335 (gnu_dev_makedev): Likewise.
12336 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
12338 * posix/wordexp.c (exec_comm_child): Likewise.
12339 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
12340 instead of minor and __gnu_dev_major instead of major.
12341 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
12342 __gnu_dev_major instead of major.
12343 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
12344 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
12345 instead of gnu_dev_minor.
12346 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
12347 (SLAVE_P): Likewise.
12348 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
12349 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
12353 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
12355 * locale/weightwc.h (findidx): Likewise.
12357 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
12359 * manual/probes.texi (slowlog): Delete documentation of removed probe.
12360 (slowlog_inexact): Likewise
12361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
12362 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
12364 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
12367 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
12368 missing second underscore to parameter name.
12370 2018-02-06 Joseph Myers <joseph@codesourcery.com>
12376 * bits/byteswap.h: Update file comment. Do not include
12377 <bits/byteswap-16.h>.
12378 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
12380 (__bswap_16): Define as inline function.
12381 (__bswap_constant_32): Reformat definition.
12382 (__bswap_32): Always define as inline function, not macro, using
12383 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
12384 otherwise __bswap_constant_32.
12385 (__bswap_constant_64): Reformat definition. Do not use
12386 __extension__ here.
12387 (__bswap_64): Always define as inline function, not macro. Use
12388 __extension__ on function definition. Use __builtin_bswap64 if
12389 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
12390 * string/test-endian-file-scope.c: New file.
12391 * string/test-endian-sign-conversion.c: Likewise.
12392 * string/Makefile (headers): Remove bits/byteswap-16.h.
12393 (tests): Add test-endian-file-scope and
12394 test-endian-sign-conversion.
12395 (CFLAGS-test-endian-sign-conversion.c): New variable.
12396 * bits/byteswap-16.h: Remove file.
12397 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
12398 * sysdeps/ia64/bits/byteswap.h: Likewise.
12399 * sysdeps/m68k/bits/byteswap.h: Likewise.
12400 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12401 * sysdeps/s390/bits/byteswap.h: Likewise.
12402 * sysdeps/tile/bits/byteswap.h: Likewise.
12403 * sysdeps/x86/bits/byteswap-16.h: Likewise.
12404 * sysdeps/x86/bits/byteswap.h: Likewise.
12407 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
12408 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
12409 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
12410 199901L] (__restrict): Define to restrict.
12413 * string/testcopy.c: Include <support/support.h>. Do not include
12414 <malloc.h>. Use <support/test-driver.c>.
12415 (main): Rename to do_test. Make static. Use xmalloc instead of
12419 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
12420 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
12421 (SSIZE_MAX): Define to INT_MAX.
12422 * posix/test-ssize-max.c: New file.
12423 * posix/Makefile (tests): Add test-ssize-max.
12426 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
12427 <support/support.h>. Do not include <malloc.h>.
12428 (query_auxv): Use xmalloc instead of malloc.
12431 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
12432 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
12435 2018-02-06 Florian Weimer <fweimer@redhat.com>
12438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12439 Use scratch_buffer instead of extend_alloca.
12441 2018-02-06 Zack Weinberg <zackw@panix.com>
12443 * libio/stdio.h: Don't define getc or putc as macros.
12444 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
12445 not _IO_getc and _IO_putc.
12447 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
12448 * stdio-common/tstgetln.c: Don't redefine ssize_t.
12450 2018-02-06 Joseph Myers <joseph@codesourcery.com>
12452 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
12453 (TCP_FASTOPEN_NO_COOKIE): Likewise.
12455 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
12458 * elf/elf.h (NT_PRFPREG): New macro.
12459 (NT_S390_VXRS_LOW): Likewise.
12460 (NT_S390_VXRS_HIGH): Likewise.
12461 (NT_S390_GS_CB): Likewise.
12462 (NT_S390_GS_BC): Likewise.
12463 (NT_S390_RI_CB): Likewise.
12465 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12466 (MAP_SYNC): New macro.
12467 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
12469 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12470 (MAP_SYNC): Likewise.
12471 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12472 (MAP_SYNC): Likewise.
12473 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12474 (MAP_SYNC): Likewise.
12475 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12476 (MAP_SYNC): Likewise.
12477 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12478 (MAP_SYNC): Likewise.
12479 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12480 (MAP_SYNC): Likewise.
12481 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
12483 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
12486 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
12487 (MAP_SHARED_VALIDATE): New macro.
12488 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12489 (MAP_SHARED_VALIDATE): Likewise.
12491 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12493 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
12494 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
12495 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
12497 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12499 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
12500 (DT_NUM): Updated to 35.
12502 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12504 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
12505 __builtin_expect with __glibc_likely and __glibc_unlikely.
12506 (elf_machine_rela): Likewise.
12507 (elf_machine_lazy_rel): Likewise.
12509 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
12512 __builtin_expect with __glibc_likely and __glibc_unlikely.
12513 (elf_machine_lazy_rel): Likewise.
12515 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12518 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
12520 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
12522 2018-02-05 Andreas Schwab <schwab@suse.de>
12525 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
12528 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12530 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
12531 not check against PTHREAD_STACK_MIN.
12533 2018-02-02 Sean McKean <smckean83@gmail.com>
12536 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
12538 2018-02-02 Florian Weimer <fweimer@redhat.com>
12541 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
12542 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
12543 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
12544 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
12545 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
12546 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12547 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12548 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
12549 * manual/llio.texi (Scatter-Gather): Mention offset -1.
12550 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
12551 * misc/tst-preadvwritev2.c (do_test): Call it.
12552 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
12554 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12556 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
12558 * benchtests/bench-memcmp.c: Print json instead of plain text.
12560 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
12563 2018-02-01 Joseph Myers <joseph@codesourcery.com>
12565 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12567 (s390_sthyi): New syscall.
12569 * sysdeps/generic/ldbl-classify-compat.h: New file.
12570 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
12571 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
12572 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
12573 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
12574 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
12575 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
12576 * sysdeps/ieee754/dbl-64/s_finite.c: Include
12577 <ldbl-classify-compat.h>.
12578 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12579 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
12580 <ldbl-classify-compat.h>.
12581 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12582 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
12583 <ldbl-classify-compat.h>.
12584 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
12586 <ldbl-classify-compat.h>.
12587 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
12589 <ldbl-classify-compat.h>.
12590 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
12592 <ldbl-classify-compat.h>.
12593 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12594 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
12595 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12596 * sysdeps/m68k/coldfire/math_private.h: Remove file.
12597 * sysdeps/microblaze/math_private.h: Likewise.
12598 * sysdeps/nios2/math_private.h: Likewise.
12599 * sysdeps/sh/math_private.h: Likewise.
12601 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
12602 * sysdeps/m68k/coldfire/math_private.h: ... here.
12603 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
12604 * sysdeps/tile/math_private.h: Likewise.
12605 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
12607 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
12610 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
12612 (libc_fetestexcept): Likewise.
12613 (libc_feupdateenv_test): Likewise.
12614 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
12615 (libc_fetestexcept): Likewise.
12616 (libc_feupdateenv_test): Likewise.
12617 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
12618 (libc_fetestexcept): Likewise.
12619 (libc_feupdateenv_test): Likewise.
12620 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
12621 (libc_fetestexcept): Likewise.
12622 (libc_feupdateenv_test): Likewise.
12624 * sysdeps/generic/math_private.h
12625 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
12626 New inline function.
12627 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
12630 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
12631 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
12632 * sysdeps/generic/math_private.h
12633 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
12635 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
12637 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
12639 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
12641 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
12643 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
12645 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
12646 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
12647 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
12648 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
12649 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
12650 (__fegetenv): Likewise.
12651 (fesetenv): Likewise.
12652 (__fesetenv): Likewise.
12653 (feupdateenv): Likewise.
12654 (__feupdateenv): Likewise.
12655 (fegetround): Likewise.
12656 (__fegetround): Likewise.
12657 (fesetround): Likewise.
12658 (__fesetround): Likewise.
12660 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
12661 (feraiseexcept): New macro.
12662 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
12663 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
12665 (__feraiseexcept): Likewise.
12666 (feclearexcept): Likewise.
12667 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
12668 (__feraiseexcept): Likewise.
12669 (feclearexcept): Likewise.
12670 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
12671 (__feraiseexcept): Likewise.
12672 (feclearexcept): Likewise.
12673 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
12674 (__feraiseexcept): Likewise.
12675 (feclearexcept): Likewise.
12676 (fetestexcept): Likewise.
12678 * sysdeps/m68k/coldfire/math-tests.h: New file.
12680 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
12681 * sysdeps/m68k/bits/fenv.h: ... here.
12682 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
12684 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
12686 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
12688 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
12690 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
12692 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
12694 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
12695 (__FE_UNDEFINED): New enum constant.
12696 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
12698 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
12700 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
12702 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
12703 to match generic bits/fenv.h.
12704 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
12707 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
12709 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
12710 * soft-fp/half.h (union _FP_UNION_H): Likewise.
12711 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
12712 * soft-fp/single.h (union _FP_UNION_S): Likewise.
12714 2018-02-01 Carlos O'Donell <carlos@redhat.com>
12715 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
12716 Joseph Myers <joseph@codesourcery.com>
12719 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
12720 (__log1p): Disable -Wmaybe-uninitialized for -Os around
12721 computation using c.
12722 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
12723 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
12724 computation using c.
12726 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
12728 * version.h (RELEASE): Set to "development".
12729 (VERSION): Set to "2.27.9000".
12730 * NEWS (2.28): New section.
12732 * version.h (RELEASE): Set to "stable".
12733 (VERSION): Set to "2.27".
12734 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
12736 * NEWS: Add the list of bugs fixed in 2.27.
12738 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12740 * stdlib/test-atexit-race-common.c (do_test): Check stack size
12741 against PTHREAD_STACK_MIN.
12743 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
12745 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
12747 (Rafal Luzynski, Andreas Schwab): Update.
12749 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
12752 * NEWS: List the languages which actually use the alternative
12753 months feature in this release. Also explain that "alt_mon" and
12754 "ab_alt_mon" are optional.
12756 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
12759 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
12761 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
12763 * manual/install.texi (Tools for Compilation): Update the newest
12764 versions of gcc, binutils, texinfo, gawk, bison, and sed.
12765 * INSTALL: Regenerated.
12767 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12769 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
12770 instead of __builtin_expect.
12772 2018-01-30 Florian Weimer <fweimer@redhat.com>
12774 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
12776 * nss/tst-nss-getpwent.c (do_test): Likewise.
12778 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
12781 * localedata/locales/hr_HR (mon): Rename to...
12783 (mon): Import from CLDR (genitive case).
12784 (d_t_fmt): Update the comment.
12786 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
12788 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
12789 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
12790 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
12792 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12794 * mach/Versions: Fix version when __mach_host_self_ was added.
12795 * hurd/Versions: Fix version when _hurd_exec_paths was added.
12796 * sysdeps/mach/hurd/i386/ld.abilist: New file.
12797 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
12798 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
12799 * sysdeps/mach/hurd/i386/libc.abilist: New file.
12800 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
12801 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
12802 * sysdeps/mach/hurd/i386/libm.abilist: New file.
12803 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
12804 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
12805 * sysdeps/mach/hurd/i386/librt.abilist: New file.
12806 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
12807 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
12808 || to respect codestyle.
12809 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
12810 (do_test_bz20181): Rename accordingly.
12811 * malloc/malloc.c: Include <assert.h>.
12812 (assert): Do not define.
12813 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
12814 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
12815 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
12816 * sysdeps/mach/hurd/hp-timing.h: New file.
12817 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
12819 2018-01-29 Darius Rad <darius@bluespec.com>
12821 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
12823 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
12825 * sysdeps/init_array/crti.S (.section .init_array): Add
12826 PREINIT_FUNCTION when defined.
12827 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
12828 * config.h.in: Regenerate.
12829 * manual/platform.texi: Add RISC-V documenation for
12830 __riscv_flush_icache.
12831 * sysdeps/riscv/__longjmp.S: New file.
12832 * sysdeps/riscv/backtrace.c: Likewise.
12833 * sysdeps/riscv/bits/endian.h: Likewise.
12834 * sysdeps/riscv/bits/setjmp.h: Likewise.
12835 * sysdeps/riscv/bits/wordsize.h: Likewise.
12836 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
12837 * sysdeps/riscv/bsd-setjmp.c: Likewise.
12838 * sysdeps/riscv/dl-trampoline.S: Likewise.
12839 * sysdeps/riscv/gccframe.h: Likewise.
12840 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
12841 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
12842 * sysdeps/riscv/machine-gmon.h: Likewise.
12843 * sysdeps/riscv/memusage.h: Likewise.
12844 * sysdeps/riscv/setjmp.S: Likewise.
12845 * sysdeps/riscv/sys/asm.h: Likewise.
12846 * sysdeps/riscv/tls-macros.h: Likewise.
12847 * sysdeps/riscv/dl-tls.h: New file.
12848 * sysdeps/riscv/libc-tls.c: Likewise.
12849 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
12850 * sysdeps/riscv/nptl/tls.h: Likewise.
12851 * sysdeps/riscv/stackinfo.h: Likewise.
12852 * sysdeps/riscv/bits/fenv.h: New file.
12853 * sysdeps/riscv/e_sqrtl.c: Likewise.
12854 * sysdeps/riscv/fpu_control.h: Likewise.
12855 * sysdeps/riscv/math-tests.h: Likewise.
12856 * sysdeps/riscv/nofpu/Implies: Likewise.
12857 * sysdeps/riscv/sfp-machine.h: Likewise.
12858 * sysdeps/riscv/tininess.h: Likewise.
12859 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
12860 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12861 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
12862 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
12863 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
12864 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
12865 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12866 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12867 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12868 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12869 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12870 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
12871 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
12872 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
12873 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
12874 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
12875 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12876 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12877 * sysdeps/riscv/rvd/s_fma.c: Likewise.
12878 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12879 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12880 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12881 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12882 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12883 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12884 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
12885 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
12886 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
12887 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
12888 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12889 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12890 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12891 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
12892 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
12893 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12894 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12895 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12896 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
12897 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
12898 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12899 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
12900 * sysdeps/riscv/rvf/math_private.h: Likewise.
12901 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12902 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12903 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12904 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12905 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
12906 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12907 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12908 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12909 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12910 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12911 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12912 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12913 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12914 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12915 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12916 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12917 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
12918 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
12919 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
12920 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
12921 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
12922 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
12923 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
12924 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
12925 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
12926 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
12927 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
12928 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
12929 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
12930 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
12931 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
12932 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
12933 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12934 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
12935 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
12936 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
12937 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
12938 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
12939 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
12940 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
12941 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
12942 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
12943 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
12944 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
12945 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
12946 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
12947 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12948 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
12949 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
12950 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
12951 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
12952 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
12953 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
12954 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
12955 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
12956 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
12957 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
12958 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
12959 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
12960 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
12961 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12969 * sysdeps/riscv/Implies: New file.
12970 * sysdeps/riscv/Makefile: Likewise.
12971 * sysdeps/riscv/configure: Likewise.
12972 * sysdeps/riscv/configure.ac: Likewise.
12973 * sysdeps/riscv/nptl/Makefile: Likewise.
12974 * sysdeps/riscv/preconfigure: Likewise.
12975 * sysdeps/riscv/rv64/Implies-after: Likewise.
12976 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
12977 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
12978 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
12979 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
12980 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
12981 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
12982 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
12983 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
12984 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
12985 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
12986 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
12987 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
12988 (Config): Likewise.
12990 2018-01-29 Florian Weimer <fweimer@redhat.com>
12993 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
12994 libnsl_hidden_proto.
12995 * include/rpcsvc/yp.h (yp_xdrall): Declare with
12996 libnsl_hidden_proto.
12997 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
12998 * nis/Makefile (libnsl-routines): Add nss-default only for
12999 build-obsolete-nsl.
13000 * nis/nis_defaults.c (__nis_default_ttl): Add
13001 libnsl_hidden_nolink_def.
13002 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
13004 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
13005 * nis/ypclnt.c (yp_maplist): Likewise.
13007 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
13009 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13010 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
13012 2018-01-29 Joseph Myers <joseph@codesourcery.com>
13014 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
13015 clean -dxfq for git updates when replacing sources.
13017 * scripts/build-many-glibcs.py (Config.build_gcc): Use
13018 --disable-libcilkrts unconditionally, not just for the final GCC
13021 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13024 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13027 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
13030 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13033 * localedata/locales/be_BY (mon): Rename to...
13034 (alt_mon): This, then synchronize with CLDR (nominative case).
13035 (abmon): Rename to...
13036 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13037 (mon): Import from CLDR (genitive case).
13039 * localedata/locales/be_BY@latin (mon): Rename to...
13041 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
13043 * localedata/locales/be_BY@latin (lang_name): Reworded to
13044 "biełaruskaja mova".
13046 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13049 * localedata/locales/el_CY (mon): Renamed to...
13051 (mon): Import from CLDR (genitive case).
13052 * localedata/locales/el_GR: Likewise.
13054 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13057 * localedata/locales/ru_RU (mon): Rename to...
13059 (abmon): Rename to...
13060 (ab_alt_mon): This.
13061 (mon): Import from CLDR (genitive case).
13062 (abmon): Copy from the old content except the 5th month which is
13063 now in the genitive case, even when abbreviated.
13064 * localedata/locales/ru_UA: Likewise.
13065 * time/tst-strptime.c (day_tests): Add an actual example of
13066 a difference between %b and %Ob in Russian.
13068 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13070 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
13071 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
13073 * resolv/res-close.c: Include <stdlib.h>.
13074 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
13075 <sys/wait.h>, <time.h>, <sys/uio.h>.
13076 (NOT_CANCEL_H): Add inclusion guard.
13077 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
13078 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
13079 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
13081 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
13082 vm_address_t * to ElfW(Addr) * for dl_main parameter.
13083 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
13085 * sysdeps/pthread/timer_create.c (timer_create): Do not use
13086 timer_ptr2id to cast struct timer_node * to void *.
13087 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
13088 --disable-libcilkrts to gcc configure.
13089 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
13090 and make them the default for now.
13091 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
13092 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
13093 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
13094 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
13095 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
13097 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
13098 __task_terminate would ever return successfully.
13099 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
13101 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
13102 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
13103 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
13104 critical section to make code simpler and avoid warning.
13105 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
13106 critical section to make code simpler and avoid warning.
13107 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
13108 const char * instead of char *.
13109 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
13110 __hurd_file_name_split, hurd_file_name_split,
13111 __hurd_directory_name_split, hurd_directory_name_split,
13112 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
13113 hurd_file_name_path_lookup): Make lookup function parameter take a
13114 const char *name instead of char *name.
13115 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
13116 __hurd_directory_name_split): Likewise.
13117 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
13118 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
13119 * sysdeps/mach/hurd/check_native.c: New file.
13120 * sysdeps/mach/hurd/check_pf.c: New file.
13121 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
13122 (__freeifaddrs): Define macro to freeifaddrs.
13123 * sysdeps/mach/hurd/libhurduser.abilist: New file.
13124 * sysdeps/mach/libmachuser.abilist: New file.
13125 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
13126 (do_test_bz20181): Rename accordingly.
13127 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
13128 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
13130 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
13131 version only if __USE_EXTERN_INLINES is defined.
13132 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
13133 __hurd_sockfail): Likewise.
13134 (_hurd_fd_get): Always declare functions, and provide inline versions
13135 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
13136 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
13137 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
13138 _hurd_port_set): Always declare functions, and provide inline versions
13139 only if __USE_EXTERN_INLINES and _LIBC are defined and
13141 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
13142 _hurd_critical_section_unlock): Likewise.
13143 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
13144 * __hurd_threadvar_location): Likewise.
13145 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
13146 _hurd_userlink_clear): Likewise.
13147 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
13148 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
13149 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
13150 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
13151 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
13152 __spin_lock_locked): Likewise.
13153 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
13154 __spin_lock_locked): Likewise.
13155 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
13156 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
13157 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
13158 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
13159 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
13160 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
13161 _POSIX_NO_TRUNC): Define to 0.
13162 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
13163 check size against PTHREAD_STACK_MIN.
13164 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
13165 IS_IN(libpthread)]: Include <sigsetops.h>.
13166 * mach/Makefile (user-interfaces): Add mach/gnumach.
13167 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
13168 * sysdeps/mach/configure (mach_interface_list): Regenerate.
13169 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
13170 instead of invalid -1.
13171 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
13172 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
13173 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
13176 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
13178 * hurd/fcntl-internal.h: New file.
13180 2018-01-27 James Clarke <jrtc27@jrtc27.com>
13182 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13184 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13186 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
13189 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
13190 Build only shared objects.
13192 2018-01-26 Carlos O'Donell <carlos@redhat.com>
13194 * README: Update for hppa.
13196 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13198 * sysdeps/sparc/fpu/libm-test-ulps: Update
13199 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
13201 2018-01-26 Carlos O'Donell <carlos@redhat.com>
13205 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
13208 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13209 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
13210 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13211 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
13214 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
13217 * bits/types/__cancel_jmp_buf_tag.h: New file.
13218 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
13219 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
13220 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
13221 * nptl/Makefile (headers): Add
13222 bits/types/__cancel_jmp_buf_tag.h.
13223 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
13224 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
13225 * sysdeps/nptl/pthread.h: Include
13226 <bits/types/__cancel_jmp_buf_tag.h>.
13227 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
13229 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
13231 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13234 * localedata/locales/uk_UA (mon): Renamed to...
13236 (alt_digits): "0" removed and then renamed to...
13238 (date_fmt): Definition changed not to use the alternative
13241 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
13243 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
13244 FLAG_RISCV_FLOAT_ABI_DOUBLE.
13245 * elf/elf.h (EF_RISCV_RVC): New define.
13246 (EF_RISCV_FLOAT_ABI): Likewise.
13247 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
13248 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
13249 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
13250 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
13251 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
13253 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
13255 2018-01-25 Andreas Schwab <schwab@suse.de>
13257 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
13259 * sysdeps/gnu/configure: Regenerate.
13260 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13261 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13263 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13264 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13265 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
13266 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13267 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13269 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13271 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
13272 URL, and run autoconf, make it the default for now.
13274 2018-01-24 Joseph Myers <joseph@codesourcery.com>
13276 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13277 soft-float ColdFire configuration.
13279 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
13280 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
13281 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
13283 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
13286 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
13288 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
13290 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
13293 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
13294 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
13295 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
13298 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13301 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
13302 Rename to __reserved and add comment.
13303 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
13304 Rename to __reserved.
13306 2018-01-24 Joseph Myers <joseph@codesourcery.com>
13308 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13309 i686-gnu configurations.
13310 (Context.run_builds): Include mig, gnumach and hurd in components
13312 (Context.checkout): Add mig, gnumach and hurd to components.
13313 (Context.checkout_tar): Add URL mappings for mig, gnumach and
13315 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
13316 (Config.build): Install gnumach headers, build mig and install
13317 hurd headers for 'gnu' OS.
13318 (Config.install_gnumach_headers): New function.
13319 (Config.install_hurd_headers): Likewise.
13320 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
13321 when building for 'gnu' OS.
13323 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
13325 * manual/tunables.texi (Hardware Capability Tunables): Fix
13328 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
13330 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
13331 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
13332 (ALTMON_11, ALTMON_12): Improve documentation.
13333 * manual/time.texi (strftime): Likewise.
13335 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13338 * localedata/locales/pl_PL: Alternative month names added,
13339 primary month names are genitive now.
13340 * time/tst-strptime.c (day_tests): Actually use a genitive case
13341 of a month name in Polish language.
13343 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13346 * manual/locale.texi: Document ALTMON_1..12 constants for
13347 nl_langinfo. Specify when to use ALTMON instead of MON.
13348 * manual/time.texi (strftime, strptime): Document GNU extension
13349 permitting O modifier with %B and %b. Specify when to use
13352 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13355 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
13356 names, define them as the same as abbreviated month names explicitly.
13357 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
13358 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
13359 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
13360 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
13361 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
13362 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
13363 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
13364 _NL_WABALTMON_12): New enum constants.
13365 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
13366 wab_alt_mon, and ab_alt_mon_defined members.
13367 (time_output): Output ab_alt_mon and wab_alt_mon members.
13368 (time_read): Read them, initialize them as copies of abmon and wabmon
13369 respectively if they are missing, initialize ab_alt_mon_defined.
13370 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
13371 * locale/programs/locfile-kw.h: Regenerate.
13372 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
13373 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
13375 * time/strftime_l.c (a_altmonth, aam_len): New macros.
13376 [!COMPILE_WIDE] (ABALTMON_1): New macro.
13377 (__strftime_internal): Handle %Ob and %Oh formats.
13378 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
13379 (__strptime_internal): Handle %Ob and %Oh formats.
13380 * time/tst-strptime.c (day_tests): Add more tests to parse different
13381 forms of month names including the new %Ob format specifier.
13383 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13386 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
13387 define them as the same as primary full month names explicitly.
13388 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
13389 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
13390 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
13391 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
13392 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
13393 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
13394 _NL_WALTMON_12): New enum constants.
13395 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
13396 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
13398 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
13399 walt_mon, and alt_mon_defined members.
13400 (time_output): Output alt_mon and walt_mon members.
13401 (time_read): Read them, initialize them as copies of mon and wmon
13402 respectively if they are missing, initialize alt_mon_defined.
13403 * locale/programs/locfile-kw.gperf (alt_mon): Define.
13404 * locale/programs/locfile-kw.h: Regenerate.
13405 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
13406 * localedata/tst-langinfo.c (map): Add tests for the new constants
13407 ALTMON_1 .. ALTMON_12.
13408 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
13410 * time/strftime_l.c (f_altmonth): New macro.
13411 (__strftime_internal): Handle %OB format.
13412 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
13413 (__strptime_internal): Handle %OB format.
13414 * time/tst-strptime.c (day_tests): Add tests to parse different forms
13415 of month names including the new %OB format specifier.
13417 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13420 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
13421 from ABORT_TRANSACTION.
13422 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
13423 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
13424 ABORT_TRANSACTION_IMPL): Likewise.
13425 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
13426 Linux code, but remove the code that aborts transactions.
13428 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13430 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
13432 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
13434 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
13435 in date: "2004-14-09" should be "2004-09-14".
13436 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
13437 "2003-15-09" should be "2003-09-15".
13439 2018-01-18 Arjun Shankar <arjun@redhat.com>
13445 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
13447 (_int_memalign): check for integer overflow before calling
13449 * malloc/tst-malloc-too-large.c: New test.
13450 * malloc/Makefile: Add tst-malloc-too-large.
13452 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
13454 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
13455 in date: "2017-24-07" should be "2017-07-24".
13456 * localedata/locales/mai_IN: Likewise.
13457 * localedata/locales/mai_NP: Likewise.
13459 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
13461 * po/ru.po: Update translations.
13463 2018-01-17 Joseph Myers <joseph@codesourcery.com>
13466 * sysdeps/hppa/backtrace.c: New file.
13468 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
13471 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
13472 align La_x86_64_retval to VEC_SIZE.
13474 2018-01-16 Joseph Myers <joseph@codesourcery.com>
13476 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
13477 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
13479 2018-01-16 Florian Weimer <fweimer@redhat.com>
13481 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
13482 Move tst-thread-exit-clobber ...
13483 [$(CXX)] (tests-unsupported): ... to here.
13485 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
13487 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
13488 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
13489 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
13490 (_dl_aarch64_cap_flags): Update.
13491 (_DL_HWCAP_COUNT): Update.
13493 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
13495 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
13496 (_DL_HWCAP_LAST): Remove.
13497 (_DL_HWCAP_COUNT): Move to ...
13498 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
13499 (_DL_HWCAP_COUNT): ... here.
13501 2018-01-16 Florian Weimer <fweimer@redhat.com>
13503 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
13504 mode with GNU extensions.
13506 2018-01-15 Alan Hayward <alan.hayward@arm.com>
13508 * elf/elf.h (NT_ARM_SVE): Define.
13510 2018-01-15 Florian Weimer <fweimer@redhat.com>
13513 * nptl/tst-minstack-throw.cc: New file.
13514 * nptl/Makefile (tests): Add tst-minstack-throw.
13515 (LDLIBS-tst-minstack-throw): Link with libstdc++.
13516 [!CXX] (tests-unsupported): Add tst-minstack-throw.
13518 2018-01-15 Joseph Myers <joseph@codesourcery.com>
13520 * scripts/build-many-glibcs.py (Context.checkout): Default
13521 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
13524 2018-01-13 Carlos O'Donell <carlos@redhat.com>
13527 * elf/elf.h (DF_1_STUB): Define.
13528 (DF_1_PIE): Define.
13530 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13533 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
13534 Do not add 0.5 to integer or out-of-range arguments.
13536 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
13538 * po/bg.po: Update translations.
13539 * po/cs.po: Likewise.
13540 * po/de.po: Likewise.
13541 * po/ko.po: Likewise.
13542 * po/pl.po: Likewise.
13543 * po/sv.po: Likewise.
13544 * po/uk.po: Likewise.
13545 * po/vi.po: Likewise.
13547 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13549 * aarch64/start.S (_start): Use __wrap_main.
13550 (__wrap_main): New local symbol.
13552 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
13556 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
13557 generic_getcwd if the path returned by getcwd syscall is not absolute.
13558 * io/tst-getcwd-abspath.c: New test.
13559 * io/Makefile (tests): Add tst-getcwd-abspath.
13561 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
13563 * malloc/malloc.c (malloc_consolidate): Add size check.
13565 2018-01-12 Florian Weimer <fweimer@redhat.com>
13567 * support/write_message.c (write_message): Preserve errno.
13568 * support/check.c (print_failure): Likewise.
13569 * support/support_test_verify_impl.c (support_test_verify_impl):
13571 * support/support_test_compare_failure.c
13572 (support_test_compare_failure): Likewise.
13574 2018-01-12 Florian Weimer <fweimer@redhat.com>
13577 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
13578 Prevent installation of libnsl.so.
13579 (libnsl-inhibit-o): Do not build (or install) static libraries.
13581 2018-01-12 Egmont Koblinger <egmont@gmail.com>
13584 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
13585 before the day number which may produce a double space.
13586 (date_fmt): Likewise.
13588 2018-01-12 Joseph Myers <joseph@codesourcery.com>
13590 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
13591 instead of fegetenv.
13593 2018-01-11 Joseph Myers <joseph@codesourcery.com>
13596 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
13597 comment to say exceptions are discarded.
13598 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
13600 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
13603 2018-01-11 Florian Weimer <fweimer@redhat.com>
13605 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
13608 2018-01-11 Florian Weimer <fweimer@redhat.com>
13611 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
13612 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
13614 2018-01-10 Joseph Myers <joseph@codesourcery.com>
13617 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
13618 negative arguments in test for NaN or infinity argument.
13620 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
13622 * po/libc.pot: Regenerate.
13624 2018-01-10 Florian Weimer <fweimer@redhat.com>
13627 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
13628 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
13630 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13632 * hurd/hurd/fd.h: Include <fcntl.h>
13633 (__hurd_at_flags): New function.
13634 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
13635 with call to __hurd_at_flags.
13636 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
13637 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
13639 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
13640 (__access_noerrno): Use __faccessat_common instead of access_common.
13641 (__access): Likewise.
13642 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
13643 with a call to __faccessat.
13644 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
13645 (__faccessat_common): ... this. Move implementation of __access into it when
13646 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
13647 reauthenticate_cwdir_at helper to implement AT mechanism.
13648 (__faccessat_noerrno): New function, just calls __faccessat_common.
13649 (__faccessat): New function, just calls __faccessat_common.
13650 (faccessat): Define weak alias.
13652 2018-01-10 Joseph Myers <joseph@codesourcery.com>
13655 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13656 (CFLAGS-s_fmaxmagl.c): New variable.
13657 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
13661 long int for arguments of possibly overflowing addition or
13663 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13665 2018-01-09 Joseph Myers <joseph@codesourcery.com>
13668 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13669 (CFLAGS-e_remainderl.c): New variable.
13672 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
13674 (CFLAGS-s_cacoshl.c): Likewise.
13675 (CFLAGS-s_casinhl.c): Likewise.
13676 (CFLAGS-s_catanl.c): Likewise.
13677 (CFLAGS-s_catanhl.c): Likewise.
13678 (CFLAGS-s_cexpl.c): Likewise.
13679 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
13680 (CFLAGS-s_csinhl.c): Likewise.
13681 (CFLAGS-s_clogl.c): Likewise.
13682 (CFLAGS-s_clog10l.c): Likewise.
13683 (CFLAGS-s_csinl.c): Likewise.
13684 (CFLAGS-s_csqrtl.c): Likewise.
13686 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
13687 2017-01-09 Svante Signell <svante.signell@gmail.com>
13689 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
13690 (_hurd_exec_paths): New function.
13691 * hurd/hurd.h (_hurd_exec): Deprecate function.
13692 (_hurd_exec_paths): Declare function.
13693 * hurd/Versions: Export _hurd_exec_paths.
13694 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
13695 (__execve): Use __getcwd to build absolute path, and use
13696 _hurd_exec_paths instead of _hurd_exec.
13697 * sysdeps/mach/hurd/spawni.c: Likewise.
13698 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
13701 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
13703 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
13704 test instead of failing in case of ENOENT returned by posix_openpt.
13706 2018-01-08 Florian Weimer <fweimer@redhat.com>
13708 resolv: Support binary labels in test framework.
13709 * support/resolv_test.c (struct to_be_freed): Remove.
13710 (struct compressed_name): New.
13711 (allocate_compressed_name, ascii_tolower)
13712 (compare_compressed_name): New functions.
13713 (struct resolv_response_builder): Update type of
13714 compression_offsets for use with tsearch. Rempve to_be_freed.
13715 (response_push_pointer_to_free): Remove function.
13716 (resolv_response_add_name): Rewrite using struct compressed_name
13717 and tsearch instead of hsearch_r.
13718 (response_builder_allocate): Remove initialization of
13719 compression_offsets.
13720 (response_builder_free): Update for removal of to_be_freed. Use
13721 tdestroy instead of hdestroy_r.
13722 * resolv/Makefile (tests): Add tst-resolv-binary.
13723 (tst-resolv-binary): Link with -lresolv -lpthread.
13725 2018-01-08 Florian Weimer <fweimer@redhat.com>
13727 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
13728 time. Pass positive flag instead of negative flag to
13729 support_test_compare_failure.
13730 (support_test_compare_failure): Change negative parameter to
13732 * support/support_test_compare_failure.c (report)
13733 (support_test_compare_failure): Likewise.
13734 * support/tst-test_compare.c (return_ssize_t, return_int): New.
13735 (do_test): Check int/size_t, ssize_t/size_t comparisons.
13737 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
13740 * nptl/descr.h (stackblock, stackblock_size): Update comments.
13741 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
13742 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
13744 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13746 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
13748 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13749 Add s_sincosf-sse2 and s_sincosf-fma.
13750 (CFLAGS-s_sincosf-fma.c): New.
13751 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
13752 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
13753 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
13754 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
13755 __sincosf is defined.
13757 2018-01-08 Florian Weimer <fweimer@redhat.com>
13759 * nptl/tst-thread-exit-clobber.cc: New file.
13760 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
13762 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
13763 (tests): Add tst-thread-exit-clobber.
13764 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
13766 2018-01-08 Florian Weimer <fweimer@redhat.com>
13768 * support/check.h (support_static_assert): Define.
13769 (TEST_COMPARE): Use it.
13771 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
13773 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
13774 [!__RLIM_T_MATCHES_RLIM64_T]
13775 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
13776 __getrlimit64. Add libc_hidden_weak.
13778 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
13780 * elf/elf.h (R_RISCV_NONE): New define.
13781 (R_RISCV_32): Likewise.
13782 (R_RISCV_64): Likewise.
13783 (R_RISCV_RELATIVE): Likewise.
13784 (R_RISCV_COPY): Likewise.
13785 (R_RISCV_JUMP_SLOT): Likewise.
13786 (R_RISCV_TLS_DTPMOD32): Likewise.
13787 (R_RISCV_TLS_DTPMOD64): Likewise.
13788 (R_RISCV_TLS_DTPREL32): Likewise.
13789 (R_RISCV_TLS_DTPREL64): Likewise.
13790 (R_RISCV_TLS_TPREL32): Likewise.
13791 (R_RISCV_TLS_TPREL64): Likewise.
13792 * Makerules (make-link-multidir): Make directories before linking into
13794 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
13796 (VDSO_HASH_LINUX_4_15): Likewise.
13797 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
13798 in subdirectories of lib.
13799 * nptl/Makefile (/librt.so): Always depend on
13800 "$(shared-thread-library)".
13802 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13804 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
13805 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
13806 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
13808 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
13809 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
13811 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
13812 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
13813 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
13814 * sysdeps/gnu/glob-lstat-compat.c: New file.
13815 * sysdeps/gnu/glob64-lstat-compat.c: New file.
13816 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
13818 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13820 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
13821 Reserve 16 chars to reloc_addr before calling _itoa_word.
13823 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13826 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
13827 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
13829 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
13830 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
13832 * resource/tst-getrlimit.c: Add copyright header.
13834 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13835 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13837 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
13838 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
13839 Define __GI_getrlimit64 as weak alias of __getrlimit64.
13840 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
13842 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
13843 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
13844 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
13845 RLIM64_INFINITY): Fix values to match the kernel ones.
13846 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
13847 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
13848 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
13849 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
13850 getrlimit64@@GLIBC_2_27.
13851 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
13853 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
13854 getrlimit, setrlimit, getrlimit64 and setrlimit64.
13855 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
13856 setrlimit, getrlimit64 and setrlimit64.
13858 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13861 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
13862 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
13864 2018-01-04 Joseph Myers <joseph@codesourcery.com>
13866 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
13867 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
13868 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
13870 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13874 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
13875 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
13879 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
13880 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
13881 * sysdeps/alpha/fpu/s_floor.c: Likewise.
13882 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
13884 2018-01-04 Florian Weimer <fweimer@redhat.com>
13887 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13888 Align the stack before calling exit.
13889 * stdlib/tst-makecontext-align.c: New file.
13890 * stdlib/Makefile (tests): Add tst-makecontext-align.
13892 2018-01-04 Florian Weimer <fweimer@redhat.com>
13894 Add support for calling dlvsym from libc.so.
13895 * include/dlfcn.h (__libc_dlvsym): Declare.
13896 * elf/Makefile (tests-static-internal): Add
13897 tst-libc_dlvsym-static.
13898 (tests-internal): Add tst-libc_dlvsym.
13899 (modules-names): Add tst-libc_dlvsym-dso.
13900 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
13901 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
13902 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
13903 object tst-libc_dlvsym-dso.so needs to be built before running
13905 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
13906 * elf/Versions: Export __libc_dlvsym.
13907 * elf/dl-libc.c (struct do_dlvsym_args): New.
13908 (do_dlvsym, __libc_dlvsym): New functions.
13909 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
13910 (_dl_open_hook2): New variable.
13911 (__libc_register_dl_open_hook): Set it.
13912 * elf/tst-libc_dlvsym-dso.c: New file.
13913 * elf/tst-libc_dlvsym-static.c: Likewise.
13914 * elf/tst-libc_dlvsym.c: Likewise.
13915 * elf/tst-libc_dlvsym.h: Likewise.
13917 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13919 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
13920 include <sys/mount.h>.
13922 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
13924 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
13925 Add __NO_MATH_ERRNO__ check.
13927 2018-01-02 Joseph Myers <joseph@codesourcery.com>
13929 * sysdeps/mips/mips32/libm-test-ulps: Update.
13930 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13932 2018-01-02 Florian Weimer <fweimer@redhat.com>
13934 * misc/tst-pselect.c: Add copyright header.
13936 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
13938 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
13940 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
13942 (settrlimit): Rename into setrlimit.
13943 (__sttrlimit): Rename into __setrlimit.
13945 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
13946 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
13947 never defined in that case.
13949 2018-01-02 Joseph Myers <joseph@codesourcery.com>
13951 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13953 * sysdeps/arm/libm-test-ulps: Update.
13955 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
13956 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
13958 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13960 * NEWS: Add cosf and sincosf to list of optimized functions.
13962 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
13965 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
13966 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
13967 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
13968 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
13970 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
13973 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
13975 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
13976 making a copy of it.
13978 2018-01-01 Joseph Myers <joseph@codesourcery.com>
13980 * manual/texinfo.tex: Update to version 2017-12-26.21 with
13981 trailing whitespace removed.
13982 * scripts/config.guess: Update to version 2018-01-01.
13983 * scripts/config.sub: Update to version 2018-01-01.
13984 * scripts/move-if-change: Update from gnulib.
13986 * NEWS: Update copyright dates.
13987 * catgets/gencat.c (print_version): Likewise.
13988 * csu/version.c (banner): Likewise.
13989 * debug/catchsegv.sh: Likewise.
13990 * debug/pcprofiledump.c (print_version): Likewise.
13991 * debug/xtrace.sh (do_version): Likewise.
13992 * elf/ldconfig.c (print_version): Likewise.
13993 * elf/ldd.bash.in: Likewise.
13994 * elf/pldd.c (print_version): Likewise.
13995 * elf/sotruss.sh: Likewise.
13996 * elf/sprof.c (print_version): Likewise.
13997 * iconv/iconv_prog.c (print_version): Likewise.
13998 * iconv/iconvconfig.c (print_version): Likewise.
13999 * locale/programs/locale.c (print_version): Likewise.
14000 * locale/programs/localedef.c (print_version): Likewise.
14001 * login/programs/pt_chown.c (print_version): Likewise.
14002 * malloc/memusage.sh (do_version): Likewise.
14003 * malloc/memusagestat.c (print_version): Likewise.
14004 * malloc/mtrace.pl: Likewise.
14005 * manual/libc.texinfo: Likewise.
14006 * nptl/version.c (banner): Likewise.
14007 * nscd/nscd.c (print_version): Likewise.
14008 * nss/getent.c (print_version): Likewise.
14009 * nss/makedb.c (print_version): Likewise.
14010 * posix/getconf.c (main): Likewise.
14011 * scripts/test-installation.pl: Likewise.
14012 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14014 * All files with FSF copyright notices: Update copyright dates
14015 using scripts/update-copyrights.
14016 * locale/programs/charmap-kw.h: Regenerated.
14017 * locale/programs/locfile-kw.h: Likewise.
14019 2017-12-31 Zack Weinberg <zackw@panix.com>
14021 * libio/bits/libio-ldbl.h: Correct check for improper
14022 inclusion. Add own multiple include guard.
14024 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
14025 Dmitry V. Levin <ldv@altlinux.org>
14029 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
14030 string token expansion. Check for NULL pointer or empty string possibly
14031 returned by expand_dynamic_string_token.
14032 (decompose_rpath): Check for empty path after dynamic string
14035 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
14038 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
14040 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
14041 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
14042 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
14043 and PTRACE_SYSCALL.
14044 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
14045 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14049 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14051 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
14052 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14053 __ptrace_peeksiginfo_flags, ptrace): Move to ...
14054 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
14055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14056 bits/ptrace-shared.h.
14057 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
14058 <bits/ptrace-shared.h>.
14059 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14060 __ptrace_peeksiginfo_flags, ptrace): Remove.
14061 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14065 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14067 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14070 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
14071 end of the loop. Improve comments.
14073 2017-12-29 Zack Weinberg <zackw@panix.com>
14076 * manual/errno.texi (Checking for Errors): Explicitly say that errno
14077 might be set on success.
14079 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14082 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
14083 is unchanged on success.
14085 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
14087 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
14089 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
14090 expand_dynamic_string_token): Likewise.
14091 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
14094 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
14097 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
14098 is set and name contains ':', and all code depending on these checks.
14100 2017-12-24 Zack Weinberg <zackw@panix.com>
14102 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
14103 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
14105 * libio/libio.h: Rename the original version of this file to
14106 libio/bits/libio.h. Error out if not included by stdio.h or the
14108 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
14109 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
14110 if not included by bits/libio.h or the stub _G_config.h.
14111 * sysdeps/unix/sysv/linux/_G_config.h: Move to
14112 sysdeps/unix/sysv/linux/bits. Error out if not included by
14113 bits/libio.h or the stub _G_config.h.
14114 * libio/stdio.h: Include bits/libio.h, not libio.h.
14115 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
14116 well as libio.h and _G_config.h.
14118 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
14119 * libio/strfile.h, stdio-common/vfscanf.c
14120 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
14121 Include stdio.h, not _G_config.h nor libio.h.
14122 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
14123 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
14125 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
14127 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
14130 * stdlib/getrandom.c (getrandom): Fix comment.
14131 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
14133 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
14136 * manual/arith.texi (strtoul): Fix a typo.
14139 * manual/arith.texi (finite): Fix the description of the return
14142 2017-12-22 Eric Blake <ebb9@byu.net>
14144 Avoid gcc warnings on cygwin
14145 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
14146 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
14147 Avoid unused variable.
14149 2017-12-22 Florian Weimer <fweimer@redhat.com>
14151 * io/Makefile (routines): Add copy_file_range.
14152 (tests): Add tst-copy_file_range.
14153 (tests-static, tests-internal): Add tst-copy_file_range-compat.
14154 * io/Versions (GLIBC_2.27): Export copy_file_range.
14155 * io/copy_file_range-compat.c: New file.
14156 * io/copy_file_range.c: Likewise.
14157 * io/tst-copy_file_range-compat.c: Likewise.
14158 * io/tst-copy_file_range.c: Likewise.
14159 * manual/llio.texi (Copying File Data): New section.
14160 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
14161 * support/Makefile (libsupport-routines): Add support-xfstat,
14162 xftruncate, xlseek.
14163 * support/support-xfstat.c: New file.
14164 * support/xftruncate.c: Likewise.
14165 * support/xlseek.c: Likewise.
14166 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
14167 * sysdeps/unix/sysv/linux/**.abilist: Update.
14168 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
14170 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
14172 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14173 disable-multi-arch variant to aarch64-linux-gnu.
14175 2017-12-20 Joseph Myers <joseph@codesourcery.com>
14177 * manual/texinfo.tex: Update to version 2017-12-18.20 with
14178 trailing whitespace removed.
14179 * scripts/config.guess: Update to version 2017-12-17.
14180 * scripts/config.sub: Update to version 2017-11-23.
14181 * scripts/install-sh: Update to version 2017-09-23.17.
14182 * scripts/move-if-change: Update to version 2017-09-13 06:45.
14184 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14186 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
14187 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14188 * sysdeps/tile/_mcount.S (__mcount): Likewise.
14189 * sysdeps/tile/crti.S (_init, _fini): Likewise.
14190 * sysdeps/tile/crtn.S: Likewise.
14191 * sysdeps/tile/dl-start.S (_start): Likewise.
14192 * sysdeps/tile/dl-trampoline.S: Likewise.
14193 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
14194 * sysdeps/tile/start.S (_start): Likewise.
14195 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
14196 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
14197 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
14198 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
14199 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
14200 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
14201 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
14203 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
14205 * sysdeps/tile/preconfigure: Remove tilegx folder.
14206 * sysdeps/tile/tilegx/Implies: Move definitions to ...
14207 * sysdeps/tile/Implies: ... here.
14208 * sysdeps/tile/tilegx/Makefile: Move rules to ...
14209 * sysdeps/tile/Makefile: ... here.
14210 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
14211 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
14212 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
14213 * sysdeps/tile/bits/wordsize.h: ... here.
14214 * sysdeps/tile/tilegx/*: Move to ...
14215 * sysdeps/tile/*: ... here.
14216 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
14217 * sysdeps/tile/tilegx32/Implies: ... here.
14218 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
14219 * sysdeps/tile/tilegx64/Implies: ... here.
14220 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
14222 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14223 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
14224 * sysdeps/unix/sysv/linux/tile/*: ... here.
14225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
14226 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
14227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
14228 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
14230 * README: Remove tilepro-*-linux-gnu from supported architecture.
14231 * scripts/build-many-glibcs.py: Likewise.
14232 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14233 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
14234 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
14235 elf_machine_matches_host, elf_machine_dynamic,
14236 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
14237 howto, elf_machine_rela): Likewise.
14238 * sysdeps/tile/dl-start.S (_start): Likewise.
14239 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
14240 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
14241 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
14242 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
14243 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
14244 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14246 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
14247 * sysdeps/tile/preconfigure: Likewise.
14248 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
14249 POINTER_CHK_GUARD): Likewise.
14250 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
14251 * sysdeps/tile/start.S (_start): Likewise.
14252 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
14254 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
14255 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
14257 * sysdeps/unix/sysv/linux/tile/bits/environments.h
14258 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
14259 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
14261 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
14262 * sysdeps/tile/tilepro/Implies: Remove file.
14263 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
14264 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14265 * sysdeps/tile/tilepro/memchr.c: Likewise.
14266 * sysdeps/tile/tilepro/memcpy.S: Likewise.
14267 * sysdeps/tile/tilepro/memset.c: Likewise.
14268 * sysdeps/tile/tilepro/memusage.h: Likewise.
14269 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
14270 * sysdeps/tile/tilepro/strchr.c: Likewise.
14271 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
14272 * sysdeps/tile/tilepro/strlen.c: Likewise.
14273 * sysdeps/tile/tilepro/strrchr.c: Likewise.
14274 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
14275 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
14276 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
14277 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
14279 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14281 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
14293 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
14294 tilepro mention in comment.
14296 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
14297 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
14298 * nptl/pthread_join_common.c: New file: common function used on
14299 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
14300 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
14301 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
14302 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
14303 (cleanup): Move definition to pthread_join_common.c.
14304 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
14305 Remove superflous checks.
14306 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
14309 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
14311 * sysdeps/aarch64/libm-test-ulps: Update.
14313 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14315 * sysdeps/aarch64/memset.S (MEMSET): Define.
14317 2017-12-20 Florian Weimer <fweimer@redhat.com>
14320 nptl: Provide full implementation of pthread_self in libc.so.
14321 * nptl/Makefile (routines): Add pthread_self.
14322 (libpthread-routines): Replace pthread_self with
14323 compat-pthread_self.
14324 * nptl/forward.c (pthread_self): Remove.
14325 * nptl/nptl-init.c (pthread_functions): Do not initialize
14327 * nptl/pthread_self.c (pthread_self): Remove weak alias.
14328 * nptl/compat-pthread_self.c: New file.
14329 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
14330 Remove ptr_pthread_self.
14332 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
14334 * posix/regcomp.c: Fix spelling in comments.
14335 * posix/regex.h: Likewise.
14336 * posix/regex_internal.c: Likewise.
14337 * posix/regexec.c: Likewise.
14339 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14342 * math/Makefile [C++] (tests): Add test for iseqsig.
14343 * math/math.h [C++] (iseqsig): New implementation, which does
14344 not rely on __MATH_TG/__builtin_types_compatible_p.
14345 * math/test-math-iseqsig.cc: New file.
14346 * sysdeps/powerpc/powerpc64le/Makefile
14347 (CFLAGS-test-math-iseqsig.cc): New variable.
14349 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
14351 * elf/dl-load.c (is_trusted_path): Remove.
14352 (fillin_rpath): Remove check_trusted argument and its use,
14353 all callers changed.
14355 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14358 * Makeconfig (link-pie-before-libc): Replace -pie with
14359 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
14360 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
14361 (tst-dlopen-aout-no-pie): New.
14362 (LDFLAGS-tst-prelink): Removed.
14363 (tst-prelink-no-pie): New.
14364 (LDFLAGS-tst-main1): Removed.
14365 (tst-main1-no-pie): New.
14366 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
14367 (tst-gmon-no-pie): New.
14369 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14371 * manual/install.texi: Document that --enable-static-pie
14373 * INSTALL: Regenerated.
14375 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
14378 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
14381 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14385 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14389 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14391 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
14392 <errno.h>. Include "eexp.tbl".
14393 (half): New constant.
14395 (__ieee754_exp): Rewrite.
14396 (__slowexp): Remove prototype.
14397 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
14398 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
14399 * sysdeps/i386/fpu/slowexp.c: Likewise.
14400 * sysdeps/ia64/fpu/slowexp.c: Likewise.
14401 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
14402 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
14403 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14404 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14405 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
14406 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
14408 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
14409 (CPPFLAGS-slowexp.c): Remove variable.
14410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14411 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
14412 (CFLAGS-slowexp-fma.c): Remove variable.
14413 (CFLAGS-slowexp-fma4.c): Likewise.
14414 (CFLAGS-slowexp-avx.c): Likewise.
14415 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
14417 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
14418 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
14419 * math/Makefile (type-double-routines): Remove slowexp.
14420 * manual/probes.texi (slowexp_p6): Remove.
14421 (slowexp_p32): Likewise.
14423 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14425 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
14428 * lib/glob.c (glob): Do not pass NULL to mempcpy.
14430 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14434 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14436 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
14437 <errno.h>. Include "eexp.tbl".
14438 (half): New constant.
14440 (__ieee754_exp): Rewrite.
14441 (__slowexp): Remove prototype.
14442 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
14443 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
14444 * sysdeps/i386/fpu/slowexp.c: Likewise.
14445 * sysdeps/ia64/fpu/slowexp.c: Likewise.
14446 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
14447 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
14448 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14449 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14450 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
14451 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
14453 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
14454 (CPPFLAGS-slowexp.c): Remove variable.
14455 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14456 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
14457 (CFLAGS-slowexp-fma.c): Remove variable.
14458 (CFLAGS-slowexp-fma4.c): Likewise.
14459 (CFLAGS-slowexp-avx.c): Likewise.
14460 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
14462 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
14463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
14464 * math/Makefile (type-double-routines): Remove slowexp.
14465 * manual/probes.texi (slowexp_p6): Remove.
14466 (slowexp_p32): Likewise.
14468 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14469 James Clarke <jrtc27@jrtc27.com>
14472 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
14475 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14478 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
14481 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14484 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14485 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14486 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14487 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14490 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14493 * bits/types/__cancel_jmp_buf_tag.h: New file.
14494 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14495 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14496 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14497 * nptl/Makefile (headers): Add
14498 bits/types/__cancel_jmp_buf_tag.h.
14499 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14500 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14501 * sysdeps/nptl/pthread.h: Include
14502 <bits/types/__cancel_jmp_buf_tag.h>.
14503 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14505 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14507 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
14509 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14510 --enable-static-pie variants to x86_64, x32 and i686.
14512 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14515 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
14516 argument for attrubutes. All callers changed.
14517 (__inline_mathop1): Likewise. All callers changed.
14518 (__inline_mathop): Likewise. All callers changed.
14519 [__USE_MISC] (scalbn): Use __inline_forward instead of
14520 __inline_forward_c.
14521 [__USE_ISOC99] (scalbln): Likewise.
14522 [__USE_ISOC99] (nearbyint): Likewise.
14523 [__USE_ISOC99] (lrint): Likewise.
14524 [__USE_MISC] (scalbnf): Likewise.
14525 [__USE_ISOC99] (scalblnf): Likewise.
14526 [__USE_ISOC99] (nearbyintf): Likewise.
14527 [__USE_ISOC99] (lrintf): Likewise.
14528 [__USE_MISC] (scalbnl): Likewise.
14529 [__USE_ISOC99] (scalblnl): Likewise.
14530 [__USE_ISOC99] (nearbyintl): Likewise.
14531 [__USE_ISOC99] (lrintl): Likewise.
14532 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
14533 __inline_mathop and __m81_defun changed.
14535 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
14536 CPU or FPU for ARM hard-float configurations.
14538 2017-12-18 Joseph Myers <joseph@codesourcery.com>
14540 * nptl/tst-attr3.c: Include <libc-diag.h>.
14541 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
14543 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
14545 * string/tester.c (test_strncat): Also disable -Warray-bounds
14546 warnings for two tests.
14548 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
14551 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
14552 $(cc-pie-default) == yes.
14553 * config.make.in (cc-pie-default): New.
14554 * configure.ac (libc_cv_pie_default): Renamed to ...
14555 (libc_cv_cc_pie_default): This.
14556 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
14557 * configure: Regenerated.
14559 2017-12-18 Florian Weimer <fweimer@redhat.com>
14562 ld.so: Harden dl-libc/libdl hooks.
14563 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
14564 (rtld_active): New function.
14565 * dlfcn/dladdr.c (__dladdr): Call it.
14566 * dlfcn/dladdr1.c (__dladdr1): Likewise.
14567 * dlfcn/dlclose.c (__dlcose): Likewise.
14568 * dlfcn/dlerror.c (__dlerror): Likewise.
14569 * dlfcn/dlinfo.c (__dlinfo): Likewise.
14570 * dlfcn/dlmopen.c (__dlmopen): Likewise.
14571 * dlfcn/dlopen.c (__dlopen): Likewise.
14572 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14573 * dlfcn/dlsym.c (__dlsym): Likewise.
14574 * dlfcn/dlvsym.c (__dlvsym): Likewise.
14575 * libio/vtables.c (_IO_vtable_check): Likewise.
14576 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
14577 (__libc_dlclose): Likewise.
14578 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
14581 2017-12-18 Joseph Myers <joseph@codesourcery.com>
14584 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
14585 buffers for readlink input and output.
14587 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
14590 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
14591 inhibit_stack_protector.
14594 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
14595 inhibit_stack_protector.
14597 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
14600 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
14601 code and invocation.
14603 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
14605 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
14607 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
14610 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
14612 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14614 * sysdeps/s390/fpu/libm-test-ulps: Update.
14616 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14620 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14622 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
14623 constants to s_sincosf.h file.
14624 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14625 * sysdeps/ieee754/flt-32/s_sincosf.c: New
14627 * sysdeps/ieee754/flt-32/s_sincosf.h:
14630 2017-12-12 Carlos O'Donell <carlos@redhat.com>
14633 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
14636 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
14639 * INSTALL: Regenerated.
14640 * Makeconfig (real-static-start-installed-name): New.
14641 (pic-default): Updated for --enable-static-pie.
14642 (pie-default): New for --enable-static-pie.
14643 (default-pie-ldflag): Likewise.
14644 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
14645 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
14646 Replace $(static-start-installed-name) with
14647 $(real-static-start-installed-name).
14648 (+prectorT): Updated for --enable-static-pie.
14649 (+postctorT): Likewise.
14650 (CFLAGS-.o): Add $(pie-default).
14651 (CFLAGS-.op): Likewise.
14652 * NEWS: Mention --enable-static-pie.
14653 * config.h.in (ENABLE_STATIC_PIE): New.
14654 * configure.ac (--enable-static-pie): New configure option.
14655 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
14656 (have-static-pie): Likewise.
14657 Enable static PIE if linker supports --no-dynamic-linker.
14658 (ENABLE_STATIC_PIE): New AC_DEFINE.
14659 (enable-static-pie): New LIBC_CONFIG_VAR.
14660 * configure: Regenerated.
14661 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
14662 gr$(start-installed-name) for --enable-static-pie.
14663 (extra-objs): Likewise.
14664 (install-lib): Likewise.
14665 (extra-objs): Add static-reloc.o and static-reloc.os
14666 ($(objpfx)$(start-installed-name)): Also depend on
14667 $(objpfx)static-reloc.o.
14668 ($(objpfx)r$(start-installed-name)): New.
14669 ($(objpfx)g$(start-installed-name)): Also depend on
14670 $(objpfx)static-reloc.os.
14671 ($(objpfx)gr$(start-installed-name)): New.
14672 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
14674 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
14676 * csu/static-reloc.c: New file.
14677 * elf/Makefile (routines): Add dl-reloc-static-pie.
14678 (elide-routines.os): Likewise.
14679 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
14680 (tst-tls1-static-non-pie-no-pie): New.
14681 * elf/dl-reloc-static-pie.c: New file.
14682 * elf/dl-support.c (_dl_get_dl_main_map): New function.
14683 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
14684 STATIC_PIE_BOOTSTRAP.
14685 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14686 * gmon/Makefile (tests): Add tst-gmon-static-pie.
14687 (tests-static): Likewise.
14688 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
14689 (tst-gmon-static-no-pie): New.
14690 (CFLAGS-tst-gmon-static-pie.c): Likewise.
14691 (CRT-tst-gmon-static-pie): Likewise.
14692 (tst-gmon-static-pie-ENV): Likewise.
14693 (tests-special): Likewise.
14694 ($(objpfx)tst-gmon-static-pie.out): Likewise.
14695 (clean-tst-gmon-static-pie-data): Likewise.
14696 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
14697 * gmon/tst-gmon-static-pie.c: New file.
14698 * manual/install.texi: Document --enable-static-pie.
14699 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
14700 (_dl_get_dl_main_map): Likewise.
14701 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
14702 * sysdeps/x86_64/configure.ac: Likewise.
14703 * sysdeps/i386/configure: Regenerated.
14704 * sysdeps/x86_64/configure: Likewise.
14705 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
14706 (ASFLAGS-.op): Likewise.
14708 2017-12-15 Joseph Myers <joseph@codesourcery.com>
14710 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
14711 * posix/tst-mmap-offset.c (fname): Use /tmp.
14712 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
14714 2017-12-15 Steve Ellcey <sellcey@cavium.com>
14716 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
14718 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
14720 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
14723 2017-12-15 Joseph Myers <joseph@codesourcery.com>
14725 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14726 --with-float=hard for arm-linux-gnueabihf configurations.
14729 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
14730 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
14731 ($(mo-installed)): Use $(objpfx)%.mo.
14732 (realclean): Remove rule.
14734 * po/Makefile (linguas): Remove rule and dependencies.
14735 (linguas.mo): Likewise.
14736 (.PHONY): Do not depend on linguas and linguas.mo.
14737 (podir): Remove variable.
14738 (pofiles): Likewise.
14739 [$(pofiles)] (%.po): Remove rule.
14741 * sysdeps/sparc/sparc32/Makefile
14742 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
14743 start-of-line whitespace in argument of echo.
14744 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
14745 with whitespace. Generate __wrap_.udiv alias.
14746 * sysdeps/sparc/sparc32/rem.S: Regenerated.
14747 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14748 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14749 * sysdeps/sparc/sparc32/urem.S: Likewise.
14751 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14753 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
14754 for aligned inputs.
14756 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14758 * benchtests/bench-strcmp.c: Print output in JSON format.
14760 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
14762 2017-12-14 Florian Weimer <fweimer@redhat.com>
14766 * elf/dl-load.c (_dl_init_paths): Compute number of components in
14767 the expanded path string.
14769 2017-12-14 Florian Weimer <fweimer@redhat.com>
14773 * elf/dl-load.c (system_dirs): Update comment.
14774 (nsystem_dirs_len): Use array_length.
14775 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
14777 2017-12-14 Florian Weimer <fweimer@redhat.com>
14779 Simplify compiling most of support/ outside of glibc.
14780 * support/check_addrinfo.c: Include <string.h>.
14781 * support/check_dns_packet.c: Likewise.
14782 * support/check_hostent.c: Likewise.
14783 * support/support_can_chroot.c: Include <support/xunistd.h>.
14784 * support/support_format_addrinfo.c: Include <stdlib.h>
14785 * support/support_format_dns_packet.c: Include <stdbool.h>.
14786 * support/support_format_hostent.c: Include <stdlib.h>.
14787 * support/support_format_netent.c: Likewise.
14788 * support/support_write_string.c: Include <support/xunistd.h>.
14789 * support/xdlfcn.c: Include <stddef.h>.
14791 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
14793 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
14795 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14796 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14798 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14799 (sysdeps_routines): Add memset-niagara7.
14800 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
14802 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
14804 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
14805 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
14806 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
14807 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
14808 Add niagara7 option.
14809 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
14812 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14813 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
14814 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
14816 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
14818 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
14819 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
14820 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
14821 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
14822 and __memmove_niagara7.
14823 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
14824 Add niagara7 option.
14825 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
14826 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
14827 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
14828 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
14829 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
14831 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
14833 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
14834 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
14835 * sysdeps/sparc/sparc64/memmove.S: Likewise.
14836 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
14838 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
14839 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
14840 _dl_sparc_cap_flags array.
14841 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
14843 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14845 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
14846 time whenever possible.
14848 2017-12-12 Carlos O'Donell <carlos@redhat.com>
14850 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
14851 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
14853 2017-12-12 Joseph Myers <joseph@codesourcery.com>
14855 * soft-fp/fmadf4.c: Move to ....
14856 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
14857 * soft-fp/fmasf4.c: Move to ....
14858 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
14859 * soft-fp/fmatf4.c: Move to ....
14860 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
14861 * sysdeps/ieee754/soft-fp/Makefile: New file.
14862 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
14863 * sysdeps/arm/preconfigure: Regenerated.
14864 * sysdeps/arm/nofpu/Implies: New file.
14865 * sysdeps/arm/s_fma.c: Remove file.
14866 * sysdeps/arm/s_fmaf.c: Likewise.
14867 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
14868 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
14869 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14870 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
14871 * sysdeps/microblaze/s_fma.c: Remove file.
14872 * sysdeps/microblaze/s_fmaf.c: Likewise.
14873 * sysdeps/mips/mips32/nofpu/Implies: New file.
14874 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
14875 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
14876 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
14877 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
14878 * sysdeps/mips/ieee754/s_fma.c: Remove file.
14879 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
14880 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
14882 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
14883 * sysdeps/nios2/s_fma.c: Remove file.
14884 * sysdeps/nios2/s_fmaf.c: Likewise.
14885 * sysdeps/sh/nofpu/Implies: New file.
14886 * sysdeps/sh/s_fma.c: Remove file.
14887 * sysdeps/sh/s_fmaf.c: Likewise.
14888 * sysdeps/tile/Implies: Add ieee754/soft-fp.
14889 * sysdeps/tile/s_fma.c: Remove file.
14890 * sysdeps/tile/s_fmaf.c: Likewise.
14892 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
14894 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14895 Add s_cosf-sse2 and s_cosf-fma.
14896 (CFLAGS-s_cosf-fma.c): New.
14897 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
14898 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
14899 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
14901 2017-12-12 Steve Ellcey <sellcey@cavium.com>
14903 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
14905 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14907 * libio/Makefile (tests): Add tst-bz22415.
14908 (tst-bz22415-ENV): New rule.
14909 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
14910 (tests-special): Add tst-bz22415-mem.out.
14911 ($(objpfx)tst-bz22415-mem.out): New rule.
14912 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
14913 in case of a successful seek operation.
14914 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14915 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
14916 buffer is required.
14917 * libio/tst-bz22415.c: New test.
14919 * sysdeps/ia64/fpu/libm-test-ulps: Update.
14921 2017-12-12 James Clarke <jrtc27@jrtc27.com>
14923 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
14924 __IPC_64 to 0 to avoid IPC_64 being set.
14926 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14929 * math/bits/mathcalls.h (nextafter): Remove const.
14930 (nexttoward): Likewise.
14932 2017-12-12 Joseph Myers <joseph@codesourcery.com>
14934 * configure.ac (--with-fp): Remove configure option.
14935 (with_fp_cond): New variable.
14936 (libc_cv_with_fp): New configure test. Use this variable instead
14938 * configure: Regenerated.
14939 * config.make.in (with-fp): Use @libc_cv_with_fp@.
14940 * manual/install.texi (Configuring and compiling): Remove
14942 * INSTALL: Regenerated.
14943 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
14944 * sysdeps/mips/preconfigure (with_fp_cond): Define.
14945 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
14946 * sysdeps/sh/preconfigure (with_fp_cond): Define.
14947 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
14948 use --without-fp to configure glibc.
14950 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
14952 * manual/locale.texi (nl_langinfo): Fix a typo.
14954 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
14957 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
14959 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
14961 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
14962 (CFLAGS-argp-parse.c): Likewise.
14963 (CFLAGS-argp-fmtstream.c): Likewise.
14964 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
14965 (CPPFLAGS-sha512-crypt.c): Likewise.
14966 (CPPFLAGS-md5-crypt.c): Likewise.
14967 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
14968 (CFLAGS-stack_chk_fail_local.c): Likewise.
14969 (CFLAGS-backtrace.c): Likewise.
14970 (CFLAGS-sprintf_chk.c): Likewise.
14971 (CFLAGS-snprintf_chk.c): Likewise.
14972 (CFLAGS-vsprintf_chk.c): Likewise.
14973 (CFLAGS-vsnprintf_chk.c): Likewise.
14974 (CFLAGS-asprintf_chk.c): Likewise.
14975 (CFLAGS-vasprintf_chk.c): Likewise.
14976 (CFLAGS-obprintf_chk.c): Likewise.
14977 (CFLAGS-dprintf_chk.c): Likewise.
14978 (CFLAGS-vdprintf_chk.c): Likewise.
14979 (CFLAGS-printf_chk.c): Likewise.
14980 (CFLAGS-fprintf_chk.c): Likewise.
14981 (CFLAGS-vprintf_chk.c): Likewise.
14982 (CFLAGS-vfprintf_chk.c): Likewise.
14983 (CFLAGS-gets_chk.c): Likewise.
14984 (CFLAGS-fgets_chk.c): Likewise.
14985 (CFLAGS-fgets_u_chk.c): Likewise.
14986 (CFLAGS-fread_chk.c): Likewise.
14987 (CFLAGS-fread_u_chk.c): Likewise.
14988 (CFLAGS-swprintf_chk.c): Likewise.
14989 (CFLAGS-vswprintf_chk.c): Likewise.
14990 (CFLAGS-wprintf_chk.c): Likewise.
14991 (CFLAGS-fwprintf_chk.c): Likewise.
14992 (CFLAGS-vwprintf_chk.c): Likewise.
14993 (CFLAGS-vfwprintf_chk.c): Likewise.
14994 (CFLAGS-fgetws_chk.c): Likewise.
14995 (CFLAGS-fgetws_u_chk.c): Likewise.
14996 (CFLAGS-read_chk.c): Likewise.
14997 (CFLAGS-pread_chk.c): Likewise.
14998 (CFLAGS-pread64_chk.c): Likewise.
14999 (CFLAGS-recv_chk.c): Likewise.
15000 (CFLAGS-recvfrom_chk.c): Likewise.
15001 (CFLAGS-tst-longjmp_chk.c): Likewise.
15002 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
15003 (CFLAGS-tst-longjmp_chk2.c): Likewise.
15004 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
15005 (CFLAGS-tst-longjmp_chk3.c): Likewise.
15006 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15007 (CFLAGS-tst-chk1.c): Likewise.
15008 (CFLAGS-tst-chk2.c): Likewise.
15009 (CFLAGS-tst-chk3.c): Likewise.
15010 (CFLAGS-tst-chk4.cc): Likewise.
15011 (CFLAGS-tst-chk5.cc): Likewise.
15012 (CFLAGS-tst-chk6.cc): Likewise.
15013 (CFLAGS-tst-lfschk1.c): Likewise.
15014 (CFLAGS-tst-lfschk2.c): Likewise.
15015 (CFLAGS-tst-lfschk3.c): Likewise.
15016 (CFLAGS-tst-lfschk4.cc): Likewise.
15017 (CFLAGS-tst-lfschk5.cc): Likewise.
15018 (CFLAGS-tst-lfschk6.cc): Likewise.
15019 (CFLAGS-tst-ssp-1.c): Likewise.
15020 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
15021 (CFLAGS-scandir64.c): Likewise.
15022 (CFLAGS-scandir-tail.c): Likewise.
15023 (CFLAGS-scandir64-tail.c): Likewise.
15024 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
15025 (CFLAGS-dl-tunables.c): Likewise.
15026 (CFLAGS-dl-runtime.c): Likewise.
15027 (CFLAGS-dl-lookup.c): Likewise.
15028 (CFLAGS-dl-iterate-phdr.c): Likewise.
15029 (CFLAGS-vismain.c): Likewise.
15030 (CFLAGS-tst-linkall-static.c): Likewise.
15031 (CFLAGS-tst-linkall-static.c): Likewise.
15032 (CPPFLAGS-dl-load.c): Likewise.
15033 (CFLAGS-ldconfig.c): Likewise.
15034 (CFLAGS-dl-cache.c): Likewise.
15035 (CFLAGS-cache.c): Likewise.
15036 (CFLAGS-rtld.c): Likewise.
15037 (CFLAGS-multiload.c): Likewise.
15038 (CFLAGS-filtmod1.c): Likewise.
15039 (CFLAGS-tst-align.c): Likewise.
15040 (CFLAGS-tst-align2.c): Likewise.
15041 (CFLAGS-tst-alignmod.c): Likewise.
15042 (CFLAGS-tst-alignmod2.c): Likewise.
15043 (CPPFLAGS-tst-execstack.c): Likewise.
15044 (CFLAGS-tst-ptrguard1-static.c): Likewise.
15045 (CFLAGS-tst-latepthreadmod.c): Likewise.
15046 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
15047 (CFLAGS-getgrnam_r.c): Likewise.
15048 (CFLAGS-getgrent_r.c): Likewise.
15049 (CFLAGS-getgrent.c): Likewise.
15050 (CFLAGS-fgetgrent.c): Likewise.
15051 (CFLAGS-fgetgrent_r.c): Likewise.
15052 (CFLAGS-putgrent.c): Likewise.
15053 (CFLAGS-initgroups.c): Likewise.
15054 (CFLAGS-getgrgid.c): Likewise.
15055 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
15056 (CFLAGS-getsgent.c): Likewise.
15057 (CFLAGS-fgetsgent.c): Likewise.
15058 (CFLAGS-fgetsgent_r.c): Likewise.
15059 (CFLAGS-putsgent.c): Likewise.
15060 (CFLAGS-getsgnam.c): Likewise.
15061 (CFLAGS-getsgnam_r.c): Likewise.
15062 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
15063 (CFLAGS-iconv_charmap.c): Likewise.
15064 (CFLAGS-dummy-repertoire.c): Likewise.
15065 (CFLAGS-charmap.c): Likewise.
15066 (CFLAGS-linereader.c): Likewise.
15067 (CFLAGS-simple-hash.c): Likewise.
15068 (CFLAGS-gconv_conf.c): Likewise.
15069 (CFLAGS-iconvconfig.c): Likewise.
15070 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15071 (CFLAGS-gethstbyad.c): Likewise.
15072 (CFLAGS-gethstbynm_r.c): Likewise.
15073 (CFLAGS-gethstbynm.c): Likewise.
15074 (CFLAGS-gethstbynm2_r.c): Likewise.
15075 (CFLAGS-gethstbynm2.c): Likewise.
15076 (CFLAGS-gethstent_r.c): Likewise.
15077 (CFLAGS-gethstent.c): Likewise.
15078 (CFLAGS-rcmd.c): Likewise.
15079 (CFLAGS-getnetbynm_r.c): Likewise.
15080 (CFLAGS-getnetbynm.c): Likewise.
15081 (CFLAGS-getnetbyad_r.c): Likewise.
15082 (CFLAGS-getnetbyad.c): Likewise.
15083 (CFLAGS-getnetent_r.c): Likewise.
15084 (CFLAGS-getnetent.c): Likewise.
15085 (CFLAGS-getaliasent_r.c): Likewise.
15086 (CFLAGS-getaliasent.c): Likewise.
15087 (CFLAGS-getrpcent_r.c): Likewise.
15088 (CFLAGS-getrpcent.c): Likewise.
15089 (CFLAGS-getservent_r.c): Likewise.
15090 (CFLAGS-getservent.c): Likewise.
15091 (CFLAGS-getprtent_r.c): Likewise.
15092 (CFLAGS-getprtent.c): Likewise.
15093 (CFLAGS-either_ntoh.c): Likewise.
15094 (CFLAGS-either_hton.c): Likewise.
15095 (CFLAGS-getnetgrent.c): Likewise.
15096 (CFLAGS-getnetgrent_r.c): Likewise.
15097 (CFLAGS-tst-checks-posix.c): Likewise.
15098 (CFLAGS-tst-sockaddr.c): Likewise.
15099 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
15100 (CFLAGS-tst-translit.c): Likewise.
15101 (CFLAGS-tst-gettext2.c): Likewise.
15102 (CFLAGS-tst-codeset.c): Likewise.
15103 (CFLAGS-tst-gettext3.c): Likewise.
15104 (CFLAGS-tst-gettext4.c): Likewise.
15105 (CFLAGS-tst-gettext5.c): Likewise.
15106 (CFLAGS-tst-gettext6.c): Likewise.
15107 * io/Makefile (CFLAGS-open.c): Likewise.
15108 (CFLAGS-open64.c): Likewise.
15109 (CFLAGS-creat.c): Likewise.
15110 (CFLAGS-creat64.c): Likewise.
15111 (CFLAGS-fcntl.c): Likewise.
15112 (CFLAGS-poll.c): Likewise.
15113 (CFLAGS-ppoll.c): Likewise.
15114 (CFLAGS-lockf.c): Likewise.
15115 (CFLAGS-statfs.c): Likewise.
15116 (CFLAGS-fstatfs.c): Likewise.
15117 (CFLAGS-statvfs.c): Likewise.
15118 (CFLAGS-fstatvfs.c): Likewise.
15119 (CFLAGS-fts.c): Likewise.
15120 (CFLAGS-fts64.c): Likewise.
15121 (CFLAGS-ftw.c): Likewise.
15122 (CFLAGS-ftw64.c): Likewise.
15123 (CFLAGS-lockf.c): Likewise.
15124 (CFLAGS-posix_fallocate.c): Likewise.
15125 (CFLAGS-posix_fallocate64.c): Likewise.
15126 (CFLAGS-fallocate.c): Likewise.
15127 (CFLAGS-fallocate64.c): Likewise.
15128 (CFLAGS-read.c): Likewise.
15129 (CFLAGS-write.c): Likewise.
15130 (CFLAGS-test-stat.c): Likewise.
15131 (CFLAGS-test-lfs.c): Likewise.
15132 * libio/Makefile (CFLAGS-fileops.c): Likewise.
15133 (CFLAGS-fputc.c): Likewise.
15134 (CFLAGS-fputwc.c): Likewise.
15135 (CFLAGS-freopen64.c): Likewise.
15136 (CFLAGS-freopen.c): Likewise.
15137 (CFLAGS-fseek.c): Likewise.
15138 (CFLAGS-fseeko64.c): Likewise.
15139 (CFLAGS-fseeko.c): Likewise.
15140 (CFLAGS-ftello64.c): Likewise.
15141 (CFLAGS-ftello.c): Likewise.
15142 (CFLAGS-fwide.c): Likewise.
15143 (CFLAGS-genops.c): Likewise.
15144 (CFLAGS-getc.c): Likewise.
15145 (CFLAGS-getchar.c): Likewise.
15146 (CFLAGS-getwc.c): Likewise.
15147 (CFLAGS-getwchar.c): Likewise.
15148 (CFLAGS-iofclose.c): Likewise.
15149 (CFLAGS-iofflush.c): Likewise.
15150 (CFLAGS-iofgetpos64.c): Likewise.
15151 (CFLAGS-iofgetpos.c): Likewise.
15152 (CFLAGS-iofgets.c): Likewise.
15153 (CFLAGS-iofgetws.c): Likewise.
15154 (CFLAGS-iofputs.c): Likewise.
15155 (CFLAGS-iofputws.c): Likewise.
15156 (CFLAGS-iofread.c): Likewise.
15157 (CFLAGS-iofsetpos64.c): Likewise.
15158 (CFLAGS-iofsetpos.c): Likewise.
15159 (CFLAGS-ioftell.c): Likewise.
15160 (CFLAGS-iofwrite.c): Likewise.
15161 (CFLAGS-iogetdelim.c): Likewise.
15162 (CFLAGS-iogetline.c): Likewise.
15163 (CFLAGS-iogets.c): Likewise.
15164 (CFLAGS-iogetwline.c): Likewise.
15165 (CFLAGS-ioputs.c): Likewise.
15166 (CFLAGS-ioseekoff.c): Likewise.
15167 (CFLAGS-ioseekpos.c): Likewise.
15168 (CFLAGS-iosetbuffer.c): Likewise.
15169 (CFLAGS-iosetvbuf.c): Likewise.
15170 (CFLAGS-ioungetc.c): Likewise.
15171 (CFLAGS-ioungetwc.c): Likewise.
15172 (CFLAGS-oldfileops.c): Likewise.
15173 (CFLAGS-oldiofclose.c): Likewise.
15174 (CFLAGS-oldiofgetpos64.c): Likewise.
15175 (CFLAGS-oldiofgetpos.c): Likewise.
15176 (CFLAGS-oldiofsetpos64.c): Likewise.
15177 (CFLAGS-oldiofsetpos.c): Likewise.
15178 (CFLAGS-peekc.c): Likewise.
15179 (CFLAGS-putc.c): Likewise.
15180 (CFLAGS-putchar.c): Likewise.
15181 (CFLAGS-putwc.c): Likewise.
15182 (CFLAGS-putwchar.c): Likewise.
15183 (CFLAGS-rewind.c): Likewise.
15184 (CFLAGS-wfileops.c): Likewise.
15185 (CFLAGS-wgenops.c): Likewise.
15186 (CFLAGS-oldiofopen.c): Likewise.
15187 (CFLAGS-iofopen.c): Likewise.
15188 (CFLAGS-iofopen64.c): Likewise.
15189 (CFLAGS-oldtmpfile.c): Likewise.
15190 (CFLAGS-tst_putwc.c): Likewise.
15191 * locale/Makefile (CFLAGS-md5.c): Likewise.
15192 (CFLAGS-charmap.c): Likewise.
15193 (CFLAGS-locfile.c): Likewise.
15194 (CFLAGS-charmap-dir.c): Likewise.
15195 * login/Makefile (CFLAGS-grantpt.c): Likewise.
15196 (CFLAGS-getpt.c): Likewise.
15197 (CFLAGS-pt_chown.c): Likewise.
15198 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
15199 (CFLAGS-obstack.c): Likewise.
15200 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
15201 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
15202 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
15203 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
15204 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
15205 (CFLAGS-test-tgmath.c): Likewise.
15206 (CFLAGS-test-tgmath2.c): Likewise.
15207 (CFLAGS-test-tgmath-ret.c): Likewise.
15208 (CFLAGS-test-powl.c): Likewise.
15209 (CFLAGS-test-snan.c): Likewise.
15210 (CFLAGS-test-signgam-finite.c): Likewise.
15211 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15212 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15213 (CFLAGS-test-signgam-uchar.c): Likewise.
15214 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15215 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15216 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15217 (CFLAGS-test-signgam-uint.c): Likewise.
15218 (CFLAGS-test-signgam-uint-init.c): Likewise.
15219 (CFLAGS-test-signgam-uint-static.c): Likewise.
15220 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15221 (CFLAGS-test-signgam-ullong.c): Likewise.
15222 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15223 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15224 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15225 (CFLAGS-test-math-cxx11.cc): Likewise.
15226 (CFLAGS-test-math-isinff.cc): Likewise.
15227 (CFLAGS-test-math-iszero.cc): Likewise.
15228 (CFLAGS-test-math-issignaling.cc): Likewise.
15229 (CFLAGS-test-math-iscanonical.cc): Likewise.
15230 (CFLAGS-test-iszero-excess-precision.c): Likewise.
15231 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
15232 (CFLAGS-test-flt-eval-method.c): Likewise.
15233 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
15234 (CFLAGS-test-finite-macros.c): Likewise.
15235 * misc/Makefile (CFLAGS-select.c): Likewise.
15236 (CFLAGS-tsearch.c): Likewise.
15237 (CFLAGS-lsearch.c): Likewise.
15238 (CFLAGS-pselect.c): Likewise.
15239 (CFLAGS-readv.c): Likewise.
15240 (CFLAGS-writev.c): Likewise.
15241 (CFLAGS-preadv.c): Likewise.
15242 (CFLAGS-preadv64.c): Likewise.
15243 (CFLAGS-pwritev.c): Likewise.
15244 (CFLAGS-pwritev64.c): Likewise.
15245 (CFLAGS-preadv2.c): Likewise.
15246 (CFLAGS-preadv64v2.c): Likewise.
15247 (CFLAGS-pwritev2.c): Likewise.
15248 (CFLAGS-pwritev64v2.c): Likewise.
15249 (CFLAGS-usleep.c): Likewise.
15250 (CFLAGS-syslog.c): Likewise.
15251 (CFLAGS-error.c): Likewise.
15252 (CFLAGS-getpass.c): Likewise.
15253 (CFLAGS-mkstemp.c): Likewise.
15254 (CFLAGS-mkstemp64.c): Likewise.
15255 (CFLAGS-getsysstats.c): Likewise.
15256 (CFLAGS-getusershell.c): Likewise.
15257 (CFLAGS-err.c): Likewise.
15258 (CFLAGS-tst-tsearch.c): Likewise.
15259 (CFLAGS-msync.c): Likewise.
15260 (CFLAGS-fdatasync.c): Likewise.
15261 (CFLAGS-fsync.c): Likewise.
15262 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
15263 (CFLAGS-unwind.c): Likewise.
15264 (CFLAGS-unwind-forcedunwind.c): Likewise.
15265 (CFLAGS-pthread_cancel.c): Likewise.
15266 (CFLAGS-pthread_setcancelstate.c): Likewise.
15267 (CFLAGS-pthread_setcanceltype.c): Likewise.
15268 (CFLAGS-cancellation.c): Likewise.
15269 (CFLAGS-libc-cancellation.c): Likewise.
15270 (CFLAGS-pthread_exit.c): Likewise.
15271 (CFLAGS-forward.c): Likewise.
15272 (CFLAGS-pthread_testcancel.c): Likewise.
15273 (CFLAGS-pthread_join.c): Likewise.
15274 (CFLAGS-pthread_timedjoin.c): Likewise.
15275 (CFLAGS-pthread_once.c): Likewise.
15276 (CFLAGS-pthread_cond_wait.c): Likewise.
15277 (CFLAGS-sem_wait.c): Likewise.
15278 (CFLAGS-sem_timedwait.c): Likewise.
15279 (CFLAGS-fcntl.c): Likewise.
15280 (CFLAGS-lockf.c): Likewise.
15281 (CFLAGS-pread.c): Likewise.
15282 (CFLAGS-pread64.c): Likewise.
15283 (CFLAGS-pwrite.c): Likewise.
15284 (CFLAGS-pwrite64.c): Likewise.
15285 (CFLAGS-wait.c): Likewise.
15286 (CFLAGS-waitpid.c): Likewise.
15287 (CFLAGS-sigwait.c): Likewise.
15288 (CFLAGS-msgrcv.c): Likewise.
15289 (CFLAGS-msgsnd.c): Likewise.
15290 (CFLAGS-tcdrain.c): Likewise.
15291 (CFLAGS-open.c): Likewise.
15292 (CFLAGS-open64.c): Likewise.
15293 (CFLAGS-pause.c): Likewise.
15294 (CFLAGS-recv.c): Likewise.
15295 (CFLAGS-send.c): Likewise.
15296 (CFLAGS-accept.c): Likewise.
15297 (CFLAGS-sendto.c): Likewise.
15298 (CFLAGS-connect.c): Likewise.
15299 (CFLAGS-recvfrom.c): Likewise.
15300 (CFLAGS-recvmsg.c): Likewise.
15301 (CFLAGS-sendmsg.c): Likewise.
15302 (CFLAGS-close.c): Likewise.
15303 (CFLAGS-read.c): Likewise.
15304 (CFLAGS-write.c): Likewise.
15305 (CFLAGS-nanosleep.c): Likewise.
15306 (CFLAGS-sigsuspend.c): Likewise.
15307 (CFLAGS-msync.c): Likewise.
15308 (CFLAGS-fdatasync.c): Likewise.
15309 (CFLAGS-fsync.c): Likewise.
15310 (CFLAGS-pt-system.c): Likewise.
15311 (CFLAGS-tst-cleanup2.c): Likewise.
15312 (CFLAGS-tst-cleanupx2.c): Likewise.
15313 (CFLAGS-flockfile.c): Likewise.
15314 (CFLAGS-ftrylockfile.c): Likewise.
15315 (CFLAGS-funlockfile.c): Likewise.
15316 (CFLAGS-tst-initializers1.c): Likewise.
15317 (CFLAGS-tst-initializers1-c89.c): Likewise.
15318 (CFLAGS-tst-initializers1-c99.c): Likewise.
15319 (CFLAGS-tst-initializers1-c11.c): Likewise.
15320 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
15321 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
15322 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15323 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
15324 (CFLAGS-nscd_getgr_r.c): Likewise.
15325 (CFLAGS-nscd_gethst_r.c): Likewise.
15326 (CFLAGS-nscd_getai.c): Likewise.
15327 (CFLAGS-nscd_initgroups.c): Likewise.
15328 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
15329 (CFLAGS-pause.c): Likewise.
15330 (CFLAGS-pread.c): Likewise.
15331 (CFLAGS-pread64.c): Likewise.
15332 (CFLAGS-pwrite.c): Likewise.
15333 (CFLAGS-pwrite64.c): Likewise.
15334 (CFLAGS-sleep.c): Likewise.
15335 (CFLAGS-wait.c): Likewise.
15336 (CFLAGS-waitid.c): Likewise.
15337 (CFLAGS-waitpid.c): Likewise.
15338 (CFLAGS-getopt.c): Likewise.
15339 (CFLAGS-wordexp.c): Likewise.
15340 (CFLAGS-sysconf.c): Likewise.
15341 (CFLAGS-pathconf.c): Likewise.
15342 (CFLAGS-fpathconf.c): Likewise.
15343 (CFLAGS-spawn.c): Likewise.
15344 (CFLAGS-spawnp.c): Likewise.
15345 (CFLAGS-spawni.c): Likewise.
15346 (CFLAGS-glob.c): Likewise.
15347 (CFLAGS-glob64.c): Likewise.
15348 (CFLAGS-getconf.c): Likewise.
15349 (CFLAGS-nanosleep.c): Likewise.
15350 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
15351 (CFLAGS-getpwent.c): Likewise.
15352 (CFLAGS-getpw.c): Likewise.
15353 (CFLAGS-fgetpwent_r.c): Likewise.
15354 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
15355 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
15356 (CFLAGS-mq_timedreceive.c): Likewise.
15357 (CFLAGS-mq_timedsend.c): Likewise.
15358 (CFLAGS-clock_nanosleep.c): Likewise.
15359 (CFLAGS-librt-cancellation.c): Likewise.
15360 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
15361 (CFLAGS-getspent.c): Likewise.
15362 (CFLAGS-fgetspent.c): Likewise.
15363 (CFLAGS-fgetspent_r.c): Likewise.
15364 (CFLAGS-putspent.c): Likewise.
15365 (CFLAGS-getspnam.c): Likewise.
15366 (CFLAGS-getspnam_r.c): Likewise.
15367 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
15368 (CFLAGS-sigsuspend.c): Likewise.
15369 (CFLAGS-sigtimedwait.c): Likewise.
15370 (CFLAGS-sigwait.c): Likewise.
15371 (CFLAGS-sigwaitinfo.c): Likewise.
15372 (CFLAGS-sigreturn.c): Likewise.
15373 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15374 (CFLAGS-vfwprintf.c): Likewise.
15375 (CFLAGS-tmpfile.c): Likewise.
15376 (CFLAGS-tmpfile64.c): Likewise.
15377 (CFLAGS-tempname.c): Likewise.
15378 (CFLAGS-psignal.c): Likewise.
15379 (CFLAGS-vprintf.c): Likewise.
15380 (CFLAGS-cuserid.c): Likewise.
15381 (CFLAGS-errlist.c): Likewise.
15382 (CFLAGS-siglist.c): Likewise.
15383 (CFLAGS-scanf15.c): Likewise.
15384 (CFLAGS-scanf17.c): Likewise.
15385 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
15386 (CFLAGS-msort.c): Likewise.
15387 (CFLAGS-qsort.c): Likewise.
15388 (CFLAGS-system.c): Likewise.
15389 (CFLAGS-fmtmsg.c): Likewise.
15390 (CFLAGS-strfmon.c): Likewise.
15391 (CFLAGS-strfmon_l.c): Likewise.
15392 (CFLAGS-strfromd.c): Likewise.
15393 (CFLAGS-strfromf.c): Likewise.
15394 (CFLAGS-strfroml.c): Likewise.
15395 (CFLAGS-tst-bsearch.c): Likewise.
15396 (CFLAGS-tst-qsort.c): Likewise.
15397 (CFLAGS-tst-makecontext2.c): Likewise.
15398 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
15399 (CFLAGS-xnlm_prot.c): Likewise.
15400 (CFLAGS-xrstat.c): Likewise.
15401 (CFLAGS-xyppasswd.c): Likewise.
15402 (CFLAGS-xklm_prot.c): Likewise.
15403 (CFLAGS-xrex.c): Likewise.
15404 (CFLAGS-xsm_inter.c): Likewise.
15405 (CFLAGS-xmount.c): Likewise.
15406 (CFLAGS-xrusers.c): Likewise.
15407 (CFLAGS-xspray.c): Likewise.
15408 (CFLAGS-xnfs_prot.c): Likewise.
15409 (CFLAGS-xrquota.c): Likewise.
15410 (CFLAGS-xkey_prot.c): Likewise.
15411 (CFLAGS-auth_unix.c): Likewise.
15412 (CFLAGS-key_call.c): Likewise.
15413 (CFLAGS-pmap_rmt.c): Likewise.
15414 (CFLAGS-clnt_perr.c): Likewise.
15415 (CFLAGS-openchild.c): Likewise.
15416 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
15417 (CFLAGS-msgsnd.c): Likewise.
15418 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
15419 * time/Makefile (CFLAGS-tzfile.c): Likewise.
15420 (CFLAGS-tzset.c): Likewise.
15421 (CFLAGS-getdate.c): Likewise.
15422 (CFLAGS-test_time.c): Likewise.
15423 (CPPFLAGS-tst-tzname.c): Likewise.
15424 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
15425 (CFLAGS-zic.c): Likewise.
15426 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
15427 (CFLAGS-wcswidth.c): Likewise.
15428 (CFLAGS-wcstol.c): Likewise.
15429 (CFLAGS-wcstoul.c): Likewise.
15430 (CFLAGS-wcstoll.c): Likewise.
15431 (CFLAGS-wcstoull.c): Likewise.
15432 (CFLAGS-wcstod.c): Likewise.
15433 (CFLAGS-wcstold.c): Likewise.
15434 (CFLAGS-wcstof128.c): Likewise.
15435 (CFLAGS-wcstof.c): Likewise.
15436 (CFLAGS-wcstol_l.c): Likewise.
15437 (CFLAGS-wcstoul_l.c): Likewise.
15438 (CFLAGS-wcstoll_l.c): Likewise.
15439 (CFLAGS-wcstoull_l.c): Likewise.
15440 (CFLAGS-wcstod_l.c): Likewise.
15441 (CFLAGS-wcstold_l.c): Likewise.
15442 (CFLAGS-wcstof128_l.c): Likewise.
15443 (CFLAGS-wcstof_l.c): Likewise.
15444 (CPPFLAGS-tst-wchar-h.c): Likewise.
15445 (CPPFLAGS-wcstold_l.c): Likewise.
15447 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
15449 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
15451 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15452 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15454 * manual/tunables.texi (Hardware Capability Tunables): Document
15455 glibc.tune.cached_memopt.
15456 * sysdeps/powerpc/cpu-features.c: New file.
15457 * sysdeps/powerpc/cpu-features.h: New file.
15458 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
15459 _dl_powerpc_cpu_features.
15460 * sysdeps/powerpc/dl-tunables.list: New file.
15461 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
15462 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15463 (INIT_ARCH): Initialize use_aligned_memopt.
15464 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
15465 IS_IN(rtld))]: Restrict dl_platform_init availability and
15466 initialize CPU features used by tunables.
15467 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
15468 Add memcpy-power8-cached.
15469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
15470 __memcpy_power8_cached.
15471 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15472 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
15475 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
15477 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
15478 (CFLAGS-noinl-tester.c): Likewise.
15479 (CFLAGS-tst-strlen.c): Likewise.
15480 (CFLAGS-stratcliff.c): Likewise.
15481 (CFLAGS-test-ffs.c): Likewise.
15482 (CFLAGS-tst-inlcall.c): Likewise.
15483 (CFLAGS-tst-xbzero-opt.c): Likewise.
15484 (CFLAGS-memcpy.c): Likewise.
15485 (CFLAGS-wordcopy.c): Likewise.
15487 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15489 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
15490 Store r15 on stack and add cfi rule.
15491 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15494 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
15497 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
15500 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
15502 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15503 Add s_sinf-sse2 and s_sinf-fma.
15504 (CFLAGS-s_sinf-fma.c): New.
15505 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
15506 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
15507 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
15509 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
15511 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
15513 2017-12-07 Joseph Myers <joseph@codesourcery.com>
15516 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
15517 part of result to imaginary part of argument if it is zero and the
15518 real part of the argument is not finite.
15519 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
15520 of result to real part of argument if it is zero and the imaginary
15521 part of the argument is not finite.
15523 2017-12-07 Mike FABIAN <mfabian@redhat.com>
15526 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
15527 and to the list of locales to be built for testing.
15528 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
15529 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
15530 and build the collation rules upon that.
15532 2017-12-07 Joseph Myers <joseph@codesourcery.com>
15534 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
15535 * manual/math.texi (Mathematics): Document support for _Float32.
15536 * math/Makefile (test-types): Add float32.
15537 * math/Versions (GLIBC_2.27): Add _Float32 functions.
15538 * stdlib/Versions (GLIBC_2.27): Likewise.
15539 * wcsmbs/Versions (GLIBC_2.27): Likewise.
15540 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15541 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15548 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15549 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15552 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15553 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15554 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15556 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15557 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15558 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15559 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15560 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
15562 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15564 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15565 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15584 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15585 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15586 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15587 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15588 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15589 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15590 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15591 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15592 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15593 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15602 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15603 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15604 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15605 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15606 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15608 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15609 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15611 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15613 * stdlib/strtof.c: Include <bits/floatn.h>
15614 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
15615 and later undefine as macro. Define as weak alias if
15617 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
15618 and later undefine as macro. Define as weak alias if
15620 * stdlib/strtof_l.c: Include <bits/floatn.h>
15621 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
15622 and later undefine as macro. Define as weak alias if
15624 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
15625 and later undefine as macro. Define as weak alias if
15628 * stdlib/strfromf.c: Include <bits/floatn.h>.
15629 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
15630 and later undefine as macro and define as weak alias.
15632 * math/test-float32.h: New file.
15634 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
15635 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
15636 (libm_alias_float_other_r): Create f32 alias.
15637 (libm_alias_float_r): Use semicolon before call to
15638 libm_alias_float_other_r.
15640 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
15641 second argument to libm_alias_float_other.
15642 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
15643 second argument to libm_alias_float_other.
15644 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
15645 argument to libm_alias_float_other.
15648 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
15649 real part of result for argument 0 + i * NaN.
15650 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
15651 results for tests of 0 + i * NaN.
15653 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15655 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15657 2017-12-06 David S. Miller <davem@davemloft.net>
15659 * sysdeps/sparc/fpu/libm-test-ulps: Update
15660 exp_{downward,towardzero,upward} ulps.
15662 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15664 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
15667 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
15669 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
15671 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
15673 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
15676 2017-12-06 Mike FABIAN <mfabian@redhat.com>
15679 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
15680 and to the list of locales to be built for testing.
15681 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
15682 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
15683 and build the collation rules upon that.
15685 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15687 * NEWS: Add sinf to list of optimized functions.
15689 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15691 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
15692 (__HAVE_FLOAT32X): Likewise.
15693 * manual/math.texi (Mathematics): Document support for _Float64
15695 * math/Makefile (test-types): Add float64 and float32x.
15696 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
15698 * stdlib/Versions (GLIBC_2.27): Likewise.
15699 * wcsmbs/Versions (GLIBC_2.27): Likewise.
15700 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15701 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15702 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15703 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15704 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15708 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15709 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15716 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15717 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15719 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15720 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
15722 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15723 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
15739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15743 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15744 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15745 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15746 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15747 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15749 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15750 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15751 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15752 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15761 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15762 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15763 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15764 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15765 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15766 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15767 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15768 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15770 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15772 * bits/floatn-common.h: Include <bits/long-double.h>.
15773 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15774 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
15775 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15776 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
15777 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15778 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
15779 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15780 (__builtin_huge_valf64): Use __builtin_huge_vall.
15781 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15782 (__builtin_inff64): Use __builtin_infl.
15783 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15784 (__builtin_nanf64): Use __builtin_nanl.
15785 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15786 (__builtin_nansf64): Use __builtin_nansl.
15788 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15789 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15790 Carlos O'Donnell <carlos@redhat.com>
15792 * elf/dl-tunables.list: Add elision parameters.
15793 * manual/tunables.texi: Add entries about elision tunable.
15794 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
15795 Add callback functions to dynamically enable/disable elision.
15796 Add multiple callbacks functions to set elision parameters.
15797 Deleted __libc_enable_secure check.
15798 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
15799 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
15800 * configure: Regenerated.
15801 * configure.ac: Option enable_lock_elision was deleted.
15802 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
15803 * config.make.in: Remove references to enable_lock_elision.
15804 * manual/install.texi: Elision configure option was removed.
15805 * INSTALL: Regenerated to remove enable_lock_elision.
15807 Disable elision so it can verify error case for destroying a mutex.
15808 * sysdeps/powerpc/nptl/elide.h:
15809 Cleanup ENABLE_LOCK_ELISION check.
15810 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
15811 * sysdeps/s390/configure: Regenerated.
15812 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
15813 * nptl/tst-mutex8.c:
15814 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
15815 * sysdeps/powerpc/powerpc32/sysdep.h:
15816 Deleted all ENABLE_LOCK_ELISION checks.
15817 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15818 * sysdeps/powerpc/sysdep.h: Likewise.
15819 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
15820 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
15821 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15822 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15823 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15824 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
15825 enable-lock-elision.
15827 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15829 * stdlib/strtod.c: Include <bits/floatn.h>.
15830 (BUILD_DOUBLE): New macro.
15831 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15832 (strtof64): Define and later undefine as macro. Define as weak
15833 alias if [!USE_WIDE_CHAR].
15834 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15835 (wcstof64): Define and later undefine as macro. Define as weak
15836 alias if [USE_WIDE_CHAR].
15837 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15838 (strtof32x): Define and later undefine as macro. Define as weak
15839 alias if [!USE_WIDE_CHAR].
15840 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15841 (wcstof32x): Define and later undefine as macro. Define as weak
15842 alias if [USE_WIDE_CHAR].
15843 * stdlib/strtod_l.c: Include <bits/floatn.h>.
15844 (BUILD_DOUBLE): New macro.
15845 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15846 (strtof64_l): Define and later undefine as macro. Define as weak
15847 alias if [!USE_WIDE_CHAR].
15848 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15849 (wcstof64_l): Define and later undefine as macro. Define as weak
15850 alias if [USE_WIDE_CHAR].
15851 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15852 (strtof32x_l): Define and later undefine as macro. Define as weak
15853 alias if [!USE_WIDE_CHAR].
15854 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15855 (wcstof32x_l): Define and later undefine as macro. Define as weak
15856 alias if [USE_WIDE_CHAR].
15858 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15860 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
15861 (reduced): Use ones as double instead of integer.
15863 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
15865 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
15867 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15869 * stdlib/strfromd.c: Include <bits/floatn.h>.
15870 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
15871 and later undefine as macro and define as weak alias.
15872 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
15875 * math/test-float32x.h: New file.
15876 * math/test-float64.h: Likewise.
15878 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
15879 (libm_alias_double_other_r_f64): New macro.
15880 (libm_alias_double_other_r_f32x): Likewise.
15881 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
15882 libm_alias_double_other_r_f32x.
15883 (libm_alias_double_r): Use semicolon before call to
15884 libm_alias_double_other_r.
15885 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
15887 (libm_alias_double_other_r_f64): New macro.
15888 (libm_alias_double_other_r_f32x): Likewise.
15889 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
15890 libm_alias_double_other_r_f32x.
15892 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
15894 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
15896 (SINF_FUNC): Likewise. Replace floor with simple casts.
15898 2017-12-05 Mike FABIAN <mfabian@redhat.com>
15901 * localedata/Makefile: Add et_EE.UTF-8 to test-input
15902 and to the list of locales to be built for testing.
15903 * localedata/et_EE.UTF-8.in: New file for testing the collation.
15904 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
15905 and build the collation rules upon that.
15907 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
15909 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
15910 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
15911 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
15912 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
15913 instead of __insn__xxx.
15914 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
15915 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
15916 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
15917 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
15918 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
15919 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
15921 2017-12-05 Florian Weimer <fweimer@redhat.com>
15923 Linux: Implement interfaces for memory protection keys
15924 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
15926 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
15927 * support/xunistd.h (xsysconf): Declare.
15928 * support/xraise.c: New file.
15929 * support/xsigaction.c: Likewise.
15930 * support/xsignal.c: Likewise.
15931 * support/xsysconf.c: Likewise.
15932 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
15933 pkey_set, pkey_get, pkey_mprotect.
15934 [misc] (tests): Add tst-pkey.
15935 (tst-pkey): Link with -lpthread.
15936 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
15937 pkey_free, pkey_set, pkey_get, pkey_mprotect.
15938 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
15939 (PKEY_DISABLE_WRITE): Define.
15940 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
15942 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
15943 (SEGV_PKUERR): Add.
15944 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
15945 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
15946 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
15947 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
15949 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
15950 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
15951 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
15952 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
15953 * sysdeps/unix/sysv/linux/**.abilist: Update.
15955 2017-12-05 Florian Weimer <fweimer@redhat.com>
15957 * support/tst-test_compare.c (subprocess): Use long long instead
15958 of long argument for consistent type width across 32-bit and
15959 64-bit architectures.
15960 (do_test): Adjust expected output.
15962 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15964 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
15965 (cosf): Define using libm_alias_float.
15966 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
15967 (fabsf): Define using libm_alias_float.
15968 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
15969 (fmaf): Define using libm_alias_float.
15970 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
15971 (rintf): Define using libm_alias_float.
15972 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
15973 (sinf): Define using libm_alias_float.
15974 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
15975 <libm-alias-float.h>.
15976 (modff): Define using libm_alias_float.
15977 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
15978 <libm-alias-float.h>.
15979 (logbf): Define using libm_alias_float.
15980 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
15981 <libm-alias-float.h>.
15982 (ceilf): Define using libm_alias_float.
15983 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
15984 <libm-alias-float.h>.
15985 (copysignf): Define using libm_alias_float.
15986 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
15987 <libm-alias-float.h>.
15988 (floorf): Define using libm_alias_float.
15989 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15990 <libm-alias-float.h>.
15991 (llrintf): Define using libm_alias_float.
15992 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15993 <libm-alias-float.h>.
15994 (llroundf): Define using libm_alias_float.
15995 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
15996 <libm-alias-float.h>.
15997 (lrintf): Define using libm_alias_float.
15998 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
15999 <libm-alias-float.h>.
16000 (lroundf): Define using libm_alias_float.
16001 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
16002 <libm-alias-float.h>.
16003 (nearbyintf): Define using libm_alias_float.
16004 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
16005 <libm-alias-float.h>.
16006 (rintf): Define using libm_alias_float.
16007 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
16008 <libm-alias-float.h>.
16009 (roundf): Define using libm_alias_float.
16010 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
16011 <libm-alias-float.h>.
16012 (truncf): Define using libm_alias_float.
16013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
16014 Include <libm-alias-float.h>.
16015 (ceilf): Define using libm_alias_float.
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
16017 Include <libm-alias-float.h>.
16018 (copysignf): Define using libm_alias_float.
16019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
16020 Include <libm-alias-float.h>.
16021 (floorf): Define using libm_alias_float.
16022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
16023 Include <libm-alias-float.h>.
16024 (llrintf): Define using libm_alias_float.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
16026 Include <libm-alias-float.h>.
16027 (llroundf): Define using libm_alias_float.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
16029 Include <libm-alias-float.h>.
16030 (logbf): Define using libm_alias_float.
16031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
16032 Include <libm-alias-float.h>.
16033 (lrintf): Define using libm_alias_float.
16034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
16035 Include <libm-alias-float.h>.
16036 (lroundf): Define using libm_alias_float.
16037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
16038 Include <libm-alias-float.h>.
16039 (modff): Define using libm_alias_float.
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
16041 Include <libm-alias-float.h>.
16042 (roundf): Define using libm_alias_float.
16043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
16044 Include <libm-alias-float.h>.
16045 (truncf): Define using libm_alias_float.
16046 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
16047 <libm-alias-float.h>.
16048 (llrintf): Define using libm_alias_float.
16049 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16050 <libm-alias-float.h>.
16051 (llroundf): Define using libm_alias_float.
16052 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
16053 <libm-alias-float.h>.
16054 (ceilf): Define using libm_alias_float.
16055 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
16056 <libm-alias-float.h>.
16057 (floorf): Define using libm_alias_float.
16058 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16059 <libm-alias-float.h>.
16060 (llroundf): Define using libm_alias_float.
16061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16062 <libm-alias-float.h>.
16063 (lroundf): Define using libm_alias_float.
16064 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
16065 <libm-alias-float.h>.
16066 (roundf): Define using libm_alias_float.
16067 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
16068 <libm-alias-float.h>.
16069 (truncf): Define using libm_alias_float.
16070 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16071 <libm-alias-float.h>.
16072 (copysignf): Define using libm_alias_float.
16073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
16074 <libm-alias-float.h>.
16075 (llrintf): Define using libm_alias_float.
16076 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16077 <libm-alias-float.h>.
16078 (llroundf): Define using libm_alias_float.
16079 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16080 <libm-alias-float.h>.
16081 (lrintf): Define using libm_alias_float.
16082 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16083 <libm-alias-float.h>.
16084 (lroundf): Define using libm_alias_float.
16085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
16086 <libm-alias-float.h>.
16087 (ceilf): Define using libm_alias_float.
16088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
16089 <libm-alias-float.h>.
16090 (copysignf): Define using libm_alias_float.
16091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
16092 <libm-alias-float.h>.
16093 (cosf): Define using libm_alias_float.
16094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
16095 <libm-alias-float.h>.
16096 (floorf): Define using libm_alias_float.
16097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
16098 <libm-alias-float.h>.
16099 (llrintf): Define using libm_alias_float.
16100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
16101 <libm-alias-float.h>.
16102 (llroundf): Define using libm_alias_float.
16103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
16104 <libm-alias-float.h>.
16105 (logbf): Define using libm_alias_float.
16106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
16107 <libm-alias-float.h>.
16108 (modff): Define using libm_alias_float.
16109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
16110 <libm-alias-float.h>.
16111 (roundf): Define using libm_alias_float.
16112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
16113 <libm-alias-float.h>.
16114 (sinf): Define using libm_alias_float.
16115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
16116 <libm-alias-float.h>.
16117 (truncf): Define using libm_alias_float.
16118 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
16119 <libm-alias-float.h>.
16120 (ceilf): Define using libm_alias_float.
16121 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16122 <libm-alias-float.h>.
16123 (copysignf): Define using libm_alias_float.
16124 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
16125 <libm-alias-float.h>.
16126 (floorf): Define using libm_alias_float.
16127 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16128 <libm-alias-float.h>.
16129 (llrintf): Define using libm_alias_float.
16130 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
16131 <libm-alias-float.h>.
16132 (llroundf): Define using libm_alias_float.
16133 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
16134 <libm-alias-float.h>.
16135 (nearbyintf): Define using libm_alias_float.
16136 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
16137 <libm-alias-float.h>.
16138 (rintf): Define using libm_alias_float.
16139 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
16140 <libm-alias-float.h>.
16141 (roundf): Define using libm_alias_float.
16142 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
16143 <libm-alias-float.h>.
16144 (truncf): Define using libm_alias_float.
16145 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
16146 <libm-alias-float.h>.
16147 (ceilf): Define using libm_alias_float.
16148 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
16149 <libm-alias-float.h>.
16150 (floorf): Define using libm_alias_float.
16151 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16152 <libm-alias-float.h>.
16153 (llroundf): Define using libm_alias_float.
16154 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
16155 <libm-alias-float.h>.
16156 (roundf): Define using libm_alias_float.
16157 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
16158 <libm-alias-float.h>.
16159 (truncf): Define using libm_alias_float.
16160 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16161 <libm-alias-float.h>.
16162 (copysignf): Define using libm_alias_float.
16163 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16164 <libm-alias-float.h>.
16165 (llrintf): Define using libm_alias_float.
16166 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16167 <libm-alias-float.h>.
16168 (llroundf): Define using libm_alias_float.
16169 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
16170 <libm-alias-float.h>.
16171 (cosf): Define using libm_alias_float.
16172 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16173 <libm-alias-float.h>.
16174 (llrintf): Define using libm_alias_float.
16175 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16176 <libm-alias-float.h>.
16177 (llroundf): Define using libm_alias_float.
16178 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
16179 <libm-alias-float.h>.
16180 (sinf): Define using libm_alias_float.
16182 2017-12-04 Florian Weimer <fweimer@redhat.com>
16184 * support/check.h (TEST_COMPARE): Define.
16185 (support_test_compare_failure): Declare.
16186 * support/Makefile (libsupport-routines): Add
16187 support_test_compare_failure.
16188 (tests): Add tst-test_compare.
16189 * support /support_test_compare_failure.c: New file.
16190 * support/tst-test_compare.c: Likewise.
16192 2017-12-04 Mike FABIAN <mfabian@redhat.com>
16195 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
16196 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
16197 available, this rewrite of the collation rules does reproduce
16198 the test file in the same order.
16200 2017-12-04 Mike FABIAN <mfabian@redhat.com>
16203 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
16204 digraphs in the month and day names. Using single code points for
16205 digraphs is deprecated. While there are dedicated Unicode
16206 codepoints, for the digraphs, these are included for backwards
16207 compatibility and modern texts use a sequence of Basic Latin
16208 characters. See: https://www.unicode.org/faq/ligature_digraph.html
16209 This makes the month and day names agree exactly with CLDR now,
16210 CLDR does not use the single code points for the digraphs either.
16212 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
16214 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
16216 2017-12-04 Joseph Myers <joseph@codesourcery.com>
16218 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
16221 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
16223 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
16224 Define only for libc.so.
16226 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16229 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
16230 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
16231 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
16232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16234 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16237 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
16239 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
16242 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
16243 PREINIT_FUNCTION_WEAK is nonzero.
16244 (gmon_initializer): New function. Put procedure label for it in
16245 .init_array section.
16246 (_init): Don't call PREINIT_FUNCTION.
16247 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
16248 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
16249 value when map argument is null.
16251 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
16252 depi instruction from PIC pc-relative sequence.
16253 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
16254 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
16255 (elf_machine_load_address): Likewise.
16256 (elf_machine_runtime_setup): Likewise.
16258 2017-12-02 Joseph Myers <joseph@codesourcery.com>
16260 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
16261 <libm-alias-double.h>.
16262 (logb): Define using libm_alias_double.
16263 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
16264 <libm-alias-double.h>.
16265 (copysign): Define using libm_alias_double.
16266 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
16267 <libm-alias-double.h>.
16268 (llrint): Define using libm_alias_double.
16269 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
16270 <libm-alias-double.h>.
16271 (llround): Define using libm_alias_double.
16272 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
16273 <libm-alias-double.h>.
16274 (lrint): Define using libm_alias_double.
16275 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
16276 <libm-alias-double.h>.
16277 (lround): Define using libm_alias_double.
16278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16279 Include <libm-alias-double.h>.
16280 (copysign): Define using libm_alias_double.
16281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
16282 Include <libm-alias-double.h>.
16283 (llrint): Define using libm_alias_double.
16284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
16285 Include <libm-alias-double.h>.
16286 (llround): Define using libm_alias_double.
16287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
16288 <libm-alias-double.h>.
16289 (logb): Define using libm_alias_double.
16290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
16291 Include <libm-alias-double.h>.
16292 (lrint): Define using libm_alias_double.
16293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
16294 Include <libm-alias-double.h>.
16295 (lround): Define using libm_alias_double.
16296 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
16297 <libm-alias-double.h>.
16298 (llrint): Define using libm_alias_double.
16299 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16300 <libm-alias-double.h>.
16301 (llround): Define using libm_alias_double.
16302 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16303 <libm-alias-double.h>.
16304 (llround): Define using libm_alias_double.
16305 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16306 <libm-alias-double.h>.
16307 (lround): Define using libm_alias_double.
16308 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16309 <libm-alias-double.h>.
16310 (copysign): Define using libm_alias_double.
16311 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
16312 <libm-alias-double.h>.
16313 (llrint): Define using libm_alias_double.
16314 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16315 <libm-alias-double.h>.
16316 (llround): Define using libm_alias_double.
16317 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16318 <libm-alias-double.h>.
16319 (lrint): Define using libm_alias_double.
16320 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16321 <libm-alias-double.h>.
16322 (lround): Define using libm_alias_double.
16323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
16324 <libm-alias-double.h>.
16325 (copysign): Define using libm_alias_double.
16326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
16327 <libm-alias-double.h>.
16328 (llrint): Define using libm_alias_double.
16330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
16331 <libm-alias-double.h>.
16332 (llround): Define using libm_alias_double.
16333 (lround): Likewise.
16334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
16335 <libm-alias-double.h>.
16336 (logb): Define using libm_alias_double.
16337 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16338 <libm-alias-double.h>.
16339 (copysign): Define using libm_alias_double.
16340 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16341 <libm-alias-double.h>.
16342 (llrint): Define using libm_alias_double.
16344 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
16345 <libm-alias-double.h>.
16346 (llround): Define using libm_alias_double.
16347 (lround): Likewise.
16348 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16349 <libm-alias-double.h>.
16350 (llround): Define using libm_alias_double.
16351 (lround): Likewise.
16352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16353 <libm-alias-double.h>.
16354 (copysign): Define using libm_alias_double.
16355 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16356 <libm-alias-double.h>.
16357 (llrint): Define using libm_alias_double.
16359 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16360 <libm-alias-double.h>.
16361 (llround): Define using libm_alias_double.
16362 (lround): Likewise.
16363 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16364 <libm-alias-double.h>.
16365 (llrint): Define using libm_alias_double.
16367 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16368 <libm-alias-double.h>.
16369 (llround): Define using libm_alias_double.
16370 (lround): Likewise.
16372 2017-12-01 Joseph Myers <joseph@codesourcery.com>
16374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16375 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
16376 compat symbol based on llround.
16378 * sysdeps/powerpc/power7/fpu/s_logb.c
16379 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
16380 symbol based on __logb, not on logb.
16381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
16382 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
16383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
16384 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
16386 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
16387 (rint): Define using libm_alias_double.
16388 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
16389 <libm-alias-double.h>.
16390 (modf): Define using libm_alias_double.
16391 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
16392 <libm-alias-double.h>.
16393 (ceil): Define using libm_alias_double.
16394 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
16395 <libm-alias-double.h>.
16396 (floor): Define using libm_alias_double.
16397 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
16398 <libm-alias-double.h>.
16399 (nearbyint): Define using libm_alias_double.
16400 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
16401 <libm-alias-double.h>.
16402 (rint): Define using libm_alias_double.
16403 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
16404 <libm-alias-double.h>.
16405 (round): Define using libm_alias_double.
16406 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
16407 <libm-alias-double.h>.
16408 (trunc): Define using libm_alias_double.
16409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
16410 <libm-alias-double.h>.
16411 (ceil): Define using libm_alias_double.
16412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
16413 Include <libm-alias-double.h>.
16414 (floor): Define using libm_alias_double.
16415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
16416 <libm-alias-double.h>.
16417 (modf): Define using libm_alias_double.
16418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
16419 Include <libm-alias-double.h>.
16420 (round): Define using libm_alias_double.
16421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
16422 Include <libm-alias-double.h>.
16423 (trunc): Define using libm_alias_double.
16424 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
16425 <libm-alias-double.h>.
16426 (ceil): Define using libm_alias_double.
16427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
16428 <libm-alias-double.h>.
16429 (floor): Define using libm_alias_double.
16430 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
16431 <libm-alias-double.h>.
16432 (round): Define using libm_alias_double.
16433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
16434 <libm-alias-double.h>.
16435 (trunc): Define using libm_alias_double.
16436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
16437 <libm-alias-double.h>.
16438 (ceil): Define using libm_alias_double.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
16440 <libm-alias-double.h>.
16441 (floor): Define using libm_alias_double.
16442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
16443 <libm-alias-double.h>.
16444 (modf): Define using libm_alias_double.
16445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
16446 <libm-alias-double.h>.
16447 (round): Define using libm_alias_double.
16448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
16449 <libm-alias-double.h>.
16450 (trunc): Define using libm_alias_double.
16451 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
16452 <libm-alias-double.h>.
16453 (ceil): Define using libm_alias_double.
16454 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
16455 <libm-alias-double.h>.
16456 (floor): Define using libm_alias_double.
16457 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
16458 <libm-alias-double.h>.
16459 (nearbyint): Define using libm_alias_double.
16460 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
16461 <libm-alias-double.h>.
16462 (rint): Define using libm_alias_double.
16463 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
16464 <libm-alias-double.h>.
16465 (round): Define using libm_alias_double.
16466 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
16467 <libm-alias-double.h>.
16468 (trunc): Define using libm_alias_double.
16469 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
16470 <libm-alias-double.h>.
16471 (ceil): Define using libm_alias_double.
16472 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
16473 <libm-alias-double.h>.
16474 (floor): Define using libm_alias_double.
16475 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
16476 <libm-alias-double.h>.
16477 (round): Define using libm_alias_double.
16478 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
16479 <libm-alias-double.h>.
16480 (trunc): Define using libm_alias_double.
16482 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
16483 (fabs): Define using libm_alias_double.
16484 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
16485 (fma): Define using libm_alias_double.
16486 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
16487 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
16488 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
16489 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
16491 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16493 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
16495 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
16496 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
16497 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
16499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
16500 due redirect macro.
16502 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
16504 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
16506 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16508 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
16509 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
16510 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
16511 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
16513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16514 (libm-sysdep_routines): Add s_nearbyintf-generic and
16515 s_nearbyint-generic.
16516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
16518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
16519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
16521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
16523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
16525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
16528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16529 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
16530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
16532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
16533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
16535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
16536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
16537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16540 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
16541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
16543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
16544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
16546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
16547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
16548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
16550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16551 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
16552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
16554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
16555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
16557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
16558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
16559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16562 (sysdep_calls): New rule.
16563 (sysdep_routines): Use sysdep_calls as base.
16564 (libm-sysdep_routines): Add generic rule for symbols shared with
16565 libc. Add s_copysign-generic and s_copysign-generic objects.
16566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
16568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
16569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
16571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
16572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
16573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
16575 2017-12-01 Mike FABIAN <mfabian@redhat.com>
16578 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
16579 the list of locales to be built for testing.
16580 * localedata/is_IS.UTF-8.in: New file.
16581 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
16584 2017-12-01 Joseph Myers <joseph@codesourcery.com>
16586 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
16587 <libm-alias-float.h>.
16588 (fabsf): Define using libm_alias_float.
16590 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
16592 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
16594 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16596 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
16597 <libm-alias-float.h>.
16598 (fabsf): Define using libm_alias_float.
16599 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
16600 <libm-alias-float.h>.
16601 (lrintf): Define using libm_alias_float.
16602 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
16603 <libm-alias-float.h>.
16604 (rintf): Define using libm_alias_float.
16606 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
16607 <libm-alias-double.h>.
16608 (fabs): Define using libm_alias_double.
16609 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
16610 <libm-alias-double.h>.
16611 (lrint): Define using libm_alias_double.
16612 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
16613 <libm-alias-double.h>.
16614 (rint): Define using libm_alias_double.
16616 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
16617 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
16618 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
16619 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
16620 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
16621 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
16622 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
16623 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
16624 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
16625 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
16626 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
16627 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
16628 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
16629 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
16630 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
16631 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
16632 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
16633 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
16635 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
16636 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
16637 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
16639 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
16640 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
16641 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
16643 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
16644 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
16645 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
16646 s_expm1_template.c.
16647 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
16648 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
16649 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
16651 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
16652 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
16653 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
16654 s_floor_template.c.
16655 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
16656 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
16657 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
16658 s_frexp_template.c.
16659 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
16660 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
16661 s_lrint_template.c.
16662 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
16663 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
16664 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
16666 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
16667 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
16668 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
16669 s_nearbyint_template.c.
16670 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
16671 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
16672 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
16673 s_remquo_template.c.
16674 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
16675 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
16676 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
16678 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
16679 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
16680 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
16682 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
16683 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
16684 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
16685 s_sincos_template.c.
16686 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
16687 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
16688 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
16690 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
16691 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
16692 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
16694 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
16695 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
16696 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
16697 s_trunc_template.c.
16698 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
16699 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
16700 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
16701 s_atan.c instead of including s_atan.c.
16702 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
16703 s_atanf.c instead of including s_atanf.c.
16704 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
16705 s_atanl.c instead of including s_atanl.c.
16706 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
16707 instead of s_atan.c.
16708 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
16709 instead of s_atanf.c.
16710 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
16711 instead of s_atanl.c.
16713 * scripts/update-copyrights: Do not handle intl/plural.c
16716 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
16719 * configure.ac (BISON): Require to be present.
16720 * configure: Regenerated.
16721 * intl/Makefile (generated): Add plural.c.
16722 [$(BISON) != no]: Make code unconditional.
16723 (plural.c): Change rule to $(objpfx)plural.c.
16724 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
16725 * intl/plural.c: Remove.
16726 * manual/install.texi (Tools for Compilation): Document bison as
16728 * INSTALL: Regenerated.
16730 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16732 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
16733 <libm-alias-double.h>.
16734 (llrint): Define using libm_alias_double.
16735 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
16736 <libm-alias-float.h>.
16737 (llrintf): Define using libm_alias_float.
16738 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
16739 <libm-alias-ldouble.h>.
16740 (llrintl): Define using libm_alias_ldouble.
16742 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
16743 declare_mgen_alias instead of weak_alias.
16744 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
16745 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
16746 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
16748 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16750 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16752 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
16753 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
16754 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
16756 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16757 Add submul_1-generic.
16758 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
16759 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
16760 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
16762 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16763 Add addmul_1-generic.
16764 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
16765 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
16766 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
16768 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16770 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
16771 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
16772 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
16774 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16776 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
16777 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
16778 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
16780 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16782 According to CLDR, collation rules for Serbian and Bosnian
16783 should be the same as for Croatian.
16786 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
16787 and to the list of locales to be built for testing.
16788 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
16789 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
16790 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
16791 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
16793 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16795 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
16796 to make test case pass.
16797 * localedata/hr_HR.UTF-8.in: Add more test strings.
16799 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16801 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
16803 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
16805 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
16806 the list of locales to built for testing.
16807 * localedata/hr_HR.UTF-8.in: New file.
16809 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
16812 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
16814 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
16815 CLDR (except use ligatures for the digraphs, CLDR does not use
16816 the ligatures), add first_workday, some fixes in the date and time
16818 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
16820 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
16821 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
16822 Add int_p_cs_precedes and int_n_cs_precedes.
16823 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
16824 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
16826 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
16827 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
16829 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
16830 and lang_lib. Change postal_fmt.
16832 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
16834 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
16836 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
16837 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
16838 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
16839 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
16840 * sysdeps/generic/setjmpP.h: New file.
16841 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
16842 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
16843 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
16844 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
16845 Add jmp_buf-ssp.sym.
16846 (tests): Add tst-saved_mask-1.
16848 2017-11-30 Arjun Shankar <arjun@redhat.com>
16852 * malloc/malloc.c (__libc_malloc): Use checked_request2size
16853 instead of request2size.
16855 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
16858 (__lllrint): Remove alias.
16859 (lllrint): Likewise.
16860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
16861 (__lllrintf): Likewise.
16862 (lllrintf): Likewise.
16864 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
16865 <libm-alias-float.h>.
16866 (copysignf): Define using libm_alias_float.
16867 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
16868 <libm-alias-float.h>.
16869 (fabsf): Define using libm_alias_float.
16870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16871 Include <libm-alias-float.h>.
16872 (copysignf): Define using libm_alias_float.
16873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
16874 <libm-alias-float.h>.
16875 (fabsf): Define using libm_alias_float.
16876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
16877 <libm-alias-float.h>.
16878 (fdimf): Define using libm_alias_float.
16879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
16880 <libm-alias-float.h>.
16881 (fmaf): Define using libm_alias_float.
16882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
16883 <libm-alias-float.h>.
16884 (llrintf): Define using libm_alias_float.
16885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
16886 Include <libm-alias-float.h>.
16887 (nearbyintf): Define using libm_alias_float.
16888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
16889 <libm-alias-float.h>.
16890 (rintf): Define using libm_alias_float.
16891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
16892 <libm-alias-float.h>.
16893 (llrintf): Define using libm_alias_float.
16894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
16895 <libm-alias-float.h>.
16896 (lrintf): Define using libm_alias_float.
16897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
16898 <libm-alias-float.h>.
16899 (nearbyintf): Define using libm_alias_float.
16900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
16901 <libm-alias-float.h>.
16902 (rintf): Define using libm_alias_float.
16903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
16904 <libm-alias-float.h>.
16905 (ceilf): Define using libm_alias_float.
16906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
16907 <libm-alias-float.h>.
16908 (floorf): Define using libm_alias_float.
16909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
16910 <libm-alias-float.h>.
16911 (fmaf): Define using libm_alias_float.
16912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
16913 <libm-alias-float.h>.
16914 (lrintf): Define using libm_alias_float.
16915 (llrintf): Likewise.
16916 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
16917 <libm-alias-float.h>.
16918 (nearbyintf): Define using libm_alias_float.
16919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
16920 <libm-alias-float.h>.
16921 (rintf): Define using libm_alias_float.
16922 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
16923 <libm-alias-float.h>.
16924 (truncf): Define using libm_alias_float.
16925 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
16926 <libm-alias-float.h>.
16927 (copysignf): Define using libm_alias_float.
16928 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
16929 <libm-alias-float.h>.
16930 (fabsf): Define using libm_alias_float.
16931 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
16932 <libm-alias-float.h>.
16933 (lrintf): Define using libm_alias_float.
16934 (llrintf): Likewise.
16935 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
16936 <libm-alias-float.h>.
16937 (nearbyintf): Define using libm_alias_float.
16938 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
16939 <libm-alias-float.h>.
16940 (rintf): Define using libm_alias_float.
16942 2017-11-29 Joseph Myers <joseph@codesourcery.com>
16944 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
16945 <libm-alias-double.h>.
16946 (copysign): Define using libm_alias_double.
16947 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
16948 <libm-alias-double.h>.
16949 (fabs): Define using libm_alias_double.
16950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16951 Include <libm-alias-double.h>.
16952 (copysign): Define using libm_alias_double.
16953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
16954 <libm-alias-double.h>.
16955 (fabs): Define using libm_alias_double.
16956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
16957 <libm-alias-double.h>.
16958 (fdim): Define using libm_alias_double.
16959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
16960 <libm-alias-double.h>.
16961 (fma): Define using libm_alias_double.
16962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
16963 <libm-alias-double.h>.
16964 (llrint): Define using libm_alias_double.
16965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
16966 Include <libm-alias-double.h>.
16967 (nearbyint): Define using libm_alias_double.
16968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
16969 <libm-alias-double.h>.
16970 (rint): Define using libm_alias_double.
16971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
16972 <libm-alias-double.h>.
16973 (fabs): Define using libm_alias_double.
16974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
16975 <libm-alias-double.h>.
16976 (llrint): Define using libm_alias_double.
16977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
16978 <libm-alias-double.h>.
16979 (nearbyint): Define using libm_alias_double.
16980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
16981 <libm-alias-double.h>.
16982 (rint): Define using libm_alias_double.
16983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
16984 <libm-alias-double.h>.
16985 (ceil): Define using libm_alias_double.
16986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
16987 <libm-alias-double.h>.
16988 (floor): Define using libm_alias_double.
16989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
16990 <libm-alias-double.h>.
16991 (fma): Define using libm_alias_double.
16992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
16993 <libm-alias-double.h>.
16994 (lrint): Define using libm_alias_double.
16995 (llrint): Likewise.
16996 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
16997 <libm-alias-double.h>.
16998 (nearbyint): Define using libm_alias_double.
16999 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
17000 <libm-alias-double.h>.
17001 (rint): Define using libm_alias_double.
17002 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
17003 <libm-alias-double.h>.
17004 (trunc): Define using libm_alias_double.
17005 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
17006 <libm-alias-double.h>.
17007 (copysign): Define using libm_alias_double.
17008 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
17009 <libm-alias-double.h>.
17010 (fabs): Define using libm_alias_double.
17011 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
17012 <libm-alias-double.h>.
17013 (lrint): Define using libm_alias_double.
17014 (llrint): Likewise.
17015 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
17016 <libm-alias-double.h>.
17017 (nearbyint): Define using libm_alias_double.
17018 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
17019 <libm-alias-double.h>.
17020 (rint): Define using libm_alias_double.
17023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17025 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
17027 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17028 SPARC --disable-multi-arch glibc variants.
17030 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
17031 <libm-alias-float.h>.
17032 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17034 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
17035 <libm-alias-float.h>.
17036 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17038 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
17039 <libm-alias-float.h>.
17040 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17042 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
17043 <libm-alias-float.h>.
17044 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17046 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
17047 <libm-alias-float.h>.
17048 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17050 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
17051 <libm-alias-float.h>.
17052 (ceilf): Define using libm_alias_float.
17053 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
17054 <libm-alias-float.h>.
17055 (floorf): Define using libm_alias_float.
17056 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
17057 <libm-alias-float.h>.
17058 (fmaf): Define using libm_alias_float.
17059 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
17060 <libm-alias-float.h>.
17061 (nearbyintf): Define using libm_alias_float.
17062 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
17063 <libm-alias-float.h>.
17064 (rintf): Define using libm_alias_float.
17065 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
17066 <libm-alias-float.h>.
17067 (truncf): Define using libm_alias_float.
17068 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17069 (copysignf): Define using libm_alias_float.
17070 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
17071 (cosf): Define using libm_alias_float.
17072 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17073 (fabsf): Define using libm_alias_float.
17074 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17075 (fmaxf): Define using libm_alias_float.
17076 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
17077 (fminf): Define using libm_alias_float.
17078 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17079 (llrintf): Define using libm_alias_float.
17080 [!__ILP32__] (lrintf): Likewise.
17081 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
17082 (sincosf): Define using libm_alias_float.
17083 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
17084 (sinf): Define using libm_alias_float.
17085 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17086 (lrintf): Define using libm_alias_float.
17088 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
17089 <libm-alias-double.h>.
17090 (atan): Define using libm_alias_double.
17091 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
17092 <libm-alias-double.h>.
17093 (ceil): Define using libm_alias_double.
17094 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
17095 <libm-alias-double.h>.
17096 (floor): Define using libm_alias_double.
17097 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
17098 <libm-alias-double.h>.
17099 (fma): Define using libm_alias_double.
17100 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
17101 <libm-alias-double.h>.
17102 (nearbyint): Define using libm_alias_double.
17103 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
17104 <libm-alias-double.h>.
17105 (rint): Define using libm_alias_double.
17106 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
17107 <libm-alias-double.h>.
17108 (sin): Define using libm_alias_double.
17110 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
17111 <libm-alias-double.h>.
17112 (tan): Define using libm_alias_double.
17113 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
17114 <libm-alias-double.h>.
17115 (trunc): Define using libm_alias_double.
17116 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
17117 (copysign): Define using libm_alias_double.
17118 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
17119 (fabs): Define using libm_alias_double.
17120 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
17121 (fmax): Define using libm_alias_double.
17122 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
17123 (fmin): Define using libm_alias_double.
17124 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
17125 (llrint): Define using libm_alias_double.
17126 [!__ILP32__] (lrint): Likewise.
17127 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
17128 (lrint): Define using libm_alias_double.
17130 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17133 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
17135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
17136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
17137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
17138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
17139 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
17140 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17142 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17143 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
17145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
17146 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
17147 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
17148 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
17149 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
17150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17152 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17153 (libm-sysdep_routines): Add s_nearbyint-generic and
17154 s_nearbyintf-generic objects.
17155 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
17156 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
17157 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
17158 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
17159 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
17160 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
17162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17163 Add s_finitef-generic and s_finite-generic objects.
17164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
17165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
17166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
17167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
17168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
17169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
17171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17172 Add s_isinff-generic and s_isinf-generic objects.
17173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
17174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
17175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
17176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
17177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
17178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17181 Add s_isnanf-generic and s_isnan-generic objects.
17182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
17183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
17184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
17185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
17186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
17187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17189 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
17191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
17193 (sysdep_routines): Use sysdep_calls as base.
17194 (libm-sysdep_routines): Add generic rule for symbols shared with
17195 libc. Add s_signbit-generic and s_signbitf-generic objects.
17196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
17197 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
17198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
17199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
17200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
17201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17203 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17205 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
17206 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
17207 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
17208 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
17209 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
17210 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
17211 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
17212 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
17213 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
17214 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
17215 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
17216 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
17217 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
17218 libm_alias_float_r.
17219 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
17220 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
17222 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
17223 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
17224 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
17225 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
17226 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
17227 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
17228 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
17229 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
17230 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
17231 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
17233 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
17235 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
17236 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
17237 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
17238 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
17239 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
17240 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
17241 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
17242 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
17243 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
17244 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
17245 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
17246 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
17247 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
17248 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
17249 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
17250 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
17251 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
17252 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
17253 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
17255 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
17256 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
17257 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
17258 * sysdeps/ia64/fpu/w_lgammaf_main.c
17259 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
17260 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
17262 2017-11-28 Mike FABIAN <mfabian@redhat.com>
17263 Alexandre Oliva <aoliva@redhat.com>
17266 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
17267 * localedata/fr_CA.UTF-8.in: New file with test data for backward
17269 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
17271 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
17272 * localedata/locales/de_DE (LC_COLLATE): Likewise.
17273 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
17274 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
17275 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
17276 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
17277 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
17278 instead of “ifdef DIACRIT_BACKWARD”.
17280 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17282 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
17283 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
17284 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17285 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
17286 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
17287 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
17288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
17293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
17294 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17295 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17296 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
17297 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
17298 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
17299 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
17300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17301 ($(have-as-vis3) == yes): Remove conditional.
17302 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
17304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
17306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
17308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
17310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
17312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
17313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
17314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
17315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
17316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
17317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
17318 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
17319 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
17321 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17323 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
17324 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
17325 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
17326 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
17327 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
17328 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
17329 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
17330 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
17331 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
17332 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
17333 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
17334 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
17335 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
17336 libm_alias_double_r.
17337 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
17339 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
17340 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
17341 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
17342 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
17343 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
17344 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
17345 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
17346 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
17347 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
17348 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
17349 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
17351 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
17353 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
17354 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
17355 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
17356 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
17357 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
17358 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
17359 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
17360 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
17361 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
17362 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
17363 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
17364 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
17365 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
17366 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
17367 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
17368 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
17369 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
17370 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
17372 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
17373 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
17374 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
17375 * sysdeps/ia64/fpu/w_lgamma_main.c
17376 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
17377 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
17379 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
17381 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
17382 address of $global$ into %dp register earlier. Use pc-relative
17383 instruction sequence for PIC case.
17385 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17387 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
17388 (asinhf): Define using libm_alias_float.
17389 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
17390 (atanf): Define using libm_alias_float.
17391 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
17392 (cbrtf): Define using libm_alias_float.
17393 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
17394 (ceilf): Define using libm_alias_float.
17395 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17396 (copysignf): Define using libm_alias_float.
17397 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
17398 (expm1f): Define using libm_alias_float.
17399 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
17400 (fabsf): Define using libm_alias_float.
17401 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
17402 (floorf): Define using libm_alias_float.
17403 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17404 (fmaxf): Define using libm_alias_float.
17405 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
17406 (fminf): Define using libm_alias_float.
17407 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
17408 (frexpf): Define using libm_alias_float.
17409 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17410 (llrintf): Define using libm_alias_float.
17411 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
17412 (logbf): Define using libm_alias_float.
17413 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17414 (lrintf): Define using libm_alias_float.
17415 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
17416 (nearbyintf): Define using libm_alias_float.
17417 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
17418 (remquof): Define using libm_alias_float.
17419 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
17420 (rintf): Define using libm_alias_float.
17421 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
17422 (truncf): Define using libm_alias_float.
17423 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
17424 <libm-alias-float.h>.
17425 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17427 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
17428 <libm-alias-float.h>.
17429 (expf): Define using libm_alias_float, or libm_alias_float_other
17431 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
17432 <libm-alias-float.h>.
17433 (log2f): Define using libm_alias_float, or libm_alias_float_other
17435 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
17436 <libm-alias-float.h>.
17437 (logf): Define using libm_alias_float, or libm_alias_float_other
17439 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
17440 <libm-alias-float.h>.
17441 (powf): Define using libm_alias_float, or libm_alias_float_other
17443 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
17444 <libm-alias-float.h>.
17445 (cosf): Define using libm_alias_float.
17446 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
17447 <libm-alias-float.h>.
17448 (sincosf): Define using libm_alias_float.
17449 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
17450 <libm-alias-float.h>.
17451 (sinf): Define using libm_alias_float.
17452 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17453 (fmaxf): Define using libm_alias_float.
17454 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
17455 (fminf): Define using libm_alias_float.
17456 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17457 <libm-alias-float.h>.
17458 (fmaf): Define using libm_alias_float.
17460 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
17461 (asinh): Define using libm_alias_double.
17462 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
17463 (atan): Define using libm_alias_double.
17464 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
17465 (cbrt): Define using libm_alias_double.
17466 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
17467 (ceil): Define using libm_alias_double.
17468 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
17469 (copysign): Define using libm_alias_double.
17470 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
17471 (expm1): Define using libm_alias_double.
17472 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
17473 (fabs): Define using libm_alias_double.
17474 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
17475 (fdim): Define using libm_alias_double.
17476 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
17477 (floor): Define using libm_alias_double.
17478 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
17479 (fmax): Define using libm_alias_double.
17480 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
17481 (fmin): Define using libm_alias_double.
17482 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
17483 (frexp): Define using libm_alias_double.
17484 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
17485 (llrint): Define using libm_alias_double.
17486 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
17487 (logb): Define using libm_alias_double.
17488 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
17489 (lrint): Define using libm_alias_double.
17490 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
17491 (nearbyint): Define using libm_alias_double.
17492 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
17493 (remquo): Define using libm_alias_double.
17494 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
17495 (rint): Define using libm_alias_double.
17496 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
17497 (trunc): Define using libm_alias_double.
17498 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
17499 (fmax): Define using libm_alias_double.
17500 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
17501 (fmin): Define using libm_alias_double.
17502 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
17503 (fma): Define using libm_alias_double.
17505 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
17508 * elf/dl-hwcaps.c (ROUND): Removed.
17509 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
17510 and ELF_NOTE_NEXT_OFFSET.
17511 * elf/dl-load.c (ROUND): Removed.
17512 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
17513 * elf/readelflib.c (ROUND): Removed.
17514 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
17515 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
17516 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
17517 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
17519 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17521 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
17522 [!__fmaf] (fmaf): Define using libm_alias_float.
17524 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
17525 [!__fma] (fma): Define using libm_alias_double.
17526 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
17528 2017-11-28 Mike FABIAN <mfabian@redhat.com>
17531 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
17532 and implement the collation rules for cs from CLDR on top of that.
17533 * Makefile: Add cs_CZ.UTF-8 to test-input.
17534 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
17536 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
17538 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
17540 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
17541 Icarus Sparry <icarus.w.sparry@intel.com>
17543 * benchtests/Makefile:Add BENCHSET to allow subsets of
17544 benchmarks to be run.
17545 * benchtests/README: Add documentation for: Running subsets of
17548 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
17550 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
17551 range of tests names.
17553 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
17554 result from property and remove "max", min" and "mean" from
17555 required properties based on benchtests/bench-skeleton.c.
17557 2017-11-28 Florian Weimer <fweimer@redhat.com>
17560 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
17561 due to Internet requirement.
17562 * posix/Makefile (tests): Remove tst-getaddrinfo4,
17564 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
17566 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17568 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17569 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
17570 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
17571 (sysdep_routines): Add memset-ultra1.
17572 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
17574 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
17575 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
17576 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
17577 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
17578 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
17579 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
17580 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
17581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
17585 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
17586 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
17587 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
17588 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
17589 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
17590 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
17591 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
17593 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17594 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
17595 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
17596 (sysdep_routines): Add memcpy-ultra1.
17597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
17598 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
17600 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17602 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
17603 (cfloat_versions): Take function argument without trailing 'f'.
17604 Call libm_alias_float_other.
17605 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
17606 * sysdeps/alpha/fpu/cargf.c: Likewise.
17607 * sysdeps/alpha/fpu/cimagf.c: Likewise.
17608 * sysdeps/alpha/fpu/conjf.c: Likewise.
17609 * sysdeps/alpha/fpu/crealf.c: Likewise.
17610 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
17611 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17612 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
17613 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17614 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
17615 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17616 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17617 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17618 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
17619 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
17620 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
17621 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
17622 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17623 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17624 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
17625 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17626 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17627 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
17628 (clog10f): Use libm_alias_float_other.
17629 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
17630 (ceilf): Define using libm_alias_float.
17631 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
17632 (copysignf): Define using libm_alias_float.
17633 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17634 (fabsf): Define using libm_alias_float.
17635 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
17636 (floorf): Define using libm_alias_float.
17637 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
17638 (fmaxf): Define using libm_alias_float.
17639 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
17640 (fminf): Define using libm_alias_float.
17641 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
17642 (lrintf): Define using libm_alias_float.
17643 (llrintf): Likewise.
17644 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
17645 (lroundf): Define using libm_alias_float.
17646 (llroundf): Likewise.
17647 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
17648 (rintf): Define using libm_alias_float.
17649 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
17650 (truncf): Define using libm_alias_float.
17652 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
17653 (ceilf): Define using libm_alias_float.
17654 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
17655 (floorf): Define using libm_alias_float.
17656 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
17657 (fmaf): Define using libm_alias_float.
17658 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
17659 (fmaxf): Define using libm_alias_float.
17660 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
17661 (fminf): Define using libm_alias_float.
17662 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
17663 (llrintf): Define using libm_alias_float.
17664 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
17665 (llroundf): Define using libm_alias_float.
17666 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
17667 (lrintf): Define using libm_alias_float.
17668 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
17669 (lroundf): Define using libm_alias_float.
17670 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
17671 <libm-alias-float.h>.
17672 (nearbyintf): Define using libm_alias_float.
17673 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
17674 (rintf): Define using libm_alias_float.
17675 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
17676 (roundf): Define using libm_alias_float.
17677 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
17678 (truncf): Define using libm_alias_float.
17680 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
17681 (ceil): Define using libm_alias_double.
17682 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
17683 (copysign): Define using libm_alias_double.
17684 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
17685 (fabs): Define using libm_alias_double.
17686 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
17687 (floor): Define using libm_alias_double.
17688 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
17689 (fmax): Define using libm_alias_double.
17690 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
17691 (fmin): Define using libm_alias_double.
17692 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
17693 (lrint): Define using libm_alias_double.
17694 (llrint): Likewise.
17695 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
17696 (lround): Define using libm_alias_double.
17697 (llround): Likewise.
17698 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
17699 (rint): Define using libm_alias_double.
17700 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
17701 (trunc): Define using libm_alias_double.
17703 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
17704 (libm_alias_double_r): Add semicolon after weak_alias call.
17706 2017-11-27 Joseph Myers <joseph@codesourcery.com>
17708 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
17709 (ceil): Define using libm_alias_double.
17710 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
17711 (floor): Define using libm_alias_double.
17712 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
17713 (fma): Define using libm_alias_double.
17714 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
17715 (fmax): Define using libm_alias_double.
17716 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
17717 (fmin): Define using libm_alias_double.
17718 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
17719 (llrint): Define using libm_alias_double.
17720 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
17721 (llround): Define using libm_alias_double.
17722 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
17723 (lrint): Define using libm_alias_double.
17724 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
17725 (lround): Define using libm_alias_double.
17726 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
17727 (nearbyint): Define using libm_alias_double.
17728 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
17729 (rint): Define using libm_alias_double.
17730 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
17731 (round): Define using libm_alias_double.
17732 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
17733 (trunc): Define using libm_alias_double.
17735 2017-11-27 Florian Weimer <fweimer@redhat.com>
17737 * sysdeps/unix/sysv/linux/mlock2.c: New file.
17738 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
17739 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
17740 (tests): Add tst-mlock2.
17741 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
17742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
17743 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
17744 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
17745 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
17746 for mlock. Document mlock2.
17748 2017-11-27 Joseph Myers <joseph@codesourcery.com>
17750 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
17751 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
17753 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
17755 * sysdeps/x86/Makeconfig: New file.
17756 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
17757 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17758 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
17759 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17760 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17761 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17762 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
17764 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17765 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17766 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17767 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17768 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17769 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17770 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17771 * manual/math.texi (Mathematics): Document support for _Float64x.
17772 * math/Versions (GLIBC_2.27): Add _Float64x functions.
17773 * stdlib/Versions (GLIBC_2.27): Likewise.
17774 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17775 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17776 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17790 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17796 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17802 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17803 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17805 2017-11-27 Andreas Schwab <schwab@suse.de>
17807 * elf/Makefile (dl-routines): Add dl-sort-maps.
17808 * elf/dl-sort-maps.c: New file.
17809 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
17810 (_dl_sort_maps): Declare.
17811 * elf/dl-fini.c (_dl_sort_fini): Remove.
17812 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
17813 * elf/dl-close.c (_dl_close_worker): Likewise.
17814 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
17816 * elf/dl-open.c (dl_open_worker): Likewise.
17818 2017-11-24 Joseph Myers <joseph@codesourcery.com>
17820 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
17821 using libm_alias_float128.
17822 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
17824 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
17826 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
17827 (setpayloadsigf128): Likewise.
17828 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
17830 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
17833 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
17834 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
17835 -mfloat128 to CFLAGS.
17837 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
17839 (CFLAGS-libm-test-support-float64x.c): New variable.
17840 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
17841 $(f128-loader-link) to gnulib-tests.
17843 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
17844 (libm_alias_float128_other_r): If
17845 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
17847 (libm_alias_float128_r): Add semicolon after weak_alias call.
17848 * sysdeps/generic/libm-alias-ldouble.h
17849 (libm_alias_ldouble_other_r_f128): New macro.
17850 (libm_alias_ldouble_other_r_f64x): Likewise.
17851 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
17852 and libm_alias_ldouble_other_r_f64x.
17853 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
17854 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
17855 (libm_alias_ldouble_other_r_f128): New macro.
17856 (libm_alias_ldouble_other_r_f64x): Likewise.
17857 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
17858 and libm_alias_ldouble_other_r_f64x.
17860 * stdlib/strfroml.c: Always include <stdlib.h>.
17861 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
17862 undefine as macro and define as weak alias.
17863 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
17864 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
17866 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
17867 Define and later undefine as macro and define as weak alias.
17869 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
17870 Define and later undefine as macro. Define as weak alias if
17872 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
17873 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17874 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
17875 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
17876 Define and later undefine as macro. Define as weak alias if
17878 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
17879 Define and later undefine as macro. Define as weak alias if
17881 * sysdeps/ieee754/float128/strtof128_l.c
17882 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
17883 Define and later undefine as macro. Define as weak alias if
17885 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
17886 Define and later undefine as macro. Define as weak alias if
17888 * sysdeps/ieee754/ldbl-128/strtold_l.c
17889 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17890 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17891 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17892 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17893 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
17894 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17895 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17896 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17897 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17898 * sysdeps/ieee754/ldbl-96/strtold_l.c
17899 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17900 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17901 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17902 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17904 * math/test-float64x.h: New file.
17905 * math/Makefile (type-float64x-yes): New variable.
17906 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
17908 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
17909 function-like macro.
17910 (min_of_type_): Likewise.
17911 (min_of_type_l): Likewise.
17912 (min_of_type_f128): Likewise.
17913 (min_of_type): Pass () as last argument of __MATH_TG.
17915 * stdlib/tst-strtod-round-skeleton.c
17916 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
17919 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
17920 for combinations of long double with _Float64 and _Float64x.
17922 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
17923 (__DECL_SIMD_cosf32): Likewise.
17924 (__DECL_SIMD_cosf64): Likewise.
17925 (__DECL_SIMD_cosf32x): Likewise.
17926 (__DECL_SIMD_cosf64x): Likewise.
17927 (__DECL_SIMD_cosf128x): Likewise.
17928 (__DECL_SIMD_sinf16): Likewise.
17929 (__DECL_SIMD_sinf32): Likewise.
17930 (__DECL_SIMD_sinf64): Likewise.
17931 (__DECL_SIMD_sinf32x): Likewise.
17932 (__DECL_SIMD_sinf64x): Likewise.
17933 (__DECL_SIMD_sinf128x): Likewise.
17934 (__DECL_SIMD_sincosf16): Likewise.
17935 (__DECL_SIMD_sincosf32): Likewise.
17936 (__DECL_SIMD_sincosf64): Likewise.
17937 (__DECL_SIMD_sincosf32x): Likewise.
17938 (__DECL_SIMD_sincosf64x): Likewise.
17939 (__DECL_SIMD_sincosf128x): Likewise.
17940 (__DECL_SIMD_logf16): Likewise.
17941 (__DECL_SIMD_logf32): Likewise.
17942 (__DECL_SIMD_logf64): Likewise.
17943 (__DECL_SIMD_logf32x): Likewise.
17944 (__DECL_SIMD_logf64x): Likewise.
17945 (__DECL_SIMD_logf128x): Likewise.
17946 (__DECL_SIMD_expf16): Likewise.
17947 (__DECL_SIMD_expf32): Likewise.
17948 (__DECL_SIMD_expf64): Likewise.
17949 (__DECL_SIMD_expf32x): Likewise.
17950 (__DECL_SIMD_expf64x): Likewise.
17951 (__DECL_SIMD_expf128x): Likewise.
17952 (__DECL_SIMD_powf16): Likewise.
17953 (__DECL_SIMD_powf32): Likewise.
17954 (__DECL_SIMD_powf64): Likewise.
17955 (__DECL_SIMD_powf32x): Likewise.
17956 (__DECL_SIMD_powf64x): Likewise.
17957 (__DECL_SIMD_powf128x): Likewise.
17959 * stdlib/Versions (libc): Move entries for wcstof128 and
17960 wcstof128_l to ....
17961 * wcsmbs/Versions (libc): ... here.
17962 Include <float128-abi.h>.
17964 2017-11-24 Florian Weimer <fweimer@redhat.com>
17966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17967 bits/mman-shared.h.
17968 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
17969 <bits/mman-shared.h>.
17970 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
17972 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
17973 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
17974 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
17975 <bits/mman-shared.h>.
17977 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17980 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
17981 posix_memalign/free.
17982 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
17984 2017-11-22 Mike FABIAN <mfabian@redhat.com>
17987 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
17988 and implement the collation rules for pl from CLDR on top of that.
17989 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
17990 of locales to be built for testing.
17991 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
17993 2017-11-23 Joseph Myers <joseph@codesourcery.com>
17995 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
17996 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
17997 libm_alias_ldouble_other.
17998 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
17999 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
18000 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
18001 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
18002 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
18003 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
18004 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
18005 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
18006 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
18007 libm_alias_ldouble_r.
18008 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
18009 libm_alias_ldouble_other.
18010 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
18011 (log10l): Likewise.
18012 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
18013 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
18014 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
18015 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
18016 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
18017 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
18018 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
18019 (atan2l): Likewise.
18020 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
18021 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
18022 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
18023 libm_alias_ldouble.
18024 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
18026 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
18027 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
18028 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
18030 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
18031 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
18032 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
18033 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
18034 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
18035 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
18036 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
18037 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
18038 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
18039 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
18040 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
18041 libm_alias_ldouble.
18042 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
18043 libm_alias_ldouble_other.
18044 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
18045 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
18046 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
18047 libm_alias_ldouble.
18048 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
18049 libm_alias_ldouble_other.
18050 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
18051 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
18052 * sysdeps/ia64/fpu/w_lgammal_main.c
18053 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
18054 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
18056 2017-11-23 Florian Weimer <fweimer@redhat.com>
18058 * malloc/malloc.c (tcache_thread_shutdown): Rename from
18059 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
18060 alike. Remove freeres marker.
18061 * malloc/arena.c (arena_thread_freeres): Call
18062 tcache_thread_shutdown.
18064 2017-11-23 Florian Weimer <fweimer@redhat.com>
18067 Export nscd hash function as __nss_hash.
18068 * include/nss.h (__nss_hash): Declare.
18069 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
18071 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
18072 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
18074 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
18075 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
18076 * nss/Makefiles (routines): Add nss_hash.
18077 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
18078 * nss/nss_hash.c: Rename from nis/nis_hash.c.
18079 (__nss_hash): Rename from __nis_hash. Define hidden alias.
18080 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
18082 2017-11-23 Florian Weimer <fweimer@redhat.com>
18085 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
18086 Return error code, not -1.
18087 * signal/tst-sigwait-eintr.c: New file.
18088 * signal/Makefile (tests): Add tst-sigwait-eintr.
18090 2017-11-23 Florian Weimer <fweimer@redhat.com>
18092 Linux: Add memfd_create system call wrapper
18093 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
18095 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
18096 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
18097 [__USE_GNU] (memfd_create): Declare.
18098 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
18099 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
18100 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
18101 * sysdeps/unix/sysv/linux/**.abilist: Update.
18102 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
18104 2017-11-22 Joseph Myers <joseph@codesourcery.com>
18106 * localedata/gen-locale.sh: Fix typo in variable name.
18108 * resolv/res_debug.c (p_secstodate): Condition definition on
18109 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
18110 directly as __p_secstodate, and as a compat symbol. Do not use
18111 libresolv_hidden_def.
18112 * resolv/resolv.h (p_secstodate): Remove macro and function
18114 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
18115 using p_secstodate.
18116 * include/resolv.h (__p_secstodate): Do not use
18117 libresolv_hidden_proto.
18118 * resolv/Makefile (tests): Move tst-p_secstodate to ....
18119 (tests-internal): ... here.
18120 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
18121 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
18122 and declare and use __p_secstodate and use compat_symbol_reference
18124 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
18125 implementation returning 77.
18128 * resolv/res_debug.c: Include <libc-diag.h>.
18129 (p_secstodate): Assert time_t at least as wide as u_long. On
18130 overflow, use integer seconds since the epoch as output, or use
18131 "<overflow>" as output and set errno to EOVERFLOW if integer
18132 seconds since the epoch would be 14 or more characters.
18133 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
18135 * resolv/tst-p_secstodate.c: New file.
18136 * resolv/Makefile (tests): Add tst-p_secstodate.
18137 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
18139 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
18140 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18141 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
18143 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
18145 * posix/regcomp.c (init_word_char): Add comments.
18147 2017-11-22 Joseph Myers <joseph@codesourcery.com>
18150 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
18151 strlen to compute length of ut_user and set trailing NUL byte of
18154 2017-11-21 Mike FABIAN <mfabian@redhat.com>
18157 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
18158 using “copy "iso14651_t1"” and then implementing the
18159 collation rules for lv from CLDR on top of that.
18160 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
18161 of locales to be built for testing.
18162 * lv_LV.UTF-8.in: New file with test data to test the Latvian
18165 2017-11-21 Joseph Myers <joseph@codesourcery.com>
18167 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18168 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
18169 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
18170 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
18171 [__USE_MISC] (MADV_HWPOISON): New macro.
18172 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
18174 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18176 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
18177 -Wmissing-braces on GCC 4.9.
18179 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18181 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
18182 * sysdeps/s390/s390-32/start.S (_start): Likewise
18183 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
18184 (thread_start): Likewise.
18185 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
18186 (thread_start): Likewise.
18187 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
18188 (__makecontext_ret): Likewise.
18189 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
18190 (__makecontext_ret): Likewise.
18192 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18194 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
18195 __wcschrnul): Remove attribute_hidden.
18197 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
18199 regex: don't assume uint64_t or uint32_t
18200 This avoids -Werror=overflow errors for 32-bit systems in
18201 the 64-bit case. Problem reported by Joseph Myers in:
18202 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
18203 Also, when this code is used in Gnulib it ports to platforms
18204 that lack uint64_t and uint32_t. The C standard doesn't guarantee
18205 them, and on some 32-bit compilers there is no uint64_t.
18206 Problem reported by Gianluigi Tiesi in:
18207 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
18208 * posix/regcomp.c (init_word_char): Don't assume that the types
18209 uint64_t and uint32_t exist. Adapted from Gnulib patch
18210 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
18211 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
18213 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
18215 * sysdeps/aarch64/memset-reg.h: New file.
18216 * sysdeps/aarch64/memset.S: Use it.
18217 (__memset): Rename to MEMSET macro.
18218 [ZVA_MACRO]: Use zva_macro.
18219 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18220 Add memset_generic and memset_falkor.
18221 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
18222 (__libc_ifunc_impl_list): Add memset ifuncs.
18223 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
18224 local variable zva_size.
18225 * sysdeps/aarch64/multiarch/memset.c: New file.
18226 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
18227 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
18228 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
18229 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
18230 (DCZID_DZP_MASK): New macro.
18231 (DCZID_BS_MASK): Likewise.
18232 (init_cpu_features): Read and set zva_size.
18233 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
18234 (struct cpu_features): New member zva_size.
18236 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
18237 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
18238 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
18240 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
18241 backwards. Fix timing computation.
18242 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
18243 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
18244 on memset by N at a time. Fix timing computation.
18246 2017-11-20 Florian Weimer <fweimer@redhat.com>
18248 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
18249 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
18251 2017-11-19 Florian Weimer <fweimer@redhat.com>
18253 manual: Document mprotect
18254 * manual/memory.texi (Memory Protection): New section.
18255 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
18256 documentation of PROT_* flags and reference the Memory Protection
18259 2017-11-19 Florian Weimer <fweimer@redhat.com>
18261 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
18262 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
18263 (Scatter-Gather): ... to here. Remove misleading comment.
18265 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
18267 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
18270 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
18271 when /proc/<pid>/setgroups does not exist.
18273 2017-11-18 Florian Weimer <fweimer@redhat.com>
18275 * sysdeps/unix/sysv/linux/tst-ttyname.c
18276 (become_root_in_mount_ns): Remove.
18277 (do_in_chroot_1): Call support_enter_mount_namespace.
18278 (do_in_chroot_2): Likewise.
18279 (do_test): Call support_become_root early.
18281 2017-11-18 Florian Weimer <fweimer@redhat.com>
18283 * support/namespace.h (support_enter_mount_namespace): Declare.
18284 * support/support_enter_mount_namespace.c: New file.
18285 * support/Makefile (libsupport-routines): Add
18286 support_enter_mount_namespace.
18288 2017-11-18 Florian Weimer <fweimer@redhat.com>
18290 * support/temp_file.c (support_create_temp_directory): Use
18291 test_dir and do not rely on the presence of the XXXXXX suffix.
18292 * support/temp_file.h (support_create_temp_directory): Update
18294 * support/tst-xreadlink.c (do_test): Adjust.
18295 * support/support_chroot.c (support_chroot_create): Likewise.
18297 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18299 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
18301 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
18304 2017-11-17 Joseph Myers <joseph@codesourcery.com>
18306 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
18307 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
18308 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
18309 (ceill): Define using libm_alias_ldouble.
18310 * sysdeps/x86_64/fpu/s_copysignl.S: Include
18311 <libm-alias-ldouble.h>.
18312 (copysignl): Define using libm_alias_ldouble.
18313 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
18314 (fabsl): Define using libm_alias_ldouble.
18315 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
18316 (floorl): Define using libm_alias_ldouble.
18317 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18318 (fmaxl): Define using libm_alias_ldouble.
18319 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18320 (fminl): Define using libm_alias_ldouble.
18321 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
18322 (llrintl): Define using libm_alias_ldouble.
18323 (lrintl): Likewise.
18324 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
18325 <libm-alias-ldouble.h>.
18326 (nearbyintl): Define using libm_alias_ldouble.
18327 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
18328 (truncl): Define using libm_alias_ldouble.
18329 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
18330 <libm-alias-ldouble.h>.
18331 (lrintl): Define using libm_alias_ldouble.
18333 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
18334 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
18335 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
18336 (asinhl): Define using libm_alias_ldouble.
18337 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
18338 (atanl): Define using libm_alias_ldouble.
18339 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
18340 (cbrtl): Define using libm_alias_ldouble.
18341 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
18342 (ceill): Define using libm_alias_ldouble.
18343 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
18344 (copysignl): Define using libm_alias_ldouble.
18345 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
18346 (fabsl): Define using libm_alias_ldouble.
18347 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
18348 (floorl): Define using libm_alias_ldouble.
18349 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18350 (fmaxl): Define using libm_alias_ldouble.
18351 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18352 (fminl): Define using libm_alias_ldouble.
18353 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
18354 (frexpl): Define using libm_alias_ldouble.
18355 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
18356 (llrintl): Define using libm_alias_ldouble.
18357 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
18358 (logbl): Define using libm_alias_ldouble.
18359 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
18360 (lrintl): Define using libm_alias_ldouble.
18361 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
18362 (nearbyintl): Define using libm_alias_ldouble.
18363 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
18364 (nextafterl): Define using libm_alias_ldouble.
18365 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
18366 (remquol): Define using libm_alias_ldouble.
18367 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
18368 (rintl): Define using libm_alias_ldouble.
18369 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
18370 (truncl): Define using libm_alias_ldouble.
18371 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18372 (fmaxl): Define using libm_alias_ldouble.
18373 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18374 (fminl): Define using libm_alias_ldouble.
18376 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
18377 to C syntax instead of availability and properties of types.
18378 * bits/floatn.h [!__ASSEMBLER]: Likewise.
18379 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
18380 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
18381 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
18382 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
18383 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
18385 2017-11-17 Florian Weimer <fweimer@redhat.com>
18387 support_become_root: Enable file creation in namespaces.
18388 * support/support_become_root.c (setup_mapping): New function.
18389 (support_become_root): Call it.
18391 2017-11-17 Joseph Myers <joseph@codesourcery.com>
18393 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
18396 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18398 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
18399 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
18401 2017-11-16 Joseph Myers <joseph@codesourcery.com>
18403 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
18405 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18408 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
18410 * INSTALL: Fix botched up regeneration.
18412 * NEWS: Update sourceare link to https.
18413 * configure.ac: Likewise.
18414 * crypt/md5test-giant.c: Likewise.
18415 * dlfcn/bug-atexit1.c: Likewise.
18416 * dlfcn/bug-atexit2.c: Likewise.
18417 * localedata/README: Likewise.
18418 * malloc/tst-mallocfork.c: Likewise.
18419 * manual/install.texi: Likewise.
18420 * nptl/tst-pthread-getattr.c: Likewise.
18421 * stdio-common/tst-fgets.c: Likewise.
18422 * stdio-common/tst-fwrite.c: Likewise.
18423 * sunrpc/Makefile: Likewise.
18424 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
18425 * wcsmbs/tst-mbrtowc2.c: Likewise.
18426 * configure: Regenerate.
18427 * INSTALL: Regenerate.
18429 2017-11-15 Martin Sebor <msebor@redhat.com>
18431 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
18432 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
18433 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
18435 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
18438 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
18439 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
18442 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
18443 Defer is_pty check until end of the function.
18444 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18447 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
18448 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
18449 (ttyname): Likewise.
18450 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
18451 (__ttyname_r): Likewise.
18453 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
18456 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
18458 * manual/terminal.texi (Is It a Terminal):
18459 Mention ENODEV for ttyname and ttyname_r.
18461 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18463 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
18464 constant and macro.
18466 * sysdeps/unix/sysv/linux/bits/mman-linux.h
18467 [__USE_MISC] (MADV_WIPEONFORK): New macro.
18468 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
18469 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18470 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
18471 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
18473 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18475 * signal/sigrelse.c (sigrelse): Optimize implementation.
18477 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
18478 (__sigpause): Rely on __sigsuspend to implement single thread
18479 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
18481 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18483 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18484 kernel version to 4.14.
18486 2017-11-15 Steve Ellcey <sellcey@cavium.com>
18489 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
18490 Check if ifname is too long.
18492 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
18494 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
18496 2017-11-15 Mike FABIAN <mfabian@redhat.com>
18498 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
18499 was accidentally lost.
18501 2017-11-15 Mike FABIAN <mfabian@redhat.com>
18503 * localedata/locales/az_IR: Add standard copyright header.
18505 2017-11-15 Florian Weimer <fweimer@redhat.com>
18508 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
18509 not just the top one. Output a new "subheaps" statistic.
18511 2017-11-15 Florian Weimer <fweimer@redhat.com>
18514 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
18515 under the per-arena lock.
18516 * malloc/Makefile (tests): Add tst-malloc_info.
18517 (tst-malloc_info): Link with libpthread.
18518 * malloc/tst-malloc_info.c: New file.
18520 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18523 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
18524 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
18525 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
18526 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
18527 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
18528 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
18529 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
18530 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
18531 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
18532 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
18533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
18534 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
18535 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
18536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
18537 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
18538 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
18539 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
18540 (__floating_type): Likewise.
18541 (__real_integer_type): Likewise.
18542 (__complex_integer_type): Likewise.
18543 (__expr_is_real): Likewise.
18544 (__tgmath_real_type_sub): Likewise.
18545 (__tgmath_real_type): Likewise.
18546 (__tgmath_complex_type_sub): Likewise.
18547 (__tgmath_complex_type): Likewise.
18548 (__TGMATH_F128): Likewise.
18549 (__TGMATH_CF128): Likewise.
18550 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
18552 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
18553 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
18555 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
18557 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
18558 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18559 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18560 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
18562 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18563 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
18565 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
18566 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
18567 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
18569 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
18570 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
18571 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
18575 2017-11-14 Joseph Myers <joseph@codesourcery.com>
18577 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
18578 for stpncpy calls for GCC 8.
18579 (test_strncat): Disable -Wstringop-truncation warning for strncat
18580 calls for GCC 8. Disable -Wstringop-overflow= warning for one
18581 strncat call for GCC 7.
18582 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
18584 (test_memcmp): Use memcpy instead of strncpy for calls not copying
18587 * string/bug-strncat1.c: Include <libc-diag.h>.
18588 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
18590 2017-11-13 Claude Paroz <claude@2xlibre.net>
18593 * localedata/locales/aa_DJ: Improved readibility by replacing
18594 <Uxxxx> sequences in the ASCII printable range by their ASCII
18595 character equivalents.
18596 * localedata/locales/aa_ER: Likewise.
18597 * localedata/locales/aa_ER@saaho: Likewise.
18598 * localedata/locales/aa_ET: Likewise.
18599 * localedata/locales/af_ZA: Likewise.
18600 * localedata/locales/agr_PE: Likewise.
18601 * localedata/locales/ak_GH: Likewise.
18602 * localedata/locales/am_ET: Likewise.
18603 * localedata/locales/anp_IN: Likewise.
18604 * localedata/locales/ar_AE: Likewise.
18605 * localedata/locales/ar_BH: Likewise.
18606 * localedata/locales/ar_DZ: Likewise.
18607 * localedata/locales/ar_EG: Likewise.
18608 * localedata/locales/ar_IN: Likewise.
18609 * localedata/locales/ar_IQ: Likewise.
18610 * localedata/locales/ar_JO: Likewise.
18611 * localedata/locales/ar_KW: Likewise.
18612 * localedata/locales/ar_LB: Likewise.
18613 * localedata/locales/ar_LY: Likewise.
18614 * localedata/locales/ar_MA: Likewise.
18615 * localedata/locales/ar_OM: Likewise.
18616 * localedata/locales/ar_QA: Likewise.
18617 * localedata/locales/ar_SA: Likewise.
18618 * localedata/locales/ar_SD: Likewise.
18619 * localedata/locales/ar_SS: Likewise.
18620 * localedata/locales/ar_SY: Likewise.
18621 * localedata/locales/ar_TN: Likewise.
18622 * localedata/locales/ar_YE: Likewise.
18623 * localedata/locales/as_IN: Likewise.
18624 * localedata/locales/ast_ES: Likewise.
18625 * localedata/locales/ayc_PE: Likewise.
18626 * localedata/locales/az_AZ: Likewise.
18627 * localedata/locales/az_IR: Likewise.
18628 * localedata/locales/be_BY: Likewise.
18629 * localedata/locales/be_BY@latin: Likewise.
18630 * localedata/locales/bem_ZM: Likewise.
18631 * localedata/locales/ber_DZ: Likewise.
18632 * localedata/locales/ber_MA: Likewise.
18633 * localedata/locales/bg_BG: Likewise.
18634 * localedata/locales/bhb_IN: Likewise.
18635 * localedata/locales/bho_IN: Likewise.
18636 * localedata/locales/bi_VU: Likewise.
18637 * localedata/locales/bn_BD: Likewise.
18638 * localedata/locales/bn_IN: Likewise.
18639 * localedata/locales/bo_CN: Likewise.
18640 * localedata/locales/bo_IN: Likewise.
18641 * localedata/locales/br_FR: Likewise.
18642 * localedata/locales/brx_IN: Likewise.
18643 * localedata/locales/bs_BA: Likewise.
18644 * localedata/locales/byn_ER: Likewise.
18645 * localedata/locales/ca_AD: Likewise.
18646 * localedata/locales/ca_ES: Likewise.
18647 * localedata/locales/ca_FR: Likewise.
18648 * localedata/locales/ca_IT: Likewise.
18649 * localedata/locales/ce_RU: Likewise.
18650 * localedata/locales/chr_US: Likewise.
18651 * localedata/locales/cmn_TW: Likewise.
18652 * localedata/locales/crh_UA: Likewise.
18653 * localedata/locales/cs_CZ: Likewise.
18654 * localedata/locales/csb_PL: Likewise.
18655 * localedata/locales/cv_RU: Likewise.
18656 * localedata/locales/cy_GB: Likewise.
18657 * localedata/locales/da_DK: Likewise.
18658 * localedata/locales/de_AT: Likewise.
18659 * localedata/locales/de_BE: Likewise.
18660 * localedata/locales/de_CH: Likewise.
18661 * localedata/locales/de_DE: Likewise.
18662 * localedata/locales/de_IT: Likewise.
18663 * localedata/locales/de_LI: Likewise.
18664 * localedata/locales/de_LU: Likewise.
18665 * localedata/locales/doi_IN: Likewise.
18666 * localedata/locales/dv_MV: Likewise.
18667 * localedata/locales/dz_BT: Likewise.
18668 * localedata/locales/el_CY: Likewise.
18669 * localedata/locales/el_GR: Likewise.
18670 * localedata/locales/en_AG: Likewise.
18671 * localedata/locales/en_AU: Likewise.
18672 * localedata/locales/en_BW: Likewise.
18673 * localedata/locales/en_CA: Likewise.
18674 * localedata/locales/en_DK: Likewise.
18675 * localedata/locales/en_GB: Likewise.
18676 * localedata/locales/en_HK: Likewise.
18677 * localedata/locales/en_IE: Likewise.
18678 * localedata/locales/en_IL: Likewise.
18679 * localedata/locales/en_IN: Likewise.
18680 * localedata/locales/en_NG: Likewise.
18681 * localedata/locales/en_NZ: Likewise.
18682 * localedata/locales/en_PH: Likewise.
18683 * localedata/locales/en_SG: Likewise.
18684 * localedata/locales/en_US: Likewise.
18685 * localedata/locales/en_ZA: Likewise.
18686 * localedata/locales/en_ZM: Likewise.
18687 * localedata/locales/en_ZW: Likewise.
18688 * localedata/locales/eo: Likewise.
18689 * localedata/locales/es_AR: Likewise.
18690 * localedata/locales/es_BO: Likewise.
18691 * localedata/locales/es_CL: Likewise.
18692 * localedata/locales/es_CO: Likewise.
18693 * localedata/locales/es_CR: Likewise.
18694 * localedata/locales/es_CU: Likewise.
18695 * localedata/locales/es_DO: Likewise.
18696 * localedata/locales/es_EC: Likewise.
18697 * localedata/locales/es_ES: Likewise.
18698 * localedata/locales/es_GT: Likewise.
18699 * localedata/locales/es_HN: Likewise.
18700 * localedata/locales/es_MX: Likewise.
18701 * localedata/locales/es_NI: Likewise.
18702 * localedata/locales/es_PA: Likewise.
18703 * localedata/locales/es_PE: Likewise.
18704 * localedata/locales/es_PR: Likewise.
18705 * localedata/locales/es_PY: Likewise.
18706 * localedata/locales/es_SV: Likewise.
18707 * localedata/locales/es_US: Likewise.
18708 * localedata/locales/es_UY: Likewise.
18709 * localedata/locales/es_VE: Likewise.
18710 * localedata/locales/et_EE: Likewise.
18711 * localedata/locales/eu_ES: Likewise.
18712 * localedata/locales/eu_ES@euro: Likewise.
18713 * localedata/locales/fa_IR: Likewise.
18714 * localedata/locales/ff_SN: Likewise.
18715 * localedata/locales/fi_FI: Likewise.
18716 * localedata/locales/fil_PH: Likewise.
18717 * localedata/locales/fo_FO: Likewise.
18718 * localedata/locales/fr_BE: Likewise.
18719 * localedata/locales/fr_CA: Likewise.
18720 * localedata/locales/fr_CH: Likewise.
18721 * localedata/locales/fr_FR: Likewise.
18722 * localedata/locales/fr_LU: Likewise.
18723 * localedata/locales/fur_IT: Likewise.
18724 * localedata/locales/fy_DE: Likewise.
18725 * localedata/locales/fy_NL: Likewise.
18726 * localedata/locales/ga_IE: Likewise.
18727 * localedata/locales/gd_GB: Likewise.
18728 * localedata/locales/gez_ER: Likewise.
18729 * localedata/locales/gez_ET: Likewise.
18730 * localedata/locales/gl_ES: Likewise.
18731 * localedata/locales/gu_IN: Likewise.
18732 * localedata/locales/gv_GB: Likewise.
18733 * localedata/locales/ha_NG: Likewise.
18734 * localedata/locales/hak_TW: Likewise.
18735 * localedata/locales/he_IL: Likewise.
18736 * localedata/locales/hi_IN: Likewise.
18737 * localedata/locales/hif_FJ: Likewise.
18738 * localedata/locales/hne_IN: Likewise.
18739 * localedata/locales/hr_HR: Likewise.
18740 * localedata/locales/hsb_DE: Likewise.
18741 * localedata/locales/ht_HT: Likewise.
18742 * localedata/locales/hu_HU: Likewise.
18743 * localedata/locales/hy_AM: Likewise.
18744 * localedata/locales/i18n: Likewise.
18745 * localedata/locales/ia_FR: Likewise.
18746 * localedata/locales/id_ID: Likewise.
18747 * localedata/locales/ig_NG: Likewise.
18748 * localedata/locales/ik_CA: Likewise.
18749 * localedata/locales/is_IS: Likewise.
18750 * localedata/locales/it_CH: Likewise.
18751 * localedata/locales/it_IT: Likewise.
18752 * localedata/locales/iu_CA: Likewise.
18753 * localedata/locales/ja_JP: Likewise.
18754 * localedata/locales/ka_GE: Likewise.
18755 * localedata/locales/kk_KZ: Likewise.
18756 * localedata/locales/kl_GL: Likewise.
18757 * localedata/locales/kn_IN: Likewise.
18758 * localedata/locales/ko_KR: Likewise.
18759 * localedata/locales/kok_IN: Likewise.
18760 * localedata/locales/ks_IN: Likewise.
18761 * localedata/locales/ks_IN@devanagari: Likewise.
18762 * localedata/locales/ku_TR: Likewise.
18763 * localedata/locales/kw_GB: Likewise.
18764 * localedata/locales/ky_KG: Likewise.
18765 * localedata/locales/lb_LU: Likewise.
18766 * localedata/locales/lg_UG: Likewise.
18767 * localedata/locales/li_BE: Likewise.
18768 * localedata/locales/li_NL: Likewise.
18769 * localedata/locales/lij_IT: Likewise.
18770 * localedata/locales/ln_CD: Likewise.
18771 * localedata/locales/lo_LA: Likewise.
18772 * localedata/locales/lt_LT: Likewise.
18773 * localedata/locales/lv_LV: Likewise.
18774 * localedata/locales/lzh_TW: Likewise.
18775 * localedata/locales/mag_IN: Likewise.
18776 * localedata/locales/mai_IN: Likewise.
18777 * localedata/locales/mg_MG: Likewise.
18778 * localedata/locales/mhr_RU: Likewise.
18779 * localedata/locales/mi_NZ: Likewise.
18780 * localedata/locales/mk_MK: Likewise.
18781 * localedata/locales/ml_IN: Likewise.
18782 * localedata/locales/mn_MN: Likewise.
18783 * localedata/locales/mni_IN: Likewise.
18784 * localedata/locales/mr_IN: Likewise.
18785 * localedata/locales/ms_MY: Likewise.
18786 * localedata/locales/mt_MT: Likewise.
18787 * localedata/locales/my_MM: Likewise.
18788 * localedata/locales/nan_TW: Likewise.
18789 * localedata/locales/nan_TW@latin: Likewise.
18790 * localedata/locales/nb_NO: Likewise.
18791 * localedata/locales/nds_DE: Likewise.
18792 * localedata/locales/nds_NL: Likewise.
18793 * localedata/locales/ne_NP: Likewise.
18794 * localedata/locales/nhn_MX: Likewise.
18795 * localedata/locales/niu_NU: Likewise.
18796 * localedata/locales/niu_NZ: Likewise.
18797 * localedata/locales/nl_AW: Likewise.
18798 * localedata/locales/nl_BE: Likewise.
18799 * localedata/locales/nl_NL: Likewise.
18800 * localedata/locales/nn_NO: Likewise.
18801 * localedata/locales/nr_ZA: Likewise.
18802 * localedata/locales/nso_ZA: Likewise.
18803 * localedata/locales/oc_FR: Likewise.
18804 * localedata/locales/om_ET: Likewise.
18805 * localedata/locales/om_KE: Likewise.
18806 * localedata/locales/or_IN: Likewise.
18807 * localedata/locales/os_RU: Likewise.
18808 * localedata/locales/pa_IN: Likewise.
18809 * localedata/locales/pa_PK: Likewise.
18810 * localedata/locales/pap_AW: Likewise.
18811 * localedata/locales/pap_CW: Likewise.
18812 * localedata/locales/pl_PL: Likewise.
18813 * localedata/locales/ps_AF: Likewise.
18814 * localedata/locales/pt_BR: Likewise.
18815 * localedata/locales/pt_PT: Likewise.
18816 * localedata/locales/quz_PE: Likewise.
18817 * localedata/locales/raj_IN: Likewise.
18818 * localedata/locales/ro_RO: Likewise.
18819 * localedata/locales/ru_RU: Likewise.
18820 * localedata/locales/ru_UA: Likewise.
18821 * localedata/locales/rw_RW: Likewise.
18822 * localedata/locales/sa_IN: Likewise.
18823 * localedata/locales/sat_IN: Likewise.
18824 * localedata/locales/sc_IT: Likewise.
18825 * localedata/locales/sd_IN: Likewise.
18826 * localedata/locales/sd_IN@devanagari: Likewise.
18827 * localedata/locales/se_NO: Likewise.
18828 * localedata/locales/sgs_LT: Likewise.
18829 * localedata/locales/shs_CA: Likewise.
18830 * localedata/locales/si_LK: Likewise.
18831 * localedata/locales/sid_ET: Likewise.
18832 * localedata/locales/sk_SK: Likewise.
18833 * localedata/locales/sl_SI: Likewise.
18834 * localedata/locales/sm_WS: Likewise.
18835 * localedata/locales/so_DJ: Likewise.
18836 * localedata/locales/so_ET: Likewise.
18837 * localedata/locales/so_KE: Likewise.
18838 * localedata/locales/so_SO: Likewise.
18839 * localedata/locales/sq_AL: Likewise.
18840 * localedata/locales/sq_MK: Likewise.
18841 * localedata/locales/sr_ME: Likewise.
18842 * localedata/locales/sr_RS: Likewise.
18843 * localedata/locales/sr_RS@latin: Likewise.
18844 * localedata/locales/ss_ZA: Likewise.
18845 * localedata/locales/st_ZA: Likewise.
18846 * localedata/locales/sv_FI: Likewise.
18847 * localedata/locales/sv_SE: Likewise.
18848 * localedata/locales/sw_KE: Likewise.
18849 * localedata/locales/sw_TZ: Likewise.
18850 * localedata/locales/szl_PL: Likewise.
18851 * localedata/locales/ta_IN: Likewise.
18852 * localedata/locales/ta_LK: Likewise.
18853 * localedata/locales/tcy_IN: Likewise.
18854 * localedata/locales/te_IN: Likewise.
18855 * localedata/locales/tg_TJ: Likewise.
18856 * localedata/locales/th_TH: Likewise.
18857 * localedata/locales/the_NP: Likewise.
18858 * localedata/locales/ti_ER: Likewise.
18859 * localedata/locales/ti_ET: Likewise.
18860 * localedata/locales/tig_ER: Likewise.
18861 * localedata/locales/tk_TM: Likewise.
18862 * localedata/locales/tl_PH: Likewise.
18863 * localedata/locales/tn_ZA: Likewise.
18864 * localedata/locales/to_TO: Likewise.
18865 * localedata/locales/tpi_PG: Likewise.
18866 * localedata/locales/tr_CY: Likewise.
18867 * localedata/locales/tr_TR: Likewise.
18868 * localedata/locales/ts_ZA: Likewise.
18869 * localedata/locales/tt_RU: Likewise.
18870 * localedata/locales/tt_RU@iqtelif: Likewise.
18871 * localedata/locales/ug_CN: Likewise.
18872 * localedata/locales/uk_UA: Likewise.
18873 * localedata/locales/unm_US: Likewise.
18874 * localedata/locales/ur_IN: Likewise.
18875 * localedata/locales/ur_PK: Likewise.
18876 * localedata/locales/uz_UZ: Likewise.
18877 * localedata/locales/uz_UZ@cyrillic: Likewise.
18878 * localedata/locales/ve_ZA: Likewise.
18879 * localedata/locales/vi_VN: Likewise.
18880 * localedata/locales/wa_BE: Likewise.
18881 * localedata/locales/wae_CH: Likewise.
18882 * localedata/locales/wal_ET: Likewise.
18883 * localedata/locales/wo_SN: Likewise.
18884 * localedata/locales/xh_ZA: Likewise.
18885 * localedata/locales/yi_US: Likewise.
18886 * localedata/locales/yo_NG: Likewise.
18887 * localedata/locales/yue_HK: Likewise.
18888 * localedata/locales/yuw_PG: Likewise.
18889 * localedata/locales/zh_CN: Likewise.
18890 * localedata/locales/zh_HK: Likewise.
18891 * localedata/locales/zh_SG: Likewise.
18892 * localedata/locales/zh_TW: Likewise.
18893 * localedata/locales/zu_ZA: Likewise.
18895 2017-11-13 Florian Weimer <fweimer@redhat.com>
18897 * support/next_to_fault.h, support/next_to_fault.c: New files.
18898 * support/Makefile (libsupport-routines): Add next_to_fault.
18899 * resolv/tst-inet_pton.c (struct next_to_fault)
18900 (next_to_fault_allocate, next_to_fault_free): Remove.
18901 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
18903 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
18905 * elf/dl-support.c: Include <dl-procruntime.c>.
18906 * include/link.h: Include <link_map.h>.
18907 * sysdeps/generic/dl-procruntime.c: New file.
18908 * sysdeps/generic/link_map.h: Likewise.
18909 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
18910 the writable ld.so namespace.
18912 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
18914 timezone: pacify GCC -Wstringop-truncation
18915 Problem reported by Martin Sebor in:
18916 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
18917 * timezone/zic.c (writezone): Use memcpy, not strncpy.
18919 2017-11-12 Florian Weimer <fweimer@redhat.com>
18921 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
18923 (tests): Add tst-xreadlink.
18924 * support/support.h (xstrndup): Declare.
18925 * support/xunistd.h (xunlink, xreadlink): Declare.
18926 * support/temp_file.h (support_create_temp_directory): Declare.
18927 * support/temp_file.c (support_create_temp_directory): New function.
18928 * support/support_chroot.c (support_chroot_create): Use it.
18929 * support/xreadlink.c: New file.
18930 * support/xstrndup.c: Likewise.
18931 * support/xunlink.c: Likewise.
18932 * support/tst-xreadlink.c: Likewise.
18934 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
18936 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
18938 2017-11-11 Florian Weimer <fweimer@redhat.com>
18942 * resolv/res_comp.c (printable_string, binary_hnok)
18943 (binary_leading_dash): New functions.
18944 (res_hnok): Reimplement using these functions and ns_name_pton.
18945 (res_ownok): Likewise.
18946 (res_mailok): Reimplement using printable_string, ns_name_pton and
18948 (res_dnok): Reimplement using printable_string and ns_name_pton.
18949 * resolv/tst-res_hnok.c (tests): Add additional tests.
18950 (LETTERDIGITS, PRINTABLE): Define.
18951 (do_test): Adjust one_char results.
18953 2017-11-11 Florian Weimer <fweimer@redhat.com>
18956 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
18957 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
18959 2017-11-11 Florian Weimer <fweimer@redhat.com>
18961 * resolv/tst-ns_name_pton.c: New file.
18962 * resolv/Makefile (tests): Add tst-ns_name_pton.
18963 (tst-ns_name_pton): Link against libresolv.
18965 2017-11-11 Florian Weimer <fweimer@redhat.com>
18967 * resolv/tst-res_hnok.c: New file.
18968 * resolv/Makefile (tests): Add tst-res_hnok.
18969 (tst-res_hnok): Link against libresolv.
18971 2017-11-11 Florian Weimer <fweimer@redhat.com>
18973 * resolv/tst-resolv-network.c: Use test framework instead explicit
18976 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
18978 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
18979 <jmp_buf-macros.h>.
18980 [!_ISOMAC] (STR_HELPER): New.
18981 [!_ISOMAC] (STR): Likewise.
18982 [!_ISOMAC] (TEST_SIZE): Likewise.
18983 [!_ISOMAC] (TEST_ALIGN): Likewise.
18984 [!_ISOMAC] (TEST_OFFSET): Likewise.
18985 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
18986 field offsets of jmp_buf as well as sigjmp_buf.
18987 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
18988 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
18989 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
18990 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
18991 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
18992 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
18993 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
18994 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
18995 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
18996 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
18998 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
19000 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
19001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
19003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
19005 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
19006 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
19007 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
19008 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
19009 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
19010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
19012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
19014 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19015 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
19016 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
19018 2017-11-07 Joseph Myers <joseph@codesourcery.com>
19021 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19022 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
19023 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19024 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
19025 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19026 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
19027 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19028 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
19029 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19030 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
19031 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19032 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
19033 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19034 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
19035 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19036 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
19037 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19038 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
19039 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19040 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
19041 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19042 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
19043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19044 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
19045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19046 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
19047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19048 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
19049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19050 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
19051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19052 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
19053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19054 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
19055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19056 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
19057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19058 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
19059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19060 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
19061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19062 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
19063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19064 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
19065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19066 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
19067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19068 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
19069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19070 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
19071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19072 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
19073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19074 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
19075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19076 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
19077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19078 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
19079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19080 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
19081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19082 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
19083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19084 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
19085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19086 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
19087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19088 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
19089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19090 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
19091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19092 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
19093 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19094 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
19095 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19096 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
19097 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19098 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
19099 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19100 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
19101 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19102 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
19103 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19104 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
19105 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19106 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
19107 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19108 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
19110 * stdlib/tst-strtod.h (F16): New macro.
19116 (IF_FLOAT16): Likewise.
19117 (IF_FLOAT32): Likewise.
19118 (IF_FLOAT64): Likewise.
19119 (IF_FLOAT32X): Likewise.
19120 (IF_FLOAT64X): Likewise.
19121 (IF_FLOAT128X): Likewise.
19122 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
19123 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
19124 (STRTOD_TEST_FOREACH): Likewise.
19125 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
19126 (CHOOSE_f64): Likewise.
19127 (CHOOSE_f32x): Likewise.
19128 (CHOOSE_f64x): Likewise.
19130 2017-11-07 Andreas Schwab <schwab@suse.de>
19132 * nptl/Makefile (tests-internal): Remove tst-typesizes.
19134 2017-11-07 Mike FABIAN <mfabian@redhat.com>
19137 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
19139 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
19142 2017-11-07 Claude Paroz <claude@2xlibre.net>
19145 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
19147 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
19149 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
19152 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19155 * nptl/allocatestack.c (allocate_stack): Check if
19156 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
19157 __PTHREAD_MUTEX_HAVE_PREV is defined.
19158 * nptl/descr.h (pthread): Likewise.
19159 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19161 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19162 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19163 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
19164 * sysdeps/nptl/bits/thread-shared-types.h
19165 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19167 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
19168 of __WORDSIZE for internal layout.
19169 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
19170 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
19171 instead of __WORDSIZE whether to use an union for __spins and __list
19173 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
19175 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
19176 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19178 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
19179 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19181 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
19182 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19184 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
19185 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19187 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
19188 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19190 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
19191 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19193 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
19194 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19196 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
19197 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19199 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
19200 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19202 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
19203 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19205 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
19206 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19208 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
19209 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19211 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
19212 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19214 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
19215 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19217 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
19218 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19221 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
19223 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
19224 checks for expected input type size.
19225 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19226 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19228 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19229 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
19230 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19231 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
19232 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19233 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
19234 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
19235 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
19236 superflous runtime assert check.
19237 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
19239 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
19241 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19243 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
19245 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
19247 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
19249 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
19250 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
19251 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19253 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19255 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19257 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
19259 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19261 * nptl/pthread_attr_setinheritsched.c
19262 (__pthread_attr_setinheritsched): Likewise.
19263 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
19265 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
19267 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
19268 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
19269 __old_pthread_attr_setstack): Likewise.
19270 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19272 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19274 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
19276 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19277 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19279 * nptl/tst-typesizes.c: Remove file.
19281 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
19282 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
19283 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
19284 checks for internal pthread_mutex_t offsets.
19285 * sysdeps/aarch64/nptl/pthread-offsets.h
19286 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
19287 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
19288 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
19289 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
19290 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
19291 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
19292 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
19293 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
19294 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
19295 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
19296 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
19297 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
19298 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
19299 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
19300 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
19301 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
19302 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
19303 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
19305 2017-11-07 Florian Weimer <fweimer@redhat.com>
19307 * bits/mman-linux.h: Move ...
19308 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
19310 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
19313 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19315 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
19316 Redefine STRNLEN as __strnlen_power8.
19318 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19320 * signal/sighold.c (sighold): Optimize implementation.
19322 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
19323 __NR_rt_sigqueueinfo.
19325 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
19327 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
19328 assume __NR_rt_sigtimedwait.
19329 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
19330 and add LIBC_CANCEL_HANDLED for cancellation marking.
19331 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19333 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
19334 (sysdeps_routines): Add memchr_noneon.
19335 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
19336 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
19337 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
19338 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
19339 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
19340 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
19341 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
19343 * sysdeps/arm/arm-ifunc.h: New file.
19344 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
19345 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
19346 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
19347 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
19348 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
19349 (__memcpy_neon): Avoid create hidden alias.
19350 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
19351 (__memcpy_vfp): Likewise.
19352 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
19353 (sysdep_routines): Add memcpy_arm.
19354 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
19356 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
19359 * Makerules (make-link-multidir): New.
19360 * config.make.in (multidir): New.
19361 * configure.ac (libc_cv_multidir): New. AC_SUBST.
19362 * configure: Regenerated.
19363 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
19364 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
19365 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
19368 2017-11-06 Joseph Myers <joseph@codesourcery.com>
19371 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
19372 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
19374 2017-11-04 Mike FABIAN <mfabian@redhat.com>
19376 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
19379 2017-11-04 Florian Weimer <fweimer@redhat.com>
19381 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
19383 2017-11-03 Joseph Myers <joseph@codesourcery.com>
19385 * math/math.h [__HAVE_DISTINCT_FLOAT16
19386 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
19387 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
19388 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
19389 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
19390 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
19391 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
19392 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19393 (__MATH_TG_F32): New macro.
19394 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19395 (__MATH_TG_F64X): Likewise.
19396 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19397 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
19399 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
19401 * po/de.po: Update translations.
19402 * po/ru.po: Likewise.
19404 2017-11-03 Florian Weimer <fweimer@redhat.com>
19406 * manual/filesys.texi (Hard Links): Document linkat.
19408 2017-11-03 Joseph Myers <joseph@codesourcery.com>
19410 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
19411 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
19412 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
19413 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
19414 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
19415 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
19416 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
19417 the same as _Float128.
19418 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
19419 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
19420 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
19423 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
19425 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
19427 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
19429 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19430 (strtof32x): Likewise.
19431 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19432 (strtof64x): Likewise.
19433 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19434 (strtof128x): Likewise.
19435 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19436 (strfromf16): Likewise.
19437 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19438 (strfromf32): Likewise.
19439 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19440 (strfromf64): Likewise.
19441 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19442 (strfromf32x): Likewise.
19443 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19444 (strfromf64x): Likewise.
19445 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19446 (strfromf128x): Likewise.
19447 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
19448 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
19449 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
19450 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
19451 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
19452 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
19454 2017-11-03 Richard Henderson <rth@twiddle.net>
19456 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
19458 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19460 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
19462 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19464 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
19465 DT_TLSDESC_GOT initialization.
19466 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
19467 (_dl_tlsdesc_resolve_hold): Likewise.
19468 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
19469 (_dl_tlsdesc_resolve_hold): Likewise.
19470 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
19471 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
19473 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19475 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
19477 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19480 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
19481 non-lazily for R_ARM_TLS_DESC.
19483 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19486 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
19487 R_ARM_TLS_DESC case.
19488 (elf_machine_lazy_rel): Remove the prelink check.
19490 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19492 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
19493 DT_TLSDESC_GOT initialization.
19494 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
19495 (_dl_tlsdesc_resolve_rela): Likewise.
19496 (_dl_tlsdesc_resolve_hold): Likewise.
19497 (_dl_tlsdesc_undefweak): Remove ldar.
19498 (_dl_tlsdesc_dynamic): Likewise.
19499 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
19500 (_dl_tlsdesc_resolve_rela): Likewise.
19501 (_dl_tlsdesc_resolve_hold): Likewise.
19502 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
19503 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
19504 (_dl_tlsdesc_resolve_rela): Likewise.
19505 (_dl_tlsdesc_resolve_hold): Likewise.
19507 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19509 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
19510 binding and initialization non-lazily for R_AARCH64_TLSDESC.
19512 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19514 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
19515 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19517 2017-11-02 Joseph Myers <joseph@codesourcery.com>
19519 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
19521 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
19522 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
19523 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
19524 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
19525 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
19526 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
19527 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
19528 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
19529 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
19530 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
19531 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
19533 2017-11-02 Mike FABIAN <mfabian@redhat.com>
19536 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
19537 * localedata/locales/tpi_PG: Add standard header.
19539 2017-11-02 Florian Weimer <fweimer@redhat.com>
19541 test-errno-linux: quotactl can fail with EPERM in containers.
19542 * sysdeps/unix/sysv/linux/test-errno-linux.c
19543 (LIST, LIST_FORWARD): New macros.
19544 (check_error_in_list): New function.
19545 (test_wrp_rv): Accept list of permitted error codes.
19546 (test_wrp_rv2): Remove.
19547 (test_wrp): Call test_wrp_rv with list of error codes.
19548 (test_wrp2): Accept list of error codes.
19549 (do_test): Adjust. Allow EPERM for quotactl.
19551 2017-11-02 Florian Weimer <fweimer@redhat.com>
19553 * stdio-common/bug16.c (do_test): Use array_length.
19554 * stdio-common/errlist.c (_sys_nerr): Likewise.
19555 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
19556 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
19557 * stdio-common/psiginfo.c (psiginfo): Use array_length.
19558 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
19559 (do_test): Use array_length.
19560 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
19561 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
19562 * stdio-common/tst-printf-round.c (do_test): Likewise.
19563 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
19564 (CHECK): Use array_length.
19565 * stdio-common/tstdiomisc.c (t3, F): Likewise.
19566 * stdio-common/tstscanf.c (main): Likewise.
19567 * stdio-common/vfprintf.c (process_string_arg): Likewise.
19569 2017-11-02 Florian Weimer <fweimer@redhat.com>
19571 Add array_length and array_end macros.
19572 * include/array_length.h: New file.
19574 2017-11-02 Florian Weimer <fweimer@redhat.com>
19577 * posix/tst-glob-tilde.c (do_noescape): New variable.
19578 (one_test): Process it.
19579 (do_test): Set do_noescape. Add unescaping test case.
19581 2017-11-01 Joseph Myers <joseph@codesourcery.com>
19584 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
19585 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
19586 with appropriate macros defined and undefined.
19587 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
19588 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19589 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
19590 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19591 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
19592 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19593 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
19594 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19595 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
19596 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19599 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
19600 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
19601 that for long double. Do not condition define and undefine of
19602 _Mdouble_complex_ on [__CFLOAT128].
19604 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
19606 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
19607 of <sysdeps/generic/sysdep.h>.
19608 (ALIGNARG): Removed.
19609 (ASM_SIZE_DIRECTIVE): Likewise.
19612 (ENTRY_CHK): Likewise.
19613 (END_CHK): Likewise.
19614 (syscall_error): Likewise.
19615 (mcount): Likewise.
19616 (PSEUDO_END): Likewise.
19618 (atom_text_section): Likewise.
19619 * sysdeps/x86/sysdep.h: New file.
19620 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
19621 of <sysdeps/generic/sysdep.h>.
19622 (ALIGNARG): Removed.
19623 (ASM_SIZE_DIRECTIVE): Likewise.
19626 (ENTRY_CHK): Likewise.
19627 (END_CHK): Likewise.
19628 (syscall_error): Likewise.
19629 (mcount): Likewise.
19630 (PSEUDO_END): Likewise.
19632 (atom_text_section): Likewise.
19634 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
19636 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
19637 category of LC_CTYPE set to "i18n:2012".
19638 * localedata/locales/i18n_ctype: Regenerate.
19640 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
19642 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
19643 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
19644 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19645 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19647 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
19648 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
19650 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
19652 2017-10-31 Joseph Myers <joseph@codesourcery.com>
19655 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
19657 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
19659 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
19661 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19662 (CMPLXF32X): Likewise.
19663 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19664 (CMPLXF64X): Likewise.
19665 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19666 (CMPLXF128X): Likewise.
19669 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
19670 (__MATH_EVAL_FMT2): Define to add 0.0f.
19672 2017-10-31 Alan Modra <amodra@gmail.com>
19674 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
19676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
19677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
19678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
19679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
19680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
19681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
19682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
19683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
19684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
19685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
19686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
19687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
19689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
19690 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
19691 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
19692 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
19693 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
19694 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
19695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
19696 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
19697 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
19698 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
19699 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
19700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19701 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
19702 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
19703 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
19704 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
19705 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
19706 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19707 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19708 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
19709 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
19710 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
19711 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
19712 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
19713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
19714 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
19715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19716 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
19717 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
19718 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
19719 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
19720 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
19721 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
19722 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
19723 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
19724 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
19725 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19726 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
19727 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
19728 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
19729 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
19730 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19731 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19732 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
19733 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
19734 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
19735 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
19736 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19737 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
19738 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
19739 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19740 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
19741 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
19742 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
19743 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
19744 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
19746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
19747 include sysdep.h and math_ldbl_opt.h.
19749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
19750 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
19751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
19752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
19753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
19754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
19755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
19756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
19757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
19758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
19759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
19760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
19761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
19762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
19763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
19764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
19765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
19766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
19767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
19768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
19769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
19770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
19771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
19772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
19773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
19774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
19776 2017-10-31 Alan Modra <amodra@gmail.com>
19778 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
19779 string/strncase_l.c, not string/strncase.c.
19780 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
19781 (libc_hidden_def): Redefine.
19783 2017-10-31 Alan Modra <amodra@gmail.com>
19785 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
19786 (__STRCMP, STRCMP, __strcasecmp_l): Define.
19787 (__strcasecmp): Don't define.
19789 2017-10-31 Alan Modra <amodra@gmail.com>
19791 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
19793 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
19794 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
19795 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
19797 2017-10-31 Alan Modra <amodra@gmail.com>
19799 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
19802 2017-10-31 Alan Modra <amodra@gmail.com>
19804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
19805 Redefine only when SHARED.
19807 2017-10-30 Joseph Myers <joseph@codesourcery.com>
19809 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
19810 Include <bits/math-finite.h> with appropriate macros defined and
19812 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
19813 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
19814 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
19815 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
19816 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
19818 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
19819 [!_Mlong_double_] (_Mlong_double_): Likewise.
19820 [!_Mfloat16_] (_Mfloat16_): Likewise.
19821 [!_Mfloat32_] (_Mfloat32_): Likewise.
19822 [!_Mfloat64_] (_Mfloat64_): Likewise.
19823 [!_Mfloat128_] (_Mfloat128_): Likewise.
19824 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
19825 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
19826 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
19827 (_Mdouble_): Define without indirection through those macros.
19828 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
19829 [!_Mfloat128_] (_Mfloat128_): Likewise.
19830 [_Mlong_double_] (_Mlong_double_): Likewise.
19831 (_Mdouble_): Define without indirection through those macros.
19832 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
19833 not add -D_Mlong_double_=double.
19834 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
19835 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
19837 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19839 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
19841 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19843 * sysdeps/x86/libc-start.c: Reformat.
19845 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19848 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
19849 (1): Renamed to ...
19852 (L(Src2)): Likewise.
19853 (L(1)): Renamed to ...
19856 2017-10-30 Joseph Myers <joseph@codesourcery.com>
19858 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
19859 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
19860 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
19861 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
19862 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
19863 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
19864 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
19865 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
19866 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
19867 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
19868 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
19869 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
19870 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
19871 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
19872 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
19873 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
19874 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
19875 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
19876 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
19877 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
19878 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
19879 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
19880 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
19881 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
19882 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
19883 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
19884 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
19885 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
19886 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
19887 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
19888 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
19889 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
19890 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
19891 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
19892 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
19893 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
19894 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
19895 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
19896 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
19897 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
19898 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
19899 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
19900 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
19901 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
19902 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
19903 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
19904 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
19905 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
19906 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
19907 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
19908 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
19909 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
19910 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
19911 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
19912 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
19913 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
19914 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
19915 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
19916 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
19917 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
19918 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
19919 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
19920 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
19921 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
19922 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
19923 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
19925 2017-10-30 Florian Weimer <fweimer@redhat.com>
19927 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
19929 * io/tst-mkdirat.c (do_test): Likewise.
19930 * io/tst-mkfifoat.c (do_test): Likewise.
19931 * io/tst-mknodat.c (do_test): Likewise.
19932 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
19933 * locale/programs/locale.c (select_dirs): Likewise.
19934 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
19935 * posix/bug-glob2.c (my_readdir): Likewise.
19936 * posix/tst-dir.c (main): Likewise.
19937 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
19938 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
19940 2017-10-30 Florian Weimer <fweimer@redhat.com>
19942 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
19945 2017-10-30 Florian Weimer <fweimer@redhat.com>
19947 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
19948 Convert to support/test-driver.c.
19949 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
19950 New macro parameters.
19951 (PRINTF): Remove macro. Use test_verbose conditionals instead.
19952 * posix/tst-gnuglob.c: New file.
19953 * posix/tst-gnuglob64.c: Likewise.
19954 * posix/Makefile (tests): Add tst-gnuglob64.
19956 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
19959 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
19960 and use a better translation for March in “mon”.
19961 * localedata/locales/csb_PL: Use more ASCII to improve the
19962 readability of the source.
19964 2017-10-30 Mike FABIAN <mfabian@redhat.com>
19967 * localedata/locales/km_KH: Use ASCII as much
19968 as possible for better readability of the source and
19969 remove useless comments.
19970 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
19971 was commented out and apparently wrong anyway because it was
19972 using Lao characters. If Buddhist era should be used
19973 for km_KH, a native speaker should write the correct formaat
19975 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
19976 (According to CLDR, the first weekday for Cambodia is Sunday).
19977 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
19978 (These were using Lao characters which must be wrong. If we get
19979 the correct data from a native speaker, we could add it back, until
19980 then it is better not to have name_mr and name_mrs at all than
19983 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
19985 * locale/loadlocale.c: Correct size of
19986 _nl_value_type_LC_<category> arrays.
19988 2017-10-27 Joseph Myers <joseph@codesourcery.com>
19990 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
19991 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
19992 with appropriate macros defined and undefined.
19993 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
19994 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
19995 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
19996 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
19997 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
19999 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
20001 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20004 2017-10-27 Mike FABIAN <mfabian@redhat.com>
20006 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
20007 with lowercase letters to make it agree with CLDR.
20009 2017-10-27 Mike FABIAN <mfabian@redhat.com>
20012 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
20013 first letters of yesstr and nostr in yesexpr and noexpr,
20014 not for the full words.
20015 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20016 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
20017 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
20018 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
20019 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
20020 first letters of yesstr and nostr in yesexpr and noexpr,
20021 until now only English was matched in yesexpr and noexpr.
20022 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
20023 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
20024 fil but not for tl. As tl and fil are very similar, using fil
20025 is probably better than using English.
20027 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
20030 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
20031 in yesstr and nostr.
20033 2017-10-26 Joseph Myers <joseph@codesourcery.com>
20035 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20036 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
20037 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
20039 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
20041 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
20043 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
20045 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20046 (SNANF128X): Likewise.
20048 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20049 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
20050 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20051 (HUGE_VAL_F32): Likewise.
20052 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20053 (HUGE_VAL_F64): Likewise.
20054 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20055 (HUGE_VAL_F32X): Likewise.
20056 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20057 (HUGE_VAL_F64X): Likewise.
20058 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20059 (HUGE_VAL_F128X): Likewise.
20061 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
20063 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
20064 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
20065 for the br_FR locale.
20067 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
20070 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
20072 2017-10-25 Carlos O'Donell <carlos@redhat.com>
20074 * locale/programs/record-status.h: Define globals, and function
20075 prototypes. Move function bodies...
20076 * locale/programs/record-status.c: ... to here. New file.
20077 * iconv/Makefile (iconv_prog-modules): Add record-status.
20078 * locale/Makefile (lib-modules): Likewise.
20079 * iconv/iconv_prog.c: Remove verbose.
20080 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
20081 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
20082 record a warning about ASCII compatibility.
20083 * locale/programs/ld-monetary.c (monetary_finish): If
20084 warn_int_curr_symbol is true then record a warning about the symbol
20085 not being in our ISO 4217 list.
20086 * locale/programs/locale.c: Include record-status.h. Remove verbose.
20087 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
20088 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
20089 (OPT_NO_WARN): Define.
20090 (OPT_WARN): Define.
20091 (options): Add entry for --no-warnings, and --warnings.
20092 (set_warnings): New function to enable/disable warnings.
20093 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
20094 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
20095 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
20096 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
20097 Pass flags to generate_locale.
20098 (generate_locale): Accept new flag argument and pass it to localedef
20100 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
20101 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
20103 * localedata/Makefile (test-input-data): Use full file name.
20104 * localedata/da_DK.in: Rename to...
20105 * localedata/da_DK.ISO-8859-1.in: ...this.
20106 * localedata/de_DE.in: Rename to...
20107 * localedata/de_DE.ISO-8859-1.in: ...this.
20108 * localedata/en_US.in: Rename to...
20109 * localedata/en_US.ISO-8859-1.in: ...this.
20110 * localedata/fr_FR.in: Rename to...
20111 * localedata/fr_FR.UTF-8.in: ... this.
20112 * localedata/hr_HR.in: Rename to...
20113 * localedata/hr_HR.ISO-8859-2.in: ...this.
20114 * localedata/hu_HU.in: Rename to...
20115 * localedata/hu_HU.UTF-8.in: ...this.
20116 * localedata/si_LK.in: Rename to...
20117 * localedata/si_LK.UTF-8.in: ...this.
20118 * localedata/sv_SE.in: Rename to...
20119 * localedata/sv_SE.ISO-8859-1.in: ...this.
20120 * localedata/tr_TR.in: Rename to...
20121 * localedata/tr_TR.UTF-8.in: ...this.
20122 * localedata/uk_UA.in: Rename to...
20123 * localedata/uk_UA.UTF-8.in: ...this.
20124 * localedata/sort-test.sh: Test file is locale name with the
20127 * localedata/unicode-gen/Makefile (check_i18n): Rename to
20128 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
20130 * localedata/locales/i18n_ctype: Regenerate.
20131 * localedata/locales/tr_TR: Likewise.
20132 * localedata/locales/translit_circle: Likewise.
20133 * localedata/locales/translit_cjk_compat: Likewise.
20134 * localedata/locales/translit_combining: Likewise.
20135 * localedata/locales/translit_compat: Likewise.
20136 * localedata/locales/translit_font: Likewise.
20137 * localedata/locales/translit_fraction: Likewise.
20139 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20141 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
20142 lxvd2x/stxvd2x with lvx/stvx.
20143 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
20145 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
20147 * include/alloc_buffer.h: Replace "if if " with "if " in
20149 * sysdeps/mips/memcpy.S: Likkewise.
20150 * sysdeps/mips/memset.S: Likewise.
20151 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
20153 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
20155 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
20158 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20161 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
20162 yesexpr and noexpr.
20163 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20164 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
20165 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
20166 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20167 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20168 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20169 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20171 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20173 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
20174 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20175 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20176 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20177 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
20178 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
20179 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
20180 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
20181 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20182 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20183 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20184 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20186 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20188 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
20189 as possible for better readability of the source.
20190 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
20191 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
20192 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
20193 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
20194 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
20195 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
20196 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
20197 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
20198 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20199 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
20200 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
20201 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
20202 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
20203 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
20204 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
20205 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
20206 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
20207 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
20208 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
20209 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
20210 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
20211 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
20212 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
20213 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
20214 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
20215 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
20216 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
20217 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
20218 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
20219 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
20220 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
20221 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20222 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
20223 * localedata/locales/en_US (LC_MESSAGES): Likewise.
20224 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
20225 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
20226 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
20227 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
20228 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
20229 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
20230 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
20231 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
20232 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
20233 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
20234 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
20235 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
20236 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
20237 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
20238 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
20239 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
20240 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
20241 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
20242 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
20243 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20244 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20245 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
20246 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
20247 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20248 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
20249 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
20250 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
20251 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
20252 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
20253 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
20254 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
20255 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
20256 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
20257 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
20258 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
20259 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
20260 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
20261 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
20262 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
20263 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
20264 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
20265 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
20266 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
20267 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
20268 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
20269 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
20270 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
20271 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
20272 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
20273 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
20274 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
20275 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
20276 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
20277 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
20278 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
20279 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
20280 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
20281 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
20282 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
20283 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
20284 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
20285 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
20286 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
20287 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20288 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
20289 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
20290 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
20291 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
20292 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
20293 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
20294 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
20295 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
20296 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
20297 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
20298 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
20299 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
20300 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
20301 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
20302 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20303 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
20304 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
20305 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
20306 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
20307 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
20308 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
20309 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
20310 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
20311 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
20312 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
20313 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
20314 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
20315 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
20316 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
20317 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
20318 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
20319 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
20320 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
20321 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
20322 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
20323 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
20324 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
20325 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
20326 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
20327 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
20328 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
20329 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
20330 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
20331 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
20332 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
20333 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
20334 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
20335 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20336 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
20337 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
20338 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
20339 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
20340 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
20341 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
20342 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
20343 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
20344 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20345 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
20346 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
20347 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
20348 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
20349 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
20350 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
20351 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
20352 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
20353 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
20354 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
20355 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20356 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
20357 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
20358 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
20359 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
20360 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20361 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20362 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20363 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
20365 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20367 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
20368 (Use first letters of yesstr and nostr correctly instead of using
20371 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20373 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
20374 (Use first letters of yesstr and nostr correctly).
20376 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20378 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
20379 also check for the first characters of yesstr and nostr.
20380 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
20381 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
20383 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20385 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
20386 also check for Chinese characters.
20388 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20390 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
20391 match also for the contents of yesstr and nostr. As the first letter
20392 of yesstr and nostr is equal, checking only for the first letter
20395 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20397 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
20398 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
20400 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20402 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
20403 of main contributor.
20405 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20407 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
20408 instead of using English.
20410 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20412 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
20413 by including the first letters of nostr and yesexpr in the regexp.
20414 Also make it more readable by using ASCII where possible.
20416 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20418 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
20419 the first letter of nostr in the regexp. It agrees with CLDR now.
20420 Also make it more readable by using ASCII where possible.
20422 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20424 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
20425 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
20426 these strings contain a U+17D6 (which somewhat looks like a colon)
20427 instead of a real colon to separate the full words for “yes”
20428 and “no” from the single letter responses.
20430 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20432 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
20433 it agree with CLDR (include the first letter of yesstr).
20434 Also make it more readable by using ASCII where possible.
20436 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20438 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
20439 and improve yesexpr and noexpr. The yesstr and nostr apparently
20440 came from CLDR. And CLDR has a bug there: these strings contain
20441 a U+0903 (which looks like a colon) instead of a real colon
20442 to separate the full words for “yes” and “no” from the single
20445 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20447 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
20448 letters of the full yesstr and nostr in yesexpr and noexpr.
20450 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20452 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
20453 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
20454 * localedata/locales/an_ES: Make source more readable by using ASCII
20457 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20460 * localedata/locales/yuw_PG: New file.
20461 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
20462 * locale/iso-639.def: Add Yau (Uruwa).
20464 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20466 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
20468 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20470 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
20471 (__libc_realloc): Likewise.
20472 (_mid_memalign): Likewise.
20473 (__libc_calloc): Likewise.
20475 2017-10-23 Mike FABIAN <mfabian@redhat.com>
20477 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
20478 by adding the generic +1 and -0 as in all other locales.
20479 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
20480 day names and make it more readable by using ASCII where possible.
20482 2017-10-24 Joseph Myers <joseph@codesourcery.com>
20484 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
20485 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
20487 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20489 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
20490 WNOHANG in waitpid call.
20492 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
20494 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
20495 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
20497 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
20498 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
20499 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
20500 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
20501 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
20502 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
20503 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
20504 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
20507 2017-10-23 Michael Collison <michael.collison@arm.com>
20509 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
20510 with __builtin_sqrt.
20511 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
20512 with __builtin_sqrtf.
20513 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
20514 with __builtin_ceil.
20515 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
20516 with __builtin_ceilf.
20517 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
20518 with __builtin_floor.
20519 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
20520 with __builtin_floorf.
20521 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
20522 with __builtin_fma.
20523 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
20524 with __builtin_fmaf.
20525 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
20526 with __builtin_fmax.
20527 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
20528 with __builtin_fmaxf.
20529 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
20530 with __builtin_fmin.
20531 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
20532 with __builtin_fminf.
20533 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
20534 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
20535 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
20536 with builtin_rint and conversion to int.
20537 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
20538 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
20539 with builtin_llround.
20540 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
20541 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
20542 with builtin_rint and conversion to long int.
20543 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
20544 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
20545 with builtin_lround.
20546 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
20547 with builtin_lroundf.
20548 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
20549 statements with __builtin_nearbyint.
20550 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
20551 statements with __builtin_nearbyintf.
20552 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
20553 with __builtin_rint.
20554 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
20555 with __builtin_rintf.
20556 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
20557 with __builtin_round.
20558 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
20559 with __builtin_roundf.
20560 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
20561 with __builtin_trunc.
20562 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
20563 with __builtin_truncf.
20564 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
20565 and s_l[l]round[f].c too.
20567 2017-10-23 Alan Modra <amodra@gmail.com>
20569 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
20570 Adjust stack after restoring regs. Add missing LR cfi_restore.
20572 2017-10-23 Alan Modra <amodra@gmail.com>
20574 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
20575 Move LR save and frame setup/teardown and LR restore to
20576 immediately around memset call. Provide cfi.
20578 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20580 * sysdeps/i386/fpu/e_powf.S: Removed.
20581 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
20582 * sysdeps/i386/fpu/w_powf.c: Likewise.
20583 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
20584 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20585 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20587 (CFLAGS-e_powf-sse2.c): New.
20588 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
20589 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
20591 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20593 * sysdeps/i386/fpu/e_log2f.S: Removed.
20594 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
20595 * sysdeps/i386/fpu/w_log2f.c: Likewise.
20596 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
20597 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20598 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20600 (CFLAGS-e_log2f-sse2.c): New.
20601 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
20602 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
20604 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20606 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20608 (CFLAGS-e_powf-fma.c): New.
20609 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
20610 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
20612 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20614 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20616 (CFLAGS-e_log2f-fma.c): New.
20617 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
20618 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
20620 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20622 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20624 (CFLAGS-e_logf-fma.c): New.
20625 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
20626 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
20628 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20630 * sysdeps/i386/fpu/e_logf.S: Removed.
20631 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
20632 * sysdeps/i386/fpu/w_logf.c: Likewise.
20633 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
20634 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
20635 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20636 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20638 (CFLAGS-e_logf-sse2.c): New.
20639 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
20640 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
20642 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20644 * sysdeps/i386/fpu/e_exp2f.S: Removed.
20645 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
20646 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
20647 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20648 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20650 (CFLAGS-e_exp2f-sse2.c): New.
20651 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
20652 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
20654 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20656 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20658 (CFLAGS-e_exp2f-fma.c): New.
20659 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
20660 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
20662 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20664 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
20665 * sysdeps/i386/fpu/e_expf.S: Likewise.
20666 * sysdeps/i386/fpu/math_errf.c: Likewise.
20667 * sysdeps/i386/fpu/w_expf.c: Likewise.
20668 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
20669 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20670 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
20671 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
20672 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20673 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20674 Remove e_expf-ia32.
20675 (CFLAGS-e_expf-sse2.c): New.
20676 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
20677 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
20679 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20681 * sysdeps/x86_64/fpu/e_expf.S: Removed.
20682 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
20683 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
20684 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
20686 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
20688 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
20689 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
20691 (__redirect_expf): This.
20692 (SYMBOL_NAME): Changed to expf.
20693 (__ieee754_expf): Renamed to ...
20695 (__GI___expf): This.
20696 (__ieee754_expf): Add strong_alias.
20697 (__expf_finite): Likewise.
20699 Include <sysdeps/ieee754/flt-32/e_expf.c>.
20701 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
20704 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
20707 2017-10-21 Florian Weimer <fweimer@redhat.com>
20709 * posix/Makefile (tests): Add tst-glob-tilde.
20710 (tests-special): Add tst-glob-tilde-mem.out
20711 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
20712 (tst-glob-tilde-mem.out): Add mtrace check.
20713 * posix/tst-glob-tilde.c: New file.
20715 2017-10-20 Joseph Myers <joseph@codesourcery.com>
20717 * bits/floatn-common.h: New file.
20718 * math/Makefile (headers): Add bits/floatn-common.h.
20719 * bits/floatn.h: Include <bits/floatn-common.h>.
20720 * sysdeps/ia64/bits/floatn.h: Likewise.
20721 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
20722 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
20723 * sysdeps/powerpc/bits/floatn.h: Likewise.
20724 * sysdeps/x86/bits/floatn.h: Likewise.
20726 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20728 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
20729 indicates whether compiler emits an warning for alias for
20730 functions with incompatible types.
20733 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
20734 the auxiliary process is terminated by a signal before calling _exit
20737 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20740 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
20742 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
20743 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
20744 and bit_arch_XSAVEC_Usable if needed.
20745 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
20746 and bit_arch_Use_dl_runtime_resolve_opt.
20747 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
20749 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
20750 (bit_arch_Prefer_No_AVX512): Updated.
20751 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
20752 (bit_arch_XSAVEC_Usable): New.
20753 (STATE_SAVE_OFFSET): Likewise.
20754 (STATE_SAVE_MASK): Likewise.
20755 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
20756 (cpu_features): Add xsave_state_size and xsave_state_full_size.
20757 (index_arch_Use_dl_runtime_resolve_opt): Removed.
20758 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
20759 (index_arch_XSAVEC_Usable): New.
20760 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
20761 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
20762 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
20764 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
20765 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
20766 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
20767 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
20768 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
20769 _dl_runtime_resolve_xsavec.
20770 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
20772 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
20773 instead of VEC_SIZE.
20774 (REGISTER_SAVE_BND0): Removed.
20775 (REGISTER_SAVE_BND1): Likewise.
20776 (REGISTER_SAVE_BND3): Likewise.
20777 (REGISTER_SAVE_RAX): Always defined to 0.
20779 (_dl_runtime_resolve_avx): Likewise.
20780 (_dl_runtime_resolve_avx_slow): Likewise.
20781 (_dl_runtime_resolve_avx_opt): Likewise.
20782 (_dl_runtime_resolve_avx512): Likewise.
20783 (_dl_runtime_resolve_avx512_opt): Likewise.
20784 (_dl_runtime_resolve_sse): Likewise.
20785 (_dl_runtime_resolve_sse_vex): Likewise.
20787 (_dl_runtime_resolve_fxsave): Likewise.
20788 (USE_XSAVE): Likewise.
20789 (_dl_runtime_resolve_xsave): Likewise.
20790 (USE_XSAVEC): Likewise.
20791 (_dl_runtime_resolve_xsavec): Likewise.
20792 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
20794 (_dl_runtime_resolve_avx512_opt): Likewise.
20795 (_dl_runtime_resolve_avx): Likewise.
20796 (_dl_runtime_resolve_avx_opt): Likewise.
20797 (_dl_runtime_resolve_sse): Likewise.
20798 (_dl_runtime_resolve_sse_vex): Likewise.
20799 (_dl_runtime_resolve_fxsave): New.
20800 (_dl_runtime_resolve_xsave): Likewise.
20801 (_dl_runtime_resolve_xsavec): Likewise.
20803 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
20807 * posix/glob.c (__glob): Fix one-byte overflow.
20809 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
20811 * malloc/malloc.c (sysdep-cancel.h): Add include.
20813 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
20815 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
20817 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
20819 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
20820 (tests): Remove $(objpfx)ga_test depdendency.
20821 * resolv/ga_test.c: Remove file.
20823 2017-10-20 Mike FABIAN <mfabian@redhat.com>
20826 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
20827 * localedata/locales/kab_DZ: New file.
20829 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20831 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
20832 _dl_relocate_static_pie instead of _dl_start to compute load
20833 address in static PIE.
20835 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20837 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
20839 2017-10-20 Mike FABIAN <mfabian@redhat.com>
20842 * localedata/SUPPORTED: Add shn_MM/UTF-8.
20843 * localedata/locales/shn_MM: New file.
20845 2017-10-20 Florian Weimer <fweimer@redhat.com>
20848 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
20849 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
20850 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
20851 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
20852 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
20853 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
20855 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
20857 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20859 2017-10-19 Joseph Myers <joseph@codesourcery.com>
20861 * sysdeps/mips/ieee754/bits/floatn.h: New file.
20864 * sysdeps/mips/bits/long-double.h: Move to ....
20865 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
20867 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
20869 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
20871 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
20872 H.J. Lu <hongjiu.lu@intel.com>
20875 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20876 GLRO(dl_platform) to NULL.
20877 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
20878 (modules-names): Add tst-platformmod-1 and
20879 x86_64/tst-platformmod-2.
20880 (CFLAGS-tst-platform-1.c): New.
20881 (CFLAGS-tst-platformmod-1.c): Likewise.
20882 (CFLAGS-tst-platformmod-2.c): Likewise.
20883 (LDFLAGS-tst-platformmod-2.so): Likewise.
20884 ($(objpfx)tst-platform-1): Likewise.
20885 ($(objpfx)tst-platform-1.out): Likewise.
20886 (tst-platform-1-ENV): Likewise.
20887 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
20888 * sysdeps/x86_64/tst-platform-1.c: New file.
20889 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
20890 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
20892 2017-10-19 Mike FABIAN <mfabian@redhat.com>
20895 * locale/iso-639.def: Add Karbi.
20896 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
20897 * localedata/locales/mjw_IN: New file.
20899 2017-10-18 Joseph Myers <joseph@codesourcery.com>
20901 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
20902 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
20903 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
20904 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
20905 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
20906 (libm_alias_ldouble_other_r): Also create _Float128 alias.
20907 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
20909 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
20910 (libm_alias_ldouble_other_r): Also create _Float128 alias.
20911 * manual/math.texi (Mathematics): Document additional architecture
20912 support for _Float128.
20913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20914 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20915 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20916 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20917 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20918 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20919 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20920 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20921 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20922 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20923 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20924 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20925 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20926 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20927 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20929 2017-10-18 Renlin Li <renlin.li@arm.com>
20931 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
20932 _DYNAMIC symbol to calculate load address.
20934 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
20936 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
20937 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
20939 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
20940 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
20942 2017-10-18 Mike FABIAN <mfabian@redhat.com>
20945 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
20946 and improve readability by using more ASCII.
20947 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
20948 and improve readability by using more ASCII.
20950 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
20952 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
20953 not all targets support atomics on bool.
20955 2017-10-17 Joseph Myers <joseph@codesourcery.com>
20957 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
20958 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
20960 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20961 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
20962 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20963 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
20964 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20965 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
20967 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20969 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
20972 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
20975 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
20976 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
20977 (do_check_remalloced_chunk): Fix build bug.
20978 (do_check_malloc_state): Add assert that checks arena->top.
20979 (malloc_consolidate): Remove initialization.
20980 (int_mallinfo): Remove call to malloc_consolidate.
20981 (__libc_mallopt): Clarify why malloc_consolidate is needed.
20983 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
20985 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
20986 (have_fastchunks): Remove.
20987 (clear_fastchunks): Remove.
20988 (set_fastchunks): Remove.
20989 (malloc_state): Add have_fastchunks.
20990 (malloc_init_state): Use have_fastchunks.
20991 (do_check_malloc_state): Remove incorrect invariant checks.
20992 (_int_malloc): Use have_fastchunks.
20993 (_int_free): Likewise.
20994 (malloc_consolidate): Likewise.
20996 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
20998 * malloc/malloc.c (tcache_put): Inline.
20999 (tcache_get): Inline.
21001 2017-10-17 Jordi Mallach <jordi@gnu.org>
21003 Aurelien Jarno <aurelien@aurel32.net>
21005 * localedata/locales/ca_ES@valencia: New file.
21006 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
21008 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
21011 * math/math.h: Let signbit use the builtin in C++ mode with gcc
21014 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21016 * scripts/build-many-glibcs.py (Context.add_all_configs):
21017 Add arm-linux-gnueabihf multiarch extra_glibcs.
21019 * sysdeps/generic/ifunc-init.h: New file.
21020 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
21022 2017-10-17 Mike FABIAN <mfabian@redhat.com>
21025 * localedata/locales/el_GR: Set n_cs_precedes to 0.
21026 * localedata/locales/el_CY: copy "el_GR" because it is identical.
21027 * stdlib/tst-strfmon_l.c: adapt test case.
21029 2017-10-16 Joseph Myers <joseph@codesourcery.com>
21031 * sysdeps/generic/float128-abi.h: New file.
21032 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
21033 non-__prefixed symbols to ....
21034 * math/Versions: ... here. Include <float128-abi.h>.
21035 * stdlib/Versions ... and here. Include <float128-abi.h>
21037 2017-10-16 Florian Weimer <fweimer@redhat.com>
21039 * version.h (VERSION): Switch to ".9000" as the development
21042 2017-10-16 Florian Weimer <fweimer@redhat.com>
21045 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
21046 compat_symbol_reference to access non-default version.
21048 2017-10-16 Florian Weimer <fweimer@redhat.com>
21050 * malloc/Makefile (others-extras): Set to mcheck-init.o.
21052 2017-10-16 Carlos O'Donell <carlos@redhat.com>
21054 * include/shlib-compat.h (compat_symbol_reference): Update
21057 2017-10-16 Joseph Myers <joseph@codesourcery.com>
21059 * math/Makefile (test-types): Add
21060 $(type-float128-$(float128-alias-fcts)).
21061 * math/test-float128.h (TYPE_STR): Define conditional on
21062 [FLT128_MANT_DIG == LDBL_MANT_DIG].
21063 (ULP_IDX): Likewise.
21064 (ULP_I_IDX): Likewise.
21066 * stdlib/strtold.c: Include <bits/floatn.h>
21067 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
21068 and later undefine as macro. Define as weak alias if
21070 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
21071 and later undefine as macro. Define as weak alias if
21073 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
21074 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
21075 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21076 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21077 Define and later undefine as macro. Define as weak alias if
21079 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
21081 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
21082 Define and later undefine as macro. Define as weak alias if
21084 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21085 Define and later undefine as macro. Define as weak alias if
21088 2017-10-15 Carlos O'Donell <carlos@redhat.com>
21090 * localedata/collate-test.c (allocate_arrays): Don't use \n in
21091 record_verbose messages.
21093 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
21096 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
21097 to silence -O3 -Wall warning with GCC 7.
21099 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
21101 * Makeconfig (+link-static-before-libc): Use the first of
21102 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
21103 * gmon/Makefile (tests): Add tst-gmon-static.
21104 (tests-static): Likewise.
21105 (CFLAGS-tst-gmon-static.c): New.
21106 (CRT-tst-gmon-static): Likewise.
21107 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
21108 (tst-gmon-static-ENV): Likewise.
21109 (tests-special): Likewise.
21110 ($(objpfx)tst-gmon-static.out): Likewise.
21111 (clean-tst-gmon-static-data): Likewise.
21112 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
21113 * gmon/tst-gmon-static-gprof.sh: New file.
21114 * gmon/tst-gmon-static.c: Likewise.
21116 2017-10-13 Carlos O'Donell <carlos@redhat.com>
21119 * locale/programs/linereader.c (get_string): Don't warn on
21120 non-symbolic character.
21123 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
21127 * locale/programs/record-status.h: New file
21128 * locale/programs/locale.c: Add comment.
21129 * locale/programs/charmap-dir.c: Don't include error.h.
21130 (charmap_opendir): Use record_error.
21131 * locale/programs/charmap.c: Don't include error.h.
21132 (charmap_read): Use record_error, and record_warning.
21133 (parse_charmap): Likewise.
21134 * locale/programs/ld-address.c: Don't include error.h.
21135 (address_finish): Use record_error, and record_warning.
21136 * locale/programs/ld-collate.c: Don't include error.h.
21137 (collate_finish): Use record_error, and record_error_at_line.
21138 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
21139 (ctype_class_new): Likewise.
21140 (ctype_map_new): Likewise.
21141 (set_one_default): Likewise.
21142 (set_class_defaults): Likewise.
21143 (translit_flatten): Likewise.
21144 (allocate_arrays): Use record_error, and record_verbose.
21145 * locale/programs/ld-identification.c: Don't include error.h.
21146 (indentation_finish): Use record_error and record_warning.
21147 * locale/programs/ld-measurement.c: Don't include error.h.
21148 (measurement_finish): Use record_error.
21149 * locale/programs/ld-messages.c
21150 (message_finish): Likewise.
21151 * locale/programs/ld-monetary.c
21152 (monetary_finish): Likewise.
21153 * locale/programs/ld-name.c (name_finish): Use record_error
21154 and record_warning.
21155 * locale/programs/ld-numeric.c
21156 (numeric_finish): Use record_error.
21157 * locale/programs/ld-paper.c: Don't include error.h.
21158 (paper_finish): Use record_error.
21159 * locale/programs/ld-telephone.c: Don't include error.h.
21160 (telephone_finish): Use record_error.
21161 * locale/programs/ld-time.c (time_finish): Likewise.
21162 * locale/programs/linereader.h (lr_error): Make inline func.
21163 * locale/programs/localedef.c: Define recorded_warning_count,
21164 and recorded_error_count.
21165 (main): Use record_error. Use recorded_error_count and
21166 recorded_warning_count to issue correct error returns.
21167 (add_to_readlist): Use record_error.
21168 (find_locale): Likewise.
21169 (load_locale): Likewise.
21170 * locale/programs/localedef.h: Remove be_quiet
21171 and WITH_CUR_LOCALE.
21172 * locale/programs/locarchive.c (compare_from_file): Use
21174 * locale/programs/locfile.c (write_locale_data): Use
21176 * locale/programs/repertoire.c: Dont include error.h.
21177 (repertoire_complain): Use record_error.
21178 * localedata/tst-fmon.sh: Expect failures from localedef.
21179 * localedata/tst-locale.sh: Likewise.
21180 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
21182 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
21183 (REPORTS): Likewise.
21185 (i18n): Rename to...
21186 (i18n_ctype): ...this.
21187 (i18n-report): Rename to...
21188 (i18n_ctype-report): ...this.
21189 * localedata/locales/i18n_ctype: Regenerate.
21190 * localedata/locales/i18n: copy i18n_ctype.
21192 2017-10-13 Joseph Myers <joseph@codesourcery.com>
21194 * stdlib/strfroml.c: Include <bits/floatn.h>.
21195 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
21196 Define before include of <stdlib.h> and undefine afterwards, then
21197 define as weak alias.
21199 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
21200 Undefine and restore default definition. Use
21201 libm_alias_ldouble_other.
21203 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
21206 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
21209 2017-10-13 James Clarke <jrtc27@jrtc27.com>
21211 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21212 Assign sym_map to be map for local symbols, as TLS relocations
21213 use sym_map to determine whether the symbol is defined and to
21214 extract the TLS information.
21215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21216 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21218 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21221 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
21222 (math_force_eval): Add powerpc version.
21225 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
21227 (do_test): Likewise.
21228 * stdio-common/tst-printf.sh: Likewise.
21229 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
21230 ifdef clause in order to set the carry bit right. Replace r0 by
21231 0 without changing the behavior.
21233 2017-10-13 Joseph Myers <joseph@codesourcery.com>
21235 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
21236 <libm-alias-ldouble.h>.
21237 (fabsl): Define using libm_alias_ldouble.
21238 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
21239 <libm-alias-ldouble.h>.
21240 (fabsl): Define using libm_alias_ldouble.
21242 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
21243 Remove conditional code.
21245 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
21246 Rename to __clog10_internal_l.
21247 (__clog10_internal_l): Define aliases using
21248 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
21251 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21253 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
21254 * benchtests/sincosf-inputs: New file.
21255 * benchtests/cosf-inputs: New file.
21256 * benchtests/sinf-inputs: New file.
21258 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21260 * posix/tst-spawn.c (do_test): Wait for both children.
21262 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
21265 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
21266 tests-pie): Add tst-gmon-pie.
21267 (CFLAGS-tst-gmon-pie.c): New.
21268 (CRT-tst-gmon-pie): Likewise.
21269 (tst-gmon-pie-ENV): Likewise.
21270 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
21271 ($(objpfx)tst-gmon-pie.out): Likewise.
21272 (clean-tst-gmon-pie-data): Likewise.
21273 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
21274 * gmon/gmon.c [PIC]: Include <link.h>.
21275 [PIC] (callback): New function.
21276 (write_hist): Add an argument for load address. Subtract load
21278 (write_call_graph): Likewise.
21279 (write_gmon): Call __dl_iterate_phdr to get load address, pass
21280 it to write_hist and write_call_graph.
21281 * gmon/tst-gmon-pie.c: New file.
21283 2017-10-11 Joseph Myers <joseph@codesourcery.com>
21285 * math/Makefile (test-types-basic): New variable.
21286 (test-types): Likewise.
21287 (libm-test-support): Use $(test-types) instead of $(types).
21288 (libm-tests-base-normal): Likewise.
21289 (libm-tests-base-finite): Likewise.
21290 (libm-tests-base-inline): Likewise.
21291 (generated): Likewise.
21292 ($(objpfx)libm-test-support-$(t).c): Likewise.
21293 (libm-tests-for-type iterator): Likewise.
21294 (libm-test-support iterator): Likewise.
21295 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
21296 (ulp_idx): Use ULP_IDX.
21297 * math/test-ldouble.h: Include <float.h>.
21298 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
21299 (ULP_IDX): New macro.
21300 (ULP_I_IDX): Likewise.
21301 * math/test-double.h (ULP_IDX): Likewise.
21302 (ULP_I_IDX): Likewise.
21303 * math/test-float.h (ULP_IDX): Likewise.
21304 (ULP_I_IDX): Likewise.
21305 * math/test-float128.h (ULP_IDX): Likewise.
21306 (ULP_I_IDX): Likewise.
21308 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21310 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
21311 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21312 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21313 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
21314 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21315 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
21316 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
21317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21319 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21320 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
21321 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21322 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21324 (SINGLE_THREAD_BY_GLOBAL): Define.
21325 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21327 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21329 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21331 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21333 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
21334 (SINGLE_THREAD_BY_GLOBAL): Likewise.
21335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21338 2017-10-11 Andreas Schwab <schwab@suse.de>
21340 * nis/Makefile (aux): Remove.
21341 * nscd/Makefile (aux): Add nscd_hash.
21342 (nscd-modules): Likewise.
21343 ($(objpfx)nscd): Don't depend on libnsl.
21344 * nscd/nscd_hash.c: New file.
21345 * nscd/nscd_hash.h: Likewise.
21346 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
21347 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
21348 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
21349 instead of <nis/rpcsvc/nis.h>.
21350 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
21352 2017-10-11 Florian Weimer <fweimer@redhat.com>
21355 Avoid large NSS buffers with many addresses, aliases.
21356 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
21357 using dynarrays and struct alloc_buffer.
21358 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
21359 (tst-nss-files-hosts-multi): Link with -ldl.
21360 * nss/tst-nss-files-hosts-multi.c: New file.
21362 2017-10-11 Florian Weimer <fweimer@redhat.com>
21365 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
21366 scratch_buffer. Eliminate gotos.
21368 2017-10-11 Joseph Myers <joseph@codesourcery.com>
21370 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
21371 libm_alias_ldouble_other.
21372 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
21373 undefine and redefine.
21374 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
21375 (exp10l): Do not define here.
21376 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
21377 (weak_alias): Undefine and redefine.
21378 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
21379 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
21380 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
21381 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
21383 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
21384 [!__fma] (fma): Define using libm_alias_double.
21385 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
21386 [!__fmaf] (fmaf): Define using libm_alias_float.
21387 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
21388 (fmal): Define using libm_alias_ldouble.
21390 2017-10-10 Joseph Myers <joseph@codesourcery.com>
21392 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
21394 (libm_alias_double_other): Likewise.
21395 (libm_alias_double_r): Use libm_alias_double_other_r.
21396 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
21398 (libm_alias_float_other): Likewise.
21399 (libm_alias_float_r): Use libm_alias_float_other_r.
21400 * sysdeps/generic/libm-alias-float128.h
21401 (libm_alias_float128_other_r): New macro.
21402 (libm_alias_float128_other): Likewise.
21403 (libm_alias_float128_r): Use libm_alias_float128_other_r.
21404 * sysdeps/generic/libm-alias-ldouble.h
21405 (libm_alias_ldouble_other_r): New macro.
21406 (libm_alias_ldouble_other): Likewise.
21407 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
21408 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21409 (libm_alias_double_other_r): New macro.
21410 (libm_alias_double_other): Likewise.
21411 (libm_alias_double_r): Use libm_alias_double_other_r.
21412 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21413 (libm_alias_ldouble_other_r): New macro.
21414 (libm_alias_ldouble_other): Likewise.
21415 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
21416 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
21417 [!USE_AS_COMPAT]: Use libm_alias_double_other.
21418 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
21419 [!USE_AS_COMPAT]: Use libm_alias_float_other.
21420 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
21421 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
21422 * math/w_exp2f.c: Use libm_alias_float_other.
21423 * math/w_expf.c: Likewise.
21424 * math/w_log2f.c: Likewise.
21425 * math/w_logf.c: Likewise.
21426 * math/w_powf.c: Likewise.
21427 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
21428 [!__exp2f]: Use libm_alias_float_other.
21429 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
21430 [!__expf]: Use libm_alias_float_other.
21431 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
21432 [!__log2f]: Use libm_alias_float_other.
21433 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
21434 [!__logf]: Use libm_alias_float_other.
21435 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
21436 [!__powf]: Use libm_alias_float_other.
21438 2017-10-10 Florian Weimer <fweimer@redhat.com>
21440 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
21442 (_nss_files_gethostbyname3_r): Call it.
21444 2017-10-09 Joseph Myers <joseph@codesourcery.com>
21446 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
21447 error. Remove default definition of declare_mgen_alias.
21448 [!declare_mgen_alias_r]: Likewise.
21449 * sysdeps/generic/math-type-macros-double.h
21450 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
21451 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
21452 (declare_mgen_alias_r): Likewise.
21453 * sysdeps/generic/math-type-macros-float128.h
21454 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
21455 * sysdeps/generic/math-type-macros-ldouble.h
21456 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
21457 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
21459 (declare_mgen_alias_r_s): Likewise.
21460 (declare_mgen_alias_r): Likewise.
21461 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
21462 (lgamma_r): Define using libm_alias_double_r.
21463 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
21464 (lgammaf_r): Define using libm_alias_float_r.
21465 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
21466 (lgammal_r): Define using libm_alias_ldouble_r.
21467 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
21468 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
21470 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21472 * lib/glob.c (__glob_pattern_type): Remove now-spurious
21473 extern declaration.
21475 2017-10-09 Joseph Myers <joseph@codesourcery.com>
21477 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
21479 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
21482 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
21483 [__cplusplus >= 201103] (__USE_ISOC99): Define.
21484 * math/Makefile (test-math-cxx11): New test.
21485 * math/test-math-cxx11.cc: New file.
21487 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
21489 * login/openpty.c (openpty): Close slave pty file descriptor on error.
21491 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
21492 call to allocate the slave pty file descriptor.
21494 2017-10-06 Joseph Myers <joseph@codesourcery.com>
21496 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
21497 [!__fma] (fma): Define using libm_alias_double.
21498 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
21499 [!__fma] (fma): Define using libm_alias_double.
21501 * sysdeps/ieee754/float128/float128_private.h: Include
21502 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
21503 (libm_alias_ldouble_r): Undefine and redefine.
21504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
21505 <libm-alias-ldouble.h>.
21506 (asinhl): Define using libm_alias_ldouble.
21507 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
21508 <libm-alias-ldouble.h>.
21509 (atanl): Define using libm_alias_ldouble.
21510 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
21511 <libm-alias-ldouble.h>.
21512 (cbrtl): Define using libm_alias_ldouble.
21513 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
21514 <libm-alias-ldouble.h>.
21515 (ceill): Define using libm_alias_ldouble.
21516 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
21517 <libm-alias-ldouble.h>.
21518 (copysignl): Define using libm_alias_ldouble.
21519 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
21520 <libm-alias-ldouble.h>.
21521 (cosl): Define using libm_alias_ldouble.
21522 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
21523 <libm-alias-ldouble.h>.
21524 (erfl): Define using libm_alias_ldouble.
21526 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
21527 <libm-alias-ldouble.h>.
21528 (expm1l): Define using libm_alias_ldouble.
21529 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
21530 <libm-alias-ldouble.h>.
21531 (fabsl): Define using libm_alias_ldouble.
21532 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
21533 <libm-alias-ldouble.h>.
21534 (floorl): Define using libm_alias_ldouble.
21535 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
21536 <libm-alias-ldouble.h>.
21537 (fmal): Define using libm_alias_ldouble.
21538 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
21539 <libm-alias-ldouble.h>.
21540 (frexpl): Define using libm_alias_ldouble.
21541 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
21542 libm_alias_ldouble.
21543 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
21544 <libm-alias-ldouble.h>.
21545 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
21546 libm_alias_ldouble.
21547 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
21548 <libm-alias-ldouble.h>.
21549 (getpayloadl): Define using libm_alias_ldouble.
21550 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
21551 <libm-alias-ldouble.h>.
21552 (llrintl): Define using libm_alias_ldouble.
21553 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
21554 <libm-alias-ldouble.h>.
21555 (llroundl): Define using libm_alias_ldouble.
21556 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
21557 <libm-alias-ldouble.h>.
21558 (logbl): Define using libm_alias_ldouble.
21559 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
21560 <libm-alias-ldouble.h>.
21561 (lrintl): Define using libm_alias_ldouble.
21562 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
21563 <libm-alias-ldouble.h>.
21564 (lroundl): Define using libm_alias_ldouble.
21565 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
21566 <libm-alias-ldouble.h>.
21567 (modfl): Define using libm_alias_ldouble.
21568 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
21569 <libm-alias-ldouble.h>.
21570 (nearbyintl): Define using libm_alias_ldouble.
21571 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
21572 <libm-alias-ldouble.h>.
21573 (nextafterl): Define using libm_alias_ldouble.
21574 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
21575 <libm-alias-ldouble.h>.
21576 (nextupl): Define using libm_alias_ldouble.
21577 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
21578 <libm-alias-ldouble.h>.
21579 (remquol): Define using libm_alias_ldouble.
21580 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
21581 <libm-alias-ldouble.h>.
21582 (rintl): Define using libm_alias_ldouble.
21583 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
21584 <libm-alias-ldouble.h>.
21585 (roundevenl): Define using libm_alias_ldouble.
21586 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
21587 <libm-alias-ldouble.h>.
21588 (roundl): Define using libm_alias_ldouble.
21589 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
21590 using libm_alias_ldouble.
21591 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
21592 <libm-alias-ldouble.h>.
21593 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
21594 Define using libm_alias_ldouble.
21595 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
21596 <libm-alias-ldouble.h>.
21597 (sincosl): Define using libm_alias_ldouble.
21598 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
21599 <libm-alias-ldouble.h>.
21600 (sinl): Define using libm_alias_ldouble.
21601 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
21602 <libm-alias-ldouble.h>.
21603 (tanhl): Define using libm_alias_ldouble.
21604 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
21605 <libm-alias-ldouble.h>.
21606 (tanl): Define using libm_alias_ldouble.
21607 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
21608 <libm-alias-ldouble.h>.
21609 (totalorderl): Define using libm_alias_ldouble.
21610 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
21611 <libm-alias-ldouble.h>.
21612 (totalordermagl): Define using libm_alias_ldouble.
21613 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
21614 <libm-alias-ldouble.h>.
21615 (truncl): Define using libm_alias_ldouble.
21616 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
21617 libm_alias_ldouble.
21618 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
21619 libm_alias_ldouble.
21620 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
21621 <libm-alias-ldouble.h>.
21622 (weak_alias): Do not undefine and redefine.
21623 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21624 (copysignl): Define with long_double_symbol only if [IS_IN
21626 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
21627 <libm-alias-ldouble.h>.
21628 (weak_alias): Do not undefine and redefine.
21629 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21630 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
21631 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
21632 <libm-alias-ldouble.h>.
21633 (weak_alias): Do not undefine and redefine.
21634 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21635 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
21636 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
21637 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
21640 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
21641 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
21643 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
21646 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
21647 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
21649 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
21650 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
21651 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
21653 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
21654 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
21655 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
21656 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
21658 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
21661 2017-10-06 Carlos O'Donell <carlos@redhat.com>
21664 * malloc/malloc.c (tcache_shutting_down): Use bool type.
21665 (tcache_thread_freeres): Set tcache_shutting_down before
21666 freeing the tcache.
21667 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
21668 * malloc/tst-malloc-tcache-leak.c: New file.
21670 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21672 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
21673 back to powerpc32 file.
21674 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
21675 (memrchr): Add __memrchr_power8 to ifunc list.
21676 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
21677 extra bytes for unaligned inputs.
21679 2017-10-06 Joseph Myers <joseph@codesourcery.com>
21681 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
21682 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
21684 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21687 2017-10-05 Joseph Myers <joseph@codesourcery.com>
21689 * sysdeps/arm/libm-test-ulps: Update.
21691 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
21692 <libm-alias-ldouble.h>.
21693 (asinhl): Define using libm_alias_ldouble.
21694 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
21695 <libm-alias-ldouble.h>.
21696 (cbrtl): Define using libm_alias_ldouble.
21697 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
21698 <libm-alias-ldouble.h>.
21699 (copysignl): Define using libm_alias_ldouble.
21700 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
21701 <libm-alias-ldouble.h>.
21702 (cosl): Define using libm_alias_ldouble.
21703 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
21704 <libm-alias-ldouble.h>.
21705 (erfl): Define using libm_alias_ldouble.
21707 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
21708 <libm-alias-ldouble.h>.
21709 (fmal): Define using libm_alias_ldouble.
21710 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
21711 <libm-alias-ldouble.h>.
21712 (frexpl): Define using libm_alias_ldouble.
21713 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
21714 libm_alias_ldouble.
21715 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
21716 <libm-alias-ldouble.h>.
21717 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
21718 libm_alias_ldouble.
21719 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
21720 <libm-alias-ldouble.h>.
21721 (getpayloadl): Define using libm_alias_ldouble.
21722 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
21723 <libm-alias-ldouble.h>.
21724 (llrintl): Define using libm_alias_ldouble.
21725 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
21726 <libm-alias-ldouble.h>.
21727 (llroundl): Define using libm_alias_ldouble.
21728 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
21729 <libm-alias-ldouble.h>.
21730 (lrintl): Define using libm_alias_ldouble.
21731 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
21732 <libm-alias-ldouble.h>.
21733 (lroundl): Define using libm_alias_ldouble.
21734 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
21735 <libm-alias-ldouble.h>.
21736 (modfl): Define using libm_alias_ldouble.
21737 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
21738 <libm-alias-ldouble.h>.
21739 (nextupl): Define using libm_alias_ldouble.
21740 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
21741 <libm-alias-ldouble.h>.
21742 (remquol): Define using libm_alias_ldouble.
21743 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
21744 <libm-alias-ldouble.h>.
21745 (roundevenl): Define using libm_alias_ldouble.
21746 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
21747 <libm-alias-ldouble.h>.
21748 (roundl): Define using libm_alias_ldouble.
21749 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
21750 using libm_alias_ldouble.
21751 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
21752 <libm-alias-ldouble.h>.
21753 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
21754 <libm-alias-ldouble.h>.
21755 (setpayloadsigl): Define using libm_alias_ldouble.
21756 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
21757 <libm-alias-ldouble.h>.
21758 (sincosl): Define using libm_alias_ldouble.
21759 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
21760 <libm-alias-ldouble.h>.
21761 (sinl): Define using libm_alias_ldouble.
21762 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
21763 <libm-alias-ldouble.h>.
21764 (tanhl): Define using libm_alias_ldouble.
21765 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
21766 <libm-alias-ldouble.h>.
21767 (tanl): Define using libm_alias_ldouble.
21768 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
21769 <libm-alias-ldouble.h>.
21770 (totalorderl): Define using libm_alias_ldouble.
21771 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
21772 <libm-alias-ldouble.h>.
21773 (totalordermagl): Define using libm_alias_ldouble.
21774 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
21775 libm_alias_ldouble.
21776 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
21777 libm_alias_ldouble.
21779 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
21781 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
21783 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21784 (__libc_ifunc_impl_list): Likewise.
21785 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
21786 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
21788 * benchtests/bench-memmove-walk.c: New file.
21789 * benchtests/Makefile (string-benchset): Add it.
21791 * benchtests/bench-memset-walk.c: New file.
21792 * benchtests/Makefile (string-benchset): Add it.
21794 * benchtests/bench-memcpy-walk.c: New file.
21795 * benchtests/Makefile (string-benchset): Add it.
21797 2017-10-05 Florian Weimer <fweimer@redhat.com>
21799 nscd: Eliminate compilation time dependency in the build output.
21800 * nscd/nscd_stat.c (STATDATA_VERSION)
21801 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
21802 (STATDATA_VERSION_FULL): New macro definitions.
21803 (compilation): Remove.
21804 (struct statdata): Adjust version member.
21805 (send_stats): Set version from STATDATA_VERSION_FULL.
21806 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
21808 2017-10-05 Joseph Myers <joseph@codesourcery.com>
21810 * configure.ac (--enable-add-ons): Remove option.
21811 (machine): Do not mention add-ons in comment.
21812 (LIBC_PRECONFIGURE): Likewise.
21813 (add_ons): Remove variable and sanity checks and logic to locate
21815 (add_ons_automatic): Remove variable.
21816 (configured_add_ons): Likewise.
21817 (add_ons_sfx): Likewise.
21818 (add_ons_pfx): Likewise.
21819 (add_on_subdirs): Likewise.
21820 (sysnames_add_ons): Likewise. Remove loop over add-ons and
21821 consideration of add-ons in Implies handling.
21822 (sysdeps_add_ons): Likewise.
21823 * configure: Regenerated.
21824 * libidn/configure.ac: Remove.
21825 * libidn/configure: Likewise.
21826 * sysdeps/unix/inet/configure.ac: New file.
21827 * sysdeps/unix/inet/configure: New generated file.
21828 * sysdeps/unix/inet/Subdirs: Add libidn.
21829 * Makeconfig (sysdeps-srcdirs): Remove variable.
21830 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
21831 ($(common-objpfx)config.status): Do not depend on add-on files.
21832 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
21834 (all-subdirs): Do not include $(add-on-subdirs).
21835 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
21836 * config.make.in (add-ons): Remove variable.
21837 (add-on-subdirs): Likewise.
21838 (sysdeps-add-ons): Likewise.
21839 * manual/Makefile (add-chapters): Remove.
21840 ($(objpfx)texis): Do not depend on $(add-chapters).
21841 (nonexamples): Do not handle $(add-chapters).
21842 (examples): Do not handle $(add-ons).
21843 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
21845 * manual/install.texi (Installation): Do not mention add-ons.
21846 (--enable-add-ons): Do not document configure option.
21847 * INSTALL: Regenerated.
21848 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
21849 * manual/maint.texi (Hierarchy Conventions): Do not mention
21851 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
21853 * scripts/gen-sorted.awk: Do not handle Subdirs files from
21855 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
21856 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
21858 2017-10-05 Andreas Schwab <schwab@suse.de>
21861 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
21862 (_IO_flush_all_lockp): Always lock list_all_lock.
21863 (_IO_flush_all_linebuffered): Likewise.
21864 (_IO_unbuffer_all): Likewise.
21866 2017-10-05 Florian Weimer <fweimer@redhat.com>
21869 Do not flush stdio streams on abort.
21870 * stdlib/abort.c (fflush): Remove macro definition.
21871 (abort): Remove stages related to stdio flushing.
21873 2017-10-05 Florian Weimer <fweimer@redhat.com>
21875 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
21877 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
21879 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21881 2017-10-05 Florian Weimer <fweimer@redhat.com>
21883 * support/support_format_hostent.c (support_format_hostent): Add
21884 more error information for NETDB_INTERNAL.
21886 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21888 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
21889 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
21890 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
21891 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
21892 AC_DEFINE if multi-arch is enabled.
21893 * sysdeps/i386/configure: Regenerated.
21895 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21897 * Makeconfig (+link-static-before-libc): Use
21898 $(DEFAULT-LDFLAGS-$(@F)).
21899 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
21900 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
21901 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
21903 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21905 * elf/Makefile (tests): Add tst-main1.
21906 (modules-names): Add tst-main1mod.
21907 ($(objpfx)tst-main1): New.
21908 (CRT-tst-main1): Likewise.
21909 (LDFLAGS-tst-main1): Likewise.
21910 (LDLIBS-tst-main1): Likewise.
21911 (tst-main1mod.so-no-z-defs): Likewise.
21912 * elf/tst-main1.c: New file.
21913 * elf/tst-main1mod.c: Likewise.
21915 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21917 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
21919 2017-10-04 Joseph Myers <joseph@codesourcery.com>
21921 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
21922 (fma): Define using libm_alias_double.
21923 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
21924 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
21926 (fmal): Do not define as compat symbol here.
21927 * sysdeps/alpha/fpu/s_fma.c: New file.
21929 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
21931 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
21933 2017-10-04 Joseph Myers <joseph@codesourcery.com>
21936 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21938 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
21940 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
21941 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21942 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
21943 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21945 Include <math_ldbl_opt.h>
21946 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
21948 (compat_symbol): Undefine and redefine.
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21951 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21952 (compat_symbol): Undefine and redefine.
21953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
21954 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
21955 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
21956 GLIBC_2_1 for libm.
21957 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
21958 GLIBC_2.0 copysignl symbol.
21959 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21960 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
21962 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
21964 2017-10-04 Florian Weimer <fweimer@redhat.com>
21966 * scripts/check-local-headers.sh: Ignore nspr4 header file
21967 directory in addition to nspr.
21969 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
21972 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
21973 * configure: Regenerate.
21974 * crypt/Makefile (nss-cpp-flags): New variable.
21975 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
21976 (CPPFLAGS-md5-crypt.c): Use it.
21977 * scripts/check-local-headers.sh: Ignore nspr header file
21980 2017-10-04 Andreas Schwab <schwab@suse.de>
21982 * nis/Makefile (services): Remove compat.
21983 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
21984 ($(objpfx)libnss_compat.so): Remove rule.
21985 * nis/Versions (libnss_compat): Remove.
21986 * nss/Makefile (services): Add compat.
21987 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
21988 * nss/Versions (libnss_compat): Define.
21989 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
21990 Don't include <rpc/types.h>. Replace bool_t by bool.
21991 * nss/nss_compat/compat-initgroups.c: Likewise.
21992 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
21993 instead of <rpcsrv/ypclnt.h>.
21994 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
21995 yp_get_default_domain.
21996 * nss/nss_compat/compat-pwd.c: Likewise.
21997 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
21998 yp_get_default_domain.
21999 * nss/nss_compat/nisdomain.c: New file.
22000 * nss/nss_compat/nisdomain.h: Likewise.
22002 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22005 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
22006 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22008 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22011 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
22012 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
22014 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22016 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
22017 "movl main@GOTOFF(%ebx), %eax".
22019 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22021 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
22022 allow undefined _DYNAMIC in PIE libc.a.
22023 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
22026 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22028 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
22031 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22033 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
22036 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22038 * math/test-math-iscanonical.cc (error): Replace bool with int.
22040 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22042 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
22043 (modf): Define using libm_alias_double, only if [!__modf].
22044 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
22045 <libm-alias-double.h>.
22046 (modf): Define using libm_alias_double, only if [!__modf].
22047 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
22048 compat symbol here.
22049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
22050 (weak_alias): Do not undefine and redefine.
22051 (strong_alias): Likewise.
22052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
22053 (weak_alias): Likewise.
22054 (strong_alias): Likewise.
22056 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
22057 (logb): Define using libm_alias_double, only if [!__logb].
22058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
22059 <libm-alias-double.h>.
22060 (logb): Define using libm_alias_double, only if [!__logb].
22061 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
22062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
22063 (weak_alias): Do not undefine and redefine.
22064 (strong_alias): Likewise.
22065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
22066 (weak_alias): Likewise.
22067 (strong_alias): Likewise.
22069 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22071 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
22072 Check SHARED instead PIC.
22074 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22076 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
22077 [!__fmaf] (fmaf): Define using libm_alias_float.
22079 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
22080 (frexp): Define using libm_alias_double.
22081 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
22082 <libm-alias-double.h>.
22083 (frexp): Define using libm_alias_double.
22084 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
22085 compat symbol here.
22087 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22090 * math/math.h: Trivial fix for unbalanced parentheses in comment.
22091 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
22092 (CFLAGS-test-math-iscanonical.cc): New variable.
22093 * math/test-math-iscanonical.cc: New file.
22094 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
22095 Provide a C++ implementation based on function overloading,
22096 rather than using __MATH_TG, which uses C-only builtins.
22097 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
22099 * sysdeps/powerpc/powerpc64le/Makefile
22100 (CFLAGS-test-math-iscanonical.cc): New variable.
22102 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22104 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
22105 (ceil): Define using libm_alias_double.
22106 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
22107 (floor): Define using libm_alias_double.
22108 * sysdeps/ieee754/dbl-64/s_llround.c: Include
22109 <libm-alias-double.h>.
22110 (llround): Define using libm_alias_double.
22111 * sysdeps/ieee754/dbl-64/s_lround.c: Include
22112 <libm-alias-double.h>.
22113 (lround): Define using libm_alias_double.
22114 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
22115 <libm-alias-double.h>.
22116 (nearbyint): Define using libm_alias_double.
22117 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
22118 <libm-alias-double.h>.
22119 (remquo): Define using libm_alias_double.
22120 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
22121 (rint): Define using libm_alias_double.
22122 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
22123 (round): Define using libm_alias_double.
22124 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
22125 (trunc): Define using libm_alias_double.
22126 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
22127 <libm-alias-double.h>.
22128 (ceil): Define using libm_alias_double.
22129 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
22130 <libm-alias-double.h>.
22131 (floor): Define using libm_alias_double.
22132 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
22133 <libm-alias-double.h>.
22134 (llround): Define using libm_alias_double.
22135 [_LP64] (lround): Likewise.
22136 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
22137 <libm-alias-double.h>.
22138 [!_LP64] (lround): Define using libm_alias_double.
22139 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
22140 <libm-alias-double.h>.
22141 (nearbyint): Define using libm_alias_double.
22142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
22143 <libm-alias-double.h>.
22144 (remquo): Define using libm_alias_double.
22145 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
22146 <libm-alias-double.h>.
22147 (rint): Define using libm_alias_double.
22148 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
22149 <libm-alias-double.h>.
22150 (round): Define using libm_alias_double.
22151 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
22152 <libm-alias-double.h>.
22153 (trunc): Define using libm_alias_double.
22154 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
22155 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
22156 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
22157 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
22158 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
22159 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
22160 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
22161 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
22162 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
22164 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22166 * math/w_remainder.c: New file.
22167 * math/w_remainderf.c: New file.
22168 * math/w_remainderl.c: New file.
22170 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22172 * elf/rtld.c (BOOTSTRAP_MAP): New.
22173 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
22174 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22176 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22178 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22181 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22183 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
22184 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
22185 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
22186 rtld_hidden_data_ver): Define to empty.
22187 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
22188 __assert_perror_fail): Likewise.
22189 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22190 (__rewinddir): Likewise.
22191 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22192 (__profile_frequency): Likewise.
22193 * include/setjmp.h (__sigsetjmp): Likewise.
22194 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
22195 __libc_sigaction): Likewise.
22196 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
22197 not set hidden attribute.
22198 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
22199 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
22200 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
22201 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
22202 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
22203 __fxstatat64): Likewise.
22204 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22205 (__uname): Likewise.
22206 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22207 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
22208 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
22209 (NO_RTLD_HIDDEN): Set.
22210 * sysdeps/mach/hurd/configure: Refresh.
22211 * config.h.in: Refresh.
22213 2017-10-02 Joseph Myers <joseph@codesourcery.com>
22215 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
22216 (atan): Define using libm_alias_double.
22217 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
22218 (tan): Define using libm_alias_double.
22219 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
22220 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
22223 define as weak alias of __atan. Do not define any aliases if
22225 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
22226 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
22227 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
22228 as weak alias of __tan. Do not define any aliases if [__tan].
22229 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
22230 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
22231 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
22233 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
22234 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
22235 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
22236 and define as weak alias of __atan.
22237 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
22239 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
22240 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
22241 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
22242 define as weak alias of __tan.
22244 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22246 * math/w_lgamma.c: New file.
22247 * math/w_lgammaf.c: New file.
22248 * math/w_lgammal.c: New file.
22250 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22252 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
22253 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
22254 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
22255 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
22256 * sysdeps/ieee754/flt-32/w_logf.c: New file.
22257 * sysdeps/ieee754/flt-32/w_powf.c: New file.
22258 * sysdeps/i386/fpu/w_log2f.c: New file.
22259 * sysdeps/i386/fpu/w_logf.c: New file.
22260 * sysdeps/i386/fpu/w_powf.c: New file.
22261 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
22262 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
22263 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
22265 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22266 H.J. Lu <hongjiu.lu@intel.com>
22268 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
22269 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
22270 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
22271 * sysdeps/ieee754/flt-32/w_expf.c: New file.
22272 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
22274 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
22275 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
22276 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
22277 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
22278 * sysdeps/i386/fpu/w_exp2f.c: New file.
22279 * sysdeps/i386/fpu/w_expf.c: New file.
22280 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
22281 * sysdeps/x86_64/fpu/w_expf.c: New file.
22283 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22285 * math/Versions (logf): New libm symbol at GLIBC_2.27.
22288 * math/w_log2f.c: New file.
22289 * math/w_logf.c: New file.
22290 * math/w_powf.c: New file.
22291 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
22292 * math/w_logf_compat.c (__logf_compat): Likewise.
22293 * math/w_powf_compat.c (__powf_compat): Likewise.
22294 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
22295 * sysdeps/ia64/fpu/e_logf.S: Likewise.
22296 * sysdeps/ia64/fpu/e_powf.S: Likewise.
22297 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
22298 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22299 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22300 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22301 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22302 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22303 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22304 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22305 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22306 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22307 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22308 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22317 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22318 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22319 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22320 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22321 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22326 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22327 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22328 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22330 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22332 * sysdeps/powerpc/powerpc64/multiarch/Makefile
22333 (sysdep_routines): Add memrchr_power8.
22334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22335 (memrchr): Add __memrchr_power8 to list of memrchr functions.
22336 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
22338 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
22339 (memrchr): Add __memrchr_power8 to ifunc list.
22340 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
22342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22345 * sysdeps/unix/sysv/linux/posix_fadvise64.c
22346 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
22348 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22349 (__posix_fallocate64_l64): Likewise.
22351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22354 * sysdeps/unix/sysv/linux/sched_setaffinity.c
22355 (__sched_setaffinity_new): Add libc_hidden_proto and
22358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22361 * include/glob.h (__glob64): Add libc_hidden_proto.
22362 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
22365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22368 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
22371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22374 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
22376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22379 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
22382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22385 * csu/version.c (__libc_print_version): Add attribute_hidden.
22387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22390 * include/libc-internal.h (__init_misc): Add attribute_hidden.
22392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22395 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
22397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22400 * nscd/nscd_helper.c (__nis_hash): New prototype.
22402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22405 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
22406 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
22408 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22409 * termios/tcgetattr.c (__tcgetattr): Likewise.
22411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22414 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
22415 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
22416 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
22417 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
22418 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
22420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22423 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
22425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22428 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
22429 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
22431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22434 * intl/hash-string.h (__hash_string): Add attribute_hidden.
22436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22439 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
22440 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
22442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22445 * include/ifreq.h: New file.
22446 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
22447 (__ifreq): Likewise.
22448 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
22449 (__ifreq): Likewise.
22451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22454 * include/idna.h: New file.
22455 * inet/getnameinfo.c: Include <idna.h> instead of
22457 (__idna_to_unicode_lzlz): Removed.
22458 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
22460 (__idna_to_ascii_lz): Removed.
22461 (__idna_to_unicode_lzlz): Likewise.
22463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22466 * include/plural-exp.h: New file.
22467 * intl/plural-exp.c: Include <plural-exp.h> instead of
22470 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22473 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
22474 "getsourcefilter.h".
22475 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
22476 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
22477 "getsourcefilter.h".
22478 (__get_sol): Removed.
22480 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22483 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
22485 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
22487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22490 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
22493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22496 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
22498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22501 * include/search.h (__tdestroy): Add libc_hidden_proto.
22502 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
22504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22507 * include/assert.h (__assert_fail_base): Add attribute_hidden.
22509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22512 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
22515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22518 * include/signal.h (__kill): Add libc_hidden_proto.
22519 (__sigblock): Likewise.
22520 (__sigprocmask): Likewise.
22521 (__sigaltstack): Likewise.
22522 * signal/kill.c (__kill): Add libc_hidden_def.
22523 * signal/sigblock.c (__sigblock): Likewise.
22524 * signal/sigprocmask.c (__sigprocmask): Likewise.
22525 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
22526 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22527 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22528 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22529 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
22531 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22533 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22534 (__sigprocmask): Likewise.
22535 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
22537 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22538 (__sigprocmask): Likewise.
22539 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22545 * include/string.h (__strsep): Add libc_hidden_proto.
22546 * string/strsep.c (__strsep): Add libc_hidden_def.
22548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22551 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
22553 (__spawni): Likewise.
22555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22558 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
22559 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
22562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22565 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
22567 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22570 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
22571 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
22572 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
22573 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
22574 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
22576 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
22577 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
22579 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22582 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
22583 (__dcigettext): Likewise.
22585 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22588 * include/sys/sysinfo.h (__get_nprocs_conf): Add
22590 (__get_nprocs): Likewise.
22591 (__get_phys_pages): Likewise.
22592 (__get_avphys_pages): Likewise.
22593 (__get_child_max): Add attribute_hidden.
22594 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
22595 (__get_nprocs): Likewise.
22596 (__get_phys_pages): Likewise.
22597 (__get_avphys_pages): Likewise.
22598 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
22600 (__get_nprocs): Likewise.
22601 (__get_phys_pages): Likewise.
22602 (__get_avphys_pages): Likewise.
22603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
22605 (__get_nprocs_conf): Likewise.
22606 (__get_phys_pages): Likewise.
22607 (__get_avphys_pages): Likewise.
22609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22612 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
22614 (__netlink_close): Likewise.
22615 (__netlink_free_handle): Likewise.
22616 (__netlink_request): Likewise.
22618 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22621 * include/rpc/rpc.h (__rpc_thread_variables): Add
22623 (__rpc_thread_svc_cleanup): Likewise.
22624 (__rpc_thread_clnt_cleanup): Likewise.
22625 (__rpc_thread_key_cleanup): Likewise.
22627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22630 * include/sys/uio.h (__readv): Add libc_hidden_proto.
22631 (__writev): Likewise.
22632 * misc/readv.c (__readv): Add libc_hidden_def.
22633 * misc/writev.c (__writev): Likewise.
22634 * sysdeps/posix/readv.c (__readv): Likewise.
22635 * sysdeps/posix/writev.c (__writev): Likewise.
22636 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
22637 (__readv): Likewise.
22638 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
22639 (__writev): Likewise.
22641 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22644 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
22645 (__regcomp): Add libc_hidden_proto.
22646 (__regexec): Likewise.
22647 (__regfree): Likewise.
22648 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
22649 (__regfree): Likewise.
22650 * posix/regexec.c (__regexec): Likewise.
22652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22655 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
22656 (__getutent): Likewise.
22657 (__getutid): Likewise.
22658 (__getutline): Likewise.
22659 (__pututline): Likewise.
22660 (__getutent_r): Likewise.
22661 (__getutid_r): Likewise.
22662 (__getutline_r): Likewise.
22663 (__utmpname): Add attribute_hidden.
22664 (__setutent): Likewise.
22665 (__endutent): Likewise.
22666 * login/getutent.c (__getutent): Add libc_hidden_def.
22667 * login/getutent_r.c (__getutent_r): Likewise.
22668 (__pututline): Likewise.
22669 * login/getutid.c (__getutid): Likewise.
22670 * login/getutid_r.c (__getutid_r): Likewise.
22671 * login/getutline.c (__getutline): Likewise.
22672 * login/getutline_r.c (__getutline_r): Likewise.
22673 * login/updwtmp.c (__updwtmp): Likewise.
22675 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22678 * include/dirent.h (__opendir): Always add attribute_hidden.
22679 (__fdopendir): Likewise.
22680 (__closedir): Likewise.
22681 (__readdir): Likewise.
22682 (__readdir64): Add libc_hidden_proto.
22683 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
22684 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
22685 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
22686 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
22689 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22692 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
22693 * include/netdb.h (__gethostbyaddr_r): Likewise.
22694 (__gethostbyname_r): Likewise.
22695 (__gethostbyname2_r): Likewise.
22696 (__getnetbyaddr_r): Likewise.
22697 (__getnetbyname_r): Likewise.
22698 (__getservbyname_r): Likewise.
22699 (__getservbyport_r): Likewise.
22700 (__getprotobyname_r): Likewise.
22701 (__getprotobynumber_r): Likewise.
22702 (__getnetgrent_r): Likewise.
22703 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
22704 (__getrpcbynumber_r): Likewise.
22705 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
22707 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22710 * include/stdio.h (__fcloseall): Add attribute_hidden.
22711 (__getline): Likewise.
22712 (__path_search): Likewise.
22713 (__gen_tempname): Likewise.
22714 (__libc_message): Likewise.
22715 (__flockfile): Likewise.
22716 (__funlockfile): Likewise.
22717 (__fxprintf): Likewise.
22718 (__fxprintf_nocancel): Likewise.
22720 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22723 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
22724 (__sgetsgent_r): Likewise.
22726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22729 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
22730 (__statfs64): Likewise.
22731 (__fstatfs64): Likewise.
22732 * include/sys/statvfs.h (__statvfs64): Likewise.
22733 (__fstatvfs64): Likewise.
22734 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
22735 (__statfs_filesize_max): Likewise.
22736 (__statfs_symlinks): Likewise.
22737 (__statfs_chown_restricted): Likewise.
22739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22742 * include/time.h (__tzstring): Add attribute_hidden.
22743 (__tzfile_read): Likewise.
22744 (__tzfile_compute): Likewise.
22745 (__tzfile_default): Likewise.
22746 (__tzset_parse_tz): Likewise.
22747 (__offtime): Likewise.
22748 (__asctime_r): Likewise.
22749 (__tzset): Likewise.
22750 (__tz_convert): Likewise.
22751 (__getdate_r): Likewise.
22752 (__getclktck): Likewise.
22754 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22757 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
22758 (__nscd_unmap): Likewise.
22759 (__nscd_cache_search): Likewise.
22760 (__nscd_get_nl_timestamp): Likewise.
22761 (__nscd_getpwnam_r): Likewise.
22762 (__nscd_getpwuid_r): Likewise.
22763 (__nscd_getgrnam_r): Likewise.
22764 (__nscd_getgrgid_r): Likewise.
22765 (__nscd_gethostbyname_r): Likewise.
22766 (__nscd_gethostbyname2_r): Likewise.
22767 (__nscd_gethostbyaddr_r): Likewise.
22768 (__nscd_getai): Likewise.
22769 (__nscd_getgrouplist): Likewise.
22770 (__nscd_getservbyname_r): Likewise.
22771 (__nscd_getservbyport_r): Likewise.
22772 (__nscd_innetgr): Likewise.
22773 (__nscd_setnetgrent): Likewise.
22775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22778 * include/gmp.h: Declare internal functions only if _ISOMAC is
22780 (__mpn_extract_double): Add attribute_hidden.
22781 (__mpn_extract_long_double): Likewise.
22782 (__mpn_extract_float128): Likewise.
22783 (__mpn_construct_float): Likewise.
22784 (__mpn_construct_double): Likewise.
22785 (__mpn_construct_long_double): Likewise.
22786 (__mpn_construct_float128): Likewise.
22787 (mpn_add_1): Likewise.
22788 (mpn_addmul_1): Likewise.
22789 (mpn_add_n): Likewise.
22790 (mpn_cmp): Likewise.
22791 (mpn_divrem): Likewise.
22792 (mpn_lshift): Likewise.
22793 (mpn_mul): Likewise.
22794 (mpn_mul_1): Likewise.
22795 (mpn_rshift): Likewise.
22796 (mpn_sub_1): Likewise.
22797 (mpn_submul_1): Likewise.
22798 (mpn_sub_n): Likewise.
22800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22803 * include/wchar.h (__wcsnlen): Add attribute_hidden.
22804 (__wcscat): Likewise.
22805 (__btowc): Likewise.
22806 (__wcrtomb): Likewise.
22807 (__mbsrtowcs): Likewise.
22808 (__wcsrtombs): Likewise.
22809 (__mbsnrtowcs): Likewise.
22810 (__wcsnrtombs): Likewise.
22811 (__wcsncpy): Likewise.
22812 (__wcpncpy): Likewise.
22813 (__wmemcpy): Likewise.
22814 (__wmempcpy): Likewise.
22815 (__wmemmove): Likewise.
22816 (__wcschrnul): Likewise.
22817 (__vfwscanf): Likewise.
22818 (__vswprintf): Likewise.
22819 (__fwprintf): Likewise.
22820 (__vfwprintf): Likewise.
22822 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22825 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
22826 (__getgrgid_r): Likewise.
22827 (__getgrnam_r): Likewise.
22828 * include/pwd.h (__getpwuid_r): Likewise.
22829 (__getpwnam_r): Likewise.
22830 (__fgetpwent_r): Likewise.
22831 * include/shadow.h (__getspnam_r): Likewise.
22832 (__sgetspent_r): Likewise.
22833 (__fgetspent_r): Likewise.
22835 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22838 * include/unistd.h (__access): Add attribute_hidden.
22839 (__lseek64): Likewise.
22840 (__libc_pread64): Likewise.
22841 (__pipe2): Likewise.
22842 (__sleep): Likewise.
22843 (__chdir): Likewise.
22844 (__fchdir): Likewise.
22845 (__getcwd): Likewise.
22846 (__rmdir): Likewise.
22847 (__execvpe): Likewise.
22848 (__execve): Likewise.
22849 (__setsid): Likewise.
22850 (__getuid): Likewise.
22851 (__geteuid): Likewise.
22852 (__getgid): Likewise.
22853 (__getegid): Likewise.
22854 (__getgroups): Likewise.
22855 (__group_member): Likewise.
22856 (__ttyname_r): Likewise.
22857 (__isatty): Likewise.
22858 (__readlink): Likewise.
22859 (__unlink): Likewise.
22860 (__gethostname): Likewise.
22861 (__profil): Likewise.
22862 (__getdtablesize): Likewise.
22864 (__ftruncate): Likewise.
22865 (__ftruncate64): Likewise.
22867 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22870 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
22871 * argp/argp-fs-xinl.c: Likewise.
22872 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
22873 * argp/argp-parse.c: Include <argp.h>.
22874 * argp/argp-xinl.c: Likewise.
22875 * include/argp-fmtstream.h: New file.
22876 * include/argp.h (__argp_error): Add attribute_hidden.
22877 (__argp_failure): Likewise.
22878 (__argp_input): Likewise.
22879 (__argp_state_help): Likewise.
22881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22884 * include/wchar.h (____wcstof_l_internal): New prototype.
22885 (____wcstod_l_internal): Likewise.
22886 (____wcstold_l_internal): Likewise.
22887 (____wcstol_l_internal): Likewise.
22888 (____wcstoul_l_internal): Likewise.
22889 (____wcstoll_l_internal): Likewise.
22890 (____wcstoull_l_internal): Likewise.
22891 (____wcstof128_l_internal): Likewise.
22892 * sysdeps/ieee754/float128/wcstof128.c
22893 (____wcstof128_l_internal): Removed.
22894 * sysdeps/ieee754/float128/wcstof128_l.c
22895 (____wcstof128_l_internal): Likewise.
22896 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
22897 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
22898 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
22899 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
22900 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
22901 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
22902 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
22903 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
22904 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
22905 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
22907 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22910 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
22911 instead of <sys/statvfs.h>.
22912 (__internal_statvfs): Removed.
22913 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
22914 instead of <sys/statvfs.h>.
22915 (__internal_statvfs64): Removed.
22916 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
22917 "internal_statvfs.h" instead of <sys/statvfs.h>.
22918 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
22919 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
22920 instead of <sys/statvfs.h>.
22921 (__internal_statvfs): Removed.
22922 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
22923 instead of <sys/statvfs.h>.
22924 (__internal_statvfs64): Removed.
22926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22929 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
22930 (__gconv_close): Likewise.
22931 (__gconv): Likewise.
22932 (__gconv_find_transform): Likewise.
22933 (__gconv_lookup_cache): Likewise.
22934 (__gconv_compare_alias_cache): Likewise.
22935 (__gconv_load_cache): Likewise.
22936 (__gconv_get_path): Likewise.
22937 (__gconv_close_transform): Likewise.
22938 (__gconv_release_cache): Likewise.
22939 (__gconv_find_shlib): Likewise.
22940 (__gconv_release_shlib): Likewise.
22941 (__gconv_get_builtin_trans): Likewise.
22942 (__gconv_compare_alias): Likewise.
22943 * include/dlfcn.h (_dlerror_run): Likewise.
22944 * include/stdio.h (__fortify_fail_abort): Likewise.
22945 * include/time.h (__tz_compute): Likewise.
22946 (__strptime_internal): Likewise.
22947 * intl/gettextP.h (_nl_find_domain): Likewise.
22948 (_nl_load_domain): Likewise.
22949 (_nl_find_msg): Likewise.
22950 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
22951 (EXTRACT_PLURAL_EXPRESSION): Likewise.
22952 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
22953 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
22954 (__gai_find_request): Likewise.
22955 (__gai_remove_request): Likewise.
22956 (__gai_notify): Likewise.
22957 (__gai_notify_only): Likewise.
22958 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
22959 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
22960 (_dl_non_dynamic_init): Likewise.
22961 (_dl_aux_init): Likewise.
22962 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
22963 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
22965 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
22966 (__wcsmbs_clone_conv): Likewise.
22967 (__wcsmbs_named_conv): Likewise.
22969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22972 * include/stdlib.h (__random): Add attribute_hidden.
22973 (__random_r): Likewise.
22974 (__srandom_r): Likewise.
22975 (__initstate_r): Likewise.
22976 (__setstate_r): Likewise.
22977 (__erand48_r): Likewise.
22978 (__nrand48_r): Likewise.
22979 (__jrand48_r): Likewise.
22980 (__srand48_r): Likewise.
22981 (__seed48_r): Likewise.
22982 (__lcong48_r): Likewise.
22983 (__drand48_iterate): Likewise.
22984 (__setenv): Likewise.
22985 (__unsetenv): Likewise.
22986 (__clearenv): Likewise.
22987 (__ptsname_r): Likewise.
22988 (__posix_openpt): Likewise.
22989 (__add_to_environ): Likewise.
22990 (__realpath): Add libc_hidden_proto.
22991 (__ecvt_r): Likewise.
22992 (__fcvt_r): Likewise.
22993 (__qecvt_r): Likewise.
22994 (__qfcvt_r): Likewise.
22995 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
22996 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
22998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23001 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
23002 * include/time.h (__mktime_internal): Likewise.
23003 * libio/iolibio.h (__fopen_internal): Likewise.
23005 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
23007 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
23009 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
23010 Correct offset used to restore PIC register.
23012 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
23015 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
23016 code to load address of __getcontext_ret when generating PIC code.
23018 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
23020 * elf/Makefile (tests-static-internal): Add
23021 tst-tls1-static-non-pie.
23022 (LDFLAGS-tst-tls1-static-non-pie): New.
23023 * elf/tst-tls1-static-non-pie.c: New file.
23025 2017-09-29 Joseph Myers <joseph@codesourcery.com>
23027 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
23028 (asinh): Define using libm_alias_double.
23029 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
23030 (cbrt): Define using libm_alias_double.
23031 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
23032 <libm-alias-double.h>.
23033 (copysign): Define using libm_alias_double.
23034 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
23035 (erf): Define using libm_alias_double.
23037 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
23038 (expm1): Define using libm_alias_double.
23039 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
23040 (fabs): Define using libm_alias_double.
23041 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
23043 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
23044 <libm-alias-double.h>.
23045 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
23047 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
23048 <libm-alias-double.h>.
23049 (getpayload): Define using libm_alias_double.
23050 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
23051 <libm-alias-double.h>.
23052 (llrint): Define using libm_alias_double.
23053 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
23054 (lrint): Define using libm_alias_double.
23055 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
23056 <libm-alias-double.h>.
23057 (nextup): Define using libm_alias_double.
23058 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
23059 <libm-alias-double.h>.
23060 (roundeven): Define using libm_alias_double.
23061 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
23063 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
23064 <libm-alias-double.h>.
23065 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
23066 using libm_alias_double.
23067 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
23068 (cos): Define using libm_alias_double.
23070 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
23071 <libm-alias-double.h>.
23072 (sincos): Define using libm_alias_double.
23073 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
23074 (tanh): Define using libm_alias_double.
23075 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
23076 <libm-alias-double.h>.
23077 (totalorder): Define using libm_alias_double.
23078 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
23079 <libm-alias-double.h>.
23080 (totalordermag): Define using libm_alias_double.
23081 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
23083 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
23085 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
23086 <libm-alias-double.h>.
23087 (getpayload): Define using libm_alias_double.
23088 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
23089 <libm-alias-double.h>.
23090 (roundeven): Define using libm_alias_double.
23091 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
23092 <libm-alias-double.h>.
23093 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
23094 <libm-alias-double.h>.
23095 (totalorder): Define using libm_alias_double.
23096 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
23097 <libm-alias-double.h>.
23098 (totalordermag): Define using libm_alias_double.
23099 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
23100 libc compat symbol here.
23101 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
23102 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
23103 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
23104 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
23105 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
23106 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
23107 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
23108 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
23109 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
23110 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
23112 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23114 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
23115 _dl_relocate_static_pie instead of _dl_start to compute load
23116 address in static PIE. Return 0 if _DYNAMIC is undefined for
23119 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23121 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
23122 _DYNAMIC is undefined for static executable.
23124 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23126 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
23128 2017-09-29 Joseph Myers <joseph@codesourcery.com>
23130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23132 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23134 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23135 (__ieee754_lgamma_r): Use fabs rather than __fabs.
23136 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23137 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23138 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23139 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
23140 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
23141 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
23142 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
23143 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23144 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
23145 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23146 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23147 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23150 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
23152 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23154 * math/bits/cmathcalls.h (cimag): Remove inline.
23155 (creal): Remove inline.
23156 (conj): Remove inline.
23158 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23160 * math/Makefile (type-float-routines): Add e_powf_log2_data.
23161 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
23162 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
23163 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
23164 (issignalingf_inline): Likewise.
23165 (POWF_LOG2_TABLE_BITS): Likewise.
23166 (POWF_LOG2_POLY_ORDER): Likewise.
23167 (POWF_SCALE_BITS): Likewise.
23168 (POWF_SCALE): Likewise.
23169 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
23170 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
23171 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
23173 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23175 * math/Makefile (type-float-routines): Add e_log2f_data.
23176 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
23177 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
23178 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
23179 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
23180 * sysdeps/i386/fpu/e_log2f_data.c: New file.
23181 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
23182 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
23184 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23186 * math/Makefile (type-float-routines): Add e_logf_data.
23187 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
23188 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
23189 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
23190 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
23191 * sysdeps/i386/fpu/e_logf_data.c: New file.
23192 * sysdeps/ia64/fpu/e_logf_data.c: New file.
23193 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
23195 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
23197 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
23198 undefined _DYNAMIC in PIE libc.a.
23199 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23202 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
23204 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
23205 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
23206 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
23207 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
23208 (__signbit): Remove.
23209 (__signbitl): Remove.
23210 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
23211 (__signbit): Remove.
23212 (__signbitl): Remove.
23213 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
23214 (__signbit): Remove.
23215 (__signbitl): Remove.
23216 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
23217 (__signbit): Remove.
23218 (__signbitl): Remove.
23219 * sysdeps/tile/bits/mathinline.h: Delete file.
23220 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
23221 (__signbit): Remove.
23222 (__signbitl): Remove.
23224 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
23226 * math/math.h: Improve handling of C99 isgreater macros.
23227 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
23228 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
23229 * sysdeps/powerpc/bits/mathinline.h: Likewise.
23230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23231 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
23233 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
23235 * sysdeps/aarch64/libm-test-ulps: Update.
23237 2017-09-28 Joseph Myers <joseph@codesourcery.com>
23240 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23241 math_opt_barrier on argument when doing arithmetic on it.
23242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23243 Likewise. Use math_force_eval not math_opt_barrier after
23245 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
23246 math_opt_barrier on argument when doing arithmetic on it.
23247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23250 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
23252 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
23254 (__freeifaddrs): Likewise.
23256 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23258 * include/dirent.h (__dirfd): New declaration.
23259 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
23261 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
23262 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
23263 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
23264 * include/unistd.h (__revoke): New declaration.
23265 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
23267 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23268 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
23270 * include/dirent.h (__seekdir): New declaration.
23271 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
23272 redefine as weak alias.
23273 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
23275 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
23276 and use libc_hidden_def on them.
23277 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
23279 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
23280 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
23281 instead of getifaddrs and freeifaddrs.
23283 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
23286 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
23287 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
23288 (__dso_handle): Remove declaration.
23289 * dlfcn/tstatexit.c (__dso_handle): Removed.
23290 (main): Don't check __dso_handle.
23291 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
23292 (main): Don't check __dso_handle.
23293 * include/dso_handle.h: New file.
23294 * malloc/mtrace.c: Include <dso_handle.h>.
23295 (mtrace): Pass __dso_handle directly.
23296 * nptl/pthread_atfork.c: Include <dso_handle.h>.
23297 (__dso_handle): Remove declaration.
23298 (__pthread_atfork): Pass __dso_handle directly.
23299 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
23300 (__dso_handle): Removed.
23301 * posix/wordexp-test.c: Include <dso_handle.h>.
23302 (__dso_handle): Remove declaration.
23303 (__app_register_atfork): Pass __dso_handle directly.
23304 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
23305 (__dso_handle): Remove declaration.
23306 (at_quick_exit): Pass __dso_handle directly.
23307 * stdlib/atexit.c: Include <dso_handle.h>.
23308 (__dso_handle): Remove declaration.
23309 (atexit): Pass __dso_handle directly.
23310 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
23311 (__dso_handle): Removed.
23313 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23315 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
23318 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
23320 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
23321 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
23322 values to correct default value for given type.
23324 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
23327 * elf/Makefile (tests): Add tst-debug1.
23328 ($(objpfx)tst-debug1): New.
23329 ($(objpfx)tst-debug1.out): Likewise.
23330 ($(objpfx)tst-debug1mod1.so): Likewise.
23331 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
23332 with p_filesz == 0.
23333 * elf/tst-debug1.c: New file.
23335 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23337 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
23338 Define using __ifunc.
23340 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23342 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
23345 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23348 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
23350 2017-09-26 Florian Weimer <fweimer@redhat.com>
23352 * resolv/Makefile (tests-internal): Fix typo in comment.
23354 2017-09-26 Florian Weimer <fweimer@redhat.com>
23356 * resolv/nss_dns/dns-host.c: Fix typo in comment.
23358 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23360 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
23361 Use an union instead of a max_align_t array for __space,
23362 so that __space is the same size on all platforms.
23363 * malloc/scratch_buffer_grow_preserve.c
23364 (__libc_scratch_buffer_grow_preserve): Likewise.
23367 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
23369 * posix/Makefile (routines): Add glob-lstat-compat and
23370 glob64-lstat-compat.
23371 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
23372 * posix/glob-lstat-compat.c: New file.
23373 * posix/glob64-lstat-compat.c: Likewise.
23374 * posix/tst-glob_lstat_compat.c: Likewise.
23375 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
23376 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
23377 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
23378 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
23380 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
23381 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
23382 * posix/glob.c (glob_lstat): New function.
23383 (glob): Rename to __glob and add versioned symbol to 2.27.
23384 (glob_in_dir): Use glob_lstat.
23385 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
23386 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23387 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
23389 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
23390 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
23391 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
23392 gl_lstat on glob call.
23393 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
23394 and glob64 symbols.
23395 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23396 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23397 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23398 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23399 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23400 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23401 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23402 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23403 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23404 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23405 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23406 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23409 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
23410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23411 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23412 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23413 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23414 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23415 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23418 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23419 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23420 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23422 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
23424 * configure.ac (AS): Require binutils 2.25 or later.
23425 * configure: Regenerated.
23427 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23430 * stdlib/test-atexit-race-common.c (do_test): Minimize required
23433 2017-09-25 DJ Delorie <dj@redhat.com>
23436 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
23439 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23441 * sysdeps/ieee754/dbl-64/sincos32.h
23442 [SINCCOS32_H]: Remove define.
23443 [SINCOS32_H]: Define.
23445 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
23447 * math/Versions (expf): New libm symbol at GLIBC_2.27.
23449 * math/w_exp2f.c: New file.
23450 * math/w_expf.c: New file.
23451 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
23452 * math/w_expf_compat.c (__expf_compat): Likewise.
23453 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
23454 * sysdeps/ia64/fpu/e_expf.S: Likewise.
23455 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23456 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23457 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23458 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23459 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23460 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23461 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23462 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23463 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23464 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23465 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23466 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23475 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23476 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23477 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23478 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23479 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23484 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23485 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23486 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23488 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
23490 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
23491 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
23492 (roundtoint, converttoint): Likewise.
23493 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
23494 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
23495 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
23496 * sysdeps/ieee754/flt-32/math_config.h: New file.
23497 * sysdeps/ieee754/flt-32/math_errf.c: New file.
23498 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
23499 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
23500 * sysdeps/i386/fpu/math_errf.c: New file.
23501 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
23502 * sysdeps/ia64/fpu/math_errf.c: New file.
23503 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
23504 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
23506 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
23508 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
23509 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
23510 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
23511 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
23512 to make sure that these symbols are defined.
23513 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
23515 (__need_NULL): Do not define.
23516 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
23518 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
23519 CMGROUP_MAX, cmsgcred): Do not define.
23520 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
23522 * bits/socket.h: Likewise.
23523 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
23524 __gettimeofday instead of gettimeofday.
23525 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
23526 instead of settimeofday.
23528 2017-09-22 Joseph Myers <joseph@codesourcery.com>
23530 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
23531 (asinhf): Define using libm_alias_float.
23532 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
23533 (atanf): Define using libm_alias_float.
23534 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
23535 (cbrtf): Define using libm_alias_float.
23536 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
23537 (ceilf): Define using libm_alias_float.
23538 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
23539 <libm-alias-float.h>.
23540 (copysignf): Define using libm_alias_float.
23541 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
23542 (cosf): Define using libm_alias_float.
23543 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
23544 (erff): Define using libm_alias_float.
23546 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
23547 (expm1f): Define using libm_alias_float.
23548 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
23549 (fabsf): Define using libm_alias_float.
23550 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
23551 (floorf): Define using libm_alias_float.
23552 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
23553 (frexpf): Define using libm_alias_float.
23554 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
23556 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
23557 <libm-alias-float.h>.
23558 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
23560 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
23561 <libm-alias-float.h>.
23562 (getpayloadf): Define using libm_alias_float.
23563 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
23564 <libm-alias-float.h>.
23565 (llrintf): Define using libm_alias_float.
23566 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
23567 <libm-alias-float.h>.
23568 (llroundf): Define using libm_alias_float.
23569 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
23570 (logbf): Define using libm_alias_float.
23571 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
23572 (lrintf): Define using libm_alias_float.
23573 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
23574 (lroundf): Define using libm_alias_float.
23575 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
23576 (modff): Define using libm_alias_float.
23577 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
23578 <libm-alias-float.h>.
23579 (nearbyintf): Define using libm_alias_float.
23580 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
23581 <libm-alias-float.h>.
23582 (nextafterf): Define using libm_alias_float.
23583 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
23584 <libm-alias-float.h>.
23585 (nextupf): Define using libm_alias_float.
23586 * sysdeps/ieee754/flt-32/s_remquof.c: Include
23587 <libm-alias-float.h>.
23588 (remquof): Define using libm_alias_float.
23589 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
23590 (rintf): Define using libm_alias_float.
23591 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
23592 <libm-alias-float.h>.
23593 (roundevenf): Define using libm_alias_float.
23594 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
23595 (roundf): Define using libm_alias_float.
23596 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
23597 using libm_alias_float.
23598 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
23599 <libm-alias-float.h>.
23600 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
23601 Define using libm_alias_float.
23602 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
23603 <libm-alias-float.h>.
23604 (sincosf): Define using libm_alias_float.
23605 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
23606 (sinf): Define using libm_alias_float.
23607 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
23608 (tanf): Define using libm_alias_float.
23609 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
23610 (tanhf): Define using libm_alias_float.
23611 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
23612 <libm-alias-float.h>.
23613 (totalorderf): Define using libm_alias_float.
23614 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
23615 <libm-alias-float.h>.
23616 (totalordermagf): Define using libm_alias_float.
23617 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
23618 (truncf): Define using libm_alias_float.
23619 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
23621 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
23624 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23627 math/math.h: Let fpclassify use the builtin in C++ mode, even
23628 when optimazing for size.
23630 2017-09-22 Joseph Myers <joseph@codesourcery.com>
23632 * csu/Makefile (generated): Do not add version-info.h.
23633 (before-compile): Likewise.
23634 (all-Banner-files): Remove variable.
23635 ($(objpfx)version-info.h): Remove rule.
23636 * csu/version.c (banner): Do not include "version-info.h".
23637 * libidn/Banner: Remove.
23638 * manual/contrib.texi (Simon Josefsson): New entry.
23640 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23642 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23643 Remove conditionals on LDBL_MANT_DIG.
23644 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23645 (__ieee754_lgammal_r): Likewise.
23647 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
23651 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
23652 _Float128 and L(). Replace _Float128 with long double and L(x)
23653 with xL, throughout the file.
23654 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
23659 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23661 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
23662 sysdeps/ieee754/ldbl-128ibm.
23663 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
23664 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
23665 of including it. Keep _Float128 and L() intact. These will be
23666 reviewed by a separate patch.
23667 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
23672 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
23675 (__finitef128): Define to __redirect___finitef128.
23676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
23677 (__isinff128): Define to __redirect___isinff128.
23678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
23679 (__isnanf128): Define to __redirect___isnanf128.
23681 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23683 * sysdeps/powerpc/powerpc64le/Makefile
23684 (CFLAGS-tst-strtod-nan-locale.c): New variable.
23685 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
23687 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
23688 Carlos O'Donell <carlos@redhat.com>
23691 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
23692 * stdlib/test-dlclose-exit-race.c: New file.
23693 * stdlib/test-dlclose-exit-race-helper.c: New file.
23694 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
23696 2017-09-21 Joseph Myers <joseph@codesourcery.com>
23698 * crypt/Banner: Remove file.
23699 * nptl/Banner: Likewise.
23700 * resolv/Banner: Likewise.
23701 * soft-fp/Banner: Likewise.
23702 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
23703 ($(objpfx)version.d): Remove dependency on banner.h.
23704 ($(objpfx)version.os): Likewise.
23705 * nptl/version.c (banner): Do not include banner.h.
23706 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
23707 Jelinek and BIND code.
23709 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
23710 Carlos O'Donell <carlos@redhat.com>
23712 * support/xdlfcn.h: New file.
23713 * support/xdlfcn.c: New file.
23714 * support/Makefile (libsupport-routines): Add xdlfcn.
23715 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
23717 2017-09-20 Joseph Myers <joseph@codesourcery.com>
23720 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23721 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
23722 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
23723 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
23724 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
23725 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
23726 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
23727 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
23729 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
23730 Ricky Zhou <rickyz@google.com>
23731 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
23734 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
23736 (__new_exitfn): Fail registration when we finished at_exit processing.
23737 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23738 * stdlib/on_exit.c (__on_exit): Likewise.
23739 * stdlib/exit.c (__exit_funcs_done): New variable.
23740 (__run_exit_handlers): Use __exit_funcs_lock.
23741 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
23743 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
23744 (test-cxa_atexit-race, test-on_exit-race): New tests.
23745 * stdlib/test-atexit-race-common.c: New file.
23746 * stdlib/test-atexit-race.c: New file.
23747 * stdlib/test-at_quick_exit-race.c: New file.
23748 * stdlib/test-cxa_atexit-race.c: New file.
23749 * stdlib/test-on_exit-race.c: New file.
23751 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23753 * benchtests/Makefile: Add exp2f and log2f benchmarks.
23754 * benchtests/exp2f-inputs: Copy of expf-inputs.
23755 * benchtests/log2f-inputs: Copy of logf-inputs.
23757 2017-09-19 Joseph Myers <joseph@codesourcery.com>
23759 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
23760 Explicitly take address of first element of array arguments in
23761 call to INLINE_SYSCALL.
23763 2017-09-19 Andreas Schwab <schwab@suse.de>
23766 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
23768 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
23770 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
23771 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
23772 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23773 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
23774 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23775 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
23776 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23777 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
23778 * posix/Makefile (tests): Add tst-fexecve.
23779 * posix/tst-fexecve.c: New file.
23781 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23783 * benchtests/Makefile: Add logf benchmark.
23784 * benchtests/logf-inputs: Add reduced trace from wrf_r.
23786 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23788 * benchtests/Makefile: Add expf benchmark.
23789 * benchtests/expf-inputs: Add reduced trace from wrf_r.
23791 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23793 * csu/Makefile: Add -funwind-tables to libc-start.c.
23794 * debug/Makefile: Add -funwind-tables to backtrace.c.
23795 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
23796 * sysdeps/arm/Makefile: Likewise.
23797 * sysdeps/i386/Makefile: Likewise.
23798 * sysdeps/m68k/Makefile: Likewise.
23799 * sysdeps/mips/Makefile: Likewise.
23800 * sysdeps/nios2/Makefile: Likewise.
23801 * sysdeps/sh/Makefile: Likewise.
23802 * sysdeps/sparc/Makefile: Likewise.
23804 2017-09-19 Joseph Myers <joseph@codesourcery.com>
23806 * benchtests/Makefile (bench-math): Add trunc and truncf.
23807 (CFLAGS-bench-trunc.c): New variable.
23808 (CFLAGS-bench-truncf.c): Likewise.
23809 * benchtests/trunc-inputs: New file.
23810 * benchtests/truncf-inputs: Likewise.
23812 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23814 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
23816 2017-09-18 Joseph Myers <joseph@codesourcery.com>
23818 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
23819 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
23821 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23822 (exp10l): Define as weak alias.
23823 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
23824 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
23826 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
23827 (remainderl): Define as weak alias.
23829 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
23830 (fmal): Define using libm_alias_ldouble.
23831 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
23832 (acoshl): Define using libm_alias_ldouble.
23833 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
23834 (acosl): Define using libm_alias_ldouble.
23835 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
23836 (asinl): Define using libm_alias_ldouble.
23837 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
23838 (atan2l): Define using libm_alias_ldouble.
23839 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
23840 (atanhl): Define using libm_alias_ldouble.
23841 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
23842 (coshl): Define using libm_alias_ldouble.
23843 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
23844 (exp10l): Define using libm_alias_ldouble.
23845 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
23846 (exp2l): Define using libm_alias_ldouble.
23847 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
23848 (expl): Define using libm_alias_ldouble.
23849 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
23850 (fmodl): Define using libm_alias_ldouble.
23851 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
23852 (hypotl): Define using libm_alias_ldouble.
23853 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
23854 (j0l): Define using libm_alias_ldouble.
23856 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
23857 (j1l): Define using libm_alias_ldouble.
23859 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
23860 (jnl): Define using libm_alias_ldouble.
23862 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
23863 (log10l): Define using libm_alias_ldouble.
23864 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
23865 (log2l): Define using libm_alias_ldouble.
23866 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
23867 (logl): Define using libm_alias_ldouble.
23868 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
23869 (powl): Define using libm_alias_ldouble.
23870 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
23871 (remainderl): Define using libm_alias_ldouble.
23872 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
23873 (sinhl): Define using libm_alias_ldouble.
23874 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
23875 (sqrtl): Define using libm_alias_ldouble.
23876 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
23877 (tgammal): Define using libm_alias_ldouble.
23878 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
23879 (exp10l): Do not use long_double_symbol here.
23880 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23881 [LIBM_SVID_COMPAT] (remainderl): Likewise.
23882 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
23883 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
23884 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
23885 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
23886 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
23887 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
23888 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
23889 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
23890 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
23891 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
23892 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
23893 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
23894 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
23895 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
23896 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
23897 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
23898 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
23899 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
23900 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
23901 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
23903 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
23905 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
23906 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
23908 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
23910 * io/read.c (read): Add libc_hidden_weak.
23911 * sysdeps/mach/hurd/read.c (read): Likewise.
23912 * io/write.c (write): Likewise.
23913 * sysdeps/mach/hurd/write.c (write): Likewise.
23914 * io/pread64.c (__pread64): Likewise.
23915 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
23916 * posix/pread64.c (__pread64): Add libc_hidden_def.
23918 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23920 * benchtests/scripts/compare_strings.py: New option -g.
23921 (draw_graph): Print a message that a graph is being generated.
23922 (process_results): Generate graph only if -g is passed.
23923 (main): Process option -g.
23925 * benchtests/scripts/compare_strings.py (process_results):
23926 Better spacing for output.
23928 * benchtests/scripts/compare_strings.py: Use argparse.
23929 * benchtests/README: Document existence of compare_strings.py.
23931 2017-09-15 Joseph Myers <joseph@codesourcery.com>
23933 * math/s_fma.c: Include <libm-alias-double.h>.
23934 (fma): Define using libm_alias_double.
23935 * math/s_nextafter.c: Include <libm-alias-double.h>.
23936 (nextafter): Define using libm_alias_double.
23937 * math/w_acos_compat.c: Include <libm-alias-double.h>.
23938 (acos): Define using libm_alias_double.
23939 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
23940 (aocsh): Define using libm_alias_double.
23941 * math/w_asin_compat.c: Include <libm-alias-double.h>.
23942 (asin): Define using libm_alias_double.
23943 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
23944 (atan2): Define using libm_alias_double.
23945 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
23946 (atanh): Define using libm_alias_double.
23947 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
23948 (cosh): Define using libm_alias_double.
23949 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
23950 (exp10): Define using libm_alias_double.
23951 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
23952 (exp2): Define using libm_alias_double.
23953 * math/w_exp_compat.c: Include <libm-alias-double.h>.
23954 (exp): Define using libm_alias_double.
23955 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
23956 (fmod): Define using libm_alias_double.
23957 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
23958 (hypot): Define using libm_alias_double.
23959 * math/w_j0_compat.c: Include <libm-alias-double.h>.
23960 (j0): Define using libm_alias_double.
23962 * math/w_j1_compat.c: Include <libm-alias-double.h>.
23963 (j1): Define using libm_alias_double.
23965 * math/w_jn_compat.c: Include <libm-alias-double.h>.
23966 (jn): Define using libm_alias_double.
23968 * math/w_log10_compat.c: Include <libm-alias-double.h>.
23969 (log10): Define using libm_alias_double.
23970 * math/w_log2_compat.c: Include <libm-alias-double.h>.
23971 (log2): Define using libm_alias_double.
23972 * math/w_log_compat.c: Include <libm-alias-double.h>.
23973 (log): Define using libm_alias_double.
23974 * math/w_pow_compat.c: Include <libm-alias-double.h>.
23975 (pow): Define using libm_alias_double.
23976 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
23977 (remainder): Define using libm_alias_double.
23978 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
23979 (sinh): Define using libm_alias_double.
23980 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
23981 (sqrt): Define using libm_alias_double.
23982 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
23983 (tgamma): Define using libm_alias_double.
23984 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
23985 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
23986 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
23987 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
23988 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
23989 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
23990 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
23991 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
23992 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
23993 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
23994 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
23995 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
23996 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
23997 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
23998 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
23999 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
24000 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
24001 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
24002 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
24003 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
24004 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
24005 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
24006 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
24007 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
24008 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
24010 * math/e_acoshl.c: Remove.
24011 * math/e_acosl.c: Likewise.
24012 * math/e_asinl.c: Likewise.
24013 * math/e_atan2l.c: Likewise.
24014 * math/e_atanhl.c: Likewise.
24015 * math/e_coshl.c: Likewise.
24016 * math/e_expl.c: Likewise.
24017 * math/e_fmodl.c: Likewise.
24018 * math/e_gammal_r.c: Likewise.
24019 * math/e_hypotl.c: Likewise.
24020 * math/e_j0l.c: Likewise.
24021 * math/e_j1l.c: Likewise.
24022 * math/e_jnl.c: Likewise.
24023 * math/e_lgammal_r.c: Likewise.
24024 * math/e_log10l.c: Likewise.
24025 * math/e_log2l.c: Likewise.
24026 * math/e_logl.c: Likewise.
24027 * math/e_powl.c: Likewise.
24028 * math/e_rem_pio2l.c: Likewise.
24029 * math/e_sinhl.c: Likewise.
24030 * math/e_sqrtf128.c: Likewise.
24031 * math/e_sqrtl.c: Likewise.
24032 * math/k_cosl.c: Likewise.
24033 * math/k_sinl.c: Likewise.
24034 * math/k_tanl.c: Likewise.
24035 * math/s_asinhl.c: Likewise.
24036 * math/s_atanl.c: Likewise.
24037 * math/s_cbrtl.c: Likewise.
24038 * math/s_erfl.c: Likewise.
24039 * math/s_expm1l.c: Likewise.
24040 * math/s_log1pl.c: Likewise.
24041 * math/s_tanhl.c: Likewise.
24043 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
24047 [$(subdir) = math] (sysdep_calls): New variable. Has the
24048 previous contents of sysdep_routines, but re-sorted..
24049 [$(subdir) = math] (sysdep_routines): Re-use the contents from
24051 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
24052 defined in sysdep_calls and replace by the respective m_* names.
24053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
24054 (compat_symbol): Undefine to avoid duplicated compat symbols in
24057 2017-09-15 Joseph Myers <joseph@codesourcery.com>
24059 * math/s_fmaf.c: Include <libm-alias-float.h>.
24060 (fmaf): Define using libm_alias_float.
24061 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
24062 (acosf): Define using libm_alias_float.
24063 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
24064 (acoshf): Define using libm_alias_float.
24065 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
24066 (asinf): Define using libm_alias_float.
24067 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
24068 (atan2f): Define using libm_alias_float.
24069 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
24070 (atanhf): Define using libm_alias_float.
24071 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
24072 (coshf): Define using libm_alias_float.
24073 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
24074 (exp10f): Define using libm_alias_float.
24075 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
24076 (fmodf): Define using libm_alias_float.
24077 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
24078 (hypotf): Define using libm_alias_float.
24079 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
24080 (j0f): Define using libm_alias_float.
24082 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
24083 (j1f): Define using libm_alias_float.
24085 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
24086 (jnf): Define using libm_alias_float.
24088 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
24089 (log10f): Define using libm_alias_float.
24090 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
24091 (log2f): Define using libm_alias_float.
24092 * math/w_logf_compat.c: Include <libm-alias-float.h>.
24093 (logf): Define using libm_alias_float.
24094 * math/w_powf_compat.c: Include <libm-alias-float.h>.
24095 (powf): Define using libm_alias_float.
24096 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
24097 (remainderf): Define using libm_alias_float.
24098 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
24099 (sinhf): Define using libm_alias_float.
24100 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
24101 (sqrtf): Define using libm_alias_float.
24102 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
24103 (tgammaf): Define using libm_alias_float.
24105 2017-09-14 Joseph Myers <joseph@codesourcery.com>
24107 * include/math.h (roundeven): Change hidden_proto call to
24109 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
24111 [NO_LONG_DOUBLE] (__j0l): New strong alias.
24112 (y0): Rename to __y0 and define as weak alias.
24113 [NO_LONG_DOUBLE] (__y0l): New strong alias.
24114 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
24116 (y0f): Rename to __y0f and define as weak alias.
24117 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
24119 [NO_LONG_DOUBLE] (__j1l): New strong alias.
24120 (y1): Rename to __y1 and define as weak alias.
24121 [NO_LONG_DOUBLE] (__y1l): New strong alias.
24122 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
24124 (y1f): Rename to __y1f and define as weak alias.
24125 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
24127 [NO_LONG_DOUBLE] (__jnl): New strong alias.
24128 (yn): Rename to __yn and define as weak alias.
24129 [NO_LONG_DOUBLE] (__ynl): New strong alias.
24130 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
24132 (ynf): Rename to __ynf and define as weak alias.
24133 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
24134 (fromfp): Define as weak alias.
24135 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
24136 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
24137 (fromfpx): Define as weak alias.
24138 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
24139 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
24140 __getpayload and define as weak alias.
24141 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24142 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
24143 __roundeven and define as weak alias.
24144 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24145 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
24147 (setpayload): Define as weak alias.
24148 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
24149 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
24151 (setpayloadsig): Define as weak alias.
24152 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
24153 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
24154 __totalorder and define as weak alias.
24155 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24156 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
24157 to __totalordermag and define as weak alias.
24158 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24159 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
24160 (ufromfp): Define as weak alias.
24161 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
24162 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
24164 (ufromfpx): Define as weak alias.
24165 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
24166 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
24167 Rename to __getpayload and define as weak alias.
24168 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24169 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
24170 Rename to __roundeven and define as weak alias.
24171 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24172 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
24173 Rename to __totalorder and define as weak alias.
24174 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24175 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
24176 (totalordermag): Rename to __totalordermag and define as weak
24178 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24179 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
24181 (__roundevenl): Likewise.
24182 (__totalorderl): Likewise.
24183 (__totalordermagl): Likewise
24184 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
24186 (fromfpf128): Define as weak alias.
24187 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
24189 (fromfpxf128): Define as weak alias.
24190 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
24192 (setpayloadf128): Define as weak alias.
24193 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
24194 __setpayloadsigf128.
24195 (setpayloadsigf128): Define as weak alias.
24196 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
24198 (ufromfpf128): Define as weak alias.
24199 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
24201 (ufromfpxf128): Define as weak alias.
24202 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
24203 (fromfpf): Define as weak alias.
24204 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
24206 (fromfpxf): Define as weak alias.
24207 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
24208 __getpayloadf and define as weak alias.
24209 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
24210 __roundevenf and define as weak alias.
24211 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
24213 (setpayloadf): Define as weak alias.
24214 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
24216 (setpayloadsigf): Define as weak alias.
24217 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
24218 __totalorderf and define as weak alias.
24219 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
24220 Rename to __totalordermagf and define as weak alias.
24221 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
24223 (ufromfpf): Define as weak alias.
24224 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
24226 (ufromfpxf): Define as weak alias.
24227 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
24229 (fromfpl): Define as weak alias.
24230 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
24232 (fromfpxl): Define as weak alias.
24233 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
24234 to __getpayloadl and define as weak alias.
24235 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
24236 __roundevenl and define as weak alias.
24237 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
24239 (setpayloadl): Define as weak alias.
24240 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
24242 (setpayloadsigl): Define as weak alias.
24243 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
24244 to __totalorderl and define as weak alias.
24245 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
24246 Rename to __totalordermagl and define as weak alias.
24247 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
24249 (ufromfpl): Define as weak alias.
24250 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
24252 (ufromfpxl): Define as weak alias.
24253 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
24255 (fromfpl): Define as weak alias.
24256 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
24258 (fromfpxl): Define as weak alias.
24259 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
24260 Rename to __getpayloadl and define as weak alias.
24261 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
24262 to __roundevenl and define as weak alias. Call __roundeven
24263 instead of roundeven.
24264 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
24266 (setpayloadl): Define as weak alias.
24267 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
24269 (setpayloadsigl): Define as weak alias.
24270 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
24271 Rename to __totalorderl and define as weak alias.
24272 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
24273 Rename to __totalordermagl and define as weak alias.
24274 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
24276 (ufromfpl): Define as weak alias.
24277 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
24279 (ufromfpxl): Define as weak alias.
24280 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
24282 (fromfpl): Define as weak alias.
24283 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
24285 (fromfpxl): Define as weak alias.
24286 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
24287 __getpayloadl and define as weak alias.
24288 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
24289 __roundevenl and define as weak alias.
24290 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
24292 (setpayloadl): Define as weak alias.
24293 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
24295 (setpayloadsigl): Define as weak alias.
24296 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
24297 __totalorderl and define as weak alias.
24298 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
24299 Rename to __totalordermagl and define as weak alias.
24300 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
24302 (ufromfpl): Define as weak alias.
24303 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
24305 (ufromfpxl): Define as weak alias.
24307 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24309 * benchtests/bench-string.h (realloc_bufs): New function.
24310 (test_init): Call it.
24311 * benchtests/bench-memset-large.c (do_test): Likewise.
24312 * benchtests/bench-memset.c (do_test): Likewise.
24314 * benchtests/bench-memset-large.c: Print output in JSON
24316 * benchtests/bench-memset.c: Likewise.
24318 2017-09-14 Mike FABIAN <mfabian@redhat.com>
24321 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
24322 * iconvdata/Makefile: Add IBM858.
24323 * iconvdata/gconv-modules: Likewise.
24324 * iconvdata/tst-tables.sh: Likewise.
24325 * iconvdata/ibm858.c: New file.
24326 * localedata/charmaps/IBM858: Likewise.
24328 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
24331 * locales/niu_NZ (LC_TIME): copy "niu_NU".
24332 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
24334 2017-09-14 Mike FABIAN <mfabian@redhat.com>
24337 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
24338 and add tel_int_fmt.
24340 2017-09-14 Joseph Myers <joseph@codesourcery.com>
24342 * sysdeps/generic/libm-alias-float128.h: New file.
24343 * sysdeps/generic/math-type-macros-float128.h: Include
24344 <libm-alias-float128.h>.
24345 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
24347 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24349 * sysdeps/generic/libm-alias-ldouble.h: New file.
24350 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
24351 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
24352 * sysdeps/generic/math-type-macros-ldouble.h: Include
24353 <libm-alias-ldouble.h>.
24354 [!declare_mgen_alias] (declare_mgen_alias): Define to use
24355 libm_alias_ldouble.
24357 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
24359 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
24360 * math/w_exp_compat.c: ... here.
24361 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
24362 * math/w_expf_compat.c: ... here.
24363 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
24364 * math/w_expl_compat.c: ... here.
24365 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
24366 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
24367 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
24368 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
24370 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24372 * math/w_scalbln_template.c (strong_alias): Do not undefine and
24374 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
24376 (ldexpl): Only define as compat symbol for libc, not libm.
24377 (scalbnl): Define as compat symbol for libc here.
24378 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
24379 define for [IS_IN (libc)].
24380 (__ldexpl_2): Remove alias.
24381 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
24382 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
24383 name in long_double_symbol call.
24384 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
24385 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24386 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24387 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
24388 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
24390 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
24391 Define as compat symbol.
24393 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24395 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
24396 * sysdeps/unix/sysv/linux/alpha/Makefile
24397 [$(subdir) = csu] (sysdep_routines): Remove rule.
24399 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24401 * sysdeps/generic/libm-alias-double.h: New file.
24402 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
24403 * sysdeps/generic/math-type-macros-double.h: Include
24404 <libm-alias-double.h>.
24405 [declare_mgen_alias] (declare_mgen_alias): Define to use
24407 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
24408 (M_LIBM_NEED_COMPAT): Remove macro.
24409 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
24410 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
24411 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
24413 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24414 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24415 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24416 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24417 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24418 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24419 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24420 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24421 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24422 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24423 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24424 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24425 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24426 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24427 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24428 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24429 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24430 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24431 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24432 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24433 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24434 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24435 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24436 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24437 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24438 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24439 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24440 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
24441 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
24443 (declare_mgen_alias): New macro.
24444 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
24445 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
24446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
24447 (M_LIBM_NEED_COMPAT): Remove macro.
24448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
24449 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
24450 <first-versions.h>.
24451 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
24452 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
24454 2017-09-12 Joseph Myers <joseph@codesourcery.com>
24456 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
24457 (declare_mgen_alias_2): Remove.
24458 * sysdeps/generic/math-type-macros-double.h
24459 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
24461 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
24463 (ldexp): Define with declare_mgen_alias.
24464 (scalbn): Likewise.
24466 2017-09-12 Steve Ellcey <sellcey@cavium.com>
24468 * grp/initgroups.c: Include config.h.
24469 (DEFAULT_CONFIG): New macro.
24470 (internal_getgrouplist): Use DEFAULT_CONFIG.
24471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24472 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
24473 (DEFAULT_DEFCONFIG): New macro.
24474 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
24475 * nss/grp-lookup.c: Include config.h
24476 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
24477 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
24478 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
24479 * manual/nss.texi: Update default values section.
24481 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
24484 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
24486 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
24487 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24488 Handle MathVec_Prefer_No_AVX512.
24489 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
24490 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
24493 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
24495 * posix/sched_primax.c (__sched_get_priority_max): Add
24497 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
24498 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
24499 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
24500 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
24501 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
24502 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
24503 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
24504 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
24507 2017-09-11 Joseph Myers <joseph@codesourcery.com>
24509 * sysdeps/generic/libm-alias-float.h: New file.
24510 * sysdeps/generic/math-type-macros-float.h: Include
24511 <libm-alias-float.h>.
24512 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
24514 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
24517 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
24518 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
24519 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
24520 (HWCAP_IMPORTANT): Likewise.
24521 (HWCAP_X86_64): New enum.
24522 (HWCAP_X86_AVX512_1): Updated.
24523 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
24524 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
24525 (modules-names): Add x86_64/tst-x86_64mod-1.
24526 (LDFLAGS-tst-x86_64mod-1.so): New.
24527 ($(objpfx)tst-x86_64-1): Likewise.
24528 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
24529 (tst-x86_64-1-clean): Likewise.
24530 * sysdeps/x86_64/tst-x86_64-1.c: New file.
24531 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
24533 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
24535 * po/sv.po: Update translations.
24536 * po/fr.po: Likewise.
24538 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24540 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
24542 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
24544 * elf/rtld-Rules: Fix $(error) use.
24546 2017-09-09 Mike FABIAN <mfabian@redhat.com>
24549 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
24550 * locale/iso-639.def: Change “Bengali” to “Bangla”.
24551 * localedata/locales/bn_BD: “Bengali” was still used in some
24552 comments. Change it to “Bangla”.
24554 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
24556 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
24558 2017-09-08 Steve Ellcey <sellcey@cavium.com>
24560 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
24561 thunderx2t99p1 to list of cpu names.
24562 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
24563 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
24565 2017-09-08 Steve Ellcey <sellcey@cavium.com>
24567 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
24568 Use strcmp instead of tunable_is_name.
24570 2017-09-08 Joseph Myers <joseph@codesourcery.com>
24572 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24573 (F_GET_RW_HINT): New macro.
24574 [__USE_GNU] (F_SET_RW_HINT): Likewise.
24575 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
24576 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
24577 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
24578 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
24579 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
24580 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
24581 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
24582 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
24584 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24585 (F_ADD_SEALS): New macro.
24586 [__USE_GNU] (F_GET_SEALS): Likewise.
24587 [__USE_GNU] (F_SEAL_SEAL): Likewise.
24588 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
24589 [__USE_GNU] (F_SEAL_GROW): Likewise.
24590 [__USE_GNU] (F_SEAL_WRITE): Likewise.
24592 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24594 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
24595 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
24596 * posix/glob_internal.h (__glob_pattern_type):
24597 * posix/glob.c (glob):
24598 * posix/glob_pattern_p.c (__glob_pattern_p):
24601 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
24602 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24603 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
24604 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
24605 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
24606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
24607 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
24608 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
24609 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
24610 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24611 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
24612 * sysdeps/wordsize-64/glob.c: Likewise.
24613 * sysdeps/wordsize-64/glob64.c: Likewise.
24614 * sysdeps/wordsize-64/globfree.c: Likewise.
24615 * sysdeps/wordsize-64/globfree64.c: Likewise.
24616 * sysdeps/unix/sysv/linux/glob.c: New file.
24617 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
24618 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
24619 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
24620 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
24621 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
24622 adds !GLOB_NO_OLD_VERSION as an extra condition.
24623 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
24624 using relative path instead of absolute one.
24625 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
24626 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24627 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24628 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
24629 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
24630 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
24633 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
24634 (glob): Use the same scratch buffer for both getlogin_r and
24635 getpwnam_r. Don’t require preallocation of the login name. This
24636 simplifies storage allocation, and corrects the handling of
24640 * posix/glob.c (glob): Port recent patches to platforms
24641 lacking getpwnam_r.
24642 (glob): Fix longstanding misuse of errno after getpwnam_r, which
24643 returns an error number rather than setting errno.
24645 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
24646 instead of GCC extension.
24647 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
24648 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
24649 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
24653 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
24654 * posix/bug-glob1.c: Remove file.
24655 * posix/tst-glob_symlinks.c: New file.
24656 * posix/glob.c (__lstat64): New macro.
24657 (is_dir): New function.
24658 (glob, glob_in_dir): Match symlinks even if they are dangling.
24659 (link_stat, link_exists_p): Remove. All uses removed.
24663 * posix/glob.c (struct readdir_result): Remove skip_entry member.
24664 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
24669 * posix/Makefile (routines): Add globfree, globfree64, and
24671 * posix/flexmember.h: New file.
24672 * posix/glob_internal.h: Likewise.
24673 * posix/glob_pattern_p.c: Likewise.
24674 * posix/globfree.c: Likewise.
24675 * posix/globfree64.c: Likewise.
24676 * sysdeps/gnu/globfree64.c: Likewise.
24677 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
24678 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
24679 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
24680 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
24681 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
24682 * sysdeps/wordsize-64/globfree.c: Likewise.
24683 * sysdeps/wordsize-64/globfree64.c: Likewise.
24684 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
24685 [NDEBUG): Remove comments.
24686 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
24687 (dirent_type): New type. Use uint_fast8_t not
24688 uint8_t, as C99 does not require uint8_t.
24689 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
24690 (struct readdir_result): Use dirent_type. Do not define skip_entry
24691 unless it is needed; this saves a byte on platforms lacking d_ino.
24692 (readdir_result_type, readdir_result_skip_entry):
24693 New functions, replacing ...
24694 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
24695 these functions, which were removed. This makes the callers
24696 easier to read. All callers changed.
24697 (D_INO_TO_RESULT): Now empty if there is no d_ino.
24698 (size_add_wrapv, glob_use_alloca): New static functions.
24699 (glob, glob_in_dir): Check for size_t overflow in several places,
24700 and fix some size_t checks that were not quite right.
24701 Remove old code using SHELL since Bash no longer
24703 (glob, prefix_array): Separate MS code better.
24704 (glob_in_dir): Remove old Amiga and VMS code.
24705 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
24707 (glob_in_dir): Do not rely on undefined behavior in accessing
24708 struct members beyond their bounds. Use a flexible array member
24710 (link_stat): Rename from link_exists2_p and return -1/0 instead of
24711 0/1. Caller changed.
24712 (glob): Fix memory leaks.
24713 * posix/glob64 (globfree64): Move to separate file.
24714 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
24715 (globfree64): Remove hidden alias.
24716 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
24718 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
24720 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
24722 Move compat code to separate file.
24723 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
24726 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
24728 * resolv/tst-resolv-qtypes.c (domain): Changed to
24729 "const char domain[] =".
24731 2017-09-07 Joseph Myers <joseph@codesourcery.com>
24733 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
24736 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
24737 (TCP_MD5SIG_EXT): Likewise.
24738 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
24739 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
24740 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
24742 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
24744 2017-09-07 Mike FABIAN <mfabian@redhat.com>
24746 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
24748 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
24751 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
24753 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
24755 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
24756 before assuming that the file is empty. Avoid testing buffer content
24759 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24762 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
24764 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
24766 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
24768 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
24770 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
24772 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
24774 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
24777 2017-09-06 Florian Weimer <fweimer@redhat.com>
24779 * malloc/dynarray_emplace_enlarge.c
24780 (__libc_dynarray_emplace_enlarge): Add missing else.
24782 2017-09-06 Florian Weimer <fweimer@redhat.com>
24785 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
24786 case of failure to obtain the global conf object.
24788 2017-09-06 Florian Weimer <fweimer@redhat.com>
24791 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
24792 dynarray allocation failure.
24794 2017-09-06 Florian Weimer <fweimer@redhat.com>
24796 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
24797 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
24798 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
24800 (response): Call them. Add 'p', '6' flag processing.
24801 (test_reverse): New function.
24802 (test_get2_any): Call it.
24803 (test_no_inet6): Add 'p' test.
24804 (test_inet6): Likewise.
24806 2017-09-06 Florian Weimer <fweimer@redhat.com>
24808 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
24809 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
24811 (test_gai): Adjust query names. Add additional tests.
24812 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
24813 test_get2. Adjust query names. Add additional tests.
24814 (test_no_inet6): New function, extracted from threadfunc.
24815 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
24816 Add additional tests.
24818 2017-09-06 Mike FABIAN <mfabian@redhat.com>
24821 * localedata/unicode-gen/utf8_gen.py: Set the width for
24822 characters with Prepended_Concatenation_Mark property to 1
24823 * localedata/charmaps/UTF-8: Updated using the improved script.
24825 2017-09-06 Mike FABIAN <mfabian@redhat.com>
24828 * localedata/unicode-gen/utf8_gen.py: Improve the script to
24829 use the range notation for all ranges of neighbouring characters
24830 with the same width.
24832 2017-09-05 Joseph Myers <joseph@codesourcery.com>
24834 * sysdeps/generic/math-type-macros-double.h: Include
24835 <math-svid-compat.h>.
24836 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24837 * sysdeps/generic/math-type-macros-float.h: Include
24838 <math-svid-compat.h>.
24839 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24840 * sysdeps/generic/math-type-macros-ldouble.h: Include
24841 <math-svid-compat.h>.
24842 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24843 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
24845 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
24846 * math/w_acosf_compat.c: Likewise.
24847 * math/w_acosh_compat.c: Likewise.
24848 * math/w_acoshf_compat.c: Likewise.
24849 * math/w_acoshl_compat.c: Likewise.
24850 * math/w_acosl_compat.c: Likewise.
24851 * math/w_asin_compat.c: Likewise.
24852 * math/w_asinf_compat.c: Likewise.
24853 * math/w_asinl_compat.c: Likewise.
24854 * math/w_atan2_compat.c: Likewise.
24855 * math/w_atan2f_compat.c: Likewise.
24856 * math/w_atan2l_compat.c: Likewise.
24857 * math/w_atanh_compat.c: Likewise.
24858 * math/w_atanhf_compat.c: Likewise.
24859 * math/w_atanhl_compat.c: Likewise.
24860 * math/w_cosh_compat.c: Likewise.
24861 * math/w_coshf_compat.c: Likewise.
24862 * math/w_coshl_compat.c: Likewise.
24863 * math/w_exp10_compat.c: Likewise.
24864 * math/w_exp10f_compat.c: Likewise.
24865 * math/w_exp10l_compat.c: Likewise.
24866 * math/w_exp2_compat.c: Likewise.
24867 * math/w_exp2f_compat.c: Likewise.
24868 * math/w_exp2l_compat.c: Likewise.
24869 * math/w_fmod_compat.c: Likewise.
24870 * math/w_fmodf_compat.c: Likewise.
24871 * math/w_fmodl_compat.c: Likewise.
24872 * math/w_hypot_compat.c: Likewise.
24873 * math/w_hypotf_compat.c: Likewise.
24874 * math/w_hypotl_compat.c: Likewise.
24875 * math/w_j0_compat.c: Likewise.
24876 * math/w_j0f_compat.c: Likewise.
24877 * math/w_j0l_compat.c: Likewise.
24878 * math/w_j1_compat.c: Likewise.
24879 * math/w_j1f_compat.c: Likewise.
24880 * math/w_j1l_compat.c: Likewise.
24881 * math/w_jn_compat.c: Likewise.
24882 * math/w_jnf_compat.c: Likewise.
24883 * math/w_jnl_compat.c: Likewise.
24884 * math/w_lgamma_r_compat.c: Likewise.
24885 * math/w_lgammaf_r_compat.c: Likewise.
24886 * math/w_lgammal_r_compat.c: Likewise.
24887 * math/w_log10_compat.c: Likewise.
24888 * math/w_log10f_compat.c: Likewise.
24889 * math/w_log10l_compat.c: Likewise.
24890 * math/w_log2_compat.c: Likewise.
24891 * math/w_log2f_compat.c: Likewise.
24892 * math/w_log2l_compat.c: Likewise.
24893 * math/w_log_compat.c: Likewise.
24894 * math/w_logf_compat.c: Likewise.
24895 * math/w_logl_compat.c: Likewise.
24896 * math/w_pow_compat.c: Likewise.
24897 * math/w_powf_compat.c: Likewise.
24898 * math/w_powl_compat.c: Likewise.
24899 * math/w_remainder_compat.c: Likewise.
24900 * math/w_remainderf_compat.c: Likewise.
24901 * math/w_remainderl_compat.c: Likewise.
24902 * math/w_sinh_compat.c: Likewise.
24903 * math/w_sinhf_compat.c: Likewise.
24904 * math/w_sinhl_compat.c: Likewise.
24905 * math/w_sqrt_compat.c: Likewise.
24906 * math/w_sqrtf_compat.c: Likewise.
24907 * math/w_sqrtl_compat.c: Likewise.
24908 * math/w_tgamma_compat.c: Likewise.
24909 * math/w_tgammaf_compat.c: Likewise.
24910 * math/w_tgammal_compat.c: Likewise.
24911 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
24912 [LIBM_SVID_COMPAT].
24913 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
24914 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
24915 [LIBM_SVID_COMPAT].
24916 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
24917 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
24918 [LIBM_SVID_COMPAT].
24919 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
24920 * sysdeps/i386/fpu/w_sqrt.c: New file.
24921 * sysdeps/ia64/fpu/w_acos.c: Likewise.
24922 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
24923 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
24924 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
24925 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
24926 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
24927 * sysdeps/ia64/fpu/w_asin.c: Likewise.
24928 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
24929 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
24930 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
24931 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
24932 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
24933 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
24934 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
24935 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
24936 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
24937 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
24938 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
24939 * sysdeps/ia64/fpu/w_exp.c: Likewise.
24940 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
24941 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
24942 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
24943 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
24944 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
24945 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
24946 * sysdeps/ia64/fpu/w_expf.c: Likewise.
24947 * sysdeps/ia64/fpu/w_expl.c: Likewise.
24948 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
24949 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
24950 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
24951 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
24952 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
24953 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
24954 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
24955 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
24956 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
24957 * sysdeps/ia64/fpu/w_log.c: Likewise.
24958 * sysdeps/ia64/fpu/w_log10.c: Likewise.
24959 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
24960 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
24961 * sysdeps/ia64/fpu/w_log2.c: Likewise.
24962 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
24963 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
24964 * sysdeps/ia64/fpu/w_logf.c: Likewise.
24965 * sysdeps/ia64/fpu/w_logl.c: Likewise.
24966 * sysdeps/ia64/fpu/w_pow.c: Likewise.
24967 * sysdeps/ia64/fpu/w_powf.c: Likewise.
24968 * sysdeps/ia64/fpu/w_powl.c: Likewise.
24969 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
24970 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
24971 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
24972 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
24973 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
24974 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
24975 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
24976 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
24977 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
24978 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
24979 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
24980 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
24981 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
24982 [LIBM_SVID_COMPAT].
24983 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
24984 * sysdeps/ieee754/k_standard.c: Likewise.
24985 * sysdeps/ieee754/k_standardf.c: Likewise.
24986 * sysdeps/ieee754/k_standardl.c: Likewise.
24987 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
24988 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
24989 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
24990 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
24991 long_double_symbol call on [LIBM_SVID_COMPAT].
24992 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
24993 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
24994 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
24995 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
24996 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
24997 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
24998 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
24999 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25000 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25001 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25002 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25003 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25004 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25005 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25006 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25007 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25008 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
25009 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25010 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25011 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25012 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
25013 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
25015 2017-09-05 Steve Ellcey <sellcey@cavium.com>
25017 * include/shlib-compat.h (TEST_COMPAT): New Macro.
25018 * malloc/tst-mallocstate.c: Convert from test-skeleton
25019 to test-driver. Ifdef code using TEST_COMPAT macro.
25020 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
25021 * math/test-matherr.c: Likewise.
25023 2017-09-05 Joseph Myers <joseph@codesourcery.com>
25026 * debug/pcprofiledump.c (main): Use byte-swapped mask when
25027 comparing word with byte-swapped constant.
25029 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
25032 * locale/iso-639.def: add Miskito.
25033 * localedata/SUPPORTED: Add miq_NI/UTF-8.
25034 * localedata/locales/miq_NI: New file.
25036 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
25039 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
25040 (__mkdir): Likewise.
25041 * io/chmod.c (__chmod): Add libc_hidden_def.
25042 * io/mkdir.c (__mkdir): Likewise.
25043 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25044 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25045 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
25046 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
25048 2017-09-04 Joseph Myers <joseph@codesourcery.com>
25050 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25054 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
25055 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
25057 2017-09-04 Florian Weimer <fweimer@redhat.com>
25059 * math/math.h: Issue warning if log is defined.
25061 2017-09-04 Joseph Myers <joseph@codesourcery.com>
25063 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25064 kernel version to 4.13.
25066 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25068 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
25069 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
25071 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
25072 just <bits/types.h>.
25073 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
25074 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
25075 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
25076 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
25077 * misc/preadv2.c: Include <errno.h>.
25078 * misc/preadv64v2.c: Include <errno.h>.
25079 * misc/pwritev2.c: Include <errno.h>.
25080 * misc/pwritev64v2.c: Include <errno.h>.
25081 * sysdeps/posix/preadv2.c: Include <errno.h>.
25082 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
25083 Fix <unistd.h> inclusion.
25084 * sysdeps/posix/pwritev2.c: Include <errno.h>.
25085 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
25086 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
25087 __strtoul_internal): New functions.
25088 * sysdeps/posix/pause.c: Include <sigsetops.h>.
25089 * sysdeps/posix/system.c: Include <sigsetops.h>.
25090 * sysdeps/mach/hurd/i386/Makefile
25091 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
25092 [$(subdir) = csu] (sysdep-only-routines): Likewise.
25093 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
25094 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
25095 __feraiseexcept_renamed to feraiseexcept instead of
25096 __GI_feraiseexcept.
25097 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
25098 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
25099 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
25100 RWF_NOWAIT): Define to 0 if undefined already.
25101 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
25103 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
25104 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
25106 2017-09-01 Joseph Myers <joseph@codesourcery.com>
25108 * manual/math.texi (pow10): Do not document.
25109 (pow10f): Likewise.
25110 (pow10l): Likewise.
25111 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
25112 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
25113 * math/libm-test-exp10.inc (pow10_test): Remove.
25114 (do_test): Do not call pow10.
25115 * math/w_exp10_compat.c (pow10): Make into compat symbol.
25116 [NO_LONG_DOUBLE] (pow10l): Likewise.
25117 * math/w_exp10f_compat.c (pow10f): Likewise.
25118 * math/w_exp10l_compat.c (pow10l): Likewise.
25119 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
25120 (pow10): Make into compat symbol.
25121 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
25122 (pow10f): Make into compat symbol.
25123 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
25124 (pow10l): Make into compat symbol.
25125 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
25127 (CFLAGS-nldbl-pow10.c): Remove variable..
25128 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
25129 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
25130 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
25131 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
25132 Undefine and redefine.
25133 (pow10l): Make into compat symbol.
25134 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
25135 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25136 * sysdeps/arm/libm-test-ulps: Likewise.
25137 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
25138 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25139 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25140 * sysdeps/microblaze/libm-test-ulps: Likewise.
25141 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25142 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25143 * sysdeps/nios2/libm-test-ulps: Likewise.
25144 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25145 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25146 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25147 * sysdeps/sh/libm-test-ulps: Likewise.
25148 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25149 * sysdeps/tile/libm-test-ulps: Likewise.
25150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25152 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25154 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
25156 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25158 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
25159 "../ChangeLog.old/ChangeLog.8".
25160 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
25161 "../ChangeLog.old/ChangeLog.14".
25163 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25165 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
25168 2017-09-01 Joseph Myers <joseph@codesourcery.com>
25170 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
25172 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25174 * csu/version.c (banner): Remove "by Roland McGrath et al.".
25175 * nptl/Banner: Remove "by Ulrich Drepper et al.".
25177 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25179 * stdlib/tst-atexit-common.c (do_test): Test support for at least
25180 32 atexit handlers.
25182 2017-09-01 Zack Weinberg <zackw@panix.com>
25184 * math/math.h (HUGE_VAL): Improve commentary.
25186 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25187 Andreas Schwab <schwab@suse.de>
25190 * include/stdio.h (__gen_tempfd): New function.
25191 * stdio-common/Makefile (routines): Add gentempfd.
25192 * stdio-common/gentempfd.c: New file.
25193 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
25194 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
25195 unnamed file first.
25197 2017-09-01 Florian Weimer <fweimer@redhat.com>
25201 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
25202 result to determine success or failure, not the errno value.
25203 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
25204 (tst-nss-files-hosts-erange): Link with -ldl.
25205 * nss/tst-nss-files-hosts-erange.c: New file.
25206 * nss/tst-resolv-basic.c (response): Handle nodata.example.
25207 (do_test): Add NO_DATA tests.
25208 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
25209 (do_test): Call it.
25211 2017-09-01 Florian Weimer <fweimer@redhat.com>
25214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
25215 coming from gethostbyname2_r.
25217 2017-09-01 Florian Weimer <fweimer@redhat.com>
25219 * support/namespace.h (struct support_chroot_configuration): Add
25221 (struct support_chroot): Add path_hosts, path_host_conf.
25222 * support/support_chroot.c (write_file): New function.
25223 (support_chroot_create): Call it to process /etc/resolv.conf,
25224 /etc/hosts, /etc/host.conf.
25225 (support_chroot_free): Update.
25227 2017-09-01 Florian Weimer <fweimer@redhat.com>
25229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
25230 status indicates it is set.
25232 2017-09-01 Florian Weimer <fweimer@redhat.com>
25235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
25236 function lookup failures more reliable.
25238 2017-09-01 Florian Weimer <fweimer@redhat.com>
25240 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
25241 (getcanonname): Likewise.
25242 (gaih_inet): Likewise.
25244 2017-09-01 Florian Weimer <fweimer@redhat.com>
25246 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
25247 (getcanonname): Likewise.
25248 (gaih_inet): Likewise.
25250 2017-08-31 Steve Ellcey <sellcey@cavium.com>
25251 Richard Henderson <rth@twiddle.net>
25253 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
25254 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
25255 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
25256 (IREG_SIZE, OREG_SIZE): New macros.
25257 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
25258 (IREG_SIZE, OREG_SIZE): New macros.
25259 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
25260 (IREG_SIZE): New macro.
25261 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
25262 (IREG_SIZE): New macro.
25263 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
25265 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
25266 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
25267 (__CONCATX): Handle exceptions correctly on large values that may
25269 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
25270 Initialize if not already set.
25271 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
25273 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25275 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
25276 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
25278 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
25280 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
25282 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
25284 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
25286 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
25288 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
25290 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
25291 (NO_CANCELLATION): Likewise.
25292 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
25294 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
25296 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
25298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
25299 (NO_CANCELLATION): Likewise.
25300 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
25301 (NO_CANCELLATION): Likewise.
25302 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
25304 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
25306 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
25308 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
25310 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
25312 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
25313 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
25315 2017-08-31 Steve Ellcey <sellcey@cavium.com>
25317 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
25320 2017-08-31 Florian Weimer <fweimer@redhat.com>
25322 * include/libc-symbols.h (internal_function): Remove.
25324 2017-08-31 Florian Weimer <fweimer@redhat.com>
25326 * stdlib/fmtmsg.c (internal_addseverity): Remove
25329 2017-08-31 Florian Weimer <fweimer@redhat.com>
25331 * stdio-common/printf_fp.c (group_number): Remove
25333 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
25335 2017-08-31 Florian Weimer <fweimer@redhat.com>
25337 * posix/fnmatch.c (internal_function): Remove definition.
25338 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
25339 * posix/regcomp.c (peek_token, init_word_char)
25340 (duplicate_node_closure, fetch_token, peek_token)
25341 (peek_token_bracket, build_range_exp, build_collating_symbol):
25343 * posix/regex_internal.c (re_string_construct_common)
25344 (create_ci_newstate, create_cd_newstate, re_string_allocate)
25345 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
25346 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
25347 (re_string_translate_buffer, re_string_reconstruct)
25348 (re_string_peek_byte_case, re_string_fetch_byte_case)
25349 (re_string_destruct, re_string_context_at, re_node_set_alloc)
25350 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
25351 (re_node_set_add_intersect, re_node_set_init_union)
25352 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
25353 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
25354 (re_dfa_add_node, calc_state_hash, re_acquire_state)
25355 (re_acquire_state_context): Likewise.
25356 * posix/regex_internal.h (internal_function): Remove definition.
25357 (re_string_realloc_buffers, build_wcs_buffer)
25358 (build_wcs_upper_buffer, build_upper_buffer)
25359 (re_string_translate_buffer, re_string_context_at)
25360 (re_string_char_size_at, re_string_wchar_at)
25361 (re_string_elem_size_at): Likewise.
25362 * posix/regexec.c (match_ctx_init, match_ctx_clean)
25363 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
25364 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
25365 (re_search_internal, re_search_2_stub, re_search_stub)
25366 (re_copy_regs, prune_impossible_nodes, check_matching)
25367 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
25368 (free_fail_stack_return, sift_states_iter_mb)
25369 (sift_states_backward, build_sifted_states)
25370 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
25371 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
25372 (check_subexp_limits, sift_states_bkref, merge_state_array)
25373 (find_recover_state, transit_state, merge_state_with_log)
25374 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
25375 (transit_state_mb, transit_state_bkref, get_subexp)
25376 (get_subexp_sub, find_subexp_node, check_arrival)
25377 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
25378 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
25379 (check_node_accept_bytes, find_collation_sequence_value)
25380 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
25381 (acquire_init_state_context, check_halt_node_context)
25382 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
25383 (sub_epsilon_src_nodes): Likewise.
25384 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
25385 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
25386 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
25387 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
25388 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
25389 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
25390 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
25391 * sysdeps/posix/ttyname.c (getttyname): Likewise.
25392 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25393 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
25394 (PREADV): Likewise.
25395 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
25396 (PREADV): Likewise.
25397 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
25398 (PWRITEV): Likewise.
25399 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
25400 (PWRITEV): Likewise.
25401 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
25402 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25404 2017-08-31 Florian Weimer <fweimer@redhat.com>
25406 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
25407 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
25408 Remove internal_function.
25409 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25410 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
25411 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
25412 (__deallocate_stack, __libc_pthread_init)
25413 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
25414 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
25415 (__libc_disable_asynccancel, __librt_disable_asynccancel):
25417 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
25418 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
25419 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
25421 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
25422 (__pthread_mutex_unlock_usercnt): Likewise.
25424 2017-08-31 Florian Weimer <fweimer@redhat.com>
25426 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
25427 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
25428 (fts_safe_changedir): Remove internal_function.
25429 * io/ftw.c (internal_function): Remove definition.
25430 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
25432 2017-08-31 Florian Weimer <fweimer@redhat.com>
25434 * inet/deadline.c (__deadline_current_time)
25435 (__deadline_from_timeval, __deadline_to_ms): Remove
25437 * inet/getnameinfo.c (nrl_domainname): Likewise.
25438 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
25439 * inet/inet6_option.c (add_pad): Likewise.
25440 * inet/net-internal.h (__deadline_current_time)
25441 (__deadline_from_timeval, __deadline_to_ms): Likewise.
25442 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
25443 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
25444 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
25446 2017-08-31 Joseph Myers <joseph@codesourcery.com>
25448 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
25449 include <bits/nan.h>.
25450 * math/Makefile (headers): Remove bits/nan.h.
25451 * bits/nan.h: Remove.
25452 * sysdeps/ieee754/bits/nan.h: Likewise.
25453 * sysdeps/mips/bits/nan.h: Likewise.
25455 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
25456 not include <bits/inf.h>.
25457 * math/Makefile (headers): Remove bits/inf.h.
25458 * bits/inf.h: Remove.
25459 * sysdeps/ieee754/bits/inf.h: Likewise.
25461 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
25462 bits/huge_vall.h or bits/huge_val_flt128.h.
25463 (HUGE_VAL): Define directly here.
25464 [__USE_ISOC99] (HUGE_VALF): Likewise.
25465 [__USE_ISOC99] (HUGE_VALL): Likewise.
25466 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25467 (HUGE_VAL_F128): Likewise.
25468 * math/Makefile (headers): Remove bits/huge_val.h,
25469 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
25470 * bits/huge_val.h: Remove.
25471 * bits/huge_val_flt128.h: Likewise.
25472 * bits/huge_valf.h: Likewise.
25473 * bits/huge_vall.h: Likewise.
25474 * sysdeps/ia64/bits/huge_vall.h: Likewise.
25475 * sysdeps/ieee754/bits/huge_val.h: Likewise.
25476 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
25477 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
25478 * sysdeps/sh/bits/huge_val.h: Likewise.
25479 * sysdeps/sparc/bits/huge_vall.h: Likewise.
25480 * sysdeps/x86/bits/huge_vall.h: Likewise.
25482 2017-08-31 Florian Weimer <fweimer@redhat.com>
25484 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
25486 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
25488 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
25489 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25490 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
25491 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
25492 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25493 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25494 * elf/dl-libc.c (dlerror_run): Likewise.
25495 * elf/dl-load.c (add_name_to_object, decompose_rpath)
25496 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
25497 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
25498 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
25500 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
25501 (_dl_higher_prime_number, _dl_strtoul): Likewise.
25502 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
25503 * elf/dl-profile.c (_dl_start_profile): Likewise.
25504 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
25505 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
25507 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
25508 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
25509 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
25510 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
25511 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
25512 (_dl_allocate_tls_storage): Likewise.
25513 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
25514 (_dl_check_all_versions): Likewise.
25515 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25516 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
25517 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
25518 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25519 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
25520 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
25521 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
25522 internal_function from __dl_start.
25523 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
25524 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25525 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
25526 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
25527 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
25528 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
25529 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
25530 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
25531 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
25532 (_dl_next_ld_env_entry, _dl_important_hwcaps)
25533 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
25534 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
25535 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
25536 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
25537 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
25539 (struct rtld_global_ro): Remove internal_function from the
25540 _dl_lookup_symbol_x member.
25541 (_dl_symbol_value): Remove. No longer defined anywhere.
25542 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
25544 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25545 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25546 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
25547 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
25548 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
25549 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
25550 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
25551 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
25552 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
25553 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25554 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25555 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25557 2017-08-31 Florian Weimer <fweimer@redhat.com>
25559 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
25560 Remove internal_function.
25561 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
25563 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
25566 2017-08-31 Florian Weimer <fweimer@redhat.com>
25568 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
25569 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
25570 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
25572 2017-08-31 Florian Weimer <fweimer@redhat.com>
25574 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
25575 (__gai_enqueue_request): Remove internal_function.
25576 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
25577 (__gai_remove_request, __gai_notify, __gai_notify_only)
25578 (__gai_sigqueue): Likewise.
25579 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
25580 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25581 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
25582 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25585 2017-08-31 Florian Weimer <fweimer@redhat.com>
25587 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
25588 * include/dirent.h (__opendirat, __getdents, __getdents64)
25589 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
25590 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
25591 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
25592 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25594 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
25596 2017-08-31 Florian Weimer <fweimer@redhat.com>
25598 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
25600 (GETCWD_RETURN_TYPE): Likewise.
25602 2017-08-31 Florian Weimer <fweimer@redhat.com>
25604 * include/time.h (__tz_compute, __strptime_internal): Remove
25606 * time/strptime_l.c (__strptime_internal): Likewise.
25607 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
25609 2017-08-31 Florian Weimer <fweimer@redhat.com>
25611 * iconv/gconv.c (__gconv): Remove internal_function.
25612 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
25613 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
25614 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
25615 (__gconv_release_cache): Likewise.
25616 * iconv/gconv_close.c (__gconv_close): Likewise.
25617 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
25618 (read_conf_file, __gconv_get_path): Likewise.
25619 * iconv/gconv_db.c (derivation_lookup, add_derivation)
25620 (__gconv_release_step, gen_steps, increment_counter)
25621 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
25622 (__gconv_close_transform, free_modules_db): Likewise.
25623 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
25625 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
25626 (__gconv_find_transform, __gconv_lookup_cache)
25627 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
25628 (__gconv_close_transform, __gconv_release_cache)
25629 (__gconv_loaded_object, __gconv_release_shlib)
25630 (__gconv_compare_alias): Likewise.
25631 * iconv/gconv_open.c (__gconv_open): Likewise.
25632 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
25633 * iconv/iconvconfig.c (add_module): Likewise.
25634 * intl/dcigettext.c (plural_lookup, guess_category_value)
25635 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
25636 * intl/eval-plural.h (plural_eval): Likewise.
25637 * intl/finddomain.c (_nl_find_domain): Likewise.
25638 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
25639 (_nl_load_domain, _nl_find_msg): Likewise.
25640 (internal_function): Remove definition.
25641 * intl/loadinfo.h (internal_function): Likewise.
25642 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
25644 * intl/localealias.c (internal_function): Remove definition.
25645 (read_alias_file): Remove internal_function.
25646 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
25647 * intl/plural-exp.h (internal_function): Remove definition.
25648 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
25650 * intl/plural.c: Regenerate.
25651 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
25652 * locale/coll-lookup.c (__collidx_table_lookup)
25653 (__collseq_table_lookup): Likewise.
25654 * locale/coll-lookup.h (__collidx_table_lookup)
25655 (__collseq_table_lookup): Likewise.
25656 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
25657 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25658 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
25659 (_nl_unload_locale): Likewise.
25660 * locale/localeinfo.h (struct __locale_data): Remove
25661 internal_function from cleanup member.
25662 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
25663 (_nl_remove_locale, _nl_load_locale_from_archive)
25664 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
25665 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
25666 (_nl_cleanup_time): Remove internal_function.
25667 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
25668 (_nl_parse_alt_digit): Likewise.
25669 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
25670 (_nl_select_era_entry): Likewise.
25671 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
25672 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
25673 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
25674 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
25675 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
25677 2017-08-31 Florian Weimer <fweimer@redhat.com>
25679 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
25680 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25681 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
25682 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
25684 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
25685 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
25686 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
25687 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
25689 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
25691 2017-08-31 Florian Weimer <fweimer@redhat.com>
25693 * misc/getttyent.c (skip, value): Remove internal_function.
25694 * misc/syslog.c (openlog_internal): Likewise.
25695 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
25697 2017-08-31 Florian Weimer <fweimer@redhat.com>
25699 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
25700 (__nss_rewrite_field): Remove internal_function.
25701 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25702 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
25703 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25704 * nss/nsswitch.c (nss_parse_file, nss_getline)
25705 (nss_parse_service_list, nss_new_service): Likewise.
25706 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
25707 * nss/valid_field.c (__nss_valid_field): Likewise.
25708 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25710 2017-08-31 Florian Weimer <fweimer@redhat.com>
25712 * malloc/arena.c (__malloc_fork_lock_parent)
25713 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
25714 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
25715 internal_function from defintions.
25716 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
25717 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
25718 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
25719 internal_function from declarations.
25720 * malloc/malloc.c (internal_function): Do not define.
25721 (mem2mem_check): Remove internal_function from declaration.
25722 (munmap_chunk, mremap_chunk): Remove internal_function.
25723 * malloc/mtrace.c (tr_where): Likewise.
25725 2017-08-31 Florian Weimer <fweimer@redhat.com>
25727 * include/rpc/pmap_clnt.h (__get_socket): Remove
25729 * sunrpc/auth_des.c (synchronize): Likewise.
25730 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
25731 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
25732 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
25733 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
25734 (key_call): Likewise.
25735 * sunrpc/pm_getport.c (__get_socket): Likewise.
25736 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
25737 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
25738 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
25739 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
25740 (invalidate): Likewise.
25741 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
25742 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
25743 (set_input_fragment, get_input_bytes): Likewise.
25745 2017-08-31 Florian Weimer <fweimer@redhat.com>
25747 * malloc/malloc.c (_int_free): Remove locked variable and related
25750 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
25753 * Makerules (build-module-helper-objlist): Filter out
25754 $(elf-objpfx)sofini.os.
25755 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
25758 2017-08-31 Florian Weimer <fweimer@redhat.com>
25760 * libio/fcloseall.c: Assume weak_alias is defined.
25761 * libio/feof.c: Likewise.
25762 * libio/fileno.c: Likewise.
25763 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
25764 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
25766 (_IO_file_open): Call __open directly.
25767 (_IO_new_file_sync): Assume ESPIPE is defined.
25768 (_IO_file_seekoff_maybe_mmap): Call __read directly.
25769 (_IO_new_file_write): Call __write directly.
25770 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
25771 * libio/ftello64.c (__ftello64): Assume EIO is defined.
25772 * libio/genops.c: Assume _LIBC is defined.
25773 (save_for_backup): Remove internal_function.
25774 * libio/getc.c: Assume weak_alias is defined.
25775 * libio/getwc.c: Likewise.
25776 * libio/iofclose.c: Assume _LIBC is defined.
25777 * libio/iofdopen.c: Likewise.
25778 (_IO_fcntl): Remove macro definition.
25779 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
25780 Call __fcntl directly.
25781 * libio/iofflush.c: Assume weak_alias is defined.
25782 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
25784 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
25785 * libio/iofgets.c: Likewise.
25786 * libio/iofopen.c: Assume _LIBC is defined.
25787 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
25788 * libio/iofputs.c: Assume weak_alias is defined.
25789 * libio/iofread.c: Likewise.
25790 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
25791 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25792 * libio/ioftell.c: Assume weak_alias is defined.
25793 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
25794 * libio/iofwide.c: Assume _LIBC is defined.
25795 (_IO_fwide): Drop SHARED conditional because it is implied by
25797 * libio/iofwrite.c: Assume weak_alias is defined.
25798 * libio/iogetdelim.c: Likewise.
25799 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
25800 * libio/iogetwline.c (wmemcpy): Remove macro definition.
25801 (_IO_getwline): Call __wmemcpy directly.
25802 * libio/iopopen.c: Assume _LIBC is defined.
25803 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
25804 (_IO_close): Remove macro definitions.
25805 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
25807 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
25809 * libio/ioputs.c: Assume weak_alias is defined.
25810 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
25811 * libio/iosetbuffer.c: Assume weak_alias is defined.
25812 * libio/iosetvbuf.c: Likewise.
25813 * libio/ioungetc.c: Likewise.
25814 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
25815 libc_hidden_def, libc_hidden_weak, NULL are defined.
25816 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
25817 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
25819 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
25821 (_IO_old_file_init_internal): Drop SHARED conditional because it
25822 is implied by SHLIB_COMPAT.
25823 (_IO_old_file_fopen): Call __open directly.
25824 (_IO_old_file_sync): Assume ESPIPE is defined.
25825 (_IO_old_file_write): Call __write directly.
25826 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
25827 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
25828 Call __fcntl directly.
25829 * libio/oldiofgetpos.c: Assume weak_alias is defined.
25830 (_IO_old_fgetpos): Assume EIO is defined.
25831 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
25832 (_IO_old_fgetpos64): Assume EIO is defined.
25833 * libio/oldiofsetpos.c: Assume weak_alias is defined.
25834 (_IO_old_fsetpos): Assume EIO is defined.
25835 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
25836 (_IO_old_fsetpos64): Assume EIO is defined.
25837 * libio/oldiopopen.c: Assume _LIBC is defined.
25838 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
25839 (_IO_close): Remove macro definitions.
25840 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
25842 (_IO_old_proc_close): Call __close, __waitpid directly.
25843 * libio/put.c: Assume weak_alias is defined.
25844 * libio/stdfiles.c: Assume _LIBC is defined.
25845 * libio/stdio.c: Likewise.
25846 * libio/wfileops.c: Likewise.
25847 (_IO_wfile_sync): Assume ESPIPE is defined.
25848 * libio/wgenops.c: Assume _LIBC is defined.
25849 (save_for_wbackup): Remove internal_function.
25851 2017-08-31 Florian Weimer <fweimer@redhat.com>
25853 * malloc/malloc.c (top_check): Change return type to void. Remove
25855 * malloc/hooks.c (top_check): Likewise.
25856 (malloc_check, realloc_check, memalign_check): Adjust.
25858 2017-08-30 Joseph Myers <joseph@codesourcery.com>
25861 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
25862 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
25863 sigcontext and namespace requirements.
25864 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
25865 * sysdeps/m68k/sys/ucontext.h: Likewise.
25866 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
25867 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
25868 <bits/sigcontext.h>.
25869 (__ctx): Define earlier.
25870 (mcontext_t): Define structure contents rather than using struct
25872 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
25873 __glibc_reserved1 instead of __reserved.
25874 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
25875 <bits/sigcontext.h>.
25876 (__ctx): Define earlier.
25877 (mcontext_t): Define structure contents rather than using struct
25879 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
25880 mcontext_t instead of struct sigcontext.
25881 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
25882 <bits/sigcontext.h>.
25883 (__ctx): Define earlier.
25884 (mcontext_t): Define structure contents rather than using struct
25886 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
25887 <bits/sigcontext.h>.
25888 (__ctx): Define earlier.
25889 (mcontext_t): Define structure contents rather than using struct
25891 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
25892 mcontext_t instead of struct sigcontext.
25893 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
25894 mcontext_t instead of struct sigcontext.
25895 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
25896 <bits/sigcontext.h>.
25897 (__ctx): New macro.
25898 (struct __ia64_fpreg_mcontext): New type.
25899 (mcontext_t): Define structure contents rather than using struct
25901 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
25902 (uc_sigmask): Define using __ctx.
25903 (uc_stack): Likewise.
25904 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
25905 <bits/sigcontext.h>.
25906 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25907 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
25908 <bits/sigcontext.h>.
25909 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
25910 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
25911 <bits/sigcontext.h>.
25912 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
25913 <bits/sigcontext.h>.
25914 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
25915 <bits/sigcontext.h>.
25916 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
25917 <bits/sigcontext.h>.
25918 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
25919 <bits/sigcontext.h>.
25920 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
25921 <bits/sigcontext.h>.
25922 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
25923 <bits/sigcontext.h>.
25924 (__ctx): Define earlier.
25925 (mcontext_t): Define structure contents rather than using struct
25927 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
25928 <bits/sigcontext.h>. Include <bits/types.h>.
25929 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
25930 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
25931 (test-xfail-XPG42/ucontext.h/conform): Likewise.
25932 (test-xfail-UNIX98/signal.h/conform): Likewise.
25933 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25934 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25935 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25936 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25937 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25938 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25939 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25940 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25941 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25943 2017-08-30 Florian Weimer <fweimer@redhat.com>
25945 * malloc/dynarray_emplace_enlarge.c
25946 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
25947 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
25948 * malloc/tst-dynarray.c (test_long_overflow): New function.
25949 (do_test): Call it.
25951 2017-08-30 Florian Weimer <fweimer@redhat.com>
25953 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
25954 (set_arena_corrupt): Remove definitions.
25955 (mtrim): Do not check for corrupt arena.
25956 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
25959 2017-08-30 Florian Weimer <fweimer@redhat.com>
25962 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
25964 (ptmalloc_init): Do not set or use check_action.
25965 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
25966 call to malloc_printerr. Remove return statement.
25967 (free_check): Likewise. Remove arena unlock.
25968 (top_check): Update comment. Adjust call to malloc_printerr.
25969 Remove heap repair code.
25970 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
25971 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
25972 (sysmalloc): Adjust call to malloc_printerr.
25973 (munmap_chunk, __libc_realloc): Likewise. Remove return
25975 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
25976 Remove errout label and corresponding gotos.
25977 (_int_free): Likewise. Remove arena unlock.
25978 (do_set_mallopt_check): Do not set check_action.
25979 (malloc_printerr): Adjust parameter list. Do not mark arena as
25981 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
25983 * manual/probes.texi (Memory Allocation Probes): Remove
25984 memory_mallopt_check_action.
25986 2017-08-30 Steve Ellcey <sellcey@cavium.com>
25988 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
25989 Use pointer to uint64_t instead of long int for sp.
25991 2017-08-30 Florian Weimer <fweimer@redhat.com>
25994 * malloc/malloc.c (malloc_printerr): Always terminate the process,
25995 without printing a backtrace. Do not leak any information in the
25997 * manual/memory.texi (Heap Consistency Checking): Update.
25998 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
26000 2017-08-30 Florian Weimer <fweimer@redhat.com>
26002 Do not scale NPTL tests with available number of CPUs.
26003 * nptl/tst-cond16.c (count): Set to constant value of 8.
26004 * nptl/tst-cond18.c (count): Likewise.
26006 2017-08-29 Joseph Myers <joseph@codesourcery.com>
26009 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
26010 Define to take a second argument that is a macro that
26011 concatentates a suffix, not the suffix itself.
26012 (__CONCAT_d): New macro.
26013 (__CONCAT_f): Likewise.
26014 (__CONCAT_l): Likewise.
26016 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
26018 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
26021 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26022 Aurelien Jarno <aurelien@aurel32.net>
26023 Maciej W. Rozycki <macro@imgtec.com>
26026 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
26027 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
26028 `mips16-syscall6' and `mips16-syscall7'.
26029 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
26030 (CFLAGS-mips16-syscall7.c): Remove.
26031 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
26032 Remove `__mips16_syscall5', `__mips16_syscall6' and
26033 `__mips16_syscall7'.
26034 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
26035 (__mips16_syscall0): Rename `__mips16_syscall_return' to
26036 `__mips_syscall_return'.
26037 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
26038 (__mips16_syscall1): Likewise.
26039 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
26040 (__mips16_syscall2): Likewise.
26041 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
26042 (__mips16_syscall3): Likewise.
26043 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
26044 (__mips16_syscall4): Likewise.
26045 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
26047 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
26049 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
26051 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
26052 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
26053 `__mips16_syscall5'. Remove prototype.
26054 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
26055 `__mips16_syscall6'. Remove prototype.
26056 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
26057 `__mips16_syscall7'. Remove prototype.
26058 (__nomips16, __mips16_syscall_return): Move to...
26059 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
26060 (__nomips16, __mips_syscall_return): ... here.
26061 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
26062 `__mips16_syscall_return' to `__mips_syscall_return'.
26063 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
26064 `internal_syscall##nr'.
26065 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
26066 `internal_syscall##nr'.
26067 (FORCE_FRAME_POINTER): Remove.
26068 (__mips_syscall5): New prototype.
26069 (internal_syscall5): Rewrite to call `__mips_syscall5'.
26070 (__mips_syscall6): New prototype.
26071 (internal_syscall6): Rewrite to call `__mips_syscall6'.
26072 (__mips_syscall7): New prototype.
26073 (internal_syscall7): Rewrite to call `__mips_syscall7'.
26074 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
26075 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
26076 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
26077 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
26078 (sysdep_routines): Add libc-do-syscall.
26079 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
26080 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
26082 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26085 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
26086 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
26087 (advise_stack_range): New function.
26088 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
26089 stack non required to advise_stack_range at allocatestack.c
26091 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26093 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
26095 2017-08-29 Florian Weimer <fweimer@redhat.com>
26098 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
26099 __end_fct. Mangle __end_fct after setting it to NULL.
26100 * iconv/Makefile (tests): Add tst-gconv-init-failure.
26101 (modules-names, modules-names-tests): Add
26102 tst-gconv-init-failure-mod.
26103 (gconv-modules): New target.
26104 (tst-gconv-init-failure-mod.so): Link against libsupport.
26105 (tst-gconv-init-failure): Depend on gconv-modules,
26106 tst-gconv-init-failure-mod.so.
26107 * iconv/tst-gconv-init-failure-mod.c: New file.
26108 * iconv/tst-gconv-init-failure.c: Likewise.
26109 * iconv/test-gconv-modules: Likewise.
26111 2017-08-29 Florian Weimer <fweimer@redhat.com>
26114 * iconv/gconv_db.c (free_derivation): Remove redundant
26116 (gen_steps): Unconditionally mangle __btowc_fct after
26118 (increment_counter): Likewise. Do not call init_fct for internal
26121 2017-08-29 Joseph Myers <joseph@codesourcery.com>
26124 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26125 (_MSUF_): Remove macro.
26126 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
26128 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26129 (__REDIRFROM_X): New macro.
26130 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
26132 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
26133 (__REDIRTO_X): Likewise.
26134 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
26136 (__MATH_REDIRCALL_2): Likewise.
26137 (__MATH_REDIRCALL_INTERNAL): Likewise.
26138 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26139 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
26140 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
26141 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26142 * math/test-finite-macros.c: New file.
26143 * math/Makefile (tests): Add test-finite-macros.
26144 (CFLAGS-test-finite-macros.c): New variable.
26146 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
26147 Jeff Law <law@redhat.com>
26150 Mangle NULL pointers in iconv/gconv.
26151 * iconv/gconv_cache.c (find_module): Demangle init_fct before
26152 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
26153 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
26154 is non-NULL before demangling the end_fct. Check for NULL
26155 end_fct after demangling.
26156 (__gconv_release_step): Demangle the end_fct before checking
26157 it for NULL. Remove assert on __shlibc_handle != NULL.
26158 (gen_steps): Don't check btowc_fct for NULL before mangling.
26159 Demangle init_fct before checking for NULL.
26160 (increment_counter): Likewise.
26161 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
26162 end_fct for NULL before mangling.
26163 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
26166 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
26169 * locale/iso-639.def: add Morisyen.
26171 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26174 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
26175 (iszero): New C++ implementation that does not use
26176 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
26177 signaling nans are enabled, since __builtin_types_compatible_p
26178 is a C-only feature.
26179 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
26180 defined, include ieee754_float128.h for access to the union and
26181 member ieee854_float128.ieee.
26182 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
26183 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
26184 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26185 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
26186 options of test-math-zero on powerpc64le.
26188 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
26190 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26191 Change double to float.
26193 2017-08-28 Joseph Myers <joseph@codesourcery.com>
26195 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
26197 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
26198 conditional code; define contents only for [LIBM_SVID_COMPAT].
26200 2017-08-28 Florian Weimer <fweimer@redhat.com>
26202 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
26203 (abi-lp64_be-options): Remove.
26204 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
26205 (abi-hard-options): Likewise.
26206 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
26207 (abi-o32_hard-options, abi-o32_soft_2008-options)
26208 (abi-o32_hard_2008-options, abi-n32_soft-options)
26209 (abi-n32_hard-options, abi-n32_soft_2008-options)
26210 (abi-n32_hard_2008-options, abi-n64_soft-options)
26211 (abi-n64_hard-options, abi-n64_soft_2008-options)
26212 (abi-n64_hard_2008-options): Likewise.
26213 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
26214 (abi-64-v1-options, abi-64-v2-options): Likewise.
26215 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
26216 (abi-64-options): Likewise.
26217 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
26218 (abi-64-options): Likewise.
26219 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
26220 (abi-64-options): Likewise.
26221 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
26222 (abi-64-options, abi-x32-options): Likewise.
26224 2017-08-28 Florian Weimer <fweimer@redhat.com>
26226 Store supported list of SYS_* system calls in the source tree.
26227 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
26228 (bits/syscall.h): Generate from list file.
26229 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
26230 [$(subdir) = misc] (tests): Add tst-syscall-list.
26231 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
26232 [$(subdir) = misc] (tst-syscall-list-macros.list)
26233 [$(subdir) = misc] (tst-syscall-list-nr.list)
26234 (tst-syscall-list-sys.list): Helper targets for new
26235 tst-syscall-list test.
26236 [$(subdir) = misc] (tst-syscall-list.out): Run test script
26237 tst-syscall-list.sh.
26238 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
26239 target. Do not include bits/syscall.d.
26240 [$(subdir) = misc] (generated): Do not update.
26241 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
26242 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
26243 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
26244 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
26246 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
26248 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
26249 (tst-cxa_atexit, tst-on_exit): Likewise.
26250 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
26251 tst-cxa_atexit, and tst-on_exit.
26252 * stdlib/tst-atexit-common.c: New file.
26253 * stdlib/tst-atexit.c: New file.
26254 * stdlib/tst-at_quick_exit.c: New file.
26255 * stdlib/tst-cxa_atexit.c: New file.
26256 * stdlib/tst-on_exit.c: New file.
26258 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26260 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
26261 * mach/stack_chk_fail_local.c: New file.
26262 * hurd/stack_chk_fail_local.c: New file.
26263 * mach/Machrules ($(interface-library)-routines): Add
26264 stack_chk_fail_local.
26265 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
26266 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
26267 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
26268 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
26269 * hurd/Makefile (CFLAGS-hurdstartup.o,
26270 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
26272 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
26274 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
26275 (index_cpu_*, index_arch_*): Removed.
26277 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26279 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
26280 Use uint64_t instead of unsigned long.
26282 2017-08-25 Joseph Myers <joseph@codesourcery.com>
26284 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
26285 [__HAVE_DISTINCT_FLOAT128].
26287 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
26288 of <bits/math-finite.h>.
26289 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
26290 inclusion of <bits/math-finite.h>.
26291 * math/bits/math-finite.h (__REDIRTO_X): Do not define
26292 conditionally on [__MATH_DECLARING_LDOUBLE && defined
26293 __NO_LONG_DOUBLE_MATH].
26294 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
26295 (__MATH_REDIRCALL_2): Likewise.
26296 (__MATH_REDIRCALL_INTERNAL): Likewise.
26297 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26298 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
26299 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
26303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
26305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
26307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
26309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
26311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
26313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
26314 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
26315 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
26316 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
26317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
26318 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
26319 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
26320 w_sqrtf_compat-ppc32.
26322 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26324 * math/math.h [defined __cplusplus] (issignaling): In the long
26325 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
26326 is not defined. Call __issignaling, otherwise.
26328 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26330 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
26331 syscall definitions and replace __builtin_expect with __glibc_likely.
26332 * sysdeps/unix/syscall-template.S: Update comment about cancellable
26334 (SYSCALL_CANCELLABLE): Removedefinition
26335 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
26337 (PSEUDO_END): Likewise.
26338 [IS_IN (libpthread)] (CENABLE): Likewise.
26339 [IS_IN (libpthread)] (CDISABLE): Likewise.
26340 [IS_IN (libc)] (CENABLE): Likewise.
26341 [IS_IN (libc)] (CENABLE): Likewise.
26342 [IS_IN (librt)] (CDISABLE): Likewise.
26343 [IS_IN (librt)] (CDISABLE): Likewise.
26344 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26345 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
26347 (PSEUDO_END): Likewise.
26348 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
26349 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
26350 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
26351 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
26352 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
26353 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
26354 (CENABLE): Likewise.
26355 (CDISABLE): Likewise.
26356 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26357 * sysdeps/unix/sysv/linux/arm/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/hppa/sysdep-cancel.h (PSEUDO): Remove
26369 (PSEUDO_END): Likewise.
26370 [IS_IN (libpthread)] (CENABLE): Likewise.
26371 [IS_IN (libpthread)] (CDISABLE): Likewise.
26372 [IS_IN (libc)] (CENABLE): Likewise.
26373 [IS_IN (libc)] (CENABLE): Likewise.
26374 [IS_IN (librt)] (CDISABLE): Likewise.
26375 [IS_IN (librt)] (CDISABLE): Likewise.
26376 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26377 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
26379 (PSEUDO_END): Likewise.
26380 [IS_IN (libpthread)] (CENABLE): Likewise.
26381 [IS_IN (libpthread)] (CDISABLE): Likewise.
26382 [IS_IN (libc)] (CENABLE): Likewise.
26383 [IS_IN (libc)] (CENABLE): Likewise.
26384 [IS_IN (librt)] (CDISABLE): Likewise.
26385 [IS_IN (librt)] (CDISABLE): Likewise.
26386 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26387 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
26389 (PSEUDO_END): Likewise.
26390 [IS_IN (libpthread)] (CENABLE): Likewise.
26391 [IS_IN (libpthread)] (CDISABLE): Likewise.
26392 [IS_IN (libc)] (CENABLE): Likewise.
26393 [IS_IN (libc)] (CENABLE): Likewise.
26394 [IS_IN (librt)] (CDISABLE): Likewise.
26395 [IS_IN (librt)] (CDISABLE): Likewise.
26396 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26397 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
26399 (PSEUDO_END): Likewise.
26400 [IS_IN (libpthread)] (CENABLE): Likewise.
26401 [IS_IN (libpthread)] (CDISABLE): Likewise.
26402 [IS_IN (libc)] (CENABLE): Likewise.
26403 [IS_IN (libc)] (CENABLE): Likewise.
26404 [IS_IN (librt)] (CDISABLE): Likewise.
26405 [IS_IN (librt)] (CDISABLE): Likewise.
26406 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26407 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
26409 (PSEUDO_END): Likewise.
26410 [IS_IN (libpthread)] (CENABLE): Likewise.
26411 [IS_IN (libpthread)] (CDISABLE): Likewise.
26412 [IS_IN (libc)] (CENABLE): Likewise.
26413 [IS_IN (libc)] (CENABLE): Likewise.
26414 [IS_IN (librt)] (CDISABLE): Likewise.
26415 [IS_IN (librt)] (CDISABLE): Likewise.
26416 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26417 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
26419 (PSEUDO_END): Likewise.
26420 [IS_IN (libpthread)] (CENABLE): Likewise.
26421 [IS_IN (libpthread)] (CDISABLE): Likewise.
26422 [IS_IN (libc)] (CENABLE): Likewise.
26423 [IS_IN (libc)] (CENABLE): Likewise.
26424 [IS_IN (librt)] (CDISABLE): Likewise.
26425 [IS_IN (librt)] (CDISABLE): Likewise.
26426 (SINGLE_THREAD_P): Likewise.
26427 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
26429 (PSEUDO_END): Likewise.
26430 [IS_IN (libpthread)] (CENABLE): Likewise.
26431 [IS_IN (libpthread)] (CDISABLE): Likewise.
26432 [IS_IN (libc)] (CENABLE): Likewise.
26433 [IS_IN (libc)] (CENABLE): Likewise.
26434 [IS_IN (librt)] (CDISABLE): Likewise.
26435 [IS_IN (librt)] (CDISABLE): Likewise.
26436 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26437 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
26439 (PSEUDO_END): Likewise.
26440 [IS_IN (libpthread)] (CENABLE): Likewise.
26441 [IS_IN (libpthread)] (CDISABLE): Likewise.
26442 [IS_IN (libc)] (CENABLE): Likewise.
26443 [IS_IN (libc)] (CENABLE): Likewise.
26444 [IS_IN (librt)] (CDISABLE): Likewise.
26445 [IS_IN (librt)] (CDISABLE): Likewise.
26446 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26447 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
26448 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26449 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
26450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
26452 (PSEUDO_END): Likewise.
26453 [IS_IN (libpthread)] (CENABLE): Likewise.
26454 [IS_IN (libpthread)] (CDISABLE): Likewise.
26455 [IS_IN (libc)] (CENABLE): Likewise.
26456 [IS_IN (libc)] (CENABLE): Likewise.
26457 [IS_IN (librt)] (CDISABLE): Likewise.
26458 [IS_IN (librt)] (CDISABLE): Likewise.
26459 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
26462 (PSEUDO_END): Likewise.
26463 [IS_IN (libpthread)] (CENABLE): Likewise.
26464 [IS_IN (libpthread)] (CDISABLE): Likewise.
26465 [IS_IN (libc)] (CENABLE): Likewise.
26466 [IS_IN (libc)] (CENABLE): Likewise.
26467 [IS_IN (librt)] (CDISABLE): Likewise.
26468 [IS_IN (librt)] (CDISABLE): Likewise.
26469 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26470 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
26472 (PSEUDO_END): Likewise.
26473 [IS_IN (libpthread)] (CENABLE): Likewise.
26474 [IS_IN (libpthread)] (CDISABLE): Likewise.
26475 [IS_IN (libc)] (CENABLE): Likewise.
26476 [IS_IN (libc)] (CENABLE): Likewise.
26477 [IS_IN (librt)] (CDISABLE): Likewise.
26478 [IS_IN (librt)] (CDISABLE): Likewise.
26479 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26480 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
26481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26482 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
26483 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
26485 (PSEUDO_END): Likewise.
26486 [IS_IN (libpthread)] (CENABLE): Likewise.
26487 [IS_IN (libpthread)] (CDISABLE): Likewise.
26488 [IS_IN (libc)] (CENABLE): Likewise.
26489 [IS_IN (libc)] (CENABLE): Likewise.
26490 [IS_IN (librt)] (CDISABLE): Likewise.
26491 [IS_IN (librt)] (CDISABLE): Likewise.
26492 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26493 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
26495 (PSEUDO_END): Likewise.
26496 [IS_IN (libpthread)] (CENABLE): Likewise.
26497 [IS_IN (libpthread)] (CDISABLE): Likewise.
26498 [IS_IN (libc)] (CENABLE): Likewise.
26499 [IS_IN (libc)] (CENABLE): Likewise.
26500 [IS_IN (librt)] (CDISABLE): Likewise.
26501 [IS_IN (librt)] (CDISABLE): Likewise.
26502 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26504 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
26506 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
26508 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26510 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26512 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26515 * string/stratcliff.c (do_test): Declare size, nchars, inner,
26516 middle and outer with size_t instead of int. Repleace %d and
26517 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
26518 "MAX (outer, nchars - 64)" to support unsigned outer and
26519 nchars. Also exit loop when outer == 0.
26521 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26523 * include/fcntl.h (__fcntl_nocancel): Remove definition.
26524 * include/signal.h (__sigsuspend_nocancel): Likewise.
26525 * include/time.h (__nanosleep_nocancel): Likewise.
26526 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
26527 * login/utmp_file.c: Include non cancellable syscall header.
26528 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
26531 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26533 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
26534 .byte sequences with AVX512F instructions.
26535 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
26536 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
26537 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26538 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
26540 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26543 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
26544 Steve Ellcey <sellcey@cavium.com>
26546 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
26547 Use PTR_REG macro in cmp instruction.
26549 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26551 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
26552 Change the return type of the ifunc resolver to match the return
26553 type of the target function.
26555 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26557 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
26558 (preadv64): Likewise.
26559 (pwrite64(: Likewise.
26560 (pwritev64): Likewise.
26562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26563 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
26564 (LOAD_ARGS_0): Likewise.
26565 (LOAD_ARGS_1): Likewise.
26566 (LOAD_ARGS_2): Likewise.
26567 (LOAD_ARGS_3): Likewise.
26568 (LOAD_ARGS_4): Likewise.
26569 (LOAD_ARGS_5): Likewise.
26570 (LOAD_ARGS_6): Likewise.
26571 (LOAD_REGS_0): Likewise.
26572 (LOAD_REGS_1): Likewise.
26573 (LOAD_REGS_2): Likewise.
26574 (LOAD_REGS_3): Likewise.
26575 (LOAD_REGS_4): Likewise.
26576 (LOAD_REGS_5): Likewise.
26577 (LOAD_REGS_6): Likewise.
26578 (ASM_ARGS_0): Likewise.
26579 (ASM_ARGS_1): Likewise.
26580 (ASM_ARGS_2): Likewise.
26581 (ASM_ARGS_3): Likewise.
26582 (ASM_ARGS_4): Likewise.
26583 (ASM_ARGS_5): Likewise.
26584 (ASM_ARGS_6): Likewise.
26585 (LOAD_ARGS_TYPES_1): Likewise.
26586 (LOAD_ARGS_TYPES_2): Likewise.
26587 (LOAD_ARGS_TYPES_3): Likewise.
26588 (LOAD_ARGS_TYPES_4): Likewise.
26589 (LOAD_ARGS_TYPES_5): Likewise.
26590 (LOAD_ARGS_TYPES_6): Likewise.
26591 (LOAD_REGS_TYPES_1): Likewise.
26592 (LOAD_REGS_TYPES_2): Likewise.
26593 (LOAD_REGS_TYPES_3): Likewise.
26594 (LOAD_REGS_TYPES_4): Likewise.
26595 (LOAD_REGS_TYPES_5): Likewise.
26596 (LOAD_REGS_TYPES_6): Likewise.
26597 (TYPEFY): New define.
26598 (ARGIFY): Likewise.
26599 (internal_syscall0): Likewise.
26600 (internal_syscall1): Likewise.
26601 (internal_syscall2): Likewise.
26602 (internal_syscall3): Likewise.
26603 (internal_syscall4): Likewise.
26604 (internal_syscall5): Likewise.
26605 (internal_syscall6): Likewise.
26606 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
26607 (INTERNAL_SYSCALL_NCS): Remove define.
26608 (internal_syscall1): Add define.
26610 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26612 * math/w_remainder_compat.c: Remove duplicate inclusion of
26613 math-svid-compat.h.
26614 * math/w_remainderf_compat.c: Likewise.
26615 * math/w_remainderl_compat.c: Likewise.
26617 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26621 2017-08-22 Joseph Myers <joseph@codesourcery.com>
26624 * math/tgmath.h (__floating_type): Simplify definitions.
26625 (__real_integer_type): New macro.
26626 (__complex_integer_type): Likewise.
26627 (__expr_is_real): Likewise.
26628 (__tgmath_real_type_sub): Update comment to describe handling of
26630 (__tgmath_complex_type_sub): New macro.
26631 (__tgmath_complex_type): Likewise.
26632 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26633 (__TGMATH_CF128): Use __expr_is_real.
26634 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
26636 (__TGMATH_BINARY_REAL_IMAG): Likewise.
26637 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
26638 * math/gen-tgmath-tests.py (Type.create_type): Create complex
26641 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26643 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
26645 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
26647 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
26650 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
26651 nanosleep_not_cancel with __nanosleep_nocancel.
26652 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
26653 (__nanosleep_nocancel): New macro.
26654 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
26656 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
26658 (__nanosleep_nocancel): New prototype.
26660 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
26661 pause_not_cancel with __pause_nocancel.
26662 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
26663 (__pause_nocancel): New macro.
26664 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
26666 (__pause_nocancel): New prototype.
26667 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
26669 2017-08-22 Martin Sebor <msebor@redhat.com>
26671 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
26672 to return a pointer to the same type as the target function.
26674 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
26678 * include/printf.h (__printf_fphex): Add attribute_hidden.
26679 (__guess_grouping): New prototype.
26680 * stdio-common/printf_fp.c (__guess_grouping): Removed.
26681 * stdio-common/reg-printf.c (__register_printf_specifier): Add
26682 libc_hidden_proto and libc_hidden_def.
26683 * stdlib/strfmon_l.c (__guess_grouping): Removed.
26684 (__vstrfmon_l): Remove the third argument passed to
26687 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26689 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
26690 definition for issignaling that does not rely on __MATH_TG,
26691 since __MATH_TG uses __builtin_types_compatible_p, which is only
26692 available in C mode.
26693 (CFLAGS-test-math-issignaling.cc): New variable.
26694 * math/Makefile [CXX] (tests): Add test-math-issignaling.
26695 * math/test-math-issignaling.cc: New test for C++ implementation
26696 of type-generic issignaling.
26697 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26698 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
26699 options of test-math-issignaling on powerpc64le.
26701 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
26703 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26705 (hidden_proto): Likewise.
26706 (hidden_tls_proto): Likewise.
26707 (__hidden_proto): Likewise.
26709 2017-08-22 Florian Weimer <fweimer@redhat.com>
26711 math: Statically link tests of internal functionality.
26712 * math/Makefile (tests): Remove atest-exp, atest-sincos,
26714 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
26715 (gmp-objs): Remove assignment.
26716 (atest-exp, atest-sincos, atest-exp2): Remove targets.
26718 2017-08-22 Joseph Myers <joseph@codesourcery.com>
26721 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
26723 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
26725 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
26728 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
26729 variable definitions above inclusion of ../Rules.
26731 2017-08-21 Joseph Myers <joseph@codesourcery.com>
26733 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
26734 case calling __builtin_unreachable.
26736 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26738 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
26739 __waitpid_nocancel.
26740 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
26741 (__waitpid_nocancel): New macro.
26742 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
26744 (__waitpid_nocancel): Replace macro with a function.
26745 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
26748 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
26750 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
26751 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
26753 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
26754 __writev_nocancel_nostatus.
26755 (write_call_graph): Likewise.
26756 (write_bb_counts): Likewise.
26757 * resolv/herror.c (herror): Likewise.
26758 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
26760 (__writev_nocancel_nostatus): New macro.
26761 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
26763 (__writev_nocancel_nostatus): New function.
26765 2017-08-21 Joseph Myers <joseph@codesourcery.com>
26768 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26770 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26772 (hidden_proto): Likewise.
26773 (hidden_tls_proto): Likewise.
26774 (__hidden_proto): Likewise.
26777 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
26778 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
26779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
26781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
26783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
26785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
26787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
26788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
26789 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
26790 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
26791 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26792 GLIBC_2.0 sqrtl symbol.
26794 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
26795 [__USE_MISC] (_LIB_VERSION): Likewise.
26796 [__USE_MISC] (struct exception): Likewise.
26797 [__USE_MISC] (matherr): Likewise.
26798 [__USE_MISC] (DOMAIN): Likewise.
26799 [__USE_MISC] (SING): Likewise.
26800 [__USE_MISC] (OVERFLOW): Likewise.
26801 [__USE_MISC] (UNDERFLOW): Likewise.
26802 [__USE_MISC] (TLOSS): Likewise.
26803 [__USE_MISC] (PLOSS): Likewise.
26804 [__USE_MISC] (HUGE): Likewise.
26805 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
26806 * math/math-svid-compat.h: New file.
26807 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
26809 * include/math.h [!_ISOMAC] (__matherr): Remove.
26810 * manual/arith.texi (FP Exceptions): Do not document matherr.
26811 * math/Makefile (tests): Change test-matherr to test-matherr-3.
26812 (tests-internal): New variable.
26813 (install-lib): Do not add libieee.a.
26814 (non-lib.a): Likewise.
26815 (extra-objs): Do not add libieee.a and ieee-math.o.
26816 (CPPFLAGS-s_lib_version.c): Remove variable.
26817 ($(objpfx)libieee.a): Remove rule.
26818 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
26819 * math/ieee-math.c: Remove.
26820 * math/libm-test-support.c (matherr): Remove.
26821 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
26822 and license notices. Include <math-svid-compat.h> and
26824 (matherr): Undefine as macro. Use compat_symbol_reference.
26825 (_LIB_VERSION): Likewise.
26826 * math/test-matherr-2.c: New file.
26827 * math/test-matherr-3.c: Likewise.
26828 * sysdeps/generic/math_private.h (__kernel_standard): Remove
26830 (__kernel_standard_f): Likewise.
26831 (__kernel_standard_l): Likewise.
26832 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
26833 <math_private.h>. Include <math-svid-compat.h>.
26834 (_LIB_VERSION): Undefine as macro.
26835 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
26836 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
26837 [LIBM_SVID_COMPAT], use compat_symbol.
26838 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
26839 <math_private.h>. Include <math-svid-compat.h>.
26840 (matherr): Undefine as macro.
26841 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
26843 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
26844 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
26845 compat_symbol_reference.
26846 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
26847 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
26848 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
26849 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
26850 (MATHERR_D): Remove declaration.
26851 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
26852 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
26853 [LIBM_BUILD] (pmatherrf): Likewise.
26854 [LIBM_BUILD] (pmatherr): Likewise.
26855 [LIBM_BUILD] (pmatherrl): Likewise.
26856 (DOMAIN): Likewise.
26858 (OVERFLOW): Likewise.
26859 (UNDERFLOW): Likewise.
26862 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
26863 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
26865 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
26866 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
26868 * math/lgamma-compat.h: Include <math-svid-compat.h>.
26869 * math/w_acos_compat.c: Likewise.
26870 * math/w_acosf_compat.c: Likewise.
26871 * math/w_acosh_compat.c: Likewise.
26872 * math/w_acoshf_compat.c: Likewise.
26873 * math/w_acoshl_compat.c: Likewise.
26874 * math/w_acosl_compat.c: Likewise.
26875 * math/w_asin_compat.c: Likewise.
26876 * math/w_asinf_compat.c: Likewise.
26877 * math/w_asinl_compat.c: Likewise.
26878 * math/w_atan2_compat.c: Likewise.
26879 * math/w_atan2f_compat.c: Likewise.
26880 * math/w_atan2l_compat.c: Likewise.
26881 * math/w_atanh_compat.c: Likewise.
26882 * math/w_atanhf_compat.c: Likewise.
26883 * math/w_atanhl_compat.c: Likewise.
26884 * math/w_cosh_compat.c: Likewise.
26885 * math/w_coshf_compat.c: Likewise.
26886 * math/w_coshl_compat.c: Likewise.
26887 * math/w_exp10_compat.c: Likewise.
26888 * math/w_exp10f_compat.c: Likewise.
26889 * math/w_exp10l_compat.c: Likewise.
26890 * math/w_exp2_compat.c: Likewise.
26891 * math/w_exp2f_compat.c: Likewise.
26892 * math/w_exp2l_compat.c: Likewise.
26893 * math/w_fmod_compat.c: Likewise.
26894 * math/w_fmodf_compat.c: Likewise.
26895 * math/w_fmodl_compat.c: Likewise.
26896 * math/w_hypot_compat.c: Likewise.
26897 * math/w_hypotf_compat.c: Likewise.
26898 * math/w_hypotl_compat.c: Likewise.
26899 * math/w_j0_compat.c: Likewise.
26900 * math/w_j0f_compat.c: Likewise.
26901 * math/w_j0l_compat.c: Likewise.
26902 * math/w_j1_compat.c: Likewise.
26903 * math/w_j1f_compat.c: Likewise.
26904 * math/w_j1l_compat.c: Likewise.
26905 * math/w_jn_compat.c: Likewise.
26906 * math/w_jnf_compat.c: Likewise.
26907 * math/w_jnl_compat.c: Likewise.
26908 * math/w_lgamma_main.c: Likewise.
26909 * math/w_lgamma_r_compat.c: Likewise.
26910 * math/w_lgammaf_main.c: Likewise.
26911 * math/w_lgammaf_r_compat.c: Likewise.
26912 * math/w_lgammal_main.c: Likewise.
26913 * math/w_lgammal_r_compat.c: Likewise.
26914 * math/w_log10_compat.c: Likewise.
26915 * math/w_log10f_compat.c: Likewise.
26916 * math/w_log10l_compat.c: Likewise.
26917 * math/w_log2_compat.c: Likewise.
26918 * math/w_log2f_compat.c: Likewise.
26919 * math/w_log2l_compat.c: Likewise.
26920 * math/w_log_compat.c: Likewise.
26921 * math/w_logf_compat.c: Likewise.
26922 * math/w_logl_compat.c: Likewise.
26923 * math/w_pow_compat.c: Likewise.
26924 * math/w_powf_compat.c: Likewise.
26925 * math/w_powl_compat.c: Likewise.
26926 * math/w_remainder_compat.c: Likewise.
26927 * math/w_remainderf_compat.c: Likewise.
26928 * math/w_remainderl_compat.c: Likewise.
26929 * math/w_scalb_compat.c: Likewise.
26930 * math/w_scalbf_compat.c: Likewise.
26931 * math/w_scalbl_compat.c: Likewise.
26932 * math/w_sinh_compat.c: Likewise.
26933 * math/w_sinhf_compat.c: Likewise.
26934 * math/w_sinhl_compat.c: Likewise.
26935 * math/w_sqrt_compat.c: Likewise.
26936 * math/w_sqrtf_compat.c: Likewise.
26937 * math/w_sqrtl_compat.c: Likewise.
26938 * math/w_tgamma_compat.c: Likewise.
26939 * math/w_tgammaf_compat.c: Likewise.
26940 * math/w_tgammal_compat.c: Likewise.
26941 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
26942 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
26943 * sysdeps/ieee754/k_standard.c: Likewise.
26944 * sysdeps/ieee754/k_standardf.c: Likewise.
26945 * sysdeps/ieee754/k_standardl.c: Likewise.
26946 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
26947 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
26948 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
26949 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
26950 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
26951 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
26952 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
26953 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
26954 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
26955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
26957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
26959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
26960 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
26961 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
26962 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
26964 2017-08-21 Florian Weimer <fweimer@redhat.com>
26967 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
26968 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
26969 Move before inclusion of ../Rules.
26971 2017-08-21 Florian Weimer <fweimer@redhat.com>
26974 * assert/assert.h (assert): Use static_cast (bool) for C++.
26975 Use the ternary operator in the warning branch for GNU C.
26976 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
26977 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
26978 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
26979 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
26980 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
26982 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26985 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26986 (__syscall_clock_gettime): Add attribute_hidden.
26987 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
26988 (__start_context): Likewise.
26990 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26992 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26994 (hidden_proto): Likewise.
26995 (hidden_tls_proto): Likewise.
26996 (__hidden_proto): Likewise.
26998 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27000 * include/libc-symbols.h (attribute_hidden): Enable hidden
27001 visibility in libc.a compiled with PIE.
27003 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27006 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
27007 Add attribute_hidden.
27009 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27012 * Makerules (all-nonlib): Add $(others-extras).
27013 * catgets/Makefile (others-extras): New.
27014 * elf/Makefile (others-extras): Likewise.
27015 * nss/Makefile (others-extras): Likewise.
27017 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27020 * csu/libc-start.c (__libc_multiple_libcs): Removed.
27021 * elf/dl-open.c: Include <libc-internal.h>.
27022 (__libc_multiple_libcs): Removed.
27023 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
27025 * include/libc-internal.h (__libc_multiple_libcs): New.
27026 * misc/sbrk.c: Include <libc-internal.h>.
27027 (__libc_multiple_libcs): Removed.
27029 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27032 * grp/initgroups.c (__nss_group_database): Removed.
27033 (__nss_initgroups_database): Likewise.
27034 * nscd/gai.c (__nss_hosts_database): Likewise.
27035 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
27036 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
27037 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
27038 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
27039 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
27040 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
27042 * nss/nsswitch.c (__nss_database_custom): Define only if
27043 USE_NSCD is defined.
27044 (__nss_configure_lookup): Use __nss_database_custom only if
27045 USE_NSCD is defined.
27046 * nss/nsswitch.h (__nss_database_custom): Declare only if
27047 USE_NSCD is defined. Add attribute_hidden.
27048 (__nss_setent): Add attribute_hidden.
27049 (__nss_endent): Likewise.
27050 (__nss_getent_r): Likewise.
27051 (__nss_getent): Likewise.
27052 (DEFINE_DATABASE): Declare __nss_##arg##_database.
27054 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27057 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
27058 libc_hidden_proto and libc_hidden_def.
27060 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27063 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
27064 Add libc_hidden_proto.
27065 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
27066 Add libc_hidden_def.
27068 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27071 * gmon/Makefile (routines): Remove bb_init_func and
27073 (elide-routines.os): Removed.
27074 * gmon/bb_exit_func.c: Likewise.
27075 * gmon/bb_init_func.c: Likewise.
27076 * include/sys/gmon.h (__bb): Likewise.
27077 (__bb_init_func): Likewise.
27078 (__bb_exit_func): Likewise.
27079 * sysdeps/alpha/bb_init_func.S: Likewise.
27081 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27083 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
27084 * include/setjmp.h (____longjmp_chk): Here. Add
27087 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
27090 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
27092 (__strspn_sse2): Likewise.
27094 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27096 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
27097 (close_not_cancel_no_status): Likewise.
27098 (__close_nocancel): New macro.
27099 (__close_nocancel_nostatus): Likewise.
27100 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
27102 (close_not_cancel): Likewise.
27103 (close_not_cancel_no_status): Likewise.
27104 (__close_nocancel): New prototype.
27105 (__close_nocancel_nostatus): New function.
27106 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
27107 * catgets/open_catalog.c (__open_catalog): Replace
27108 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
27109 * gmon/gmon.c (write_gmon): Likewise.
27110 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27111 * intl/loadmsgcat.c (close): Likewise.
27112 * io/ftw.c (open_dir_stream): Likewise.
27113 (ftw_startup): Likewise.
27114 * libio/fileops.c (_IO_file_open): Likewise.
27115 (_IO_file_close_mmap): Likewise.
27116 (_IO_file_close): Likewise.
27117 * libio/iopopen.c (_IO_dup2): Likewise.
27118 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27119 * locale/loadlocale.c (_nl_load_locale): Likewise.
27120 * login/utmp_file.c (pututline_file): Likewise.
27121 (endutent_file): Likewise.
27122 * misc/daemon.c (daemon): Likewise.
27123 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27124 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27125 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27126 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27127 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27128 * nscd/nscd_helper.c (open_socket): Likewise.
27129 (__nscd_open_socket): Likewise.
27130 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27131 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
27132 (__nscd_innetgr): Likewise.
27133 * nss/nss_db/db-open.c (internal_setent): Likewise.
27134 * resolv/res-close.c (__res_iclose): Likewise.
27135 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
27136 * sysdeps/posix/closedir.c (__closedir): Likewise.
27137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
27138 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27139 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27140 (opendir_tail): Likewise.
27141 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27142 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
27143 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27144 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27145 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27146 (gethostid): Likewise.
27147 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27148 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27151 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
27152 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27153 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27155 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
27156 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
27157 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27159 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
27160 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27162 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27164 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27165 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27166 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27169 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
27170 (openat_not_cancel_3): Likewise.
27171 (openat64_not_cancel_3): Likewise).
27172 (openat_not_cancel_3): Likewise).
27173 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
27175 (openat_not_cancel_3): Likewise.
27176 (openat64_not_cancel): Likewise.
27177 (openat64_not_cancel_3): Likewise.
27178 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
27179 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
27180 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
27181 __open{64}_nocancel.
27182 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27183 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27184 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27186 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27189 * include/argz.h (__argz_create_sep): New function prototype.
27190 (__argz_append): Likewise.
27191 (__argz_add): Likewise.
27192 (__argz_add_sep): Likewise.
27193 (__argz_delete): Likewise.
27194 (__argz_insert): Likewise.
27195 (__argz_replace): Likewise.
27196 * string/argz.h (__argz_create_sep): Removed.
27197 (__argz_append): Likewise.
27198 (__argz_add): Likewise.
27199 (__argz_add_sep): Likewise.
27200 (__argz_delete): Likewise.
27201 (__argz_insert): Likewise.
27202 (__argz_replace): Likewise.
27204 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27206 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
27207 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
27208 (GNU_PROPERTY_STACK_SIZE): Likewie.
27209 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
27210 (GNU_PROPERTY_LOPROC): Likewise.
27211 (GNU_PROPERTY_HIPROC): Likewise.
27212 (GNU_PROPERTY_LOUSER): Likewise.
27213 (GNU_PROPERTY_HIUSER): Likewise.
27214 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
27215 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
27216 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
27217 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
27218 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
27219 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
27220 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
27221 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
27222 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
27223 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
27224 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
27225 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
27226 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
27227 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
27228 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
27229 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
27230 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
27231 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
27232 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
27233 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
27234 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
27235 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
27236 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
27238 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27240 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
27243 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27246 * math/math.h (isinf): Check if in C or C++ mode before using
27247 __builtin_types_compatible_p, since this is a C mode feature.
27249 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27251 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
27252 (__write_nocancel): New macro.
27253 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
27254 Rewrite as a function prototype.
27255 (write_not_cancel): Remove macro.
27256 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
27257 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
27258 (write_gmon): Likewise.
27259 * libio/fileops.c (_IO_new_file_write): Likewise.
27260 * login/utmp_file.c (pututline_file): Likewise.
27261 (updwtmp_file): Likewise.
27262 * stdio-common/psiginfo.c (psiginfo): Likewise.
27263 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27264 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27265 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27267 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27270 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
27271 (__read_nocancel): New macro.
27272 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27274 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
27276 (__read_nocancel): New prototype.
27277 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
27278 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
27279 with __read_nocancel.
27280 * intl/loadmsgcat.c (read): Likewise.
27281 * libio/fileops.c (_IO_file_read): Likewise.
27282 * locale/loadlocale.c (_nl_load_locale): Likewise.
27283 * login/utmp_file.c (getutent_r_file): Likewise.
27284 (internal_getut_r): Likewise.
27285 (getutline_r_file): Likewise.
27286 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
27287 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27288 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27289 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27291 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
27292 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27293 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27295 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27297 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27299 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27301 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27303 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27306 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
27307 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
27310 2017-08-17 DJ Delorie <dj@redhat.com>
27312 * bug17079.c: Update to new test harness.
27313 * test-digits-dots.c: Likewise.
27314 * test-netdb.c: Likewise.
27315 * tst-field.c: Likewise.
27316 * tst-nss-getpwent.c: Likewise.
27317 * tst-nss-static.c: Likewise.
27318 * tst-nss-test1.c: Likewise.
27319 * tst-nss-test2.c: Likewise.
27320 * tst-nss-test3.c: Likewise.
27321 * tst-nss-test4.c: Likewise.
27322 * tst-nss-test5.c: Likewise.
27324 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27326 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
27327 (open_not_cancel_2): Likewise.
27328 (open_nocancel): New macro.
27329 (open64_nocancel): Likewise.
27330 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
27331 (open_not_cancel_2): Likewise.
27332 (__open_nocancel): New prototype.
27333 (__open64_nocancel): Likewise.
27334 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27336 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
27337 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
27338 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
27339 with __open_nocancel.
27340 * csu/check_fds.c (check_one_fd): Likewise.
27341 * gmon/gmon.c (write_gmon): Likewise.
27342 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
27343 * intl/loadmsgcat.c (open): Likewise.
27344 * libio/fileops.c (_IO_file_open): Likewise.
27345 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27346 * locale/loadlocale.c (_nl_load_locale): Likewise.
27347 * login/utmp_file.c (setutent_file): Likewise.
27348 * misc/daemon.c (daemon): Likewise.
27349 * nss/nss_db/db-open.c (internal_setent): Likewise.
27350 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27351 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
27352 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27353 (__opendir): Likewise.
27354 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27355 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
27356 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27357 (gethostid): Likewise.
27358 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27359 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27362 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
27363 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27364 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27366 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27368 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27370 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27372 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27374 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27376 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27377 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27379 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
27381 * benchtests/bench-skeleton.c (main): Add support for
27382 latency benchmarking.
27383 * benchtests/scripts/bench.py: Add support for latency benchmarking.
27385 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
27387 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
27388 the startup object.
27390 2017-08-17 Florian Weimer <fweimer@redhat.com>
27392 * include/sys/socket.h (__opensock): Remove internal_function.
27393 * socket/opensock.c (__opensock): Likewise.
27394 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
27396 2017-08-16 Joseph Myers <joseph@codesourcery.com>
27399 * signal/bits/types/__sigval_t.h: New file.
27400 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
27401 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
27402 and define sigval_t using __sigval_t.
27403 * include/bits/types/__sigval_t.h: New file.
27404 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
27405 instead of <bits/types/__sigval_t.h>.
27406 (struct sigevent): Use __sigval_t instead of sigval_t.
27407 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
27408 instead of <bits/types/__sigval_t.h>.
27409 (siginfo_t): Use __sigval_t instead of sigval_t.
27410 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
27411 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
27412 (struct sigevent): Use __sigval_t instead of sigval_t.
27413 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
27414 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
27415 (siginfo_t): Use __sigval_t instead of sigval_t.
27416 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
27418 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27420 * NEWS: Remove "[Add new features here]" for 2.27.
27422 2017-08-16 Joseph Myers <joseph@codesourcery.com>
27424 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
27427 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27429 * NEWS: Mention x86-64 FMA optimization.
27431 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27434 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27436 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
27437 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
27438 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
27440 2017-08-16 Andreas Schwab <schwab@suse.de>
27444 * elf/ldd.bash.in: Never run file directly.
27446 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
27449 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
27450 (L(SP_INF_0)): Likewise.
27452 2017-08-15 Florian Weimer <fweimer@redhat.com>
27454 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
27457 2017-08-15 Florian Weimer <fweimer@redhat.com>
27459 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
27460 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
27461 BROKEN_THREAD_SIGNALS code.
27462 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
27463 request_list): Remove caller_pid member used for
27464 BROKEN_THREAD_SIGNALS.
27465 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
27466 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27467 Remove BROKEN_THREAD_SIGNALS support.
27468 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27469 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
27471 2017-08-15 Florian Weimer <fweimer@redhat.com>
27473 * gmon/Makefile (tests): Add tst-gmon.
27474 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
27476 (tests-special): Add tst-gmon-prof.out.
27477 (tst-gmon.out): Depend on clean-tst-gmon-data.
27478 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
27479 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
27480 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
27482 * aclocal.m4 (GPROF): Set and substitute.
27483 * config.amke.in (GPROF): Set.
27484 * configure: Regenerate.
27486 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
27488 * elf/elf.h A (NT_PPC_TAR): New macro.
27489 (NT_PPC_PPR): Likewise.
27490 (NT_PPC_DSCR): Likewise.
27491 (NT_PPC_EBB): Likewise.
27492 (NT_PPC_PMU): Likewise.
27493 (NT_PPC_TM_CGPR): Likewise.
27494 (NT_PPC_TM_CFPR): Likewise.
27495 (NT_PPC_TM_CVMX): Likewise.
27496 (NT_PPC_TM_CVSX): Likewise.
27497 (NT_PPC_TM_SPR): Likewise.
27498 (NT_PPC_TM_CTAR): Likewise.
27499 (NT_PPC_TM_CPPR): Likewise.
27500 (NT_PPC_TM_CDSCR): Likewise.
27502 2017-08-15 Florian Weimer <fweimer@redhat.com>
27504 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
27505 regparm (2) instead of internal_function.
27506 (_MCOUNT_DECL): Adjust.
27508 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
27510 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
27511 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27513 2017-08-14 Joseph Myers <joseph@codesourcery.com>
27515 * conform/data/sys/wait.h-data (si_value): Do not expect for
27518 2017-08-14 Florian Weimer <fweimer@redhat.com>
27521 NSS: Create stubs for accidentally exported lookup functions.
27522 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
27523 Remove declaration.
27524 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
27525 (ether_hostton): Call __nss_ethers_lookup2 instead.
27526 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
27527 (ether_ntohost): Call __nss_ethers_lookup2 instead.
27528 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
27529 (setup): Call __nss_netgroup_lookup2 instead.
27530 * nss/Makefile (routines): Add compat-lookup.
27531 * nss/Versions (GLIBC_2.27): Add symbol version.
27532 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
27533 (DB_COMPAT_FCT): Remove.
27534 * nss/compat-lookup.c: New file.
27535 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
27536 from databases.def.
27537 * nss/service-lookup.c (NO_COMPAT): Remove definition.
27538 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
27539 (netname2user): Call __nss_publickey_lookup2 instead.
27540 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
27541 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
27544 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27545 Sergei Trofimovich <slyfox@inbox.ru>
27548 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
27549 Rename to MMAP2_PAGE_UNIT.
27550 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
27551 __OFF_T_MATCHES_OFF64_T is not defined.
27552 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
27554 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
27555 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
27557 2017-08-14 Florian Weimer <fweimer@redhat.com>
27559 i386: Do not set internal_function.
27560 * config.h.in (USE_REGPARMS, internal_function): Remove.
27561 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
27562 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
27564 2017-08-14 Florian Weimer <fweimer@redhat.com>
27566 * elf/dl-init.c (_dl_init): Remove internal_function.
27567 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
27568 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
27570 2017-08-14 Florian Weimer <fweimer@redhat.com>
27572 * elf/rtld.c (_dl_start): Remove internal_function.
27573 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
27576 2017-08-14 Florian Weimer <fweimer@redhat.com>
27578 * elf/dl-fini.c (_dl_fini): Remove internal_function
27579 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27581 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
27583 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
27584 (bit_cpu_SHSTK): Likewise.
27585 (index_cpu_IBT): Likewise.
27586 (index_cpu_SHSTK): Likewise.
27587 (reg_IBT): Likewise.
27588 (reg_SHSTK): Likewise.
27589 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27590 Handle index_cpu_IBT and index_cpu_SHSTK.
27592 2017-08-14 Mike FABIAN <mfabian@redhat.com>
27595 * po/fr.po: Fix spelling mistake.
27597 2017-08-13 Florian Weimer <fweimer@redhat.com>
27599 * elf/dl-addr.c (_dl_addr): Remove internal_function.
27600 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
27601 (_dl_catch_error, _dl_receive_error): Likewise.
27602 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
27603 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
27604 (_dl_deallocate_tls): Likewise.
27605 * include/dlfcn.h (_dl_addr): Likewise.
27606 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
27607 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
27608 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
27611 2017-08-13 Florian Weimer <fweimer@redhat.com>
27613 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
27614 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
27616 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
27618 2017-08-13 Florian Weimer <fweimer@redhat.com>
27620 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
27622 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
27623 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
27624 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
27625 internal_function from _dl_make_stack_executable_hook member.
27626 (_dl_make_stack_executable): Remove internal_function.
27627 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
27629 * sysdeps/unix/sysv/linux/dl-execstack.c
27630 (_dl_make_stack_executable): Likewise.
27632 2017-08-13 Florian Weimer <fweimer@redhat.com>
27634 * sysdeps/unix/sysv/linux/netlinkaccess.h
27635 (__netlink_assert_response): Remove internal_function.
27636 * sysdeps/unix/sysv/linux/netlink_assert_response.c
27637 (__netlink_assert_response): Likewise.
27639 2017-08-13 Florian Weimer <fweimer@redhat.com>
27641 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
27643 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
27645 2017-08-13 Florian Weimer <fweimer@redhat.com>
27647 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
27649 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
27650 * inet/netgroup.h (__internal_setnetgrent)
27651 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
27652 * inet/getnetgrent_r.c (__internal_setnetgrent)
27653 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
27654 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
27655 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
27656 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
27657 * nss/nsswitch.h (db_lookup_function): Likewise.
27659 2017-08-13 Florian Weimer <fweimer@redhat.com>
27661 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
27662 Remove internal_function.
27663 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
27664 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
27665 message argument on the stack.
27666 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
27669 2017-08-12 Mike FABIAN <mfabian@redhat.com>
27671 Adapt test case data to the changes in the thousands
27675 * localedata/tst-langinfo.sh: Adapt test case data.
27676 * stdlib/tst-strfmon_l.c: Likewise.
27677 * stdlib/tst-strtod4.c: Likewise.
27678 * stdlib/tst-strtod5i.c: Likewise.
27680 2017-08-11 Florian Weimer <fweimer@redhat.com>
27683 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
27684 Suppress pedantic warning resulting from statement expression.
27685 (__ASSERT_FUNCTION): Add missing __extension__.
27687 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27689 * benchtests/bench-memmove-large.c: Print output in JSON
27691 * benchtests/bench-memmove.c: Likewise.
27693 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
27694 * benchtests/bench-memchr.c (do_one_test): Likewise.
27695 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
27696 * benchtests/bench-memcpy.c (do_one_test): Likewise.
27697 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
27698 * benchtests/bench-memmove.c (do_one_test): Likewise.
27699 * benchtests/bench-memset-large.c (do_one_test): Likewise.
27700 * benchtests/bench-memset.c (do_one_test): Likewise.
27701 * benchtests/bench-string.h (test_init): Remove memsets.
27703 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
27706 (Computing the Width of an Integer Data Type): Rename section to
27707 "Width of an Integer Type". Remove inaccurate statement regarding
27708 lack of C language facilities for determining width of integer
27709 types, and reorder content to improve flow and context of
27712 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
27714 * lang.texi (va_copy): Change standard from ISO to C99.
27715 (__va_copy): Add standard and header annotation.
27716 Update description for clarity of origins and current use.
27718 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27721 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
27722 xssqrtqp requires operands to be in Vector Registers
27723 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
27724 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
27725 (__ieee754_sqrtf128): Likewise.
27727 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
27729 * sysdeps/aarch64/memcmp.S (memcmp):
27730 Rewrite of optimized memcmp.
27732 2017-08-10 Florian Weimer <fweimer@redhat.com>
27734 Introduce ld.so exceptions.
27735 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
27736 (_dl_exception_create, _dl_exception_create_format)
27737 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
27738 (_dl_catch_exception): Declare.
27739 (_dl_catch_error): Update comment.
27740 * elf/dl-error-skeleton.c (struct catch): Replace objname,
27741 errstring, malloced members with exception member.
27742 (_dl_out_of_memory): Remove.
27743 (fatal_error): New function, extracted from _dl_signal_error.
27744 (_dl_signal_exception, _dl_signal_cexception): New functions.
27745 (_dl_signal_error): Call _dl_exception_create to allocate an
27747 (_dl_catch_exception): New function, based on _dl_catch_error.
27748 (_dl_catch_error): Implement using _dl_catch_exception.
27749 * elf/dl-exception.c: New file.
27750 * elf/Makefile (dl-routines): Add dl-exception.
27751 (elide-routines.os): Likewise.
27752 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
27753 _dl_exception_create_format, _dl_exception_free.
27754 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
27755 _dl_signal_exception.
27756 * elf/dl-lookup.c (make_string): Remove.
27757 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
27758 _dl_signal_cexception, _dl_exception_free.
27759 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
27760 _dl_signal_exception.
27761 * elf/dl-sym.c (do_sym): Likewise.
27762 * elf/dl-version.c (make_string): Remove.
27763 (match_symbol): Use _dl_exception_create_format,
27764 _dl_signal_cexception, _dl_exception_free.
27765 (_dl_check_map_versions): Likewise.
27766 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
27767 _dl_catch_exception.
27768 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
27769 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
27770 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
27771 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
27772 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
27773 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
27774 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
27775 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
27777 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
27778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
27780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
27782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
27784 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
27785 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
27786 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
27788 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
27790 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
27792 2017-08-10 Florian Weimer <fweimer@redhat.com>
27794 * inet/net-internal.h (__inet6_scopeid_pton): Remove
27795 attribute_hidden, internal_function.
27796 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
27799 2017-08-10 Florian Weimer <fweimer@redhat.com>
27801 * malloc/malloc.c (get_max_fast): Reimplement as an inline
27802 function which calls __builtin_unreachable.
27804 2017-08-10 Mike FABIAN <mfabian@redhat.com>
27806 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
27807 Indian monetary formatting
27808 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
27811 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
27813 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
27814 Fix typo in comment.
27817 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
27818 PTRACE_SEIZE_DEVEL): Remove.
27819 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
27820 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27823 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27825 2017-08-09 Joseph Myers <joseph@codesourcery.com>
27827 * posix/bits/types.h (__qaddr_t): Remove.
27830 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
27831 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27833 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
27834 (ucontext_t): Use __ctx with uc_flags.
27835 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
27836 (__ctxt): Likewise.
27837 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27839 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
27840 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27842 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
27843 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27845 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
27847 (ucontext_t): Use __ctx with uc_flags.
27848 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
27849 (ucontext_t): Use __ctx with uc_flags.
27850 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
27851 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
27852 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
27853 (ucontext_t): Use __ctx with uc_flags.
27854 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
27855 undefine further down.
27856 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27858 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
27859 undefine further down.
27860 (ucontext_t): Use __ctx with uc_flags.
27861 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
27862 undefine further down.
27863 (ucontext_t): Use __ctx with uc_flags.
27864 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
27865 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
27866 Rename uc_pad to __glibc_reserved1.
27867 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
27868 undefine further down.
27869 (ucontext_t): Use __ctx with uc_flags.
27870 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
27872 (ucontext_t): Use __ctx with uc_flags.
27873 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
27874 __ctx with uc_flags.
27875 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
27876 (ucontext_t): Use __ctx with uc_flags.
27877 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
27878 __ctx with uc_flags.
27880 2017-08-09 Florian Weimer <fweimer@redhat.com>
27883 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
27884 before early return.
27886 2017-08-09 Andreas Schwab <schwab@suse.de>
27889 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
27893 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
27894 tst-compat-forwarder.
27895 (modules-names): Add tst-compat-forwarder-mod.
27896 ($(objpfx)tst-compat-forwarder): Depend on
27897 $(objpfx)tst-compat-forwarder-mod.so.
27898 * nptl/tst-compat-forwarder.c: New file.
27899 * nptl/tst-compat-forwarder-mod.c: New file.
27901 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
27903 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
27906 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
27907 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27909 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
27911 (__libc_ifunc_impl_list): Add __memcpy_falkor.
27912 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
27913 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
27914 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27916 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
27919 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27922 * manual/setjmp.texi (getcontex): Document uc_stack value
27923 compatibility differences.
27925 2017-08-08 Joseph Myers <joseph@codesourcery.com>
27927 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
27928 (old_malloc_hook): Likewise.
27929 (old_memalign_hook): Likewise.
27930 (old_realloc_hook): Likewise.
27931 (struct hdr): Likewise.
27933 (freehook): Likewise.
27934 (mallochook): Likewise.
27935 (memalignhook): Likewise.
27936 (reallochook): Likewise.
27937 (mprobe): Likewise.
27938 * malloc/mtrace.c (mallwatch): Likewise.
27939 (tr_old_free_hook): Likewise.
27940 (tr_old_malloc_hook): Likewise.
27941 (tr_old_realloc_hook): Likewise.
27942 (tr_old_memalign_hook): Likewise.
27943 (tr_where): Likewise.
27944 (lock_and_info): Likewise.
27945 (tr_freehook): Likewise.
27946 (tr_mallochook): Likewise.
27947 (tr_reallochook): Likewise.
27948 (tr_memalignhook): Likewise.
27949 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
27950 * misc/mmap.c (__mmap): Likewise.
27951 * misc/mmap64.c (__mmap64): Likewise.
27952 * misc/mprotect.c (__mprotect): Likewise.
27953 * misc/msync.c (msync): Likewise.
27954 * misc/munmap.c (__munmap): Likewise.
27955 * posix/posix_madvise.c (posix_madvise): Likewise.
27956 * socket/send.c (__send): Likewise.
27957 * socket/sendto.c (__sendto): Likewise.
27958 * socket/setsockopt.c (__setsockopt): Likewise.
27959 * string/memcmp.c (__ptr_t): Remove macro.
27960 (MEMCMP): Use void * instead of ptr_t.
27961 * string/memrchr.c (__ptr_t): Remove macro.
27962 (__memrchr): Use void * instead of ptr_t.
27963 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
27964 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27965 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27966 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
27967 * sysdeps/mach/msync.c (msync): Likewise.
27968 * sysdeps/mach/munmap.c (__munmap): Likewise.
27969 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
27971 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27972 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
27973 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
27974 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
27975 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
27976 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27977 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
27978 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
27980 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27981 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
27982 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
27983 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
27984 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
27985 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
27986 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
27987 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
27988 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
27990 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
27991 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
27992 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
27993 (MEMCMP): Use void * instead of ptr_t.
27994 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
27995 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
27997 2017-08-08 Florian Weimer <fweimer@redhat.com>
27999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
28002 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
28005 * csu/libc-tls.c: Include <startup.h> first.
28006 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
28007 * elf/dl-tunables.c: Include <startup.h> first.
28008 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
28009 * sysdeps/generic/startup.h: New file.
28010 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
28011 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
28012 (I386_USE_SYSENTER): New. Defined to 0.
28014 2017-08-08 Andreas Schwab <schwab@suse.de>
28017 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
28018 * nptl/pt-system.c (system): Likewise.
28020 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28023 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
28025 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
28026 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
28027 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
28028 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
28029 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
28030 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
28031 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
28033 2017-08-07 Joseph Myers <joseph@codesourcery.com>
28036 * bits/sigaction.h (struct sigaction): Define sa_handler and
28037 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
28038 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28039 [__USE_XOPEN_EXTENDED].
28040 (SA_RESTART): Likewise.
28041 (SA_NODEFER): Likewise.
28042 (SA_RESETHAND): Likewise.
28043 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
28044 (struct sigaction): Define sa_handler and sa_sigaction using union
28045 also for [__USE_XOPEN_EXTENDED].
28046 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28047 [__USE_XOPEN_EXTENDED].
28048 (SA_RESTART): Likewise.
28049 (SA_NODEFER): Likewise.
28050 (SA_RESETHAND): Likewise.
28051 * sysdeps/unix/sysv/linux/bits/sigaction.h
28052 (struct sigaction): Define sa_handler and sa_sigaction using union
28053 also for [__USE_XOPEN_EXTENDED].
28054 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28055 [__USE_XOPEN_EXTENDED].
28056 (SA_RESTART): Likewise.
28057 (SA_NODEFER): Likewise.
28058 (SA_RESETHAND): Likewise.
28059 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
28060 (struct sigaction): Define sa_handler and sa_sigaction using union
28061 also for [__USE_XOPEN_EXTENDED].
28062 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28063 [__USE_XOPEN_EXTENDED].
28064 (SA_RESTART): Likewise.
28065 (SA_NODEFER): Likewise.
28066 (SA_RESETHAND): Likewise.
28067 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
28068 (struct sigaction): Define sa_handler and sa_sigaction using union
28069 also for [__USE_XOPEN_EXTENDED].
28070 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28071 [__USE_XOPEN_EXTENDED].
28072 (SA_RESTART): Likewise.
28073 (SA_NODEFER): Likewise.
28074 (SA_RESETHAND): Likewise.
28075 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28076 (struct sigaction): Define sa_handler and sa_sigaction using union
28077 also for [__USE_XOPEN_EXTENDED].
28078 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28079 [__USE_XOPEN_EXTENDED].
28080 (SA_RESTART): Likewise.
28081 (SA_NODEFER): Likewise.
28082 (SA_RESETHAND): Likewise.
28083 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28084 (struct sigaction): Define sa_handler and sa_sigaction using union
28085 also for [__USE_XOPEN_EXTENDED].
28086 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28087 [__USE_XOPEN_EXTENDED].
28088 (SA_RESTART): Likewise.
28089 (SA_NODEFER): Likewise.
28090 (SA_RESETHAND): Likewise.
28091 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28092 (struct sigaction): Define sa_handler and sa_sigaction using union
28093 also for [__USE_XOPEN_EXTENDED].
28094 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28095 [__USE_XOPEN_EXTENDED].
28096 (SA_RESTART): Likewise.
28097 (SA_NODEFER): Likewise. Define directly rather than as alias.
28098 (SA_RESETHAND): Likewise.
28099 (SA_INTERRUPT): Define only for [__USE_MISC].
28100 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
28101 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
28103 (SA_STACK): Define only for [__USE_MISC].
28104 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
28105 (struct sigaction): Define sa_handler and sa_sigaction using union
28106 also for [__USE_XOPEN_EXTENDED].
28107 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28108 [__USE_XOPEN_EXTENDED].
28109 (SA_RESTART): Likewise.
28110 (SA_NODEFER): Likewise.
28111 (SA_RESETHAND): Likewise.
28112 (SA_NOPTRACE): Define only for [__USE_MISC].
28114 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
28115 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
28116 (struct catalog_info): Likewise.
28117 * inet/htontest.c (lo): Likewise.
28119 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28120 * inet/inet_net.c (inet_network): Likewise.
28121 * inet/inet_netof.c (inet_netof): Likewise.
28122 * inet/rcmd.c (__ivaliduser): Likewise.
28123 (iruserok): Likewise.
28124 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
28125 * locale/programs/locale-spec.c (locale_special): Likewise.
28126 * nis/nis_findserv.c (struct findserv_req): Likewise.
28127 (__nis_findfastest_with_timeout): Likewise.
28128 * nss/test-netdb.c (test_network): Likewise.
28129 * resolv/inet_neta.c (inet_neta): Likewise.
28130 * resolv/ns_date.c (ns_datetosecs): Likewise.
28131 (SECS_PER_DAY): Likewise.
28132 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
28134 * resolv/res_comp.c (__putlong): Likewise.
28135 (__putshort): Likewise.
28136 (_getlong): Likewise.
28137 (_getshort): Likewise.
28138 * resolv/res_debug.c (p_time): Likewise.
28139 (precsize_ntoa): Likewise.
28140 (precsize_aton): Likewise.
28141 (latlon2ul): Likewise.
28142 (loc_aton): Likewise.
28143 (loc_ntoa): Likewise.
28144 * resolv/res_hconf.c (struct netaddr): Likewise.
28145 (_res_hconf_reorder_addrs): Likewise.
28146 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28147 (clnttcp_control): Likewise.
28148 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28149 (clntudp_control): Likewise.
28150 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28151 (clntunix_control): Likewise.
28152 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
28153 * sunrpc/rpc/auth.h (union des_block): Likewise.
28154 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
28155 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
28156 (xdrrec_create): Likewise.
28157 (xdrrec_endofrecord): Likewise.
28158 (flush_out): Likewise.
28159 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
28160 (xdrstdio_putlong): Likewise.
28161 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
28164 * misc/sys/cdefs.h (__long_double_t): Remove.
28165 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
28166 instead of __long_double_t,
28167 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
28169 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
28171 * benchtests/scripts/compare_strings.py: Avoid display error when
28172 running on a text terminal.
28174 * benchtests/scripts/compare_strings.py (main): Add an
28175 optional -base option.
28176 (process_results): New argument base_func.
28178 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
28180 * benchtests/bench-memcpy-large.c (test_name): Likewise.
28181 * benchtests/bench-memcpy-random.c (test_name): Likewise.
28183 2017-08-07 Andreas Schwab <schwab@suse.de>
28185 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
28186 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28187 * intl/Makefile ($(objpfx)tst-gettext.out)
28188 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
28189 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
28190 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28191 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28192 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
28193 * posix/Makefile ($(objpfx)globtest.out)
28194 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
28195 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
28196 ($(objpfx)tst-printf.out): Likewise.
28197 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
28198 ($(objpfx)tst-setcontext3.out): Likewise.
28200 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
28202 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28203 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
28204 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
28205 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
28206 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
28208 (CFLAGS-doasin-fma.c): New.
28209 (CFLAGS-dosincos-fma.c): Likewise.
28210 (CFLAGS-e_asin-fma.c): Likewise.
28211 (CFLAGS-e_atan2-fma.c): Likewise.
28212 (CFLAGS-e_exp-fma.c): Likewise.
28213 (CFLAGS-e_log-fma.c): Likewise.
28214 (CFLAGS-e_pow-fma.c): Likewise.
28215 (CFLAGS-halfulp-fma.c): Likewise.
28216 (CFLAGS-mpa-fma.c): Likewise.
28217 (CFLAGS-mpatan-fma.c): Likewise.
28218 (CFLAGS-mpatan2-fma.c): Likewise.
28219 (CFLAGS-mpexp-fma.c): Likewise.
28220 (CFLAGS-mplog-fma.c): Likewise.
28221 (CFLAGS-mpsqrt-fma.c): Likewise.
28222 (CFLAGS-mptan-fma.c): Likewise.
28223 (CFLAGS-s_atan-fma.c): Likewise.
28224 (CFLAGS-sincos32-fma.c): Likewise.
28225 (CFLAGS-slowexp-fma.c): Likewise.
28226 (CFLAGS-slowpow-fma.c): Likewise.
28227 (CFLAGS-s_sin-fma.c): Likewise.
28228 (CFLAGS-s_tan-fma.c): Likewise.
28229 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
28230 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
28231 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
28232 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
28233 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
28234 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
28235 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
28236 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
28237 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
28238 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
28239 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
28240 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
28241 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
28242 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
28243 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
28244 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
28245 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
28246 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
28247 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
28248 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
28249 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
28250 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
28251 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
28252 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
28253 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28254 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28255 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28256 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28259 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28261 2017-08-04 Joseph Myers <joseph@codesourcery.com>
28263 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
28264 (min_of_type_f): New macro.
28265 (min_of_type_): Likewise.
28266 (min_of_type_l): Likewise.
28267 (min_of_type_f128): Likewise.
28268 (min_of_type): Define using __MATH_TG and taking an expression
28270 (math_check_force_underflow): Pass expression instead of type to
28272 (math_check_force_underflow_nonneg): Likewise.
28274 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28276 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28277 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
28278 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
28280 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28283 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
28284 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
28285 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
28286 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
28287 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
28288 memcpy_chk-nonshared, mempcpy_chk-nonshared,
28289 memmove_chk-nonshared and memset_chk-nonshared
28290 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
28291 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
28292 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
28293 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
28294 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
28295 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
28296 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
28297 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
28298 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
28299 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
28300 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
28301 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
28302 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
28303 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
28304 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
28305 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
28306 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
28307 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
28308 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
28309 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
28310 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
28311 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
28312 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
28313 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
28314 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
28315 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
28316 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
28317 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
28318 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
28319 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
28320 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
28321 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
28322 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
28323 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
28324 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
28325 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
28326 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
28327 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
28328 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
28329 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
28330 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
28331 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
28332 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
28333 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
28334 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
28335 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
28336 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
28337 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
28338 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
28339 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
28340 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
28341 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
28342 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
28343 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
28344 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
28345 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
28346 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
28347 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
28348 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
28349 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
28350 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
28351 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
28352 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
28353 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
28354 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
28355 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
28356 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
28357 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
28358 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
28359 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
28360 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
28361 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28362 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28364 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28365 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28366 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28367 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28368 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28369 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28370 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28371 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28372 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28373 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28374 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28375 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28376 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28377 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28378 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28379 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28380 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28381 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28382 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28383 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28386 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28387 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28388 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28389 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28390 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28391 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28392 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28393 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28394 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28395 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28396 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28397 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28399 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28401 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
28402 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
28403 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
28404 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
28405 svml_d_log2_core-sse2, svml_d_log4_core-sse,
28406 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
28407 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
28408 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
28409 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
28410 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
28411 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
28412 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
28413 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
28414 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
28415 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
28416 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
28417 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
28418 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
28419 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
28420 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
28421 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
28422 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
28423 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
28424 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
28425 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
28426 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
28427 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
28428 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
28429 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
28430 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
28431 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
28432 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
28433 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
28434 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
28435 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
28436 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
28437 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
28438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
28439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
28440 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
28441 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
28442 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
28443 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
28444 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
28445 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
28446 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
28447 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
28448 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
28449 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
28450 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
28451 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
28452 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
28453 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
28454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
28455 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
28456 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
28457 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
28458 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
28459 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
28461 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
28462 Don't include <sysdep.h> nor <init-arch.h>.
28463 (_ZGVbN2v_cos): Removed.
28464 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
28466 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
28467 Don't include <sysdep.h> nor <init-arch.h>.
28468 (_ZGVdN4v_cos): Removed.
28469 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
28471 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
28472 Don't include <sysdep.h> nor <init-arch.h>.
28473 (_ZGVeN8v_cos): Removed.
28474 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
28476 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
28477 Don't include <sysdep.h> nor <init-arch.h>.
28478 (_ZGVbN2v_exp): Removed.
28479 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
28481 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
28482 Don't include <sysdep.h> nor <init-arch.h>.
28483 (_ZGVdN4v_exp): Removed.
28484 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
28486 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
28487 Don't include <sysdep.h> nor <init-arch.h>.
28488 (_ZGVeN8v_exp): Removed.
28489 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
28491 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
28492 Don't include <sysdep.h> nor <init-arch.h>.
28493 (_ZGVbN2v_log): Removed.
28494 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
28496 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
28497 Don't include <sysdep.h> nor <init-arch.h>.
28498 (_ZGVdN4v_log): Removed.
28499 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
28501 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
28502 Don't include <sysdep.h> nor <init-arch.h>.
28503 (_ZGVeN8v_log): Removed.
28504 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
28506 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
28507 Don't include <sysdep.h> nor <init-arch.h>.
28508 (_ZGVbN2vv_pow): Removed.
28509 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
28511 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
28512 Don't include <sysdep.h> nor <init-arch.h>.
28513 (_ZGVdN4vv_pow): Removed.
28514 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
28516 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
28517 Don't include <sysdep.h> nor <init-arch.h>.
28518 (_ZGVeN8vv_pow): Removed.
28519 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
28521 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
28522 Don't include <sysdep.h> nor <init-arch.h>.
28523 (_ZGVbN2v_sin): Removed.
28524 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
28526 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
28527 Don't include <sysdep.h> nor <init-arch.h>.
28528 (_ZGVbN4v_sin): Removed.
28529 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
28531 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
28532 Don't include <sysdep.h> nor <init-arch.h>.
28533 (_ZGVbN8v_sin): Removed.
28534 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
28536 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
28537 Don't include <sysdep.h> nor <init-arch.h>.
28538 (_ZGVbN2vvv_sincos): Removed.
28539 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
28541 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
28542 Don't include <sysdep.h> nor <init-arch.h>.
28543 (_ZGVdN4vvv_sincos): Removed.
28544 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
28546 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
28547 Don't include <sysdep.h> nor <init-arch.h>.
28548 (_ZGVeN8vvv_sincos): Removed.
28549 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
28551 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
28552 Don't include <sysdep.h> nor <init-arch.h>.
28553 (_ZGVeN16v_cosf): Removed.
28554 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
28556 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
28557 Don't include <sysdep.h> nor <init-arch.h>.
28558 (_ZGVbN4v_cosf): Removed.
28559 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
28561 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
28562 Don't include <sysdep.h> nor <init-arch.h>.
28563 (_ZGVdN8v_cosf): Removed.
28564 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
28566 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
28567 Don't include <sysdep.h> nor <init-arch.h>.
28568 (_ZGVeN16v_expf): Removed.
28569 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
28571 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
28572 Don't include <sysdep.h> nor <init-arch.h>.
28573 (_ZGVbN4v_expf): Removed.
28574 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
28576 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
28577 Don't include <sysdep.h> nor <init-arch.h>.
28578 (_ZGVdN8v_expf): Removed.
28579 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
28581 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
28582 Don't include <sysdep.h> nor <init-arch.h>.
28583 (_ZGVeN16v_logf): Removed.
28584 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
28586 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
28587 Don't include <sysdep.h> nor <init-arch.h>.
28588 (_ZGVbN4v_logf): Removed.
28589 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
28591 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
28592 Don't include <sysdep.h> nor <init-arch.h>.
28593 (_ZGVdN8v_logf): Removed.
28594 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
28596 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
28597 Don't include <sysdep.h> nor <init-arch.h>.
28598 (_ZGVeN16vv_powf): Removed.
28599 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
28601 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
28602 Don't include <sysdep.h> nor <init-arch.h>.
28603 (_ZGVbN4vv_powf): Removed.
28604 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
28606 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
28607 Don't include <sysdep.h> nor <init-arch.h>.
28608 (_ZGVdN8vv_powf): Removed.
28609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
28611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
28612 Don't include <sysdep.h> nor <init-arch.h>.
28613 (_ZGVeN16vvv_sincosf): Removed.
28614 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
28616 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
28617 Don't include <sysdep.h> nor <init-arch.h>.
28618 (_ZGVbN4vvv_sincosf): Removed.
28619 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
28621 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
28622 Don't include <sysdep.h> nor <init-arch.h>.
28623 (_ZGVdN8vvv_sincosf): Removed.
28624 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
28626 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
28627 Don't include <sysdep.h> nor <init-arch.h>.
28628 (_ZGVeN16v_sinf): Removed.
28629 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
28631 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
28632 Don't include <sysdep.h> nor <init-arch.h>.
28633 (_ZGVbN4v_sinf): Removed.
28634 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
28636 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
28637 Don't include <sysdep.h> nor <init-arch.h>.
28638 (_ZGVdN8v_sinf): Removed.
28640 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28642 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28643 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
28644 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
28645 s_rint-sse4_1 and s_rintf-sse4_1.
28646 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
28647 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
28648 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
28649 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
28650 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
28651 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
28652 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
28653 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
28654 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
28655 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
28656 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
28657 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28659 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
28660 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
28661 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28662 (__ceilf): Removed.
28663 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
28664 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
28665 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28666 (__floor): Removed.
28667 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
28668 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
28669 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28670 (__floorf): Removed.
28671 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
28672 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
28673 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28674 (__nearbyint): Removed.
28675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
28676 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
28677 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28678 (__nearbyintf): Removed.
28679 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
28680 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
28681 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28683 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
28684 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
28685 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28686 (__rintf): Removed.
28688 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28690 * sysdeps/i386/start.S (_start): Check Check PIC instead of
28691 SHARED. Avoid dynamic relocation against main in static PIE.
28693 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28696 * elf/Makefile (CFLAGS-tst-prelink.c): New.
28697 (LDFLAGS-tst-prelink): Likewise.
28699 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28701 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
28702 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
28703 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
28704 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28705 (INTERNAL_SYSCALL_NCS): Likewise.
28706 (LOADARGS_1): Likewise.
28707 (LOADARGS_5): Likewise.
28708 (RESTOREARGS_1): Likewise.
28709 (RESTOREARGS_5): Likewise.
28711 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28713 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
28714 (MEMPCPY_SYMBOL): Likewise.
28715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28716 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
28717 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
28719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28720 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
28722 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
28723 (__hidden_ver1): Don't use in libc.a.
28724 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
28725 (__mempcpy): Don't create a weak alias in libc.a.
28726 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
28728 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
28729 (__hidden_ver1): Don't use in libc.a.
28731 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28733 * config.make.in (have-insert): New.
28734 * configure.ac (libc_cv_insert): New. Set to yes if linker
28735 supports INSERT in linker script.
28736 (AC_SUBST(libc_cv_insert): New.
28737 * configure: Regenerated.
28738 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
28739 if $(have-insert) == yes.
28741 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28743 * elf/Makefile (tests): Add vismain only if
28744 $(have-protected-data) == yes.
28745 (tests-pie): Likewise.
28747 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28750 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
28751 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
28753 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28756 * sysdeps/i386/i586/memset.S
28757 (__memset_zero_constant_len_parameter): Removed.
28758 * sysdeps/i386/i686/memset.S
28759 (__memset_zero_constant_len_parameter): Likewise.
28760 * sysdeps/i386/i686/multiarch/memset_chk.S
28761 (__memset_zero_constant_len_parameter): Likewise.
28762 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
28765 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
28767 * stdlib/getentropy.c (getentropy): Change return type to int.
28769 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
28771 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
28773 2017-08-03 Joseph Myers <joseph@codesourcery.com>
28775 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
28777 * math/s_nexttowardf.c (__nexttowardf): Likewise.
28778 * sysdeps/generic/math_private.h (ieee_double_shape_type):
28780 (ieee_float_shape_type): Likewise.
28781 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
28782 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
28783 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28784 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28785 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28786 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
28787 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
28788 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
28789 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28791 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
28792 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28793 (__ieee754_yn): Likewise.
28794 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28795 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28796 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
28798 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28799 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
28800 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
28801 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
28802 (__erfc): Likewise.
28803 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28804 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
28805 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
28806 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
28807 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
28808 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
28810 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28811 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
28812 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28813 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
28814 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
28815 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
28816 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
28817 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
28818 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
28819 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28820 (__issignaling): Likewise.
28821 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
28822 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
28823 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28825 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28826 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28827 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
28828 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
28830 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
28832 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
28833 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
28834 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
28835 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28836 (__erfcf): Likewise.
28837 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28838 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28839 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
28840 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
28842 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
28843 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
28845 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28846 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
28847 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28848 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
28849 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
28850 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28851 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
28852 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
28854 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
28856 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28858 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
28859 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28861 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28863 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28864 (__ieee754_ynl): Likewise.
28865 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28866 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
28868 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
28870 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28871 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
28872 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28874 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28875 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
28876 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
28877 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
28878 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
28879 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28880 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
28881 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
28883 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
28884 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
28885 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
28887 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
28888 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
28889 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
28890 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28891 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
28892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28894 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28896 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28898 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28900 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
28901 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28902 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28903 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
28904 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28905 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
28906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
28908 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28913 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
28914 (__ieee754_remainderl): Likewise.
28915 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28917 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28918 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28920 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28921 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28923 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28924 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
28925 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28926 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28927 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28928 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28930 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28931 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
28932 (__ieee754_y0l): Likewise.
28935 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28936 (__ieee754_y1l): Likewise.
28939 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28940 (__ieee754_ynl): Likewise.
28941 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
28942 (__ieee754_lgammal_r): Likewise.
28943 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
28945 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28946 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
28947 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28948 (__erfcl): Likewise.
28949 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
28950 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
28952 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
28953 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
28954 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28955 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
28956 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
28957 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28958 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28960 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
28961 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28962 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
28963 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
28964 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28966 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
28967 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
28969 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
28970 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
28971 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
28972 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28973 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
28975 2017-08-03 Florian Weimer <fweimer@redhat.com>
28978 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
28979 on memory allocation failure.
28981 2017-08-03 Alan Modra <amodra@gmail.com>
28983 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
28984 tst-tlsopt-powerpc.c with function name change and no test harness.
28985 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
28986 Call tls_get_addr_opt_test.
28987 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
28988 (modules-names): Add mod-tlsopt-powerpc.
28989 (mod-tlsopt-powerpc.so-no-z-defs): Define.
28990 (tst-tlsopt-powerpc): Depend on .so.
28991 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
28992 define. Expand use in TLS_GD and TLS_LD.
28994 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28996 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
28998 * sysdeps/posix/shm_open.c: Include <pthread.h>.
29000 2017-08-02 Joseph Myers <joseph@codesourcery.com>
29003 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
29004 comparing size with that of double.
29005 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29006 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29007 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29008 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29009 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29010 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
29011 unsigned __int128 types.
29013 2017-08-02 Steve Ellcey <sellcey@cavium.com>
29015 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
29016 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
29017 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
29018 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
29019 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
29021 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29023 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
29025 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29027 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
29029 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29030 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29032 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29033 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29034 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29035 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29037 2017-08-02 Joseph Myers <joseph@codesourcery.com>
29040 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
29041 bit-field expressions passed to sizeof or typeof.
29042 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29043 (__TGMATH_F128): Likewise.
29044 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29045 (__TGMATH_CF128): Likewise.
29046 (__TGMATH_UNARY_REAL_ONLY): Likewise.
29047 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
29048 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
29049 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
29050 (__TGMATH_BINARY_REAL_ONLY): Likewise.
29051 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29052 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29053 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29054 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29055 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
29056 (__TGMATH_UNARY_REAL_IMAG): Likewise.
29057 (__TGMATH_UNARY_IMAG): Likewise.
29058 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
29059 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29060 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
29062 (define_vars_for_type): Handle bit_field type specially.
29063 (Tests.__init__): Declare structure with bit-field element.
29065 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29068 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
29069 (MEMCPY_CHK): Define only if SHARED is defined.
29070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
29072 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
29075 See ChangeLog.18 for earlier changes.