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