1 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
3 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
4 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
5 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
6 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
9 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
12 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
15 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
18 * sysdeps/tile/bits/mathinline.h: Delete file.
19 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
23 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25 * math/math.h: Improve handling of C99 isgreater macros.
26 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
34 * sysdeps/aarch64/libm-test-ulps: Update.
36 2017-09-28 Joseph Myers <joseph@codesourcery.com>
39 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40 math_opt_barrier on argument when doing arithmetic on it.
41 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42 Likewise. Use math_force_eval not math_opt_barrier after
44 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
45 math_opt_barrier on argument when doing arithmetic on it.
46 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
51 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
53 (__freeifaddrs): Likewise.
55 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
57 * include/dirent.h (__dirfd): New declaration.
58 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
60 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
61 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
62 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
63 * include/unistd.h (__revoke): New declaration.
64 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
66 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
67 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
69 * include/dirent.h (__seekdir): New declaration.
70 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
71 redefine as weak alias.
72 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
74 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
75 and use libc_hidden_def on them.
76 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
78 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
79 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
80 instead of getifaddrs and freeifaddrs.
82 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
85 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
86 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
87 (__dso_handle): Remove declaration.
88 * dlfcn/tstatexit.c (__dso_handle): Removed.
89 (main): Don't check __dso_handle.
90 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
91 (main): Don't check __dso_handle.
92 * include/dso_handle.h: New file.
93 * malloc/mtrace.c: Include <dso_handle.h>.
94 (mtrace): Pass __dso_handle directly.
95 * nptl/pthread_atfork.c: Include <dso_handle.h>.
96 (__dso_handle): Remove declaration.
97 (__pthread_atfork): Pass __dso_handle directly.
98 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
99 (__dso_handle): Removed.
100 * posix/wordexp-test.c: Include <dso_handle.h>.
101 (__dso_handle): Remove declaration.
102 (__app_register_atfork): Pass __dso_handle directly.
103 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
104 (__dso_handle): Remove declaration.
105 (at_quick_exit): Pass __dso_handle directly.
106 * stdlib/atexit.c: Include <dso_handle.h>.
107 (__dso_handle): Remove declaration.
108 (atexit): Pass __dso_handle directly.
109 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
110 (__dso_handle): Removed.
112 2017-09-26 Joseph Myers <joseph@codesourcery.com>
114 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
117 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
119 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
120 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
121 values to correct default value for given type.
123 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
126 * elf/Makefile (tests): Add tst-debug1.
127 ($(objpfx)tst-debug1): New.
128 ($(objpfx)tst-debug1.out): Likewise.
129 ($(objpfx)tst-debug1mod1.so): Likewise.
130 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
132 * elf/tst-debug1.c: New file.
134 2017-09-26 Joseph Myers <joseph@codesourcery.com>
136 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
137 Define using __ifunc.
139 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
141 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
144 2017-09-26 Joseph Myers <joseph@codesourcery.com>
147 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
149 2017-09-26 Florian Weimer <fweimer@redhat.com>
151 * resolv/Makefile (tests-internal): Fix typo in comment.
153 2017-09-26 Florian Weimer <fweimer@redhat.com>
155 * resolv/nss_dns/dns-host.c: Fix typo in comment.
157 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
159 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
160 Use an union instead of a max_align_t array for __space,
161 so that __space is the same size on all platforms.
162 * malloc/scratch_buffer_grow_preserve.c
163 (__libc_scratch_buffer_grow_preserve): Likewise.
166 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
168 * posix/Makefile (routines): Add glob-lstat-compat and
170 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
171 * posix/glob-lstat-compat.c: New file.
172 * posix/glob64-lstat-compat.c: Likewise.
173 * posix/tst-glob_lstat_compat.c: Likewise.
174 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
175 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
176 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
177 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
179 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
180 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
181 * posix/glob.c (glob_lstat): New function.
182 (glob): Rename to __glob and add versioned symbol to 2.27.
183 (glob_in_dir): Use glob_lstat.
184 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
185 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
186 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
188 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
189 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
190 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
191 gl_lstat on glob call.
192 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
194 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
195 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
196 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
197 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
198 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
199 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
200 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
201 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
202 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
203 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
204 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
205 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
208 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
210 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
211 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
212 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
213 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
214 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
217 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
218 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
219 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
221 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
223 * configure.ac (AS): Require binutils 2.25 or later.
224 * configure: Regenerated.
226 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
229 * stdlib/test-atexit-race-common.c (do_test): Minimize required
232 2017-09-25 DJ Delorie <dj@redhat.com>
235 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
238 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
240 * sysdeps/ieee754/dbl-64/sincos32.h
241 [SINCCOS32_H]: Remove define.
242 [SINCOS32_H]: Define.
244 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
246 * math/Versions (expf): New libm symbol at GLIBC_2.27.
248 * math/w_exp2f.c: New file.
249 * math/w_expf.c: New file.
250 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
251 * math/w_expf_compat.c (__expf_compat): Likewise.
252 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
253 * sysdeps/ia64/fpu/e_expf.S: Likewise.
254 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
255 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
256 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
257 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
258 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
259 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
260 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
261 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
262 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
263 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
264 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
265 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
274 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
275 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
276 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
277 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
278 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
283 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
284 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
285 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
287 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
289 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
290 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
291 (roundtoint, converttoint): Likewise.
292 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
293 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
294 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
295 * sysdeps/ieee754/flt-32/math_config.h: New file.
296 * sysdeps/ieee754/flt-32/math_errf.c: New file.
297 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
298 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
299 * sysdeps/i386/fpu/math_errf.c: New file.
300 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
301 * sysdeps/ia64/fpu/math_errf.c: New file.
302 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
303 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
305 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
307 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
308 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
309 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
310 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
311 to make sure that these symbols are defined.
312 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
314 (__need_NULL): Do not define.
315 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
317 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
318 CMGROUP_MAX, cmsgcred): Do not define.
319 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
321 * bits/socket.h: Likewise.
322 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
323 __gettimeofday instead of gettimeofday.
324 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
325 instead of settimeofday.
327 2017-09-22 Joseph Myers <joseph@codesourcery.com>
329 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
330 (asinhf): Define using libm_alias_float.
331 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
332 (atanf): Define using libm_alias_float.
333 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
334 (cbrtf): Define using libm_alias_float.
335 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
336 (ceilf): Define using libm_alias_float.
337 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
338 <libm-alias-float.h>.
339 (copysignf): Define using libm_alias_float.
340 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
341 (cosf): Define using libm_alias_float.
342 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
343 (erff): Define using libm_alias_float.
345 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
346 (expm1f): Define using libm_alias_float.
347 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
348 (fabsf): Define using libm_alias_float.
349 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
350 (floorf): Define using libm_alias_float.
351 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
352 (frexpf): Define using libm_alias_float.
353 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
355 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
356 <libm-alias-float.h>.
357 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
359 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
360 <libm-alias-float.h>.
361 (getpayloadf): Define using libm_alias_float.
362 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
363 <libm-alias-float.h>.
364 (llrintf): Define using libm_alias_float.
365 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
366 <libm-alias-float.h>.
367 (llroundf): Define using libm_alias_float.
368 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
369 (logbf): Define using libm_alias_float.
370 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
371 (lrintf): Define using libm_alias_float.
372 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
373 (lroundf): Define using libm_alias_float.
374 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
375 (modff): Define using libm_alias_float.
376 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
377 <libm-alias-float.h>.
378 (nearbyintf): Define using libm_alias_float.
379 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
380 <libm-alias-float.h>.
381 (nextafterf): Define using libm_alias_float.
382 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
383 <libm-alias-float.h>.
384 (nextupf): Define using libm_alias_float.
385 * sysdeps/ieee754/flt-32/s_remquof.c: Include
386 <libm-alias-float.h>.
387 (remquof): Define using libm_alias_float.
388 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
389 (rintf): Define using libm_alias_float.
390 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
391 <libm-alias-float.h>.
392 (roundevenf): Define using libm_alias_float.
393 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
394 (roundf): Define using libm_alias_float.
395 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
396 using libm_alias_float.
397 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
398 <libm-alias-float.h>.
399 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
400 Define using libm_alias_float.
401 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
402 <libm-alias-float.h>.
403 (sincosf): Define using libm_alias_float.
404 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
405 (sinf): Define using libm_alias_float.
406 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
407 (tanf): Define using libm_alias_float.
408 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
409 (tanhf): Define using libm_alias_float.
410 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
411 <libm-alias-float.h>.
412 (totalorderf): Define using libm_alias_float.
413 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
414 <libm-alias-float.h>.
415 (totalordermagf): Define using libm_alias_float.
416 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
417 (truncf): Define using libm_alias_float.
418 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
420 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
423 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
426 math/math.h: Let fpclassify use the builtin in C++ mode, even
427 when optimazing for size.
429 2017-09-22 Joseph Myers <joseph@codesourcery.com>
431 * csu/Makefile (generated): Do not add version-info.h.
432 (before-compile): Likewise.
433 (all-Banner-files): Remove variable.
434 ($(objpfx)version-info.h): Remove rule.
435 * csu/version.c (banner): Do not include "version-info.h".
436 * libidn/Banner: Remove.
437 * manual/contrib.texi (Simon Josefsson): New entry.
439 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
441 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
442 Remove conditionals on LDBL_MANT_DIG.
443 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
444 (__ieee754_lgammal_r): Likewise.
446 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
450 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
451 _Float128 and L(). Replace _Float128 with long double and L(x)
452 with xL, throughout the file.
453 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
454 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
455 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
456 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
458 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
460 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
461 sysdeps/ieee754/ldbl-128ibm.
462 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
463 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
464 of including it. Keep _Float128 and L() intact. These will be
465 reviewed by a separate patch.
466 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
467 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
468 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
469 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
471 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
474 (__finitef128): Define to __redirect___finitef128.
475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
476 (__isinff128): Define to __redirect___isinff128.
477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
478 (__isnanf128): Define to __redirect___isnanf128.
480 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
482 * sysdeps/powerpc/powerpc64le/Makefile
483 (CFLAGS-tst-strtod-nan-locale.c): New variable.
484 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
486 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
487 Carlos O'Donell <carlos@redhat.com>
490 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
491 * stdlib/test-dlclose-exit-race.c: New file.
492 * stdlib/test-dlclose-exit-race-helper.c: New file.
493 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
495 2017-09-21 Joseph Myers <joseph@codesourcery.com>
497 * crypt/Banner: Remove file.
498 * nptl/Banner: Likewise.
499 * resolv/Banner: Likewise.
500 * soft-fp/Banner: Likewise.
501 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
502 ($(objpfx)version.d): Remove dependency on banner.h.
503 ($(objpfx)version.os): Likewise.
504 * nptl/version.c (banner): Do not include banner.h.
505 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
506 Jelinek and BIND code.
508 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
509 Carlos O'Donell <carlos@redhat.com>
511 * support/xdlfcn.h: New file.
512 * support/xdlfcn.c: New file.
513 * support/Makefile (libsupport-routines): Add xdlfcn.
514 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
516 2017-09-20 Joseph Myers <joseph@codesourcery.com>
519 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
520 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
521 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
522 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
523 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
524 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
525 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
526 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
528 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
529 Ricky Zhou <rickyz@google.com>
530 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
533 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
535 (__new_exitfn): Fail registration when we finished at_exit processing.
536 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
537 * stdlib/on_exit.c (__on_exit): Likewise.
538 * stdlib/exit.c (__exit_funcs_done): New variable.
539 (__run_exit_handlers): Use __exit_funcs_lock.
540 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
542 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
543 (test-cxa_atexit-race, test-on_exit-race): New tests.
544 * stdlib/test-atexit-race-common.c: New file.
545 * stdlib/test-atexit-race.c: New file.
546 * stdlib/test-at_quick_exit-race.c: New file.
547 * stdlib/test-cxa_atexit-race.c: New file.
548 * stdlib/test-on_exit-race.c: New file.
550 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
552 * benchtests/Makefile: Add exp2f and log2f benchmarks.
553 * benchtests/exp2f-inputs: Copy of expf-inputs.
554 * benchtests/log2f-inputs: Copy of logf-inputs.
556 2017-09-19 Joseph Myers <joseph@codesourcery.com>
558 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
559 Explicitly take address of first element of array arguments in
560 call to INLINE_SYSCALL.
562 2017-09-19 Andreas Schwab <schwab@suse.de>
565 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
567 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
570 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
571 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
572 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
573 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
574 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
575 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
576 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
577 * posix/Makefile (tests): Add tst-fexecve.
578 * posix/tst-fexecve.c: New file.
580 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
582 * benchtests/Makefile: Add logf benchmark.
583 * benchtests/logf-inputs: Add reduced trace from wrf_r.
585 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
587 * benchtests/Makefile: Add expf benchmark.
588 * benchtests/expf-inputs: Add reduced trace from wrf_r.
590 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
592 * csu/Makefile: Add -funwind-tables to libc-start.c.
593 * debug/Makefile: Add -funwind-tables to backtrace.c.
594 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
595 * sysdeps/arm/Makefile: Likewise.
596 * sysdeps/i386/Makefile: Likewise.
597 * sysdeps/m68k/Makefile: Likewise.
598 * sysdeps/mips/Makefile: Likewise.
599 * sysdeps/nios2/Makefile: Likewise.
600 * sysdeps/sh/Makefile: Likewise.
601 * sysdeps/sparc/Makefile: Likewise.
603 2017-09-19 Joseph Myers <joseph@codesourcery.com>
605 * benchtests/Makefile (bench-math): Add trunc and truncf.
606 (CFLAGS-bench-trunc.c): New variable.
607 (CFLAGS-bench-truncf.c): Likewise.
608 * benchtests/trunc-inputs: New file.
609 * benchtests/truncf-inputs: Likewise.
611 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
613 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
615 2017-09-18 Joseph Myers <joseph@codesourcery.com>
617 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
618 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
620 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
621 (exp10l): Define as weak alias.
622 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
623 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
625 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
626 (remainderl): Define as weak alias.
628 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
629 (fmal): Define using libm_alias_ldouble.
630 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
631 (acoshl): Define using libm_alias_ldouble.
632 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
633 (acosl): Define using libm_alias_ldouble.
634 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
635 (asinl): Define using libm_alias_ldouble.
636 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
637 (atan2l): Define using libm_alias_ldouble.
638 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
639 (atanhl): Define using libm_alias_ldouble.
640 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
641 (coshl): Define using libm_alias_ldouble.
642 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
643 (exp10l): Define using libm_alias_ldouble.
644 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
645 (exp2l): Define using libm_alias_ldouble.
646 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
647 (expl): Define using libm_alias_ldouble.
648 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
649 (fmodl): Define using libm_alias_ldouble.
650 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
651 (hypotl): Define using libm_alias_ldouble.
652 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
653 (j0l): Define using libm_alias_ldouble.
655 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
656 (j1l): Define using libm_alias_ldouble.
658 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
659 (jnl): Define using libm_alias_ldouble.
661 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
662 (log10l): Define using libm_alias_ldouble.
663 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
664 (log2l): Define using libm_alias_ldouble.
665 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
666 (logl): Define using libm_alias_ldouble.
667 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
668 (powl): Define using libm_alias_ldouble.
669 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
670 (remainderl): Define using libm_alias_ldouble.
671 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
672 (sinhl): Define using libm_alias_ldouble.
673 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
674 (sqrtl): Define using libm_alias_ldouble.
675 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
676 (tgammal): Define using libm_alias_ldouble.
677 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
678 (exp10l): Do not use long_double_symbol here.
679 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
680 [LIBM_SVID_COMPAT] (remainderl): Likewise.
681 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
682 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
683 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
684 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
685 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
686 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
687 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
688 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
689 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
690 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
691 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
692 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
693 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
694 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
695 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
696 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
697 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
698 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
699 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
700 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
702 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
704 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
705 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
707 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
709 * io/read.c (read): Add libc_hidden_weak.
710 * sysdeps/mach/hurd/read.c (read): Likewise.
711 * io/write.c (write): Likewise.
712 * sysdeps/mach/hurd/write.c (write): Likewise.
713 * io/pread64.c (__pread64): Likewise.
714 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
715 * posix/pread64.c (__pread64): Add libc_hidden_def.
717 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
719 * benchtests/scripts/compare_strings.py: New option -g.
720 (draw_graph): Print a message that a graph is being generated.
721 (process_results): Generate graph only if -g is passed.
722 (main): Process option -g.
724 * benchtests/scripts/compare_strings.py (process_results):
725 Better spacing for output.
727 * benchtests/scripts/compare_strings.py: Use argparse.
728 * benchtests/README: Document existence of compare_strings.py.
730 2017-09-15 Joseph Myers <joseph@codesourcery.com>
732 * math/s_fma.c: Include <libm-alias-double.h>.
733 (fma): Define using libm_alias_double.
734 * math/s_nextafter.c: Include <libm-alias-double.h>.
735 (nextafter): Define using libm_alias_double.
736 * math/w_acos_compat.c: Include <libm-alias-double.h>.
737 (acos): Define using libm_alias_double.
738 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
739 (aocsh): Define using libm_alias_double.
740 * math/w_asin_compat.c: Include <libm-alias-double.h>.
741 (asin): Define using libm_alias_double.
742 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
743 (atan2): Define using libm_alias_double.
744 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
745 (atanh): Define using libm_alias_double.
746 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
747 (cosh): Define using libm_alias_double.
748 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
749 (exp10): Define using libm_alias_double.
750 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
751 (exp2): Define using libm_alias_double.
752 * math/w_exp_compat.c: Include <libm-alias-double.h>.
753 (exp): Define using libm_alias_double.
754 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
755 (fmod): Define using libm_alias_double.
756 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
757 (hypot): Define using libm_alias_double.
758 * math/w_j0_compat.c: Include <libm-alias-double.h>.
759 (j0): Define using libm_alias_double.
761 * math/w_j1_compat.c: Include <libm-alias-double.h>.
762 (j1): Define using libm_alias_double.
764 * math/w_jn_compat.c: Include <libm-alias-double.h>.
765 (jn): Define using libm_alias_double.
767 * math/w_log10_compat.c: Include <libm-alias-double.h>.
768 (log10): Define using libm_alias_double.
769 * math/w_log2_compat.c: Include <libm-alias-double.h>.
770 (log2): Define using libm_alias_double.
771 * math/w_log_compat.c: Include <libm-alias-double.h>.
772 (log): Define using libm_alias_double.
773 * math/w_pow_compat.c: Include <libm-alias-double.h>.
774 (pow): Define using libm_alias_double.
775 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
776 (remainder): Define using libm_alias_double.
777 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
778 (sinh): Define using libm_alias_double.
779 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
780 (sqrt): Define using libm_alias_double.
781 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
782 (tgamma): Define using libm_alias_double.
783 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
784 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
785 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
786 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
787 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
788 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
789 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
790 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
791 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
792 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
793 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
794 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
795 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
796 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
797 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
798 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
799 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
800 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
801 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
802 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
803 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
804 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
805 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
806 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
807 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
809 * math/e_acoshl.c: Remove.
810 * math/e_acosl.c: Likewise.
811 * math/e_asinl.c: Likewise.
812 * math/e_atan2l.c: Likewise.
813 * math/e_atanhl.c: Likewise.
814 * math/e_coshl.c: Likewise.
815 * math/e_expl.c: Likewise.
816 * math/e_fmodl.c: Likewise.
817 * math/e_gammal_r.c: Likewise.
818 * math/e_hypotl.c: Likewise.
819 * math/e_j0l.c: Likewise.
820 * math/e_j1l.c: Likewise.
821 * math/e_jnl.c: Likewise.
822 * math/e_lgammal_r.c: Likewise.
823 * math/e_log10l.c: Likewise.
824 * math/e_log2l.c: Likewise.
825 * math/e_logl.c: Likewise.
826 * math/e_powl.c: Likewise.
827 * math/e_rem_pio2l.c: Likewise.
828 * math/e_sinhl.c: Likewise.
829 * math/e_sqrtf128.c: Likewise.
830 * math/e_sqrtl.c: Likewise.
831 * math/k_cosl.c: Likewise.
832 * math/k_sinl.c: Likewise.
833 * math/k_tanl.c: Likewise.
834 * math/s_asinhl.c: Likewise.
835 * math/s_atanl.c: Likewise.
836 * math/s_cbrtl.c: Likewise.
837 * math/s_erfl.c: Likewise.
838 * math/s_expm1l.c: Likewise.
839 * math/s_log1pl.c: Likewise.
840 * math/s_tanhl.c: Likewise.
842 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
846 [$(subdir) = math] (sysdep_calls): New variable. Has the
847 previous contents of sysdep_routines, but re-sorted..
848 [$(subdir) = math] (sysdep_routines): Re-use the contents from
850 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
851 defined in sysdep_calls and replace by the respective m_* names.
852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
853 (compat_symbol): Undefine to avoid duplicated compat symbols in
856 2017-09-15 Joseph Myers <joseph@codesourcery.com>
858 * math/s_fmaf.c: Include <libm-alias-float.h>.
859 (fmaf): Define using libm_alias_float.
860 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
861 (acosf): Define using libm_alias_float.
862 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
863 (acoshf): Define using libm_alias_float.
864 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
865 (asinf): Define using libm_alias_float.
866 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
867 (atan2f): Define using libm_alias_float.
868 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
869 (atanhf): Define using libm_alias_float.
870 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
871 (coshf): Define using libm_alias_float.
872 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
873 (exp10f): Define using libm_alias_float.
874 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
875 (fmodf): Define using libm_alias_float.
876 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
877 (hypotf): Define using libm_alias_float.
878 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
879 (j0f): Define using libm_alias_float.
881 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
882 (j1f): Define using libm_alias_float.
884 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
885 (jnf): Define using libm_alias_float.
887 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
888 (log10f): Define using libm_alias_float.
889 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
890 (log2f): Define using libm_alias_float.
891 * math/w_logf_compat.c: Include <libm-alias-float.h>.
892 (logf): Define using libm_alias_float.
893 * math/w_powf_compat.c: Include <libm-alias-float.h>.
894 (powf): Define using libm_alias_float.
895 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
896 (remainderf): Define using libm_alias_float.
897 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
898 (sinhf): Define using libm_alias_float.
899 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
900 (sqrtf): Define using libm_alias_float.
901 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
902 (tgammaf): Define using libm_alias_float.
904 2017-09-14 Joseph Myers <joseph@codesourcery.com>
906 * include/math.h (roundeven): Change hidden_proto call to
908 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
910 [NO_LONG_DOUBLE] (__j0l): New strong alias.
911 (y0): Rename to __y0 and define as weak alias.
912 [NO_LONG_DOUBLE] (__y0l): New strong alias.
913 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
915 (y0f): Rename to __y0f and define as weak alias.
916 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
918 [NO_LONG_DOUBLE] (__j1l): New strong alias.
919 (y1): Rename to __y1 and define as weak alias.
920 [NO_LONG_DOUBLE] (__y1l): New strong alias.
921 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
923 (y1f): Rename to __y1f and define as weak alias.
924 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
926 [NO_LONG_DOUBLE] (__jnl): New strong alias.
927 (yn): Rename to __yn and define as weak alias.
928 [NO_LONG_DOUBLE] (__ynl): New strong alias.
929 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
931 (ynf): Rename to __ynf and define as weak alias.
932 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
933 (fromfp): Define as weak alias.
934 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
935 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
936 (fromfpx): Define as weak alias.
937 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
938 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
939 __getpayload and define as weak alias.
940 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
941 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
942 __roundeven and define as weak alias.
943 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
944 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
946 (setpayload): Define as weak alias.
947 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
948 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
950 (setpayloadsig): Define as weak alias.
951 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
952 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
953 __totalorder and define as weak alias.
954 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
955 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
956 to __totalordermag and define as weak alias.
957 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
958 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
959 (ufromfp): Define as weak alias.
960 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
961 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
963 (ufromfpx): Define as weak alias.
964 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
965 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
966 Rename to __getpayload and define as weak alias.
967 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
968 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
969 Rename to __roundeven and define as weak alias.
970 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
971 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
972 Rename to __totalorder and define as weak alias.
973 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
974 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
975 (totalordermag): Rename to __totalordermag and define as weak
977 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
978 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
980 (__roundevenl): Likewise.
981 (__totalorderl): Likewise.
982 (__totalordermagl): Likewise
983 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
985 (fromfpf128): Define as weak alias.
986 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
988 (fromfpxf128): Define as weak alias.
989 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
991 (setpayloadf128): Define as weak alias.
992 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
994 (setpayloadsigf128): Define as weak alias.
995 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
997 (ufromfpf128): Define as weak alias.
998 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
1000 (ufromfpxf128): Define as weak alias.
1001 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
1002 (fromfpf): Define as weak alias.
1003 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
1005 (fromfpxf): Define as weak alias.
1006 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
1007 __getpayloadf and define as weak alias.
1008 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
1009 __roundevenf and define as weak alias.
1010 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
1012 (setpayloadf): Define as weak alias.
1013 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
1015 (setpayloadsigf): Define as weak alias.
1016 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
1017 __totalorderf and define as weak alias.
1018 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
1019 Rename to __totalordermagf and define as weak alias.
1020 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
1022 (ufromfpf): Define as weak alias.
1023 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
1025 (ufromfpxf): Define as weak alias.
1026 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
1028 (fromfpl): Define as weak alias.
1029 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
1031 (fromfpxl): Define as weak alias.
1032 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
1033 to __getpayloadl and define as weak alias.
1034 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
1035 __roundevenl and define as weak alias.
1036 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
1038 (setpayloadl): Define as weak alias.
1039 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
1041 (setpayloadsigl): Define as weak alias.
1042 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
1043 to __totalorderl and define as weak alias.
1044 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
1045 Rename to __totalordermagl and define as weak alias.
1046 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
1048 (ufromfpl): Define as weak alias.
1049 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
1051 (ufromfpxl): Define as weak alias.
1052 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
1054 (fromfpl): Define as weak alias.
1055 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
1057 (fromfpxl): Define as weak alias.
1058 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
1059 Rename to __getpayloadl and define as weak alias.
1060 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
1061 to __roundevenl and define as weak alias. Call __roundeven
1062 instead of roundeven.
1063 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
1065 (setpayloadl): Define as weak alias.
1066 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
1068 (setpayloadsigl): Define as weak alias.
1069 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
1070 Rename to __totalorderl and define as weak alias.
1071 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
1072 Rename to __totalordermagl and define as weak alias.
1073 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
1075 (ufromfpl): Define as weak alias.
1076 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
1078 (ufromfpxl): Define as weak alias.
1079 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
1081 (fromfpl): Define as weak alias.
1082 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
1084 (fromfpxl): Define as weak alias.
1085 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
1086 __getpayloadl and define as weak alias.
1087 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
1088 __roundevenl and define as weak alias.
1089 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
1091 (setpayloadl): Define as weak alias.
1092 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
1094 (setpayloadsigl): Define as weak alias.
1095 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
1096 __totalorderl and define as weak alias.
1097 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
1098 Rename to __totalordermagl and define as weak alias.
1099 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
1101 (ufromfpl): Define as weak alias.
1102 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
1104 (ufromfpxl): Define as weak alias.
1106 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1108 * benchtests/bench-string.h (realloc_bufs): New function.
1109 (test_init): Call it.
1110 * benchtests/bench-memset-large.c (do_test): Likewise.
1111 * benchtests/bench-memset.c (do_test): Likewise.
1113 * benchtests/bench-memset-large.c: Print output in JSON
1115 * benchtests/bench-memset.c: Likewise.
1117 2017-09-14 Mike FABIAN <mfabian@redhat.com>
1120 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
1121 * iconvdata/Makefile: Add IBM858.
1122 * iconvdata/gconv-modules: Likewise.
1123 * iconvdata/tst-tables.sh: Likewise.
1124 * iconvdata/ibm858.c: New file.
1125 * localedata/charmaps/IBM858: Likewise.
1127 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
1130 * locales/niu_NZ (LC_TIME): copy "niu_NU".
1131 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
1133 2017-09-14 Mike FABIAN <mfabian@redhat.com>
1136 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
1137 and add tel_int_fmt.
1139 2017-09-14 Joseph Myers <joseph@codesourcery.com>
1141 * sysdeps/generic/libm-alias-float128.h: New file.
1142 * sysdeps/generic/math-type-macros-float128.h: Include
1143 <libm-alias-float128.h>.
1144 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
1146 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/generic/libm-alias-ldouble.h: New file.
1149 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
1150 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
1151 * sysdeps/generic/math-type-macros-ldouble.h: Include
1152 <libm-alias-ldouble.h>.
1153 [!declare_mgen_alias] (declare_mgen_alias): Define to use
1156 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1158 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
1159 * math/w_exp_compat.c: ... here.
1160 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
1161 * math/w_expf_compat.c: ... here.
1162 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
1163 * math/w_expl_compat.c: ... here.
1164 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
1165 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
1166 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
1167 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
1169 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1171 * math/w_scalbln_template.c (strong_alias): Do not undefine and
1173 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
1175 (ldexpl): Only define as compat symbol for libc, not libm.
1176 (scalbnl): Define as compat symbol for libc here.
1177 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
1178 define for [IS_IN (libc)].
1179 (__ldexpl_2): Remove alias.
1180 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
1181 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
1182 name in long_double_symbol call.
1183 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
1184 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1185 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1186 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
1187 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
1189 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
1190 Define as compat symbol.
1192 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1194 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
1195 * sysdeps/unix/sysv/linux/alpha/Makefile
1196 [$(subdir) = csu] (sysdep_routines): Remove rule.
1198 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1200 * sysdeps/generic/libm-alias-double.h: New file.
1201 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
1202 * sysdeps/generic/math-type-macros-double.h: Include
1203 <libm-alias-double.h>.
1204 [declare_mgen_alias] (declare_mgen_alias): Define to use
1206 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
1207 (M_LIBM_NEED_COMPAT): Remove macro.
1208 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
1209 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
1210 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
1212 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1213 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1214 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1215 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1216 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1217 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1218 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1219 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1220 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1221 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1222 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1223 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1224 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1225 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1226 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1227 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1228 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1229 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1230 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1231 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1232 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1233 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1234 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1235 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1236 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1237 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1238 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1239 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
1240 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
1242 (declare_mgen_alias): New macro.
1243 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
1244 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
1246 (M_LIBM_NEED_COMPAT): Remove macro.
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
1248 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
1250 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
1251 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
1253 2017-09-12 Joseph Myers <joseph@codesourcery.com>
1255 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
1256 (declare_mgen_alias_2): Remove.
1257 * sysdeps/generic/math-type-macros-double.h
1258 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
1260 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
1262 (ldexp): Define with declare_mgen_alias.
1265 2017-09-12 Steve Ellcey <sellcey@cavium.com>
1267 * grp/initgroups.c: Include config.h.
1268 (DEFAULT_CONFIG): New macro.
1269 (internal_getgrouplist): Use DEFAULT_CONFIG.
1270 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1271 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
1272 (DEFAULT_DEFCONFIG): New macro.
1273 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
1274 * nss/grp-lookup.c: Include config.h
1275 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
1276 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
1277 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
1278 * manual/nss.texi: Update default values section.
1280 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
1283 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
1285 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
1286 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
1287 Handle MathVec_Prefer_No_AVX512.
1288 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
1289 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
1292 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
1294 * posix/sched_primax.c (__sched_get_priority_max): Add
1296 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
1297 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1298 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
1299 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
1300 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
1301 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
1302 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
1303 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
1306 2017-09-11 Joseph Myers <joseph@codesourcery.com>
1308 * sysdeps/generic/libm-alias-float.h: New file.
1309 * sysdeps/generic/math-type-macros-float.h: Include
1310 <libm-alias-float.h>.
1311 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
1313 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
1316 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
1317 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
1318 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
1319 (HWCAP_IMPORTANT): Likewise.
1320 (HWCAP_X86_64): New enum.
1321 (HWCAP_X86_AVX512_1): Updated.
1322 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
1323 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
1324 (modules-names): Add x86_64/tst-x86_64mod-1.
1325 (LDFLAGS-tst-x86_64mod-1.so): New.
1326 ($(objpfx)tst-x86_64-1): Likewise.
1327 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
1328 (tst-x86_64-1-clean): Likewise.
1329 * sysdeps/x86_64/tst-x86_64-1.c: New file.
1330 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
1332 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1334 * po/sv.po: Update translations.
1335 * po/fr.po: Likewise.
1337 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1339 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
1341 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
1343 * elf/rtld-Rules: Fix $(error) use.
1345 2017-09-09 Mike FABIAN <mfabian@redhat.com>
1348 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
1349 * locale/iso-639.def: Change “Bengali” to “Bangla”.
1350 * localedata/locales/bn_BD: “Bengali” was still used in some
1351 comments. Change it to “Bangla”.
1353 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
1355 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
1357 2017-09-08 Steve Ellcey <sellcey@cavium.com>
1359 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
1360 thunderx2t99p1 to list of cpu names.
1361 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1362 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
1364 2017-09-08 Steve Ellcey <sellcey@cavium.com>
1366 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
1367 Use strcmp instead of tunable_is_name.
1369 2017-09-08 Joseph Myers <joseph@codesourcery.com>
1371 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1372 (F_GET_RW_HINT): New macro.
1373 [__USE_GNU] (F_SET_RW_HINT): Likewise.
1374 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
1375 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
1376 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
1377 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
1378 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
1379 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
1380 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
1381 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
1383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1384 (F_ADD_SEALS): New macro.
1385 [__USE_GNU] (F_GET_SEALS): Likewise.
1386 [__USE_GNU] (F_SEAL_SEAL): Likewise.
1387 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
1388 [__USE_GNU] (F_SEAL_GROW): Likewise.
1389 [__USE_GNU] (F_SEAL_WRITE): Likewise.
1391 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1393 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
1394 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
1395 * posix/glob_internal.h (__glob_pattern_type):
1396 * posix/glob.c (glob):
1397 * posix/glob_pattern_p.c (__glob_pattern_p):
1400 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
1401 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1402 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
1403 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
1404 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
1406 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
1407 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
1408 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
1409 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1410 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
1411 * sysdeps/wordsize-64/glob.c: Likewise.
1412 * sysdeps/wordsize-64/glob64.c: Likewise.
1413 * sysdeps/wordsize-64/globfree.c: Likewise.
1414 * sysdeps/wordsize-64/globfree64.c: Likewise.
1415 * sysdeps/unix/sysv/linux/glob.c: New file.
1416 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
1417 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
1418 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
1420 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
1421 adds !GLOB_NO_OLD_VERSION as an extra condition.
1422 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
1423 using relative path instead of absolute one.
1424 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
1425 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1426 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1427 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
1428 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
1429 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
1432 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
1433 (glob): Use the same scratch buffer for both getlogin_r and
1434 getpwnam_r. Don’t require preallocation of the login name. This
1435 simplifies storage allocation, and corrects the handling of
1439 * posix/glob.c (glob): Port recent patches to platforms
1441 (glob): Fix longstanding misuse of errno after getpwnam_r, which
1442 returns an error number rather than setting errno.
1444 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
1445 instead of GCC extension.
1446 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
1447 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
1448 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
1452 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
1453 * posix/bug-glob1.c: Remove file.
1454 * posix/tst-glob_symlinks.c: New file.
1455 * posix/glob.c (__lstat64): New macro.
1456 (is_dir): New function.
1457 (glob, glob_in_dir): Match symlinks even if they are dangling.
1458 (link_stat, link_exists_p): Remove. All uses removed.
1462 * posix/glob.c (struct readdir_result): Remove skip_entry member.
1463 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
1467 * posix/Makefile (routines): Add globfree, globfree64, and
1469 * posix/flexmember.h: New file.
1470 * posix/glob_internal.h: Likewise.
1471 * posix/glob_pattern_p.c: Likewise.
1472 * posix/globfree.c: Likewise.
1473 * posix/globfree64.c: Likewise.
1474 * sysdeps/gnu/globfree64.c: Likewise.
1475 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
1476 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
1477 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
1478 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
1480 * sysdeps/wordsize-64/globfree.c: Likewise.
1481 * sysdeps/wordsize-64/globfree64.c: Likewise.
1482 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
1483 [NDEBUG): Remove comments.
1484 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
1485 (dirent_type): New type. Use uint_fast8_t not
1486 uint8_t, as C99 does not require uint8_t.
1487 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
1488 (struct readdir_result): Use dirent_type. Do not define skip_entry
1489 unless it is needed; this saves a byte on platforms lacking d_ino.
1490 (readdir_result_type, readdir_result_skip_entry):
1491 New functions, replacing ...
1492 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
1493 these functions, which were removed. This makes the callers
1494 easier to read. All callers changed.
1495 (D_INO_TO_RESULT): Now empty if there is no d_ino.
1496 (size_add_wrapv, glob_use_alloca): New static functions.
1497 (glob, glob_in_dir): Check for size_t overflow in several places,
1498 and fix some size_t checks that were not quite right.
1499 Remove old code using SHELL since Bash no longer
1501 (glob, prefix_array): Separate MS code better.
1502 (glob_in_dir): Remove old Amiga and VMS code.
1503 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
1505 (glob_in_dir): Do not rely on undefined behavior in accessing
1506 struct members beyond their bounds. Use a flexible array member
1508 (link_stat): Rename from link_exists2_p and return -1/0 instead of
1509 0/1. Caller changed.
1510 (glob): Fix memory leaks.
1511 * posix/glob64 (globfree64): Move to separate file.
1512 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
1513 (globfree64): Remove hidden alias.
1514 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
1516 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
1518 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
1520 Move compat code to separate file.
1521 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
1524 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
1526 * resolv/tst-resolv-qtypes.c (domain): Changed to
1527 "const char domain[] =".
1529 2017-09-07 Joseph Myers <joseph@codesourcery.com>
1531 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1534 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
1535 (TCP_MD5SIG_EXT): Likewise.
1536 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
1537 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
1538 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
1540 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
1542 2017-09-07 Mike FABIAN <mfabian@redhat.com>
1544 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
1546 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
1549 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
1551 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1553 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
1554 before assuming that the file is empty. Avoid testing buffer content
1557 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1560 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
1562 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
1564 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
1566 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
1568 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
1570 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
1572 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
1575 2017-09-06 Florian Weimer <fweimer@redhat.com>
1577 * malloc/dynarray_emplace_enlarge.c
1578 (__libc_dynarray_emplace_enlarge): Add missing else.
1580 2017-09-06 Florian Weimer <fweimer@redhat.com>
1583 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
1584 case of failure to obtain the global conf object.
1586 2017-09-06 Florian Weimer <fweimer@redhat.com>
1589 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
1590 dynarray allocation failure.
1592 2017-09-06 Florian Weimer <fweimer@redhat.com>
1594 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
1595 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
1596 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
1598 (response): Call them. Add 'p', '6' flag processing.
1599 (test_reverse): New function.
1600 (test_get2_any): Call it.
1601 (test_no_inet6): Add 'p' test.
1602 (test_inet6): Likewise.
1604 2017-09-06 Florian Weimer <fweimer@redhat.com>
1606 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
1607 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
1609 (test_gai): Adjust query names. Add additional tests.
1610 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
1611 test_get2. Adjust query names. Add additional tests.
1612 (test_no_inet6): New function, extracted from threadfunc.
1613 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
1614 Add additional tests.
1616 2017-09-06 Mike FABIAN <mfabian@redhat.com>
1619 * localedata/unicode-gen/utf8_gen.py: Set the width for
1620 characters with Prepended_Concatenation_Mark property to 1
1621 * localedata/charmaps/UTF-8: Updated using the improved script.
1623 2017-09-06 Mike FABIAN <mfabian@redhat.com>
1626 * localedata/unicode-gen/utf8_gen.py: Improve the script to
1627 use the range notation for all ranges of neighbouring characters
1628 with the same width.
1630 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1632 * sysdeps/generic/math-type-macros-double.h: Include
1633 <math-svid-compat.h>.
1634 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1635 * sysdeps/generic/math-type-macros-float.h: Include
1636 <math-svid-compat.h>.
1637 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1638 * sysdeps/generic/math-type-macros-ldouble.h: Include
1639 <math-svid-compat.h>.
1640 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1641 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
1643 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
1644 * math/w_acosf_compat.c: Likewise.
1645 * math/w_acosh_compat.c: Likewise.
1646 * math/w_acoshf_compat.c: Likewise.
1647 * math/w_acoshl_compat.c: Likewise.
1648 * math/w_acosl_compat.c: Likewise.
1649 * math/w_asin_compat.c: Likewise.
1650 * math/w_asinf_compat.c: Likewise.
1651 * math/w_asinl_compat.c: Likewise.
1652 * math/w_atan2_compat.c: Likewise.
1653 * math/w_atan2f_compat.c: Likewise.
1654 * math/w_atan2l_compat.c: Likewise.
1655 * math/w_atanh_compat.c: Likewise.
1656 * math/w_atanhf_compat.c: Likewise.
1657 * math/w_atanhl_compat.c: Likewise.
1658 * math/w_cosh_compat.c: Likewise.
1659 * math/w_coshf_compat.c: Likewise.
1660 * math/w_coshl_compat.c: Likewise.
1661 * math/w_exp10_compat.c: Likewise.
1662 * math/w_exp10f_compat.c: Likewise.
1663 * math/w_exp10l_compat.c: Likewise.
1664 * math/w_exp2_compat.c: Likewise.
1665 * math/w_exp2f_compat.c: Likewise.
1666 * math/w_exp2l_compat.c: Likewise.
1667 * math/w_fmod_compat.c: Likewise.
1668 * math/w_fmodf_compat.c: Likewise.
1669 * math/w_fmodl_compat.c: Likewise.
1670 * math/w_hypot_compat.c: Likewise.
1671 * math/w_hypotf_compat.c: Likewise.
1672 * math/w_hypotl_compat.c: Likewise.
1673 * math/w_j0_compat.c: Likewise.
1674 * math/w_j0f_compat.c: Likewise.
1675 * math/w_j0l_compat.c: Likewise.
1676 * math/w_j1_compat.c: Likewise.
1677 * math/w_j1f_compat.c: Likewise.
1678 * math/w_j1l_compat.c: Likewise.
1679 * math/w_jn_compat.c: Likewise.
1680 * math/w_jnf_compat.c: Likewise.
1681 * math/w_jnl_compat.c: Likewise.
1682 * math/w_lgamma_r_compat.c: Likewise.
1683 * math/w_lgammaf_r_compat.c: Likewise.
1684 * math/w_lgammal_r_compat.c: Likewise.
1685 * math/w_log10_compat.c: Likewise.
1686 * math/w_log10f_compat.c: Likewise.
1687 * math/w_log10l_compat.c: Likewise.
1688 * math/w_log2_compat.c: Likewise.
1689 * math/w_log2f_compat.c: Likewise.
1690 * math/w_log2l_compat.c: Likewise.
1691 * math/w_log_compat.c: Likewise.
1692 * math/w_logf_compat.c: Likewise.
1693 * math/w_logl_compat.c: Likewise.
1694 * math/w_pow_compat.c: Likewise.
1695 * math/w_powf_compat.c: Likewise.
1696 * math/w_powl_compat.c: Likewise.
1697 * math/w_remainder_compat.c: Likewise.
1698 * math/w_remainderf_compat.c: Likewise.
1699 * math/w_remainderl_compat.c: Likewise.
1700 * math/w_sinh_compat.c: Likewise.
1701 * math/w_sinhf_compat.c: Likewise.
1702 * math/w_sinhl_compat.c: Likewise.
1703 * math/w_sqrt_compat.c: Likewise.
1704 * math/w_sqrtf_compat.c: Likewise.
1705 * math/w_sqrtl_compat.c: Likewise.
1706 * math/w_tgamma_compat.c: Likewise.
1707 * math/w_tgammaf_compat.c: Likewise.
1708 * math/w_tgammal_compat.c: Likewise.
1709 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
1711 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
1712 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
1714 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
1715 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
1717 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
1718 * sysdeps/i386/fpu/w_sqrt.c: New file.
1719 * sysdeps/ia64/fpu/w_acos.c: Likewise.
1720 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1721 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1722 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1723 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1724 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1725 * sysdeps/ia64/fpu/w_asin.c: Likewise.
1726 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1727 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1728 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1729 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1730 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1731 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1732 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1733 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1734 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1735 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1736 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1737 * sysdeps/ia64/fpu/w_exp.c: Likewise.
1738 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1739 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1740 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1741 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1742 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1743 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1744 * sysdeps/ia64/fpu/w_expf.c: Likewise.
1745 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1746 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1747 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1748 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1749 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1750 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1751 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1752 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1753 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1754 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1755 * sysdeps/ia64/fpu/w_log.c: Likewise.
1756 * sysdeps/ia64/fpu/w_log10.c: Likewise.
1757 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1758 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1759 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1760 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1761 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1762 * sysdeps/ia64/fpu/w_logf.c: Likewise.
1763 * sysdeps/ia64/fpu/w_logl.c: Likewise.
1764 * sysdeps/ia64/fpu/w_pow.c: Likewise.
1765 * sysdeps/ia64/fpu/w_powf.c: Likewise.
1766 * sysdeps/ia64/fpu/w_powl.c: Likewise.
1767 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1768 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1769 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1770 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1771 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1772 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1773 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1774 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1775 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1776 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
1777 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
1778 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
1779 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
1781 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1782 * sysdeps/ieee754/k_standard.c: Likewise.
1783 * sysdeps/ieee754/k_standardf.c: Likewise.
1784 * sysdeps/ieee754/k_standardl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1786 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1787 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1788 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
1789 long_double_symbol call on [LIBM_SVID_COMPAT].
1790 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1791 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1792 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1793 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1794 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1795 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1796 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1797 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1798 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1799 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1800 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1801 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1802 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1803 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1804 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1805 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1806 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1807 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1808 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1809 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1810 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
1811 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
1813 2017-09-05 Steve Ellcey <sellcey@cavium.com>
1815 * include/shlib-compat.h (TEST_COMPAT): New Macro.
1816 * malloc/tst-mallocstate.c: Convert from test-skeleton
1817 to test-driver. Ifdef code using TEST_COMPAT macro.
1818 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
1819 * math/test-matherr.c: Likewise.
1821 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1824 * debug/pcprofiledump.c (main): Use byte-swapped mask when
1825 comparing word with byte-swapped constant.
1827 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
1830 * locale/iso-639.def: add Miskito.
1831 * localedata/SUPPORTED: Add miq_NI/UTF-8.
1832 * localedata/locales/miq_NI: New file.
1834 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
1837 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
1838 (__mkdir): Likewise.
1839 * io/chmod.c (__chmod): Add libc_hidden_def.
1840 * io/mkdir.c (__mkdir): Likewise.
1841 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1842 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1843 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
1844 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
1846 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1848 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1852 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
1853 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1855 2017-09-04 Florian Weimer <fweimer@redhat.com>
1857 * math/math.h: Issue warning if log is defined.
1859 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1861 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1862 kernel version to 4.13.
1864 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1866 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
1867 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
1869 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
1870 just <bits/types.h>.
1871 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
1872 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
1873 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
1874 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
1875 * misc/preadv2.c: Include <errno.h>.
1876 * misc/preadv64v2.c: Include <errno.h>.
1877 * misc/pwritev2.c: Include <errno.h>.
1878 * misc/pwritev64v2.c: Include <errno.h>.
1879 * sysdeps/posix/preadv2.c: Include <errno.h>.
1880 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
1881 Fix <unistd.h> inclusion.
1882 * sysdeps/posix/pwritev2.c: Include <errno.h>.
1883 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
1884 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
1885 __strtoul_internal): New functions.
1886 * sysdeps/posix/pause.c: Include <sigsetops.h>.
1887 * sysdeps/posix/system.c: Include <sigsetops.h>.
1888 * sysdeps/mach/hurd/i386/Makefile
1889 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1890 [$(subdir) = csu] (sysdep-only-routines): Likewise.
1891 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1892 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
1893 __feraiseexcept_renamed to feraiseexcept instead of
1895 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
1896 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
1897 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
1898 RWF_NOWAIT): Define to 0 if undefined already.
1899 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
1901 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
1902 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
1904 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1906 * manual/math.texi (pow10): Do not document.
1909 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
1910 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
1911 * math/libm-test-exp10.inc (pow10_test): Remove.
1912 (do_test): Do not call pow10.
1913 * math/w_exp10_compat.c (pow10): Make into compat symbol.
1914 [NO_LONG_DOUBLE] (pow10l): Likewise.
1915 * math/w_exp10f_compat.c (pow10f): Likewise.
1916 * math/w_exp10l_compat.c (pow10l): Likewise.
1917 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
1918 (pow10): Make into compat symbol.
1919 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
1920 (pow10f): Make into compat symbol.
1921 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
1922 (pow10l): Make into compat symbol.
1923 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
1925 (CFLAGS-nldbl-pow10.c): Remove variable..
1926 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
1927 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
1928 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
1929 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
1930 Undefine and redefine.
1931 (pow10l): Make into compat symbol.
1932 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
1933 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1934 * sysdeps/arm/libm-test-ulps: Likewise.
1935 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
1936 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1937 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1938 * sysdeps/microblaze/libm-test-ulps: Likewise.
1939 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1940 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1941 * sysdeps/nios2/libm-test-ulps: Likewise.
1942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1943 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1944 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1945 * sysdeps/sh/libm-test-ulps: Likewise.
1946 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1947 * sysdeps/tile/libm-test-ulps: Likewise.
1948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1950 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1952 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
1954 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1956 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
1957 "../ChangeLog.old/ChangeLog.8".
1958 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
1959 "../ChangeLog.old/ChangeLog.14".
1961 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1963 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
1966 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1968 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
1970 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1972 * csu/version.c (banner): Remove "by Roland McGrath et al.".
1973 * nptl/Banner: Remove "by Ulrich Drepper et al.".
1975 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1977 * stdlib/tst-atexit-common.c (do_test): Test support for at least
1980 2017-09-01 Zack Weinberg <zackw@panix.com>
1982 * math/math.h (HUGE_VAL): Improve commentary.
1984 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1985 Andreas Schwab <schwab@suse.de>
1988 * include/stdio.h (__gen_tempfd): New function.
1989 * stdio-common/Makefile (routines): Add gentempfd.
1990 * stdio-common/gentempfd.c: New file.
1991 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
1992 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
1995 2017-09-01 Florian Weimer <fweimer@redhat.com>
1999 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
2000 result to determine success or failure, not the errno value.
2001 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
2002 (tst-nss-files-hosts-erange): Link with -ldl.
2003 * nss/tst-nss-files-hosts-erange.c: New file.
2004 * nss/tst-resolv-basic.c (response): Handle nodata.example.
2005 (do_test): Add NO_DATA tests.
2006 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
2009 2017-09-01 Florian Weimer <fweimer@redhat.com>
2012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
2013 coming from gethostbyname2_r.
2015 2017-09-01 Florian Weimer <fweimer@redhat.com>
2017 * support/namespace.h (struct support_chroot_configuration): Add
2019 (struct support_chroot): Add path_hosts, path_host_conf.
2020 * support/support_chroot.c (write_file): New function.
2021 (support_chroot_create): Call it to process /etc/resolv.conf,
2022 /etc/hosts, /etc/host.conf.
2023 (support_chroot_free): Update.
2025 2017-09-01 Florian Weimer <fweimer@redhat.com>
2027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
2028 status indicates it is set.
2030 2017-09-01 Florian Weimer <fweimer@redhat.com>
2032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
2033 function lookup failures more reliable.
2035 2017-09-01 Florian Weimer <fweimer@redhat.com>
2037 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
2038 (getcanonname): Likewise.
2039 (gaih_inet): Likewise.
2041 2017-09-01 Florian Weimer <fweimer@redhat.com>
2043 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
2044 (getcanonname): Likewise.
2045 (gaih_inet): Likewise.
2047 2017-08-31 Steve Ellcey <sellcey@cavium.com>
2048 Richard Henderson <rth@twiddle.net>
2050 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
2051 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
2052 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
2053 (IREG_SIZE, OREG_SIZE): New macros.
2054 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
2055 (IREG_SIZE, OREG_SIZE): New macros.
2056 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
2057 (IREG_SIZE): New macro.
2058 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
2059 (IREG_SIZE): New macro.
2060 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
2062 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
2063 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
2064 (__CONCATX): Handle exceptions correctly on large values that may
2066 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
2067 Initialize if not already set.
2068 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
2070 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2072 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
2073 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
2075 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
2077 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
2079 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
2081 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
2083 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
2085 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
2087 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
2088 (NO_CANCELLATION): Likewise.
2089 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
2091 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
2093 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
2095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
2096 (NO_CANCELLATION): Likewise.
2097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
2098 (NO_CANCELLATION): Likewise.
2099 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
2101 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
2103 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
2105 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
2107 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
2109 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
2110 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
2112 2017-08-31 Steve Ellcey <sellcey@cavium.com>
2114 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
2117 2017-08-31 Florian Weimer <fweimer@redhat.com>
2119 * include/libc-symbols.h (internal_function): Remove.
2121 2017-08-31 Florian Weimer <fweimer@redhat.com>
2123 * stdlib/fmtmsg.c (internal_addseverity): Remove
2126 2017-08-31 Florian Weimer <fweimer@redhat.com>
2128 * stdio-common/printf_fp.c (group_number): Remove
2130 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2132 2017-08-31 Florian Weimer <fweimer@redhat.com>
2134 * posix/fnmatch.c (internal_function): Remove definition.
2135 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
2136 * posix/regcomp.c (peek_token, init_word_char)
2137 (duplicate_node_closure, fetch_token, peek_token)
2138 (peek_token_bracket, build_range_exp, build_collating_symbol):
2140 * posix/regex_internal.c (re_string_construct_common)
2141 (create_ci_newstate, create_cd_newstate, re_string_allocate)
2142 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
2143 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
2144 (re_string_translate_buffer, re_string_reconstruct)
2145 (re_string_peek_byte_case, re_string_fetch_byte_case)
2146 (re_string_destruct, re_string_context_at, re_node_set_alloc)
2147 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
2148 (re_node_set_add_intersect, re_node_set_init_union)
2149 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
2150 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
2151 (re_dfa_add_node, calc_state_hash, re_acquire_state)
2152 (re_acquire_state_context): Likewise.
2153 * posix/regex_internal.h (internal_function): Remove definition.
2154 (re_string_realloc_buffers, build_wcs_buffer)
2155 (build_wcs_upper_buffer, build_upper_buffer)
2156 (re_string_translate_buffer, re_string_context_at)
2157 (re_string_char_size_at, re_string_wchar_at)
2158 (re_string_elem_size_at): Likewise.
2159 * posix/regexec.c (match_ctx_init, match_ctx_clean)
2160 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
2161 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
2162 (re_search_internal, re_search_2_stub, re_search_stub)
2163 (re_copy_regs, prune_impossible_nodes, check_matching)
2164 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
2165 (free_fail_stack_return, sift_states_iter_mb)
2166 (sift_states_backward, build_sifted_states)
2167 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
2168 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
2169 (check_subexp_limits, sift_states_bkref, merge_state_array)
2170 (find_recover_state, transit_state, merge_state_with_log)
2171 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
2172 (transit_state_mb, transit_state_bkref, get_subexp)
2173 (get_subexp_sub, find_subexp_node, check_arrival)
2174 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
2175 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
2176 (check_node_accept_bytes, find_collation_sequence_value)
2177 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
2178 (acquire_init_state_context, check_halt_node_context)
2179 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
2180 (sub_epsilon_src_nodes): Likewise.
2181 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
2182 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
2183 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
2184 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
2185 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
2186 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
2187 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
2188 * sysdeps/posix/ttyname.c (getttyname): Likewise.
2189 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2190 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
2192 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
2194 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
2195 (PWRITEV): Likewise.
2196 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
2197 (PWRITEV): Likewise.
2198 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
2199 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
2201 2017-08-31 Florian Weimer <fweimer@redhat.com>
2203 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
2204 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
2205 Remove internal_function.
2206 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2207 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
2208 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
2209 (__deallocate_stack, __libc_pthread_init)
2210 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
2211 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
2212 (__libc_disable_asynccancel, __librt_disable_asynccancel):
2214 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
2215 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
2216 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
2218 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
2219 (__pthread_mutex_unlock_usercnt): Likewise.
2221 2017-08-31 Florian Weimer <fweimer@redhat.com>
2223 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
2224 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
2225 (fts_safe_changedir): Remove internal_function.
2226 * io/ftw.c (internal_function): Remove definition.
2227 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
2229 2017-08-31 Florian Weimer <fweimer@redhat.com>
2231 * inet/deadline.c (__deadline_current_time)
2232 (__deadline_from_timeval, __deadline_to_ms): Remove
2234 * inet/getnameinfo.c (nrl_domainname): Likewise.
2235 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
2236 * inet/inet6_option.c (add_pad): Likewise.
2237 * inet/net-internal.h (__deadline_current_time)
2238 (__deadline_from_timeval, __deadline_to_ms): Likewise.
2239 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
2240 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
2241 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
2243 2017-08-31 Joseph Myers <joseph@codesourcery.com>
2245 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
2246 include <bits/nan.h>.
2247 * math/Makefile (headers): Remove bits/nan.h.
2248 * bits/nan.h: Remove.
2249 * sysdeps/ieee754/bits/nan.h: Likewise.
2250 * sysdeps/mips/bits/nan.h: Likewise.
2252 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
2253 not include <bits/inf.h>.
2254 * math/Makefile (headers): Remove bits/inf.h.
2255 * bits/inf.h: Remove.
2256 * sysdeps/ieee754/bits/inf.h: Likewise.
2258 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
2259 bits/huge_vall.h or bits/huge_val_flt128.h.
2260 (HUGE_VAL): Define directly here.
2261 [__USE_ISOC99] (HUGE_VALF): Likewise.
2262 [__USE_ISOC99] (HUGE_VALL): Likewise.
2263 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2264 (HUGE_VAL_F128): Likewise.
2265 * math/Makefile (headers): Remove bits/huge_val.h,
2266 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
2267 * bits/huge_val.h: Remove.
2268 * bits/huge_val_flt128.h: Likewise.
2269 * bits/huge_valf.h: Likewise.
2270 * bits/huge_vall.h: Likewise.
2271 * sysdeps/ia64/bits/huge_vall.h: Likewise.
2272 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2273 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
2274 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
2275 * sysdeps/sh/bits/huge_val.h: Likewise.
2276 * sysdeps/sparc/bits/huge_vall.h: Likewise.
2277 * sysdeps/x86/bits/huge_vall.h: Likewise.
2279 2017-08-31 Florian Weimer <fweimer@redhat.com>
2281 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
2283 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
2285 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
2286 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2287 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
2288 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
2289 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2290 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2291 * elf/dl-libc.c (dlerror_run): Likewise.
2292 * elf/dl-load.c (add_name_to_object, decompose_rpath)
2293 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
2294 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
2295 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
2297 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
2298 (_dl_higher_prime_number, _dl_strtoul): Likewise.
2299 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
2300 * elf/dl-profile.c (_dl_start_profile): Likewise.
2301 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
2302 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
2304 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
2305 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
2306 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
2307 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
2308 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
2309 (_dl_allocate_tls_storage): Likewise.
2310 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
2311 (_dl_check_all_versions): Likewise.
2312 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2313 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
2314 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
2315 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2316 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
2317 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
2318 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
2319 internal_function from __dl_start.
2320 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
2321 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2322 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
2323 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
2324 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
2325 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
2326 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
2327 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
2328 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
2329 (_dl_next_ld_env_entry, _dl_important_hwcaps)
2330 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
2331 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
2332 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
2333 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
2334 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
2336 (struct rtld_global_ro): Remove internal_function from the
2337 _dl_lookup_symbol_x member.
2338 (_dl_symbol_value): Remove. No longer defined anywhere.
2339 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
2341 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2342 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
2344 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
2345 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
2346 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
2347 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
2348 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
2349 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
2350 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2351 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2352 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2354 2017-08-31 Florian Weimer <fweimer@redhat.com>
2356 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
2357 Remove internal_function.
2358 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
2360 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
2363 2017-08-31 Florian Weimer <fweimer@redhat.com>
2365 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
2366 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
2367 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
2369 2017-08-31 Florian Weimer <fweimer@redhat.com>
2371 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
2372 (__gai_enqueue_request): Remove internal_function.
2373 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
2374 (__gai_remove_request, __gai_notify, __gai_notify_only)
2375 (__gai_sigqueue): Likewise.
2376 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
2377 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2378 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
2379 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2382 2017-08-31 Florian Weimer <fweimer@redhat.com>
2384 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
2385 * include/dirent.h (__opendirat, __getdents, __getdents64)
2386 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
2387 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
2388 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2389 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2391 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
2393 2017-08-31 Florian Weimer <fweimer@redhat.com>
2395 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
2397 (GETCWD_RETURN_TYPE): Likewise.
2399 2017-08-31 Florian Weimer <fweimer@redhat.com>
2401 * include/time.h (__tz_compute, __strptime_internal): Remove
2403 * time/strptime_l.c (__strptime_internal): Likewise.
2404 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
2406 2017-08-31 Florian Weimer <fweimer@redhat.com>
2408 * iconv/gconv.c (__gconv): Remove internal_function.
2409 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
2410 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
2411 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
2412 (__gconv_release_cache): Likewise.
2413 * iconv/gconv_close.c (__gconv_close): Likewise.
2414 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
2415 (read_conf_file, __gconv_get_path): Likewise.
2416 * iconv/gconv_db.c (derivation_lookup, add_derivation)
2417 (__gconv_release_step, gen_steps, increment_counter)
2418 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
2419 (__gconv_close_transform, free_modules_db): Likewise.
2420 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
2422 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
2423 (__gconv_find_transform, __gconv_lookup_cache)
2424 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
2425 (__gconv_close_transform, __gconv_release_cache)
2426 (__gconv_loaded_object, __gconv_release_shlib)
2427 (__gconv_compare_alias): Likewise.
2428 * iconv/gconv_open.c (__gconv_open): Likewise.
2429 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
2430 * iconv/iconvconfig.c (add_module): Likewise.
2431 * intl/dcigettext.c (plural_lookup, guess_category_value)
2432 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
2433 * intl/eval-plural.h (plural_eval): Likewise.
2434 * intl/finddomain.c (_nl_find_domain): Likewise.
2435 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
2436 (_nl_load_domain, _nl_find_msg): Likewise.
2437 (internal_function): Remove definition.
2438 * intl/loadinfo.h (internal_function): Likewise.
2439 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
2441 * intl/localealias.c (internal_function): Remove definition.
2442 (read_alias_file): Remove internal_function.
2443 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
2444 * intl/plural-exp.h (internal_function): Remove definition.
2445 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
2447 * intl/plural.c: Regenerate.
2448 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
2449 * locale/coll-lookup.c (__collidx_table_lookup)
2450 (__collseq_table_lookup): Likewise.
2451 * locale/coll-lookup.h (__collidx_table_lookup)
2452 (__collseq_table_lookup): Likewise.
2453 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
2454 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2455 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
2456 (_nl_unload_locale): Likewise.
2457 * locale/localeinfo.h (struct __locale_data): Remove
2458 internal_function from cleanup member.
2459 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
2460 (_nl_remove_locale, _nl_load_locale_from_archive)
2461 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
2462 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
2463 (_nl_cleanup_time): Remove internal_function.
2464 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
2465 (_nl_parse_alt_digit): Likewise.
2466 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
2467 (_nl_select_era_entry): Likewise.
2468 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
2469 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
2470 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
2471 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
2472 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
2474 2017-08-31 Florian Weimer <fweimer@redhat.com>
2476 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
2477 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2478 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
2479 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
2481 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
2482 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
2483 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
2484 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2486 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
2488 2017-08-31 Florian Weimer <fweimer@redhat.com>
2490 * misc/getttyent.c (skip, value): Remove internal_function.
2491 * misc/syslog.c (openlog_internal): Likewise.
2492 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
2494 2017-08-31 Florian Weimer <fweimer@redhat.com>
2496 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
2497 (__nss_rewrite_field): Remove internal_function.
2498 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2499 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2500 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2501 * nss/nsswitch.c (nss_parse_file, nss_getline)
2502 (nss_parse_service_list, nss_new_service): Likewise.
2503 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
2504 * nss/valid_field.c (__nss_valid_field): Likewise.
2505 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2507 2017-08-31 Florian Weimer <fweimer@redhat.com>
2509 * malloc/arena.c (__malloc_fork_lock_parent)
2510 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
2511 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
2512 internal_function from defintions.
2513 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
2514 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
2515 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
2516 internal_function from declarations.
2517 * malloc/malloc.c (internal_function): Do not define.
2518 (mem2mem_check): Remove internal_function from declaration.
2519 (munmap_chunk, mremap_chunk): Remove internal_function.
2520 * malloc/mtrace.c (tr_where): Likewise.
2522 2017-08-31 Florian Weimer <fweimer@redhat.com>
2524 * include/rpc/pmap_clnt.h (__get_socket): Remove
2526 * sunrpc/auth_des.c (synchronize): Likewise.
2527 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
2528 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
2529 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
2530 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
2531 (key_call): Likewise.
2532 * sunrpc/pm_getport.c (__get_socket): Likewise.
2533 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
2534 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
2535 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
2536 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
2537 (invalidate): Likewise.
2538 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
2539 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
2540 (set_input_fragment, get_input_bytes): Likewise.
2542 2017-08-31 Florian Weimer <fweimer@redhat.com>
2544 * malloc/malloc.c (_int_free): Remove locked variable and related
2547 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
2550 * Makerules (build-module-helper-objlist): Filter out
2551 $(elf-objpfx)sofini.os.
2552 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
2555 2017-08-31 Florian Weimer <fweimer@redhat.com>
2557 * libio/fcloseall.c: Assume weak_alias is defined.
2558 * libio/feof.c: Likewise.
2559 * libio/fileno.c: Likewise.
2560 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
2561 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2563 (_IO_file_open): Call __open directly.
2564 (_IO_new_file_sync): Assume ESPIPE is defined.
2565 (_IO_file_seekoff_maybe_mmap): Call __read directly.
2566 (_IO_new_file_write): Call __write directly.
2567 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
2568 * libio/ftello64.c (__ftello64): Assume EIO is defined.
2569 * libio/genops.c: Assume _LIBC is defined.
2570 (save_for_backup): Remove internal_function.
2571 * libio/getc.c: Assume weak_alias is defined.
2572 * libio/getwc.c: Likewise.
2573 * libio/iofclose.c: Assume _LIBC is defined.
2574 * libio/iofdopen.c: Likewise.
2575 (_IO_fcntl): Remove macro definition.
2576 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
2577 Call __fcntl directly.
2578 * libio/iofflush.c: Assume weak_alias is defined.
2579 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
2581 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
2582 * libio/iofgets.c: Likewise.
2583 * libio/iofopen.c: Assume _LIBC is defined.
2584 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
2585 * libio/iofputs.c: Assume weak_alias is defined.
2586 * libio/iofread.c: Likewise.
2587 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
2588 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2589 * libio/ioftell.c: Assume weak_alias is defined.
2590 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
2591 * libio/iofwide.c: Assume _LIBC is defined.
2592 (_IO_fwide): Drop SHARED conditional because it is implied by
2594 * libio/iofwrite.c: Assume weak_alias is defined.
2595 * libio/iogetdelim.c: Likewise.
2596 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
2597 * libio/iogetwline.c (wmemcpy): Remove macro definition.
2598 (_IO_getwline): Call __wmemcpy directly.
2599 * libio/iopopen.c: Assume _LIBC is defined.
2600 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2601 (_IO_close): Remove macro definitions.
2602 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
2604 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
2606 * libio/ioputs.c: Assume weak_alias is defined.
2607 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
2608 * libio/iosetbuffer.c: Assume weak_alias is defined.
2609 * libio/iosetvbuf.c: Likewise.
2610 * libio/ioungetc.c: Likewise.
2611 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
2612 libc_hidden_def, libc_hidden_weak, NULL are defined.
2613 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
2614 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
2616 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2618 (_IO_old_file_init_internal): Drop SHARED conditional because it
2619 is implied by SHLIB_COMPAT.
2620 (_IO_old_file_fopen): Call __open directly.
2621 (_IO_old_file_sync): Assume ESPIPE is defined.
2622 (_IO_old_file_write): Call __write directly.
2623 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
2624 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
2625 Call __fcntl directly.
2626 * libio/oldiofgetpos.c: Assume weak_alias is defined.
2627 (_IO_old_fgetpos): Assume EIO is defined.
2628 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
2629 (_IO_old_fgetpos64): Assume EIO is defined.
2630 * libio/oldiofsetpos.c: Assume weak_alias is defined.
2631 (_IO_old_fsetpos): Assume EIO is defined.
2632 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
2633 (_IO_old_fsetpos64): Assume EIO is defined.
2634 * libio/oldiopopen.c: Assume _LIBC is defined.
2635 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2636 (_IO_close): Remove macro definitions.
2637 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
2639 (_IO_old_proc_close): Call __close, __waitpid directly.
2640 * libio/put.c: Assume weak_alias is defined.
2641 * libio/stdfiles.c: Assume _LIBC is defined.
2642 * libio/stdio.c: Likewise.
2643 * libio/wfileops.c: Likewise.
2644 (_IO_wfile_sync): Assume ESPIPE is defined.
2645 * libio/wgenops.c: Assume _LIBC is defined.
2646 (save_for_wbackup): Remove internal_function.
2648 2017-08-31 Florian Weimer <fweimer@redhat.com>
2650 * malloc/malloc.c (top_check): Change return type to void. Remove
2652 * malloc/hooks.c (top_check): Likewise.
2653 (malloc_check, realloc_check, memalign_check): Adjust.
2655 2017-08-30 Joseph Myers <joseph@codesourcery.com>
2658 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2659 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
2660 sigcontext and namespace requirements.
2661 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2662 * sysdeps/m68k/sys/ucontext.h: Likewise.
2663 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
2664 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2665 <bits/sigcontext.h>.
2666 (__ctx): Define earlier.
2667 (mcontext_t): Define structure contents rather than using struct
2669 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
2670 __glibc_reserved1 instead of __reserved.
2671 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2672 <bits/sigcontext.h>.
2673 (__ctx): Define earlier.
2674 (mcontext_t): Define structure contents rather than using struct
2676 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
2677 mcontext_t instead of struct sigcontext.
2678 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2679 <bits/sigcontext.h>.
2680 (__ctx): Define earlier.
2681 (mcontext_t): Define structure contents rather than using struct
2683 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2684 <bits/sigcontext.h>.
2685 (__ctx): Define earlier.
2686 (mcontext_t): Define structure contents rather than using struct
2688 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
2689 mcontext_t instead of struct sigcontext.
2690 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
2691 mcontext_t instead of struct sigcontext.
2692 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2693 <bits/sigcontext.h>.
2695 (struct __ia64_fpreg_mcontext): New type.
2696 (mcontext_t): Define structure contents rather than using struct
2698 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
2699 (uc_sigmask): Define using __ctx.
2700 (uc_stack): Likewise.
2701 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
2702 <bits/sigcontext.h>.
2703 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2704 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2705 <bits/sigcontext.h>.
2706 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
2707 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2708 <bits/sigcontext.h>.
2709 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2710 <bits/sigcontext.h>.
2711 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2712 <bits/sigcontext.h>.
2713 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2714 <bits/sigcontext.h>.
2715 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2716 <bits/sigcontext.h>.
2717 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2718 <bits/sigcontext.h>.
2719 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2720 <bits/sigcontext.h>.
2721 (__ctx): Define earlier.
2722 (mcontext_t): Define structure contents rather than using struct
2724 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2725 <bits/sigcontext.h>. Include <bits/types.h>.
2726 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
2727 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
2728 (test-xfail-XPG42/ucontext.h/conform): Likewise.
2729 (test-xfail-UNIX98/signal.h/conform): Likewise.
2730 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2731 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2732 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2733 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2734 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2735 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2736 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2737 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2738 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2740 2017-08-30 Florian Weimer <fweimer@redhat.com>
2742 * malloc/dynarray_emplace_enlarge.c
2743 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
2744 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2745 * malloc/tst-dynarray.c (test_long_overflow): New function.
2748 2017-08-30 Florian Weimer <fweimer@redhat.com>
2750 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
2751 (set_arena_corrupt): Remove definitions.
2752 (mtrim): Do not check for corrupt arena.
2753 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
2756 2017-08-30 Florian Weimer <fweimer@redhat.com>
2759 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
2761 (ptmalloc_init): Do not set or use check_action.
2762 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
2763 call to malloc_printerr. Remove return statement.
2764 (free_check): Likewise. Remove arena unlock.
2765 (top_check): Update comment. Adjust call to malloc_printerr.
2766 Remove heap repair code.
2767 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
2768 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
2769 (sysmalloc): Adjust call to malloc_printerr.
2770 (munmap_chunk, __libc_realloc): Likewise. Remove return
2772 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
2773 Remove errout label and corresponding gotos.
2774 (_int_free): Likewise. Remove arena unlock.
2775 (do_set_mallopt_check): Do not set check_action.
2776 (malloc_printerr): Adjust parameter list. Do not mark arena as
2778 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
2780 * manual/probes.texi (Memory Allocation Probes): Remove
2781 memory_mallopt_check_action.
2783 2017-08-30 Steve Ellcey <sellcey@cavium.com>
2785 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
2786 Use pointer to uint64_t instead of long int for sp.
2788 2017-08-30 Florian Weimer <fweimer@redhat.com>
2791 * malloc/malloc.c (malloc_printerr): Always terminate the process,
2792 without printing a backtrace. Do not leak any information in the
2794 * manual/memory.texi (Heap Consistency Checking): Update.
2795 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
2797 2017-08-30 Florian Weimer <fweimer@redhat.com>
2799 Do not scale NPTL tests with available number of CPUs.
2800 * nptl/tst-cond16.c (count): Set to constant value of 8.
2801 * nptl/tst-cond18.c (count): Likewise.
2803 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2806 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
2807 Define to take a second argument that is a macro that
2808 concatentates a suffix, not the suffix itself.
2809 (__CONCAT_d): New macro.
2810 (__CONCAT_f): Likewise.
2811 (__CONCAT_l): Likewise.
2813 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
2815 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
2818 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2819 Aurelien Jarno <aurelien@aurel32.net>
2820 Maciej W. Rozycki <macro@imgtec.com>
2823 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
2824 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
2825 `mips16-syscall6' and `mips16-syscall7'.
2826 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
2827 (CFLAGS-mips16-syscall7.c): Remove.
2828 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
2829 Remove `__mips16_syscall5', `__mips16_syscall6' and
2830 `__mips16_syscall7'.
2831 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
2832 (__mips16_syscall0): Rename `__mips16_syscall_return' to
2833 `__mips_syscall_return'.
2834 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
2835 (__mips16_syscall1): Likewise.
2836 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
2837 (__mips16_syscall2): Likewise.
2838 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
2839 (__mips16_syscall3): Likewise.
2840 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
2841 (__mips16_syscall4): Likewise.
2842 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
2844 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
2846 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
2848 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
2849 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
2850 `__mips16_syscall5'. Remove prototype.
2851 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
2852 `__mips16_syscall6'. Remove prototype.
2853 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
2854 `__mips16_syscall7'. Remove prototype.
2855 (__nomips16, __mips16_syscall_return): Move to...
2856 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2857 (__nomips16, __mips_syscall_return): ... here.
2858 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
2859 `__mips16_syscall_return' to `__mips_syscall_return'.
2860 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
2861 `internal_syscall##nr'.
2862 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
2863 `internal_syscall##nr'.
2864 (FORCE_FRAME_POINTER): Remove.
2865 (__mips_syscall5): New prototype.
2866 (internal_syscall5): Rewrite to call `__mips_syscall5'.
2867 (__mips_syscall6): New prototype.
2868 (internal_syscall6): Rewrite to call `__mips_syscall6'.
2869 (__mips_syscall7): New prototype.
2870 (internal_syscall7): Rewrite to call `__mips_syscall7'.
2871 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
2872 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
2873 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
2874 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
2875 (sysdep_routines): Add libc-do-syscall.
2876 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
2877 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
2879 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2882 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
2883 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
2884 (advise_stack_range): New function.
2885 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
2886 stack non required to advise_stack_range at allocatestack.c
2888 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2890 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
2892 2017-08-29 Florian Weimer <fweimer@redhat.com>
2895 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
2896 __end_fct. Mangle __end_fct after setting it to NULL.
2897 * iconv/Makefile (tests): Add tst-gconv-init-failure.
2898 (modules-names, modules-names-tests): Add
2899 tst-gconv-init-failure-mod.
2900 (gconv-modules): New target.
2901 (tst-gconv-init-failure-mod.so): Link against libsupport.
2902 (tst-gconv-init-failure): Depend on gconv-modules,
2903 tst-gconv-init-failure-mod.so.
2904 * iconv/tst-gconv-init-failure-mod.c: New file.
2905 * iconv/tst-gconv-init-failure.c: Likewise.
2906 * iconv/test-gconv-modules: Likewise.
2908 2017-08-29 Florian Weimer <fweimer@redhat.com>
2911 * iconv/gconv_db.c (free_derivation): Remove redundant
2913 (gen_steps): Unconditionally mangle __btowc_fct after
2915 (increment_counter): Likewise. Do not call init_fct for internal
2918 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2921 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2922 (_MSUF_): Remove macro.
2923 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
2925 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2926 (__REDIRFROM_X): New macro.
2927 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
2929 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
2930 (__REDIRTO_X): Likewise.
2931 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
2933 (__MATH_REDIRCALL_2): Likewise.
2934 (__MATH_REDIRCALL_INTERNAL): Likewise.
2935 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2936 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
2937 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
2938 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2939 * math/test-finite-macros.c: New file.
2940 * math/Makefile (tests): Add test-finite-macros.
2941 (CFLAGS-test-finite-macros.c): New variable.
2943 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
2944 Jeff Law <law@redhat.com>
2947 Mangle NULL pointers in iconv/gconv.
2948 * iconv/gconv_cache.c (find_module): Demangle init_fct before
2949 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
2950 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
2951 is non-NULL before demangling the end_fct. Check for NULL
2952 end_fct after demangling.
2953 (__gconv_release_step): Demangle the end_fct before checking
2954 it for NULL. Remove assert on __shlibc_handle != NULL.
2955 (gen_steps): Don't check btowc_fct for NULL before mangling.
2956 Demangle init_fct before checking for NULL.
2957 (increment_counter): Likewise.
2958 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
2959 end_fct for NULL before mangling.
2960 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
2963 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
2966 * locale/iso-639.def: add Morisyen.
2968 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2971 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
2972 (iszero): New C++ implementation that does not use
2973 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
2974 signaling nans are enabled, since __builtin_types_compatible_p
2975 is a C-only feature.
2976 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
2977 defined, include ieee754_float128.h for access to the union and
2978 member ieee854_float128.ieee.
2979 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
2980 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
2981 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
2982 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
2983 options of test-math-zero on powerpc64le.
2985 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
2987 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2988 Change double to float.
2990 2017-08-28 Joseph Myers <joseph@codesourcery.com>
2992 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
2994 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
2995 conditional code; define contents only for [LIBM_SVID_COMPAT].
2997 2017-08-28 Florian Weimer <fweimer@redhat.com>
2999 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
3000 (abi-lp64_be-options): Remove.
3001 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
3002 (abi-hard-options): Likewise.
3003 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
3004 (abi-o32_hard-options, abi-o32_soft_2008-options)
3005 (abi-o32_hard_2008-options, abi-n32_soft-options)
3006 (abi-n32_hard-options, abi-n32_soft_2008-options)
3007 (abi-n32_hard_2008-options, abi-n64_soft-options)
3008 (abi-n64_hard-options, abi-n64_soft_2008-options)
3009 (abi-n64_hard_2008-options): Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
3011 (abi-64-v1-options, abi-64-v2-options): Likewise.
3012 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
3013 (abi-64-options): Likewise.
3014 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
3015 (abi-64-options): Likewise.
3016 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
3017 (abi-64-options): Likewise.
3018 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
3019 (abi-64-options, abi-x32-options): Likewise.
3021 2017-08-28 Florian Weimer <fweimer@redhat.com>
3023 Store supported list of SYS_* system calls in the source tree.
3024 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3025 (bits/syscall.h): Generate from list file.
3026 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
3027 [$(subdir) = misc] (tests): Add tst-syscall-list.
3028 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
3029 [$(subdir) = misc] (tst-syscall-list-macros.list)
3030 [$(subdir) = misc] (tst-syscall-list-nr.list)
3031 (tst-syscall-list-sys.list): Helper targets for new
3032 tst-syscall-list test.
3033 [$(subdir) = misc] (tst-syscall-list.out): Run test script
3034 tst-syscall-list.sh.
3035 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
3036 target. Do not include bits/syscall.d.
3037 [$(subdir) = misc] (generated): Do not update.
3038 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
3039 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
3040 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
3041 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
3043 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3045 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
3046 (tst-cxa_atexit, tst-on_exit): Likewise.
3047 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
3048 tst-cxa_atexit, and tst-on_exit.
3049 * stdlib/tst-atexit-common.c: New file.
3050 * stdlib/tst-atexit.c: New file.
3051 * stdlib/tst-at_quick_exit.c: New file.
3052 * stdlib/tst-cxa_atexit.c: New file.
3053 * stdlib/tst-on_exit.c: New file.
3055 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3057 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
3058 * mach/stack_chk_fail_local.c: New file.
3059 * hurd/stack_chk_fail_local.c: New file.
3060 * mach/Machrules ($(interface-library)-routines): Add
3061 stack_chk_fail_local.
3062 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
3063 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
3064 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
3065 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
3066 * hurd/Makefile (CFLAGS-hurdstartup.o,
3067 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
3069 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
3071 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3072 (index_cpu_*, index_arch_*): Removed.
3074 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3076 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
3077 Use uint64_t instead of unsigned long.
3079 2017-08-25 Joseph Myers <joseph@codesourcery.com>
3081 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
3082 [__HAVE_DISTINCT_FLOAT128].
3084 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
3085 of <bits/math-finite.h>.
3086 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
3087 inclusion of <bits/math-finite.h>.
3088 * math/bits/math-finite.h (__REDIRTO_X): Do not define
3089 conditionally on [__MATH_DECLARING_LDOUBLE && defined
3090 __NO_LONG_DOUBLE_MATH].
3091 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
3092 (__MATH_REDIRCALL_2): Likewise.
3093 (__MATH_REDIRCALL_INTERNAL): Likewise.
3094 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
3095 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
3096 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
3098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3110 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3111 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3112 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3113 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3115 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
3116 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
3117 w_sqrtf_compat-ppc32.
3119 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3121 * math/math.h [defined __cplusplus] (issignaling): In the long
3122 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
3123 is not defined. Call __issignaling, otherwise.
3125 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3127 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
3128 syscall definitions and replace __builtin_expect with __glibc_likely.
3129 * sysdeps/unix/syscall-template.S: Update comment about cancellable
3131 (SYSCALL_CANCELLABLE): Removedefinition
3132 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
3134 (PSEUDO_END): Likewise.
3135 [IS_IN (libpthread)] (CENABLE): Likewise.
3136 [IS_IN (libpthread)] (CDISABLE): Likewise.
3137 [IS_IN (libc)] (CENABLE): Likewise.
3138 [IS_IN (libc)] (CENABLE): Likewise.
3139 [IS_IN (librt)] (CDISABLE): Likewise.
3140 [IS_IN (librt)] (CDISABLE): Likewise.
3141 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3142 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
3144 (PSEUDO_END): Likewise.
3145 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
3146 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
3147 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
3148 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
3149 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
3150 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
3151 (CENABLE): Likewise.
3152 (CDISABLE): Likewise.
3153 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3154 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
3156 (PSEUDO_END): Likewise.
3157 [IS_IN (libpthread)] (CENABLE): Likewise.
3158 [IS_IN (libpthread)] (CDISABLE): Likewise.
3159 [IS_IN (libc)] (CENABLE): Likewise.
3160 [IS_IN (libc)] (CENABLE): Likewise.
3161 [IS_IN (librt)] (CDISABLE): Likewise.
3162 [IS_IN (librt)] (CDISABLE): Likewise.
3163 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3164 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
3166 (PSEUDO_END): Likewise.
3167 [IS_IN (libpthread)] (CENABLE): Likewise.
3168 [IS_IN (libpthread)] (CDISABLE): Likewise.
3169 [IS_IN (libc)] (CENABLE): Likewise.
3170 [IS_IN (libc)] (CENABLE): Likewise.
3171 [IS_IN (librt)] (CDISABLE): Likewise.
3172 [IS_IN (librt)] (CDISABLE): Likewise.
3173 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3174 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
3176 (PSEUDO_END): Likewise.
3177 [IS_IN (libpthread)] (CENABLE): Likewise.
3178 [IS_IN (libpthread)] (CDISABLE): Likewise.
3179 [IS_IN (libc)] (CENABLE): Likewise.
3180 [IS_IN (libc)] (CENABLE): Likewise.
3181 [IS_IN (librt)] (CDISABLE): Likewise.
3182 [IS_IN (librt)] (CDISABLE): Likewise.
3183 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3184 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
3186 (PSEUDO_END): Likewise.
3187 [IS_IN (libpthread)] (CENABLE): Likewise.
3188 [IS_IN (libpthread)] (CDISABLE): Likewise.
3189 [IS_IN (libc)] (CENABLE): Likewise.
3190 [IS_IN (libc)] (CENABLE): Likewise.
3191 [IS_IN (librt)] (CDISABLE): Likewise.
3192 [IS_IN (librt)] (CDISABLE): Likewise.
3193 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3194 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
3196 (PSEUDO_END): Likewise.
3197 [IS_IN (libpthread)] (CENABLE): Likewise.
3198 [IS_IN (libpthread)] (CDISABLE): Likewise.
3199 [IS_IN (libc)] (CENABLE): Likewise.
3200 [IS_IN (libc)] (CENABLE): Likewise.
3201 [IS_IN (librt)] (CDISABLE): Likewise.
3202 [IS_IN (librt)] (CDISABLE): Likewise.
3203 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3204 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
3206 (PSEUDO_END): Likewise.
3207 [IS_IN (libpthread)] (CENABLE): Likewise.
3208 [IS_IN (libpthread)] (CDISABLE): Likewise.
3209 [IS_IN (libc)] (CENABLE): Likewise.
3210 [IS_IN (libc)] (CENABLE): Likewise.
3211 [IS_IN (librt)] (CDISABLE): Likewise.
3212 [IS_IN (librt)] (CDISABLE): Likewise.
3213 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3214 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
3216 (PSEUDO_END): Likewise.
3217 [IS_IN (libpthread)] (CENABLE): Likewise.
3218 [IS_IN (libpthread)] (CDISABLE): Likewise.
3219 [IS_IN (libc)] (CENABLE): Likewise.
3220 [IS_IN (libc)] (CENABLE): Likewise.
3221 [IS_IN (librt)] (CDISABLE): Likewise.
3222 [IS_IN (librt)] (CDISABLE): Likewise.
3223 (SINGLE_THREAD_P): Likewise.
3224 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
3226 (PSEUDO_END): Likewise.
3227 [IS_IN (libpthread)] (CENABLE): Likewise.
3228 [IS_IN (libpthread)] (CDISABLE): Likewise.
3229 [IS_IN (libc)] (CENABLE): Likewise.
3230 [IS_IN (libc)] (CENABLE): Likewise.
3231 [IS_IN (librt)] (CDISABLE): Likewise.
3232 [IS_IN (librt)] (CDISABLE): Likewise.
3233 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3234 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
3236 (PSEUDO_END): Likewise.
3237 [IS_IN (libpthread)] (CENABLE): Likewise.
3238 [IS_IN (libpthread)] (CDISABLE): Likewise.
3239 [IS_IN (libc)] (CENABLE): Likewise.
3240 [IS_IN (libc)] (CENABLE): Likewise.
3241 [IS_IN (librt)] (CDISABLE): Likewise.
3242 [IS_IN (librt)] (CDISABLE): Likewise.
3243 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3244 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
3245 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3246 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
3247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
3249 (PSEUDO_END): Likewise.
3250 [IS_IN (libpthread)] (CENABLE): Likewise.
3251 [IS_IN (libpthread)] (CDISABLE): Likewise.
3252 [IS_IN (libc)] (CENABLE): Likewise.
3253 [IS_IN (libc)] (CENABLE): Likewise.
3254 [IS_IN (librt)] (CDISABLE): Likewise.
3255 [IS_IN (librt)] (CDISABLE): Likewise.
3256 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3257 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
3259 (PSEUDO_END): Likewise.
3260 [IS_IN (libpthread)] (CENABLE): Likewise.
3261 [IS_IN (libpthread)] (CDISABLE): Likewise.
3262 [IS_IN (libc)] (CENABLE): Likewise.
3263 [IS_IN (libc)] (CENABLE): Likewise.
3264 [IS_IN (librt)] (CDISABLE): Likewise.
3265 [IS_IN (librt)] (CDISABLE): Likewise.
3266 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3267 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
3269 (PSEUDO_END): Likewise.
3270 [IS_IN (libpthread)] (CENABLE): Likewise.
3271 [IS_IN (libpthread)] (CDISABLE): Likewise.
3272 [IS_IN (libc)] (CENABLE): Likewise.
3273 [IS_IN (libc)] (CENABLE): Likewise.
3274 [IS_IN (librt)] (CDISABLE): Likewise.
3275 [IS_IN (librt)] (CDISABLE): Likewise.
3276 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
3278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3279 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
3280 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
3282 (PSEUDO_END): Likewise.
3283 [IS_IN (libpthread)] (CENABLE): Likewise.
3284 [IS_IN (libpthread)] (CDISABLE): Likewise.
3285 [IS_IN (libc)] (CENABLE): Likewise.
3286 [IS_IN (libc)] (CENABLE): Likewise.
3287 [IS_IN (librt)] (CDISABLE): Likewise.
3288 [IS_IN (librt)] (CDISABLE): Likewise.
3289 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3290 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
3292 (PSEUDO_END): Likewise.
3293 [IS_IN (libpthread)] (CENABLE): Likewise.
3294 [IS_IN (libpthread)] (CDISABLE): Likewise.
3295 [IS_IN (libc)] (CENABLE): Likewise.
3296 [IS_IN (libc)] (CENABLE): Likewise.
3297 [IS_IN (librt)] (CDISABLE): Likewise.
3298 [IS_IN (librt)] (CDISABLE): Likewise.
3299 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3301 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3303 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
3305 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3307 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3309 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3312 * string/stratcliff.c (do_test): Declare size, nchars, inner,
3313 middle and outer with size_t instead of int. Repleace %d and
3314 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
3315 "MAX (outer, nchars - 64)" to support unsigned outer and
3316 nchars. Also exit loop when outer == 0.
3318 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3320 * include/fcntl.h (__fcntl_nocancel): Remove definition.
3321 * include/signal.h (__sigsuspend_nocancel): Likewise.
3322 * include/time.h (__nanosleep_nocancel): Likewise.
3323 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
3324 * login/utmp_file.c: Include non cancellable syscall header.
3325 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
3328 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3330 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
3331 .byte sequences with AVX512F instructions.
3332 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
3333 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3334 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3335 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
3337 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3340 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
3341 Steve Ellcey <sellcey@cavium.com>
3343 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
3344 Use PTR_REG macro in cmp instruction.
3346 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3348 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
3349 Change the return type of the ifunc resolver to match the return
3350 type of the target function.
3352 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
3355 (preadv64): Likewise.
3356 (pwrite64(: Likewise.
3357 (pwritev64): Likewise.
3359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3360 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
3361 (LOAD_ARGS_0): Likewise.
3362 (LOAD_ARGS_1): Likewise.
3363 (LOAD_ARGS_2): Likewise.
3364 (LOAD_ARGS_3): Likewise.
3365 (LOAD_ARGS_4): Likewise.
3366 (LOAD_ARGS_5): Likewise.
3367 (LOAD_ARGS_6): Likewise.
3368 (LOAD_REGS_0): Likewise.
3369 (LOAD_REGS_1): Likewise.
3370 (LOAD_REGS_2): Likewise.
3371 (LOAD_REGS_3): Likewise.
3372 (LOAD_REGS_4): Likewise.
3373 (LOAD_REGS_5): Likewise.
3374 (LOAD_REGS_6): Likewise.
3375 (ASM_ARGS_0): Likewise.
3376 (ASM_ARGS_1): Likewise.
3377 (ASM_ARGS_2): Likewise.
3378 (ASM_ARGS_3): Likewise.
3379 (ASM_ARGS_4): Likewise.
3380 (ASM_ARGS_5): Likewise.
3381 (ASM_ARGS_6): Likewise.
3382 (LOAD_ARGS_TYPES_1): Likewise.
3383 (LOAD_ARGS_TYPES_2): Likewise.
3384 (LOAD_ARGS_TYPES_3): Likewise.
3385 (LOAD_ARGS_TYPES_4): Likewise.
3386 (LOAD_ARGS_TYPES_5): Likewise.
3387 (LOAD_ARGS_TYPES_6): Likewise.
3388 (LOAD_REGS_TYPES_1): Likewise.
3389 (LOAD_REGS_TYPES_2): Likewise.
3390 (LOAD_REGS_TYPES_3): Likewise.
3391 (LOAD_REGS_TYPES_4): Likewise.
3392 (LOAD_REGS_TYPES_5): Likewise.
3393 (LOAD_REGS_TYPES_6): Likewise.
3394 (TYPEFY): New define.
3396 (internal_syscall0): Likewise.
3397 (internal_syscall1): Likewise.
3398 (internal_syscall2): Likewise.
3399 (internal_syscall3): Likewise.
3400 (internal_syscall4): Likewise.
3401 (internal_syscall5): Likewise.
3402 (internal_syscall6): Likewise.
3403 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
3404 (INTERNAL_SYSCALL_NCS): Remove define.
3405 (internal_syscall1): Add define.
3407 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3409 * math/w_remainder_compat.c: Remove duplicate inclusion of
3411 * math/w_remainderf_compat.c: Likewise.
3412 * math/w_remainderl_compat.c: Likewise.
3414 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3418 2017-08-22 Joseph Myers <joseph@codesourcery.com>
3421 * math/tgmath.h (__floating_type): Simplify definitions.
3422 (__real_integer_type): New macro.
3423 (__complex_integer_type): Likewise.
3424 (__expr_is_real): Likewise.
3425 (__tgmath_real_type_sub): Update comment to describe handling of
3427 (__tgmath_complex_type_sub): New macro.
3428 (__tgmath_complex_type): Likewise.
3429 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3430 (__TGMATH_CF128): Use __expr_is_real.
3431 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
3433 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3434 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
3435 * math/gen-tgmath-tests.py (Type.create_type): Create complex
3438 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3440 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
3442 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
3444 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
3447 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
3448 nanosleep_not_cancel with __nanosleep_nocancel.
3449 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
3450 (__nanosleep_nocancel): New macro.
3451 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
3453 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
3455 (__nanosleep_nocancel): New prototype.
3457 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
3458 pause_not_cancel with __pause_nocancel.
3459 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
3460 (__pause_nocancel): New macro.
3461 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
3463 (__pause_nocancel): New prototype.
3464 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
3466 2017-08-22 Martin Sebor <msebor@redhat.com>
3468 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
3469 to return a pointer to the same type as the target function.
3471 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
3475 * include/printf.h (__printf_fphex): Add attribute_hidden.
3476 (__guess_grouping): New prototype.
3477 * stdio-common/printf_fp.c (__guess_grouping): Removed.
3478 * stdio-common/reg-printf.c (__register_printf_specifier): Add
3479 libc_hidden_proto and libc_hidden_def.
3480 * stdlib/strfmon_l.c (__guess_grouping): Removed.
3481 (__vstrfmon_l): Remove the third argument passed to
3484 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3486 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
3487 definition for issignaling that does not rely on __MATH_TG,
3488 since __MATH_TG uses __builtin_types_compatible_p, which is only
3489 available in C mode.
3490 (CFLAGS-test-math-issignaling.cc): New variable.
3491 * math/Makefile [CXX] (tests): Add test-math-issignaling.
3492 * math/test-math-issignaling.cc: New test for C++ implementation
3493 of type-generic issignaling.
3494 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
3495 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
3496 options of test-math-issignaling on powerpc64le.
3498 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
3500 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3502 (hidden_proto): Likewise.
3503 (hidden_tls_proto): Likewise.
3504 (__hidden_proto): Likewise.
3506 2017-08-22 Florian Weimer <fweimer@redhat.com>
3508 math: Statically link tests of internal functionality.
3509 * math/Makefile (tests): Remove atest-exp, atest-sincos,
3511 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
3512 (gmp-objs): Remove assignment.
3513 (atest-exp, atest-sincos, atest-exp2): Remove targets.
3515 2017-08-22 Joseph Myers <joseph@codesourcery.com>
3518 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
3520 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
3522 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
3525 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
3526 variable definitions above inclusion of ../Rules.
3528 2017-08-21 Joseph Myers <joseph@codesourcery.com>
3530 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
3531 case calling __builtin_unreachable.
3533 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3535 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
3537 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
3538 (__waitpid_nocancel): New macro.
3539 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
3541 (__waitpid_nocancel): Replace macro with a function.
3542 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
3545 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
3547 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
3548 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
3550 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
3551 __writev_nocancel_nostatus.
3552 (write_call_graph): Likewise.
3553 (write_bb_counts): Likewise.
3554 * resolv/herror.c (herror): Likewise.
3555 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
3557 (__writev_nocancel_nostatus): New macro.
3558 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
3560 (__writev_nocancel_nostatus): New function.
3562 2017-08-21 Joseph Myers <joseph@codesourcery.com>
3565 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3567 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3569 (hidden_proto): Likewise.
3570 (hidden_tls_proto): Likewise.
3571 (__hidden_proto): Likewise.
3574 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
3575 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
3585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3586 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3587 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3589 GLIBC_2.0 sqrtl symbol.
3591 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
3592 [__USE_MISC] (_LIB_VERSION): Likewise.
3593 [__USE_MISC] (struct exception): Likewise.
3594 [__USE_MISC] (matherr): Likewise.
3595 [__USE_MISC] (DOMAIN): Likewise.
3596 [__USE_MISC] (SING): Likewise.
3597 [__USE_MISC] (OVERFLOW): Likewise.
3598 [__USE_MISC] (UNDERFLOW): Likewise.
3599 [__USE_MISC] (TLOSS): Likewise.
3600 [__USE_MISC] (PLOSS): Likewise.
3601 [__USE_MISC] (HUGE): Likewise.
3602 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
3603 * math/math-svid-compat.h: New file.
3604 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
3606 * include/math.h [!_ISOMAC] (__matherr): Remove.
3607 * manual/arith.texi (FP Exceptions): Do not document matherr.
3608 * math/Makefile (tests): Change test-matherr to test-matherr-3.
3609 (tests-internal): New variable.
3610 (install-lib): Do not add libieee.a.
3611 (non-lib.a): Likewise.
3612 (extra-objs): Do not add libieee.a and ieee-math.o.
3613 (CPPFLAGS-s_lib_version.c): Remove variable.
3614 ($(objpfx)libieee.a): Remove rule.
3615 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
3616 * math/ieee-math.c: Remove.
3617 * math/libm-test-support.c (matherr): Remove.
3618 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
3619 and license notices. Include <math-svid-compat.h> and
3621 (matherr): Undefine as macro. Use compat_symbol_reference.
3622 (_LIB_VERSION): Likewise.
3623 * math/test-matherr-2.c: New file.
3624 * math/test-matherr-3.c: Likewise.
3625 * sysdeps/generic/math_private.h (__kernel_standard): Remove
3627 (__kernel_standard_f): Likewise.
3628 (__kernel_standard_l): Likewise.
3629 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
3630 <math_private.h>. Include <math-svid-compat.h>.
3631 (_LIB_VERSION): Undefine as macro.
3632 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
3633 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
3634 [LIBM_SVID_COMPAT], use compat_symbol.
3635 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
3636 <math_private.h>. Include <math-svid-compat.h>.
3637 (matherr): Undefine as macro.
3638 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
3640 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
3641 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
3642 compat_symbol_reference.
3643 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
3644 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
3645 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
3646 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
3647 (MATHERR_D): Remove declaration.
3648 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
3649 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
3650 [LIBM_BUILD] (pmatherrf): Likewise.
3651 [LIBM_BUILD] (pmatherr): Likewise.
3652 [LIBM_BUILD] (pmatherrl): Likewise.
3655 (OVERFLOW): Likewise.
3656 (UNDERFLOW): Likewise.
3659 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
3660 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
3662 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
3663 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
3665 * math/lgamma-compat.h: Include <math-svid-compat.h>.
3666 * math/w_acos_compat.c: Likewise.
3667 * math/w_acosf_compat.c: Likewise.
3668 * math/w_acosh_compat.c: Likewise.
3669 * math/w_acoshf_compat.c: Likewise.
3670 * math/w_acoshl_compat.c: Likewise.
3671 * math/w_acosl_compat.c: Likewise.
3672 * math/w_asin_compat.c: Likewise.
3673 * math/w_asinf_compat.c: Likewise.
3674 * math/w_asinl_compat.c: Likewise.
3675 * math/w_atan2_compat.c: Likewise.
3676 * math/w_atan2f_compat.c: Likewise.
3677 * math/w_atan2l_compat.c: Likewise.
3678 * math/w_atanh_compat.c: Likewise.
3679 * math/w_atanhf_compat.c: Likewise.
3680 * math/w_atanhl_compat.c: Likewise.
3681 * math/w_cosh_compat.c: Likewise.
3682 * math/w_coshf_compat.c: Likewise.
3683 * math/w_coshl_compat.c: Likewise.
3684 * math/w_exp10_compat.c: Likewise.
3685 * math/w_exp10f_compat.c: Likewise.
3686 * math/w_exp10l_compat.c: Likewise.
3687 * math/w_exp2_compat.c: Likewise.
3688 * math/w_exp2f_compat.c: Likewise.
3689 * math/w_exp2l_compat.c: Likewise.
3690 * math/w_fmod_compat.c: Likewise.
3691 * math/w_fmodf_compat.c: Likewise.
3692 * math/w_fmodl_compat.c: Likewise.
3693 * math/w_hypot_compat.c: Likewise.
3694 * math/w_hypotf_compat.c: Likewise.
3695 * math/w_hypotl_compat.c: Likewise.
3696 * math/w_j0_compat.c: Likewise.
3697 * math/w_j0f_compat.c: Likewise.
3698 * math/w_j0l_compat.c: Likewise.
3699 * math/w_j1_compat.c: Likewise.
3700 * math/w_j1f_compat.c: Likewise.
3701 * math/w_j1l_compat.c: Likewise.
3702 * math/w_jn_compat.c: Likewise.
3703 * math/w_jnf_compat.c: Likewise.
3704 * math/w_jnl_compat.c: Likewise.
3705 * math/w_lgamma_main.c: Likewise.
3706 * math/w_lgamma_r_compat.c: Likewise.
3707 * math/w_lgammaf_main.c: Likewise.
3708 * math/w_lgammaf_r_compat.c: Likewise.
3709 * math/w_lgammal_main.c: Likewise.
3710 * math/w_lgammal_r_compat.c: Likewise.
3711 * math/w_log10_compat.c: Likewise.
3712 * math/w_log10f_compat.c: Likewise.
3713 * math/w_log10l_compat.c: Likewise.
3714 * math/w_log2_compat.c: Likewise.
3715 * math/w_log2f_compat.c: Likewise.
3716 * math/w_log2l_compat.c: Likewise.
3717 * math/w_log_compat.c: Likewise.
3718 * math/w_logf_compat.c: Likewise.
3719 * math/w_logl_compat.c: Likewise.
3720 * math/w_pow_compat.c: Likewise.
3721 * math/w_powf_compat.c: Likewise.
3722 * math/w_powl_compat.c: Likewise.
3723 * math/w_remainder_compat.c: Likewise.
3724 * math/w_remainderf_compat.c: Likewise.
3725 * math/w_remainderl_compat.c: Likewise.
3726 * math/w_scalb_compat.c: Likewise.
3727 * math/w_scalbf_compat.c: Likewise.
3728 * math/w_scalbl_compat.c: Likewise.
3729 * math/w_sinh_compat.c: Likewise.
3730 * math/w_sinhf_compat.c: Likewise.
3731 * math/w_sinhl_compat.c: Likewise.
3732 * math/w_sqrt_compat.c: Likewise.
3733 * math/w_sqrtf_compat.c: Likewise.
3734 * math/w_sqrtl_compat.c: Likewise.
3735 * math/w_tgamma_compat.c: Likewise.
3736 * math/w_tgammaf_compat.c: Likewise.
3737 * math/w_tgammal_compat.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3739 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3740 * sysdeps/ieee754/k_standard.c: Likewise.
3741 * sysdeps/ieee754/k_standardf.c: Likewise.
3742 * sysdeps/ieee754/k_standardl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3745 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3746 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3747 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3748 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3749 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3750 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3751 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3756 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3757 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3758 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3759 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3761 2017-08-21 Florian Weimer <fweimer@redhat.com>
3764 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
3765 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
3766 Move before inclusion of ../Rules.
3768 2017-08-21 Florian Weimer <fweimer@redhat.com>
3771 * assert/assert.h (assert): Use static_cast (bool) for C++.
3772 Use the ternary operator in the warning branch for GNU C.
3773 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
3774 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
3775 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
3776 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
3777 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
3779 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3782 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3783 (__syscall_clock_gettime): Add attribute_hidden.
3784 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
3785 (__start_context): Likewise.
3787 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3789 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3791 (hidden_proto): Likewise.
3792 (hidden_tls_proto): Likewise.
3793 (__hidden_proto): Likewise.
3795 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3797 * include/libc-symbols.h (attribute_hidden): Enable hidden
3798 visibility in libc.a compiled with PIE.
3800 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3803 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
3804 Add attribute_hidden.
3806 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3809 * Makerules (all-nonlib): Add $(others-extras).
3810 * catgets/Makefile (others-extras): New.
3811 * elf/Makefile (others-extras): Likewise.
3812 * nss/Makefile (others-extras): Likewise.
3814 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3817 * csu/libc-start.c (__libc_multiple_libcs): Removed.
3818 * elf/dl-open.c: Include <libc-internal.h>.
3819 (__libc_multiple_libcs): Removed.
3820 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
3822 * include/libc-internal.h (__libc_multiple_libcs): New.
3823 * misc/sbrk.c: Include <libc-internal.h>.
3824 (__libc_multiple_libcs): Removed.
3826 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3829 * grp/initgroups.c (__nss_group_database): Removed.
3830 (__nss_initgroups_database): Likewise.
3831 * nscd/gai.c (__nss_hosts_database): Likewise.
3832 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
3833 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
3834 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
3835 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
3836 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
3837 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
3839 * nss/nsswitch.c (__nss_database_custom): Define only if
3840 USE_NSCD is defined.
3841 (__nss_configure_lookup): Use __nss_database_custom only if
3842 USE_NSCD is defined.
3843 * nss/nsswitch.h (__nss_database_custom): Declare only if
3844 USE_NSCD is defined. Add attribute_hidden.
3845 (__nss_setent): Add attribute_hidden.
3846 (__nss_endent): Likewise.
3847 (__nss_getent_r): Likewise.
3848 (__nss_getent): Likewise.
3849 (DEFINE_DATABASE): Declare __nss_##arg##_database.
3851 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3854 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
3855 libc_hidden_proto and libc_hidden_def.
3857 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3860 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
3861 Add libc_hidden_proto.
3862 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
3863 Add libc_hidden_def.
3865 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3868 * gmon/Makefile (routines): Remove bb_init_func and
3870 (elide-routines.os): Removed.
3871 * gmon/bb_exit_func.c: Likewise.
3872 * gmon/bb_init_func.c: Likewise.
3873 * include/sys/gmon.h (__bb): Likewise.
3874 (__bb_init_func): Likewise.
3875 (__bb_exit_func): Likewise.
3876 * sysdeps/alpha/bb_init_func.S: Likewise.
3878 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3880 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
3881 * include/setjmp.h (____longjmp_chk): Here. Add
3884 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
3887 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
3889 (__strspn_sse2): Likewise.
3891 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3893 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
3894 (close_not_cancel_no_status): Likewise.
3895 (__close_nocancel): New macro.
3896 (__close_nocancel_nostatus): Likewise.
3897 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
3899 (close_not_cancel): Likewise.
3900 (close_not_cancel_no_status): Likewise.
3901 (__close_nocancel): New prototype.
3902 (__close_nocancel_nostatus): New function.
3903 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
3904 * catgets/open_catalog.c (__open_catalog): Replace
3905 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
3906 * gmon/gmon.c (write_gmon): Likewise.
3907 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3908 * intl/loadmsgcat.c (close): Likewise.
3909 * io/ftw.c (open_dir_stream): Likewise.
3910 (ftw_startup): Likewise.
3911 * libio/fileops.c (_IO_file_open): Likewise.
3912 (_IO_file_close_mmap): Likewise.
3913 (_IO_file_close): Likewise.
3914 * libio/iopopen.c (_IO_dup2): Likewise.
3915 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3916 * locale/loadlocale.c (_nl_load_locale): Likewise.
3917 * login/utmp_file.c (pututline_file): Likewise.
3918 (endutent_file): Likewise.
3919 * misc/daemon.c (daemon): Likewise.
3920 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3921 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3922 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3923 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3924 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3925 * nscd/nscd_helper.c (open_socket): Likewise.
3926 (__nscd_open_socket): Likewise.
3927 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3928 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
3929 (__nscd_innetgr): Likewise.
3930 * nss/nss_db/db-open.c (internal_setent): Likewise.
3931 * resolv/res-close.c (__res_iclose): Likewise.
3932 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3933 * sysdeps/posix/closedir.c (__closedir): Likewise.
3934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3935 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3936 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3937 (opendir_tail): Likewise.
3938 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3939 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
3940 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3941 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3942 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3943 (gethostid): Likewise.
3944 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3945 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3948 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
3949 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3950 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3952 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
3953 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
3954 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3956 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
3957 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3959 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3961 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3962 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
3963 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
3966 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
3967 (openat_not_cancel_3): Likewise.
3968 (openat64_not_cancel_3): Likewise).
3969 (openat_not_cancel_3): Likewise).
3970 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
3972 (openat_not_cancel_3): Likewise.
3973 (openat64_not_cancel): Likewise.
3974 (openat64_not_cancel_3): Likewise.
3975 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
3976 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
3977 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
3978 __open{64}_nocancel.
3979 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
3980 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3981 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3983 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
3986 * include/argz.h (__argz_create_sep): New function prototype.
3987 (__argz_append): Likewise.
3988 (__argz_add): Likewise.
3989 (__argz_add_sep): Likewise.
3990 (__argz_delete): Likewise.
3991 (__argz_insert): Likewise.
3992 (__argz_replace): Likewise.
3993 * string/argz.h (__argz_create_sep): Removed.
3994 (__argz_append): Likewise.
3995 (__argz_add): Likewise.
3996 (__argz_add_sep): Likewise.
3997 (__argz_delete): Likewise.
3998 (__argz_insert): Likewise.
3999 (__argz_replace): Likewise.
4001 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
4003 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
4004 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
4005 (GNU_PROPERTY_STACK_SIZE): Likewie.
4006 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
4007 (GNU_PROPERTY_LOPROC): Likewise.
4008 (GNU_PROPERTY_HIPROC): Likewise.
4009 (GNU_PROPERTY_LOUSER): Likewise.
4010 (GNU_PROPERTY_HIUSER): Likewise.
4011 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
4012 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
4013 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
4014 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
4015 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
4016 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
4017 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
4018 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
4019 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
4020 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
4021 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
4022 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
4023 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
4024 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
4025 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
4026 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
4027 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
4028 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
4029 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
4030 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
4031 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
4032 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
4033 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
4035 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4037 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
4040 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4043 * math/math.h (isinf): Check if in C or C++ mode before using
4044 __builtin_types_compatible_p, since this is a C mode feature.
4046 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4048 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
4049 (__write_nocancel): New macro.
4050 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
4051 Rewrite as a function prototype.
4052 (write_not_cancel): Remove macro.
4053 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
4054 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
4055 (write_gmon): Likewise.
4056 * libio/fileops.c (_IO_new_file_write): Likewise.
4057 * login/utmp_file.c (pututline_file): Likewise.
4058 (updwtmp_file): Likewise.
4059 * stdio-common/psiginfo.c (psiginfo): Likewise.
4060 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4061 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
4062 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4064 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4067 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
4068 (__read_nocancel): New macro.
4069 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4071 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
4073 (__read_nocancel): New prototype.
4074 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
4075 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
4076 with __read_nocancel.
4077 * intl/loadmsgcat.c (read): Likewise.
4078 * libio/fileops.c (_IO_file_read): Likewise.
4079 * locale/loadlocale.c (_nl_load_locale): Likewise.
4080 * login/utmp_file.c (getutent_r_file): Likewise.
4081 (internal_getut_r): Likewise.
4082 (getutline_r_file): Likewise.
4083 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
4084 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4085 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
4086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4088 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
4089 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
4090 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
4092 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4094 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
4096 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
4100 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
4103 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
4104 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
4107 2017-08-17 DJ Delorie <dj@redhat.com>
4109 * bug17079.c: Update to new test harness.
4110 * test-digits-dots.c: Likewise.
4111 * test-netdb.c: Likewise.
4112 * tst-field.c: Likewise.
4113 * tst-nss-getpwent.c: Likewise.
4114 * tst-nss-static.c: Likewise.
4115 * tst-nss-test1.c: Likewise.
4116 * tst-nss-test2.c: Likewise.
4117 * tst-nss-test3.c: Likewise.
4118 * tst-nss-test4.c: Likewise.
4119 * tst-nss-test5.c: Likewise.
4121 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4123 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
4124 (open_not_cancel_2): Likewise.
4125 (open_nocancel): New macro.
4126 (open64_nocancel): Likewise.
4127 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
4128 (open_not_cancel_2): Likewise.
4129 (__open_nocancel): New prototype.
4130 (__open64_nocancel): Likewise.
4131 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4133 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
4134 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
4135 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
4136 with __open_nocancel.
4137 * csu/check_fds.c (check_one_fd): Likewise.
4138 * gmon/gmon.c (write_gmon): Likewise.
4139 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
4140 * intl/loadmsgcat.c (open): Likewise.
4141 * libio/fileops.c (_IO_file_open): Likewise.
4142 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4143 * locale/loadlocale.c (_nl_load_locale): Likewise.
4144 * login/utmp_file.c (setutent_file): Likewise.
4145 * misc/daemon.c (daemon): Likewise.
4146 * nss/nss_db/db-open.c (internal_setent): Likewise.
4147 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4148 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
4149 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
4150 (__opendir): Likewise.
4151 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4152 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
4153 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
4154 (gethostid): Likewise.
4155 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
4156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4159 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
4160 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
4161 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
4163 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4165 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
4167 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4169 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4171 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4173 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
4176 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
4178 * benchtests/bench-skeleton.c (main): Add support for
4179 latency benchmarking.
4180 * benchtests/scripts/bench.py: Add support for latency benchmarking.
4182 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
4184 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
4187 2017-08-17 Florian Weimer <fweimer@redhat.com>
4189 * include/sys/socket.h (__opensock): Remove internal_function.
4190 * socket/opensock.c (__opensock): Likewise.
4191 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
4193 2017-08-16 Joseph Myers <joseph@codesourcery.com>
4196 * signal/bits/types/__sigval_t.h: New file.
4197 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
4198 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
4199 and define sigval_t using __sigval_t.
4200 * include/bits/types/__sigval_t.h: New file.
4201 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
4202 instead of <bits/types/__sigval_t.h>.
4203 (struct sigevent): Use __sigval_t instead of sigval_t.
4204 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
4205 instead of <bits/types/__sigval_t.h>.
4206 (siginfo_t): Use __sigval_t instead of sigval_t.
4207 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
4208 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
4209 (struct sigevent): Use __sigval_t instead of sigval_t.
4210 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
4211 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
4212 (siginfo_t): Use __sigval_t instead of sigval_t.
4213 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
4215 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4217 * NEWS: Remove "[Add new features here]" for 2.27.
4219 2017-08-16 Joseph Myers <joseph@codesourcery.com>
4221 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
4224 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4226 * NEWS: Mention x86-64 FMA optimization.
4228 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4233 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
4234 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
4235 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
4237 2017-08-16 Andreas Schwab <schwab@suse.de>
4241 * elf/ldd.bash.in: Never run file directly.
4243 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
4246 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
4247 (L(SP_INF_0)): Likewise.
4249 2017-08-15 Florian Weimer <fweimer@redhat.com>
4251 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
4254 2017-08-15 Florian Weimer <fweimer@redhat.com>
4256 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
4257 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
4258 BROKEN_THREAD_SIGNALS code.
4259 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
4260 request_list): Remove caller_pid member used for
4261 BROKEN_THREAD_SIGNALS.
4262 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
4263 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4264 Remove BROKEN_THREAD_SIGNALS support.
4265 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4266 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
4268 2017-08-15 Florian Weimer <fweimer@redhat.com>
4270 * gmon/Makefile (tests): Add tst-gmon.
4271 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
4273 (tests-special): Add tst-gmon-prof.out.
4274 (tst-gmon.out): Depend on clean-tst-gmon-data.
4275 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
4276 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
4277 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
4279 * aclocal.m4 (GPROF): Set and substitute.
4280 * config.amke.in (GPROF): Set.
4281 * configure: Regenerate.
4283 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
4285 * elf/elf.h A (NT_PPC_TAR): New macro.
4286 (NT_PPC_PPR): Likewise.
4287 (NT_PPC_DSCR): Likewise.
4288 (NT_PPC_EBB): Likewise.
4289 (NT_PPC_PMU): Likewise.
4290 (NT_PPC_TM_CGPR): Likewise.
4291 (NT_PPC_TM_CFPR): Likewise.
4292 (NT_PPC_TM_CVMX): Likewise.
4293 (NT_PPC_TM_CVSX): Likewise.
4294 (NT_PPC_TM_SPR): Likewise.
4295 (NT_PPC_TM_CTAR): Likewise.
4296 (NT_PPC_TM_CPPR): Likewise.
4297 (NT_PPC_TM_CDSCR): Likewise.
4299 2017-08-15 Florian Weimer <fweimer@redhat.com>
4301 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
4302 regparm (2) instead of internal_function.
4303 (_MCOUNT_DECL): Adjust.
4305 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4307 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
4308 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4310 2017-08-14 Joseph Myers <joseph@codesourcery.com>
4312 * conform/data/sys/wait.h-data (si_value): Do not expect for
4315 2017-08-14 Florian Weimer <fweimer@redhat.com>
4318 NSS: Create stubs for accidentally exported lookup functions.
4319 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
4321 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
4322 (ether_hostton): Call __nss_ethers_lookup2 instead.
4323 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
4324 (ether_ntohost): Call __nss_ethers_lookup2 instead.
4325 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
4326 (setup): Call __nss_netgroup_lookup2 instead.
4327 * nss/Makefile (routines): Add compat-lookup.
4328 * nss/Versions (GLIBC_2.27): Add symbol version.
4329 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
4330 (DB_COMPAT_FCT): Remove.
4331 * nss/compat-lookup.c: New file.
4332 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
4334 * nss/service-lookup.c (NO_COMPAT): Remove definition.
4335 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
4336 (netname2user): Call __nss_publickey_lookup2 instead.
4337 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
4338 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
4341 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4342 Sergei Trofimovich <slyfox@inbox.ru>
4345 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
4346 Rename to MMAP2_PAGE_UNIT.
4347 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
4348 __OFF_T_MATCHES_OFF64_T is not defined.
4349 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
4351 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
4352 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
4354 2017-08-14 Florian Weimer <fweimer@redhat.com>
4356 i386: Do not set internal_function.
4357 * config.h.in (USE_REGPARMS, internal_function): Remove.
4358 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
4359 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
4361 2017-08-14 Florian Weimer <fweimer@redhat.com>
4363 * elf/dl-init.c (_dl_init): Remove internal_function.
4364 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
4365 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
4367 2017-08-14 Florian Weimer <fweimer@redhat.com>
4369 * elf/rtld.c (_dl_start): Remove internal_function.
4370 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
4373 2017-08-14 Florian Weimer <fweimer@redhat.com>
4375 * elf/dl-fini.c (_dl_fini): Remove internal_function
4376 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4378 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
4380 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
4381 (bit_cpu_SHSTK): Likewise.
4382 (index_cpu_IBT): Likewise.
4383 (index_cpu_SHSTK): Likewise.
4384 (reg_IBT): Likewise.
4385 (reg_SHSTK): Likewise.
4386 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4387 Handle index_cpu_IBT and index_cpu_SHSTK.
4389 2017-08-14 Mike FABIAN <mfabian@redhat.com>
4392 * po/fr.po: Fix spelling mistake.
4394 2017-08-13 Florian Weimer <fweimer@redhat.com>
4396 * elf/dl-addr.c (_dl_addr): Remove internal_function.
4397 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
4398 (_dl_catch_error, _dl_receive_error): Likewise.
4399 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
4400 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
4401 (_dl_deallocate_tls): Likewise.
4402 * include/dlfcn.h (_dl_addr): Likewise.
4403 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
4404 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
4405 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
4408 2017-08-13 Florian Weimer <fweimer@redhat.com>
4410 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
4411 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
4413 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
4415 2017-08-13 Florian Weimer <fweimer@redhat.com>
4417 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
4419 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
4420 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
4421 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
4422 internal_function from _dl_make_stack_executable_hook member.
4423 (_dl_make_stack_executable): Remove internal_function.
4424 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
4426 * sysdeps/unix/sysv/linux/dl-execstack.c
4427 (_dl_make_stack_executable): Likewise.
4429 2017-08-13 Florian Weimer <fweimer@redhat.com>
4431 * sysdeps/unix/sysv/linux/netlinkaccess.h
4432 (__netlink_assert_response): Remove internal_function.
4433 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4434 (__netlink_assert_response): Likewise.
4436 2017-08-13 Florian Weimer <fweimer@redhat.com>
4438 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
4440 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
4442 2017-08-13 Florian Weimer <fweimer@redhat.com>
4444 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
4446 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
4447 * inet/netgroup.h (__internal_setnetgrent)
4448 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
4449 * inet/getnetgrent_r.c (__internal_setnetgrent)
4450 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
4451 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
4452 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
4453 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
4454 * nss/nsswitch.h (db_lookup_function): Likewise.
4456 2017-08-13 Florian Weimer <fweimer@redhat.com>
4458 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
4459 Remove internal_function.
4460 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
4461 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
4462 message argument on the stack.
4463 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
4466 2017-08-12 Mike FABIAN <mfabian@redhat.com>
4468 Adapt test case data to the changes in the thousands
4472 * localedata/tst-langinfo.sh: Adapt test case data.
4473 * stdlib/tst-strfmon_l.c: Likewise.
4474 * stdlib/tst-strtod4.c: Likewise.
4475 * stdlib/tst-strtod5i.c: Likewise.
4477 2017-08-11 Florian Weimer <fweimer@redhat.com>
4480 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
4481 Suppress pedantic warning resulting from statement expression.
4482 (__ASSERT_FUNCTION): Add missing __extension__.
4484 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4486 * benchtests/bench-memmove-large.c: Print output in JSON
4488 * benchtests/bench-memmove.c: Likewise.
4490 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
4491 * benchtests/bench-memchr.c (do_one_test): Likewise.
4492 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
4493 * benchtests/bench-memcpy.c (do_one_test): Likewise.
4494 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
4495 * benchtests/bench-memmove.c (do_one_test): Likewise.
4496 * benchtests/bench-memset-large.c (do_one_test): Likewise.
4497 * benchtests/bench-memset.c (do_one_test): Likewise.
4498 * benchtests/bench-string.h (test_init): Remove memsets.
4500 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
4503 (Computing the Width of an Integer Data Type): Rename section to
4504 "Width of an Integer Type". Remove inaccurate statement regarding
4505 lack of C language facilities for determining width of integer
4506 types, and reorder content to improve flow and context of
4509 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
4511 * lang.texi (va_copy): Change standard from ISO to C99.
4512 (__va_copy): Add standard and header annotation.
4513 Update description for clarity of origins and current use.
4515 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4518 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
4519 xssqrtqp requires operands to be in Vector Registers
4520 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
4521 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
4522 (__ieee754_sqrtf128): Likewise.
4524 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4526 * sysdeps/aarch64/memcmp.S (memcmp):
4527 Rewrite of optimized memcmp.
4529 2017-08-10 Florian Weimer <fweimer@redhat.com>
4531 Introduce ld.so exceptions.
4532 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
4533 (_dl_exception_create, _dl_exception_create_format)
4534 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
4535 (_dl_catch_exception): Declare.
4536 (_dl_catch_error): Update comment.
4537 * elf/dl-error-skeleton.c (struct catch): Replace objname,
4538 errstring, malloced members with exception member.
4539 (_dl_out_of_memory): Remove.
4540 (fatal_error): New function, extracted from _dl_signal_error.
4541 (_dl_signal_exception, _dl_signal_cexception): New functions.
4542 (_dl_signal_error): Call _dl_exception_create to allocate an
4544 (_dl_catch_exception): New function, based on _dl_catch_error.
4545 (_dl_catch_error): Implement using _dl_catch_exception.
4546 * elf/dl-exception.c: New file.
4547 * elf/Makefile (dl-routines): Add dl-exception.
4548 (elide-routines.os): Likewise.
4549 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
4550 _dl_exception_create_format, _dl_exception_free.
4551 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
4552 _dl_signal_exception.
4553 * elf/dl-lookup.c (make_string): Remove.
4554 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
4555 _dl_signal_cexception, _dl_exception_free.
4556 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
4557 _dl_signal_exception.
4558 * elf/dl-sym.c (do_sym): Likewise.
4559 * elf/dl-version.c (make_string): Remove.
4560 (match_symbol): Use _dl_exception_create_format,
4561 _dl_signal_cexception, _dl_exception_free.
4562 (_dl_check_map_versions): Likewise.
4563 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
4564 _dl_catch_exception.
4565 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4566 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4567 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4568 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4569 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4570 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4571 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4572 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4574 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4581 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4582 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4583 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4585 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4587 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4589 2017-08-10 Florian Weimer <fweimer@redhat.com>
4591 * inet/net-internal.h (__inet6_scopeid_pton): Remove
4592 attribute_hidden, internal_function.
4593 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
4596 2017-08-10 Florian Weimer <fweimer@redhat.com>
4598 * malloc/malloc.c (get_max_fast): Reimplement as an inline
4599 function which calls __builtin_unreachable.
4601 2017-08-10 Mike FABIAN <mfabian@redhat.com>
4603 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
4604 Indian monetary formatting
4605 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
4608 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
4610 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
4611 Fix typo in comment.
4614 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
4615 PTRACE_SEIZE_DEVEL): Remove.
4616 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
4617 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4619 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4620 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4622 2017-08-09 Joseph Myers <joseph@codesourcery.com>
4624 * posix/bits/types.h (__qaddr_t): Remove.
4627 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
4628 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4630 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
4631 (ucontext_t): Use __ctx with uc_flags.
4632 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
4634 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4636 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
4637 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4639 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
4640 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4642 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
4644 (ucontext_t): Use __ctx with uc_flags.
4645 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
4646 (ucontext_t): Use __ctx with uc_flags.
4647 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
4648 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
4649 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
4650 (ucontext_t): Use __ctx with uc_flags.
4651 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
4652 undefine further down.
4653 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4655 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
4656 undefine further down.
4657 (ucontext_t): Use __ctx with uc_flags.
4658 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
4659 undefine further down.
4660 (ucontext_t): Use __ctx with uc_flags.
4661 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
4662 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
4663 Rename uc_pad to __glibc_reserved1.
4664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
4665 undefine further down.
4666 (ucontext_t): Use __ctx with uc_flags.
4667 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
4669 (ucontext_t): Use __ctx with uc_flags.
4670 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
4671 __ctx with uc_flags.
4672 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
4673 (ucontext_t): Use __ctx with uc_flags.
4674 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
4675 __ctx with uc_flags.
4677 2017-08-09 Florian Weimer <fweimer@redhat.com>
4680 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
4681 before early return.
4683 2017-08-09 Andreas Schwab <schwab@suse.de>
4686 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
4690 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
4691 tst-compat-forwarder.
4692 (modules-names): Add tst-compat-forwarder-mod.
4693 ($(objpfx)tst-compat-forwarder): Depend on
4694 $(objpfx)tst-compat-forwarder-mod.so.
4695 * nptl/tst-compat-forwarder.c: New file.
4696 * nptl/tst-compat-forwarder-mod.c: New file.
4698 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
4700 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
4703 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
4704 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4706 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
4708 (__libc_ifunc_impl_list): Add __memcpy_falkor.
4709 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4710 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
4711 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4713 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
4716 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4719 * manual/setjmp.texi (getcontex): Document uc_stack value
4720 compatibility differences.
4722 2017-08-08 Joseph Myers <joseph@codesourcery.com>
4724 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
4725 (old_malloc_hook): Likewise.
4726 (old_memalign_hook): Likewise.
4727 (old_realloc_hook): Likewise.
4728 (struct hdr): Likewise.
4730 (freehook): Likewise.
4731 (mallochook): Likewise.
4732 (memalignhook): Likewise.
4733 (reallochook): Likewise.
4735 * malloc/mtrace.c (mallwatch): Likewise.
4736 (tr_old_free_hook): Likewise.
4737 (tr_old_malloc_hook): Likewise.
4738 (tr_old_realloc_hook): Likewise.
4739 (tr_old_memalign_hook): Likewise.
4740 (tr_where): Likewise.
4741 (lock_and_info): Likewise.
4742 (tr_freehook): Likewise.
4743 (tr_mallochook): Likewise.
4744 (tr_reallochook): Likewise.
4745 (tr_memalignhook): Likewise.
4746 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
4747 * misc/mmap.c (__mmap): Likewise.
4748 * misc/mmap64.c (__mmap64): Likewise.
4749 * misc/mprotect.c (__mprotect): Likewise.
4750 * misc/msync.c (msync): Likewise.
4751 * misc/munmap.c (__munmap): Likewise.
4752 * posix/posix_madvise.c (posix_madvise): Likewise.
4753 * socket/send.c (__send): Likewise.
4754 * socket/sendto.c (__sendto): Likewise.
4755 * socket/setsockopt.c (__setsockopt): Likewise.
4756 * string/memcmp.c (__ptr_t): Remove macro.
4757 (MEMCMP): Use void * instead of ptr_t.
4758 * string/memrchr.c (__ptr_t): Remove macro.
4759 (__memrchr): Use void * instead of ptr_t.
4760 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
4761 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4762 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4763 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
4764 * sysdeps/mach/msync.c (msync): Likewise.
4765 * sysdeps/mach/munmap.c (__munmap): Likewise.
4766 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
4768 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4769 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
4770 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
4771 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
4772 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4773 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4774 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
4775 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
4777 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4778 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
4779 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
4780 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
4781 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
4782 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
4783 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
4784 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
4785 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
4787 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
4788 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
4789 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
4790 (MEMCMP): Use void * instead of ptr_t.
4791 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
4792 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
4794 2017-08-08 Florian Weimer <fweimer@redhat.com>
4796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
4799 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
4802 * csu/libc-tls.c: Include <startup.h> first.
4803 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
4804 * elf/dl-tunables.c: Include <startup.h> first.
4805 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
4806 * sysdeps/generic/startup.h: New file.
4807 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
4808 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
4809 (I386_USE_SYSENTER): New. Defined to 0.
4811 2017-08-08 Andreas Schwab <schwab@suse.de>
4814 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
4815 * nptl/pt-system.c (system): Likewise.
4817 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4820 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
4822 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
4823 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
4824 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
4825 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
4826 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4827 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4828 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4830 2017-08-07 Joseph Myers <joseph@codesourcery.com>
4833 * bits/sigaction.h (struct sigaction): Define sa_handler and
4834 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
4835 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4836 [__USE_XOPEN_EXTENDED].
4837 (SA_RESTART): Likewise.
4838 (SA_NODEFER): Likewise.
4839 (SA_RESETHAND): Likewise.
4840 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
4841 (struct sigaction): Define sa_handler and sa_sigaction using union
4842 also for [__USE_XOPEN_EXTENDED].
4843 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4844 [__USE_XOPEN_EXTENDED].
4845 (SA_RESTART): Likewise.
4846 (SA_NODEFER): Likewise.
4847 (SA_RESETHAND): Likewise.
4848 * sysdeps/unix/sysv/linux/bits/sigaction.h
4849 (struct sigaction): Define sa_handler and sa_sigaction using union
4850 also for [__USE_XOPEN_EXTENDED].
4851 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4852 [__USE_XOPEN_EXTENDED].
4853 (SA_RESTART): Likewise.
4854 (SA_NODEFER): Likewise.
4855 (SA_RESETHAND): Likewise.
4856 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
4857 (struct sigaction): Define sa_handler and sa_sigaction using union
4858 also for [__USE_XOPEN_EXTENDED].
4859 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4860 [__USE_XOPEN_EXTENDED].
4861 (SA_RESTART): Likewise.
4862 (SA_NODEFER): Likewise.
4863 (SA_RESETHAND): Likewise.
4864 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
4865 (struct sigaction): Define sa_handler and sa_sigaction using union
4866 also for [__USE_XOPEN_EXTENDED].
4867 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4868 [__USE_XOPEN_EXTENDED].
4869 (SA_RESTART): Likewise.
4870 (SA_NODEFER): Likewise.
4871 (SA_RESETHAND): Likewise.
4872 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4873 (struct sigaction): Define sa_handler and sa_sigaction using union
4874 also for [__USE_XOPEN_EXTENDED].
4875 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4876 [__USE_XOPEN_EXTENDED].
4877 (SA_RESTART): Likewise.
4878 (SA_NODEFER): Likewise.
4879 (SA_RESETHAND): Likewise.
4880 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4881 (struct sigaction): Define sa_handler and sa_sigaction using union
4882 also for [__USE_XOPEN_EXTENDED].
4883 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4884 [__USE_XOPEN_EXTENDED].
4885 (SA_RESTART): Likewise.
4886 (SA_NODEFER): Likewise.
4887 (SA_RESETHAND): Likewise.
4888 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4889 (struct sigaction): Define sa_handler and sa_sigaction using union
4890 also for [__USE_XOPEN_EXTENDED].
4891 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4892 [__USE_XOPEN_EXTENDED].
4893 (SA_RESTART): Likewise.
4894 (SA_NODEFER): Likewise. Define directly rather than as alias.
4895 (SA_RESETHAND): Likewise.
4896 (SA_INTERRUPT): Define only for [__USE_MISC].
4897 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
4898 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
4900 (SA_STACK): Define only for [__USE_MISC].
4901 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
4902 (struct sigaction): Define sa_handler and sa_sigaction using union
4903 also for [__USE_XOPEN_EXTENDED].
4904 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4905 [__USE_XOPEN_EXTENDED].
4906 (SA_RESTART): Likewise.
4907 (SA_NODEFER): Likewise.
4908 (SA_RESETHAND): Likewise.
4909 (SA_NOPTRACE): Define only for [__USE_MISC].
4911 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
4912 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
4913 (struct catalog_info): Likewise.
4914 * inet/htontest.c (lo): Likewise.
4916 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4917 * inet/inet_net.c (inet_network): Likewise.
4918 * inet/inet_netof.c (inet_netof): Likewise.
4919 * inet/rcmd.c (__ivaliduser): Likewise.
4920 (iruserok): Likewise.
4921 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
4922 * locale/programs/locale-spec.c (locale_special): Likewise.
4923 * nis/nis_findserv.c (struct findserv_req): Likewise.
4924 (__nis_findfastest_with_timeout): Likewise.
4925 * nss/test-netdb.c (test_network): Likewise.
4926 * resolv/inet_neta.c (inet_neta): Likewise.
4927 * resolv/ns_date.c (ns_datetosecs): Likewise.
4928 (SECS_PER_DAY): Likewise.
4929 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
4931 * resolv/res_comp.c (__putlong): Likewise.
4932 (__putshort): Likewise.
4933 (_getlong): Likewise.
4934 (_getshort): Likewise.
4935 * resolv/res_debug.c (p_time): Likewise.
4936 (precsize_ntoa): Likewise.
4937 (precsize_aton): Likewise.
4938 (latlon2ul): Likewise.
4939 (loc_aton): Likewise.
4940 (loc_ntoa): Likewise.
4941 * resolv/res_hconf.c (struct netaddr): Likewise.
4942 (_res_hconf_reorder_addrs): Likewise.
4943 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4944 (clnttcp_control): Likewise.
4945 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4946 (clntudp_control): Likewise.
4947 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4948 (clntunix_control): Likewise.
4949 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4950 * sunrpc/rpc/auth.h (union des_block): Likewise.
4951 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
4952 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
4953 (xdrrec_create): Likewise.
4954 (xdrrec_endofrecord): Likewise.
4955 (flush_out): Likewise.
4956 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
4957 (xdrstdio_putlong): Likewise.
4958 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
4961 * misc/sys/cdefs.h (__long_double_t): Remove.
4962 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
4963 instead of __long_double_t,
4964 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
4966 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4968 * benchtests/scripts/compare_strings.py: Avoid display error when
4969 running on a text terminal.
4971 * benchtests/scripts/compare_strings.py (main): Add an
4972 optional -base option.
4973 (process_results): New argument base_func.
4975 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
4977 * benchtests/bench-memcpy-large.c (test_name): Likewise.
4978 * benchtests/bench-memcpy-random.c (test_name): Likewise.
4980 2017-08-07 Andreas Schwab <schwab@suse.de>
4982 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
4983 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4984 * intl/Makefile ($(objpfx)tst-gettext.out)
4985 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
4986 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
4987 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4988 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4989 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
4990 * posix/Makefile ($(objpfx)globtest.out)
4991 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
4992 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
4993 ($(objpfx)tst-printf.out): Likewise.
4994 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
4995 ($(objpfx)tst-setcontext3.out): Likewise.
4997 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
4999 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5000 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
5001 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
5002 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
5003 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
5005 (CFLAGS-doasin-fma.c): New.
5006 (CFLAGS-dosincos-fma.c): Likewise.
5007 (CFLAGS-e_asin-fma.c): Likewise.
5008 (CFLAGS-e_atan2-fma.c): Likewise.
5009 (CFLAGS-e_exp-fma.c): Likewise.
5010 (CFLAGS-e_log-fma.c): Likewise.
5011 (CFLAGS-e_pow-fma.c): Likewise.
5012 (CFLAGS-halfulp-fma.c): Likewise.
5013 (CFLAGS-mpa-fma.c): Likewise.
5014 (CFLAGS-mpatan-fma.c): Likewise.
5015 (CFLAGS-mpatan2-fma.c): Likewise.
5016 (CFLAGS-mpexp-fma.c): Likewise.
5017 (CFLAGS-mplog-fma.c): Likewise.
5018 (CFLAGS-mpsqrt-fma.c): Likewise.
5019 (CFLAGS-mptan-fma.c): Likewise.
5020 (CFLAGS-s_atan-fma.c): Likewise.
5021 (CFLAGS-sincos32-fma.c): Likewise.
5022 (CFLAGS-slowexp-fma.c): Likewise.
5023 (CFLAGS-slowpow-fma.c): Likewise.
5024 (CFLAGS-s_sin-fma.c): Likewise.
5025 (CFLAGS-s_tan-fma.c): Likewise.
5026 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
5027 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
5028 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
5029 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
5030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
5031 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
5032 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
5033 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
5034 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
5035 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
5036 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
5037 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
5038 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
5039 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
5040 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
5041 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
5042 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
5043 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
5044 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
5045 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
5046 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
5047 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
5048 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
5049 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
5050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5052 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5053 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5058 2017-08-04 Joseph Myers <joseph@codesourcery.com>
5060 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
5061 (min_of_type_f): New macro.
5062 (min_of_type_): Likewise.
5063 (min_of_type_l): Likewise.
5064 (min_of_type_f128): Likewise.
5065 (min_of_type): Define using __MATH_TG and taking an expression
5067 (math_check_force_underflow): Pass expression instead of type to
5069 (math_check_force_underflow_nonneg): Likewise.
5071 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5073 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5074 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
5075 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
5077 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5080 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
5081 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
5082 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
5083 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
5084 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
5085 memcpy_chk-nonshared, mempcpy_chk-nonshared,
5086 memmove_chk-nonshared and memset_chk-nonshared
5087 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
5088 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
5089 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
5090 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
5091 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
5092 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
5093 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
5094 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
5095 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
5096 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
5097 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
5098 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
5099 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
5100 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
5101 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
5102 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
5103 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
5104 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
5105 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
5106 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
5107 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
5108 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
5109 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
5110 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
5111 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
5112 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
5113 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
5114 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
5115 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
5116 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
5117 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
5118 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
5119 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
5120 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
5121 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
5122 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
5123 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
5124 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
5125 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
5126 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
5127 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
5128 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
5129 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
5130 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
5131 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
5132 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
5133 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
5134 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
5135 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
5136 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
5137 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
5138 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
5139 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
5140 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
5141 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
5142 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
5143 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
5144 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
5145 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
5146 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
5147 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
5148 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
5149 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
5150 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
5151 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
5152 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
5153 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
5154 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
5155 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
5156 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5157 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
5158 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5159 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5160 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5161 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5162 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5163 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5164 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5165 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5166 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5167 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5168 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5169 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5170 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5171 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5172 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5173 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5174 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5175 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5176 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5177 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5178 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5179 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5180 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5181 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5182 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5183 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5184 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5185 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5186 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5187 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5188 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5189 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5190 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5191 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5192 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5193 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5194 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5196 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5198 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
5199 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
5200 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
5201 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
5202 svml_d_log2_core-sse2, svml_d_log4_core-sse,
5203 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
5204 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
5205 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
5206 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
5207 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
5208 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
5209 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
5210 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
5211 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
5212 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
5213 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
5214 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
5215 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
5216 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
5217 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
5218 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
5219 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
5220 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
5221 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
5222 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
5223 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
5224 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
5225 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
5226 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
5227 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
5228 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
5229 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
5230 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
5231 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
5232 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
5233 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
5234 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
5235 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
5236 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
5237 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
5238 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
5239 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
5240 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
5241 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
5242 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
5243 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
5244 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
5245 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
5246 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
5247 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
5248 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
5249 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
5250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
5251 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
5252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
5253 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
5254 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
5255 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
5256 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
5258 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
5259 Don't include <sysdep.h> nor <init-arch.h>.
5260 (_ZGVbN2v_cos): Removed.
5261 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
5263 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
5264 Don't include <sysdep.h> nor <init-arch.h>.
5265 (_ZGVdN4v_cos): Removed.
5266 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
5268 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
5269 Don't include <sysdep.h> nor <init-arch.h>.
5270 (_ZGVeN8v_cos): Removed.
5271 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
5273 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
5274 Don't include <sysdep.h> nor <init-arch.h>.
5275 (_ZGVbN2v_exp): Removed.
5276 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
5278 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
5279 Don't include <sysdep.h> nor <init-arch.h>.
5280 (_ZGVdN4v_exp): Removed.
5281 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
5283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
5284 Don't include <sysdep.h> nor <init-arch.h>.
5285 (_ZGVeN8v_exp): Removed.
5286 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
5288 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
5289 Don't include <sysdep.h> nor <init-arch.h>.
5290 (_ZGVbN2v_log): Removed.
5291 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
5293 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
5294 Don't include <sysdep.h> nor <init-arch.h>.
5295 (_ZGVdN4v_log): Removed.
5296 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
5298 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
5299 Don't include <sysdep.h> nor <init-arch.h>.
5300 (_ZGVeN8v_log): Removed.
5301 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
5303 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
5304 Don't include <sysdep.h> nor <init-arch.h>.
5305 (_ZGVbN2vv_pow): Removed.
5306 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
5308 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
5309 Don't include <sysdep.h> nor <init-arch.h>.
5310 (_ZGVdN4vv_pow): Removed.
5311 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
5313 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
5314 Don't include <sysdep.h> nor <init-arch.h>.
5315 (_ZGVeN8vv_pow): Removed.
5316 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
5318 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
5319 Don't include <sysdep.h> nor <init-arch.h>.
5320 (_ZGVbN2v_sin): Removed.
5321 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
5323 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
5324 Don't include <sysdep.h> nor <init-arch.h>.
5325 (_ZGVbN4v_sin): Removed.
5326 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
5328 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
5329 Don't include <sysdep.h> nor <init-arch.h>.
5330 (_ZGVbN8v_sin): Removed.
5331 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
5333 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
5334 Don't include <sysdep.h> nor <init-arch.h>.
5335 (_ZGVbN2vvv_sincos): Removed.
5336 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
5338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
5339 Don't include <sysdep.h> nor <init-arch.h>.
5340 (_ZGVdN4vvv_sincos): Removed.
5341 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
5343 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
5344 Don't include <sysdep.h> nor <init-arch.h>.
5345 (_ZGVeN8vvv_sincos): Removed.
5346 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
5348 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
5349 Don't include <sysdep.h> nor <init-arch.h>.
5350 (_ZGVeN16v_cosf): Removed.
5351 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
5353 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
5354 Don't include <sysdep.h> nor <init-arch.h>.
5355 (_ZGVbN4v_cosf): Removed.
5356 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
5358 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
5359 Don't include <sysdep.h> nor <init-arch.h>.
5360 (_ZGVdN8v_cosf): Removed.
5361 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
5363 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
5364 Don't include <sysdep.h> nor <init-arch.h>.
5365 (_ZGVeN16v_expf): Removed.
5366 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
5368 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
5369 Don't include <sysdep.h> nor <init-arch.h>.
5370 (_ZGVbN4v_expf): Removed.
5371 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
5373 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
5374 Don't include <sysdep.h> nor <init-arch.h>.
5375 (_ZGVdN8v_expf): Removed.
5376 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
5378 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
5379 Don't include <sysdep.h> nor <init-arch.h>.
5380 (_ZGVeN16v_logf): Removed.
5381 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
5383 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
5384 Don't include <sysdep.h> nor <init-arch.h>.
5385 (_ZGVbN4v_logf): Removed.
5386 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
5388 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
5389 Don't include <sysdep.h> nor <init-arch.h>.
5390 (_ZGVdN8v_logf): Removed.
5391 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
5393 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
5394 Don't include <sysdep.h> nor <init-arch.h>.
5395 (_ZGVeN16vv_powf): Removed.
5396 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
5398 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
5399 Don't include <sysdep.h> nor <init-arch.h>.
5400 (_ZGVbN4vv_powf): Removed.
5401 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
5403 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
5404 Don't include <sysdep.h> nor <init-arch.h>.
5405 (_ZGVdN8vv_powf): Removed.
5406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
5408 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
5409 Don't include <sysdep.h> nor <init-arch.h>.
5410 (_ZGVeN16vvv_sincosf): Removed.
5411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
5413 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
5414 Don't include <sysdep.h> nor <init-arch.h>.
5415 (_ZGVbN4vvv_sincosf): Removed.
5416 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
5418 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
5419 Don't include <sysdep.h> nor <init-arch.h>.
5420 (_ZGVdN8vvv_sincosf): Removed.
5421 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
5423 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
5424 Don't include <sysdep.h> nor <init-arch.h>.
5425 (_ZGVeN16v_sinf): Removed.
5426 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
5428 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
5429 Don't include <sysdep.h> nor <init-arch.h>.
5430 (_ZGVbN4v_sinf): Removed.
5431 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
5433 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
5434 Don't include <sysdep.h> nor <init-arch.h>.
5435 (_ZGVdN8v_sinf): Removed.
5437 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5440 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
5441 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
5442 s_rint-sse4_1 and s_rintf-sse4_1.
5443 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
5444 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5445 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5446 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5447 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5448 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
5449 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
5450 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5451 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5452 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
5453 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
5454 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5456 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
5457 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
5458 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5460 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
5461 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
5462 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5464 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
5465 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
5466 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5467 (__floorf): Removed.
5468 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
5469 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
5470 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5471 (__nearbyint): Removed.
5472 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
5473 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
5474 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5475 (__nearbyintf): Removed.
5476 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
5477 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
5478 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5480 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
5481 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
5482 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5485 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5487 * sysdeps/i386/start.S (_start): Check Check PIC instead of
5488 SHARED. Avoid dynamic relocation against main in static PIE.
5490 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5493 * elf/Makefile (CFLAGS-tst-prelink.c): New.
5494 (LDFLAGS-tst-prelink): Likewise.
5496 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5498 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
5499 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
5500 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
5501 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5502 (INTERNAL_SYSCALL_NCS): Likewise.
5503 (LOADARGS_1): Likewise.
5504 (LOADARGS_5): Likewise.
5505 (RESTOREARGS_1): Likewise.
5506 (RESTOREARGS_5): Likewise.
5508 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5510 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
5511 (MEMPCPY_SYMBOL): Likewise.
5512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5513 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
5514 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
5516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5517 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5519 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
5520 (__hidden_ver1): Don't use in libc.a.
5521 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5522 (__mempcpy): Don't create a weak alias in libc.a.
5523 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
5525 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
5526 (__hidden_ver1): Don't use in libc.a.
5528 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5530 * config.make.in (have-insert): New.
5531 * configure.ac (libc_cv_insert): New. Set to yes if linker
5532 supports INSERT in linker script.
5533 (AC_SUBST(libc_cv_insert): New.
5534 * configure: Regenerated.
5535 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
5536 if $(have-insert) == yes.
5538 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5540 * elf/Makefile (tests): Add vismain only if
5541 $(have-protected-data) == yes.
5542 (tests-pie): Likewise.
5544 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5547 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5548 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
5550 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5553 * sysdeps/i386/i586/memset.S
5554 (__memset_zero_constant_len_parameter): Removed.
5555 * sysdeps/i386/i686/memset.S
5556 (__memset_zero_constant_len_parameter): Likewise.
5557 * sysdeps/i386/i686/multiarch/memset_chk.S
5558 (__memset_zero_constant_len_parameter): Likewise.
5559 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
5562 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
5564 * stdlib/getentropy.c (getentropy): Change return type to int.
5566 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
5568 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5570 2017-08-03 Joseph Myers <joseph@codesourcery.com>
5572 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
5574 * math/s_nexttowardf.c (__nexttowardf): Likewise.
5575 * sysdeps/generic/math_private.h (ieee_double_shape_type):
5577 (ieee_float_shape_type): Likewise.
5578 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
5579 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
5580 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5581 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5582 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5583 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
5584 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
5585 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5586 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5588 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5589 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5590 (__ieee754_yn): Likewise.
5591 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5592 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5593 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
5595 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5596 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
5597 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
5598 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
5600 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5601 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
5602 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
5603 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
5604 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
5605 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
5607 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5608 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
5609 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5610 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
5611 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5612 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
5613 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
5614 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
5615 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
5616 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5617 (__issignaling): Likewise.
5618 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
5619 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
5620 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5622 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5623 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5624 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
5625 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
5627 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
5629 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
5630 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
5631 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
5632 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5633 (__erfcf): Likewise.
5634 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5635 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5636 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
5637 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
5639 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
5640 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
5642 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5643 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
5644 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5645 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
5646 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
5647 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5648 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
5649 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
5651 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
5653 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5655 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
5656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5658 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5660 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5661 (__ieee754_ynl): Likewise.
5662 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5663 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
5665 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
5667 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5668 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
5669 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5671 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5672 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
5673 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
5674 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
5675 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
5676 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5677 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
5678 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
5680 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5681 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
5682 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
5684 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
5685 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
5686 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5687 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5688 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
5689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5691 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5695 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5697 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
5698 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5699 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5700 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
5701 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5702 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
5705 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5708 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5710 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5711 (__ieee754_remainderl): Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5714 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5715 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5717 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5720 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5721 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
5722 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5723 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5724 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5728 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
5729 (__ieee754_y0l): Likewise.
5732 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5733 (__ieee754_y1l): Likewise.
5736 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5737 (__ieee754_ynl): Likewise.
5738 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5739 (__ieee754_lgammal_r): Likewise.
5740 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
5742 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5743 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
5744 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5745 (__erfcl): Likewise.
5746 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5747 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
5749 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
5750 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
5751 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5752 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
5753 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
5754 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5755 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5757 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
5758 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5759 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
5760 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
5761 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5763 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
5764 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
5766 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
5767 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
5768 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
5769 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5770 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5772 2017-08-03 Florian Weimer <fweimer@redhat.com>
5775 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
5776 on memory allocation failure.
5778 2017-08-03 Alan Modra <amodra@gmail.com>
5780 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
5781 tst-tlsopt-powerpc.c with function name change and no test harness.
5782 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
5783 Call tls_get_addr_opt_test.
5784 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
5785 (modules-names): Add mod-tlsopt-powerpc.
5786 (mod-tlsopt-powerpc.so-no-z-defs): Define.
5787 (tst-tlsopt-powerpc): Depend on .so.
5788 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
5789 define. Expand use in TLS_GD and TLS_LD.
5791 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5793 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
5795 * sysdeps/posix/shm_open.c: Include <pthread.h>.
5797 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5800 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
5801 comparing size with that of double.
5802 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5803 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5804 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5805 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5806 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5807 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
5808 unsigned __int128 types.
5810 2017-08-02 Steve Ellcey <sellcey@cavium.com>
5812 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
5813 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
5814 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
5815 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
5816 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
5818 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5820 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
5822 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5824 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
5826 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5827 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5828 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5829 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5830 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5831 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5832 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5834 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5837 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
5838 bit-field expressions passed to sizeof or typeof.
5839 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5840 (__TGMATH_F128): Likewise.
5841 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5842 (__TGMATH_CF128): Likewise.
5843 (__TGMATH_UNARY_REAL_ONLY): Likewise.
5844 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5845 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
5846 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
5847 (__TGMATH_BINARY_REAL_ONLY): Likewise.
5848 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5849 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5850 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5851 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5852 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
5853 (__TGMATH_UNARY_REAL_IMAG): Likewise.
5854 (__TGMATH_UNARY_IMAG): Likewise.
5855 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
5856 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5857 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
5859 (define_vars_for_type): Handle bit_field type specially.
5860 (Tests.__init__): Declare structure with bit-field element.
5862 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5865 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
5866 (MEMCPY_CHK): Define only if SHARED is defined.
5867 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
5869 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
5872 See ChangeLog.18 for earlier changes.