1 2017-10-23 Mike FABIAN <mfabian@redhat.com>
3 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
4 by adding the generic +1 and -0 as in all other locales.
5 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
6 day names and make it more readable by using ASCII where possible.
8 2017-10-24 Joseph Myers <joseph@codesourcery.com>
10 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
11 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
13 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
16 WNOHANG in waitpid call.
18 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
20 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
21 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
33 2017-10-23 Michael Collison <michael.collison@arm.com>
35 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
37 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
39 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
41 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
43 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
45 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
46 with __builtin_floorf.
47 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
49 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
51 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
53 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
55 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
57 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
59 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
60 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
61 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
62 with builtin_rint and conversion to int.
63 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
64 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
66 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
67 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
68 with builtin_rint and conversion to long int.
69 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
70 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
72 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
74 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
75 statements with __builtin_nearbyint.
76 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
77 statements with __builtin_nearbyintf.
78 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
80 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
82 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
84 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
85 with __builtin_roundf.
86 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
88 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
89 with __builtin_truncf.
90 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
91 and s_l[l]round[f].c too.
93 2017-10-23 Alan Modra <amodra@gmail.com>
95 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
96 Adjust stack after restoring regs. Add missing LR cfi_restore.
98 2017-10-23 Alan Modra <amodra@gmail.com>
100 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
101 Move LR save and frame setup/teardown and LR restore to
102 immediately around memset call. Provide cfi.
104 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
106 * sysdeps/i386/fpu/e_powf.S: Removed.
107 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
108 * sysdeps/i386/fpu/w_powf.c: Likewise.
109 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
110 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
111 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
113 (CFLAGS-e_powf-sse2.c): New.
114 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
115 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
117 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
119 * sysdeps/i386/fpu/e_log2f.S: Removed.
120 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
121 * sysdeps/i386/fpu/w_log2f.c: Likewise.
122 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
123 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
124 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
126 (CFLAGS-e_log2f-sse2.c): New.
127 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
128 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
130 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
134 (CFLAGS-e_powf-fma.c): New.
135 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
136 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
138 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
140 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
142 (CFLAGS-e_log2f-fma.c): New.
143 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
144 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
146 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
148 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
150 (CFLAGS-e_logf-fma.c): New.
151 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
152 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
154 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
156 * sysdeps/i386/fpu/e_logf.S: Removed.
157 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
158 * sysdeps/i386/fpu/w_logf.c: Likewise.
159 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
160 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
161 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
162 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
164 (CFLAGS-e_logf-sse2.c): New.
165 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
166 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
168 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
170 * sysdeps/i386/fpu/e_exp2f.S: Removed.
171 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
172 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
173 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
174 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
176 (CFLAGS-e_exp2f-sse2.c): New.
177 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
178 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
180 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
182 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
184 (CFLAGS-e_exp2f-fma.c): New.
185 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
186 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
188 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
190 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
191 * sysdeps/i386/fpu/e_expf.S: Likewise.
192 * sysdeps/i386/fpu/math_errf.c: Likewise.
193 * sysdeps/i386/fpu/w_expf.c: Likewise.
194 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
195 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
196 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
197 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
198 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
199 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
201 (CFLAGS-e_expf-sse2.c): New.
202 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
203 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
205 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
207 * sysdeps/x86_64/fpu/e_expf.S: Removed.
208 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
209 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
210 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
212 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
214 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
215 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
217 (__redirect_expf): This.
218 (SYMBOL_NAME): Changed to expf.
219 (__ieee754_expf): Renamed to ...
222 (__ieee754_expf): Add strong_alias.
223 (__expf_finite): Likewise.
225 Include <sysdeps/ieee754/flt-32/e_expf.c>.
227 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
230 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
233 2017-10-21 Florian Weimer <fweimer@redhat.com>
235 * posix/Makefile (tests): Add tst-glob-tilde.
236 (tests-special): Add tst-glob-tilde-mem.out
237 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
238 (tst-glob-tilde-mem.out): Add mtrace check.
239 * posix/tst-glob-tilde.c: New file.
241 2017-10-20 Joseph Myers <joseph@codesourcery.com>
243 * bits/floatn-common.h: New file.
244 * math/Makefile (headers): Add bits/floatn-common.h.
245 * bits/floatn.h: Include <bits/floatn-common.h>.
246 * sysdeps/ia64/bits/floatn.h: Likewise.
247 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
248 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
249 * sysdeps/powerpc/bits/floatn.h: Likewise.
250 * sysdeps/x86/bits/floatn.h: Likewise.
252 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
254 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
255 indicates whether compiler emits an warning for alias for
256 functions with incompatible types.
259 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
260 the auxiliary process is terminated by a signal before calling _exit
263 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
266 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
268 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
269 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
270 and bit_arch_XSAVEC_Usable if needed.
271 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
272 and bit_arch_Use_dl_runtime_resolve_opt.
273 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
275 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
276 (bit_arch_Prefer_No_AVX512): Updated.
277 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
278 (bit_arch_XSAVEC_Usable): New.
279 (STATE_SAVE_OFFSET): Likewise.
280 (STATE_SAVE_MASK): Likewise.
281 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
282 (cpu_features): Add xsave_state_size and xsave_state_full_size.
283 (index_arch_Use_dl_runtime_resolve_opt): Removed.
284 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
285 (index_arch_XSAVEC_Usable): New.
286 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
287 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
288 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
290 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
291 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
292 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
293 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
294 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
295 _dl_runtime_resolve_xsavec.
296 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
298 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
300 (REGISTER_SAVE_BND0): Removed.
301 (REGISTER_SAVE_BND1): Likewise.
302 (REGISTER_SAVE_BND3): Likewise.
303 (REGISTER_SAVE_RAX): Always defined to 0.
305 (_dl_runtime_resolve_avx): Likewise.
306 (_dl_runtime_resolve_avx_slow): Likewise.
307 (_dl_runtime_resolve_avx_opt): Likewise.
308 (_dl_runtime_resolve_avx512): Likewise.
309 (_dl_runtime_resolve_avx512_opt): Likewise.
310 (_dl_runtime_resolve_sse): Likewise.
311 (_dl_runtime_resolve_sse_vex): Likewise.
313 (_dl_runtime_resolve_fxsave): Likewise.
314 (USE_XSAVE): Likewise.
315 (_dl_runtime_resolve_xsave): Likewise.
316 (USE_XSAVEC): Likewise.
317 (_dl_runtime_resolve_xsavec): Likewise.
318 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
320 (_dl_runtime_resolve_avx512_opt): Likewise.
321 (_dl_runtime_resolve_avx): Likewise.
322 (_dl_runtime_resolve_avx_opt): Likewise.
323 (_dl_runtime_resolve_sse): Likewise.
324 (_dl_runtime_resolve_sse_vex): Likewise.
325 (_dl_runtime_resolve_fxsave): New.
326 (_dl_runtime_resolve_xsave): Likewise.
327 (_dl_runtime_resolve_xsavec): Likewise.
329 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
333 * posix/glob.c (__glob): Fix one-byte overflow.
335 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
337 * malloc/malloc.c (sysdep-cancel.h): Add include.
339 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
341 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
343 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
345 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
346 (tests): Remove $(objpfx)ga_test depdendency.
347 * resolv/ga_test.c: Remove file.
349 2017-10-20 Mike FABIAN <mfabian@redhat.com>
352 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
353 * localedata/locales/kab_DZ: New file.
355 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
357 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
358 _dl_relocate_static_pie instead of _dl_start to compute load
359 address in static PIE.
361 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
363 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
365 2017-10-20 Mike FABIAN <mfabian@redhat.com>
368 * localedata/SUPPORTED: Add shn_MM/UTF-8.
369 * localedata/locales/shn_MM: New file.
371 2017-10-20 Florian Weimer <fweimer@redhat.com>
374 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
375 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
376 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
377 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
378 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
379 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
381 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
383 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
385 2017-10-19 Joseph Myers <joseph@codesourcery.com>
387 * sysdeps/mips/ieee754/bits/floatn.h: New file.
390 * sysdeps/mips/bits/long-double.h: Move to ....
391 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
393 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
395 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
397 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
398 H.J. Lu <hongjiu.lu@intel.com>
401 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
402 GLRO(dl_platform) to NULL.
403 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
404 (modules-names): Add tst-platformmod-1 and
405 x86_64/tst-platformmod-2.
406 (CFLAGS-tst-platform-1.c): New.
407 (CFLAGS-tst-platformmod-1.c): Likewise.
408 (CFLAGS-tst-platformmod-2.c): Likewise.
409 (LDFLAGS-tst-platformmod-2.so): Likewise.
410 ($(objpfx)tst-platform-1): Likewise.
411 ($(objpfx)tst-platform-1.out): Likewise.
412 (tst-platform-1-ENV): Likewise.
413 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
414 * sysdeps/x86_64/tst-platform-1.c: New file.
415 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
416 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
418 2017-10-19 Mike FABIAN <mfabian@redhat.com>
421 * locale/iso-639.def: Add Karbi.
422 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
423 * localedata/locales/mjw_IN: New file.
425 2017-10-18 Joseph Myers <joseph@codesourcery.com>
427 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
428 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
429 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
430 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
431 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
432 (libm_alias_ldouble_other_r): Also create _Float128 alias.
433 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
435 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
436 (libm_alias_ldouble_other_r): Also create _Float128 alias.
437 * manual/math.texi (Mathematics): Document additional architecture
438 support for _Float128.
439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
440 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
441 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
443 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
444 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
445 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
446 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
447 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
448 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
449 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
450 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
451 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
452 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
453 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
455 2017-10-18 Renlin Li <renlin.li@arm.com>
457 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
458 _DYNAMIC symbol to calculate load address.
460 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
462 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
463 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
465 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
466 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
468 2017-10-18 Mike FABIAN <mfabian@redhat.com>
471 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
472 and improve readability by using more ASCII.
473 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
474 and improve readability by using more ASCII.
476 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
478 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
479 not all targets support atomics on bool.
481 2017-10-17 Joseph Myers <joseph@codesourcery.com>
483 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
484 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
486 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
487 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
488 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
489 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
490 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
491 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
493 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
495 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
498 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
501 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
502 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
503 (do_check_remalloced_chunk): Fix build bug.
504 (do_check_malloc_state): Add assert that checks arena->top.
505 (malloc_consolidate): Remove initialization.
506 (int_mallinfo): Remove call to malloc_consolidate.
507 (__libc_mallopt): Clarify why malloc_consolidate is needed.
509 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
511 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
512 (have_fastchunks): Remove.
513 (clear_fastchunks): Remove.
514 (set_fastchunks): Remove.
515 (malloc_state): Add have_fastchunks.
516 (malloc_init_state): Use have_fastchunks.
517 (do_check_malloc_state): Remove incorrect invariant checks.
518 (_int_malloc): Use have_fastchunks.
519 (_int_free): Likewise.
520 (malloc_consolidate): Likewise.
522 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
524 * malloc/malloc.c (tcache_put): Inline.
525 (tcache_get): Inline.
527 2017-10-17 Jordi Mallach <jordi@gnu.org>
529 Aurelien Jarno <aurelien@aurel32.net>
531 * localedata/locales/ca_ES@valencia: New file.
532 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
534 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
537 * math/math.h: Let signbit use the builtin in C++ mode with gcc
540 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
542 * scripts/build-many-glibcs.py (Context.add_all_configs):
543 Add arm-linux-gnueabihf multiarch extra_glibcs.
545 * sysdeps/generic/ifunc-init.h: New file.
546 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
548 2017-10-17 Mike FABIAN <mfabian@redhat.com>
551 * localedata/locales/el_GR: Set n_cs_precedes to 0.
552 * localedata/locales/el_CY: copy "el_GR" because it is identical.
553 * stdlib/tst-strfmon_l.c: adapt test case.
555 2017-10-16 Joseph Myers <joseph@codesourcery.com>
557 * sysdeps/generic/float128-abi.h: New file.
558 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
559 non-__prefixed symbols to ....
560 * math/Versions: ... here. Include <float128-abi.h>.
561 * stdlib/Versions ... and here. Include <float128-abi.h>
563 2017-10-16 Florian Weimer <fweimer@redhat.com>
565 * version.h (VERSION): Switch to ".9000" as the development
568 2017-10-16 Florian Weimer <fweimer@redhat.com>
571 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
572 compat_symbol_reference to access non-default version.
574 2017-10-16 Florian Weimer <fweimer@redhat.com>
576 * malloc/Makefile (others-extras): Set to mcheck-init.o.
578 2017-10-16 Carlos O'Donell <carlos@redhat.com>
580 * include/shlib-compat.h (compat_symbol_reference): Update
583 2017-10-16 Joseph Myers <joseph@codesourcery.com>
585 * math/Makefile (test-types): Add
586 $(type-float128-$(float128-alias-fcts)).
587 * math/test-float128.h (TYPE_STR): Define conditional on
588 [FLT128_MANT_DIG == LDBL_MANT_DIG].
590 (ULP_I_IDX): Likewise.
592 * stdlib/strtold.c: Include <bits/floatn.h>
593 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
594 and later undefine as macro. Define as weak alias if
596 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
597 and later undefine as macro. Define as weak alias if
599 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
600 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
601 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
602 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
603 Define and later undefine as macro. Define as weak alias if
605 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
607 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
608 Define and later undefine as macro. Define as weak alias if
610 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
611 Define and later undefine as macro. Define as weak alias if
614 2017-10-15 Carlos O'Donell <carlos@redhat.com>
616 * localedata/collate-test.c (allocate_arrays): Don't use \n in
617 record_verbose messages.
619 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
622 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
623 to silence -O3 -Wall warning with GCC 7.
625 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
627 * Makeconfig (+link-static-before-libc): Use the first of
628 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
629 * gmon/Makefile (tests): Add tst-gmon-static.
630 (tests-static): Likewise.
631 (CFLAGS-tst-gmon-static.c): New.
632 (CRT-tst-gmon-static): Likewise.
633 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
634 (tst-gmon-static-ENV): Likewise.
635 (tests-special): Likewise.
636 ($(objpfx)tst-gmon-static.out): Likewise.
637 (clean-tst-gmon-static-data): Likewise.
638 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
639 * gmon/tst-gmon-static-gprof.sh: New file.
640 * gmon/tst-gmon-static.c: Likewise.
642 2017-10-13 Carlos O'Donell <carlos@redhat.com>
645 * locale/programs/linereader.c (get_string): Don't warn on
646 non-symbolic character.
648 2017-10-13 Carlos O'Donell <carlos@redhat.com>
651 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
654 2017-10-13 Carlos O'Donell <carlos@redhat.com>
657 * locale/programs/record-status.h: New file
658 * locale/programs/locale.c: Add comment.
659 * locale/programs/charmap-dir.c: Don't include error.h.
660 (charmap_opendir): Use record_error.
661 * locale/programs/charmap.c: Don't include error.h.
662 (charmap_read): Use record_error, and record_warning.
663 (parse_charmap): Likewise.
664 * locale/programs/ld-address.c: Don't include error.h.
665 (address_finish): Use record_error, and record_warning.
666 * locale/programs/ld-collate.c: Don't include error.h.
667 (collate_finish): Use record_error, and record_error_at_line.
668 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
669 (ctype_class_new): Likewise.
670 (ctype_map_new): Likewise.
671 (set_one_default): Likewise.
672 (set_class_defaults): Likewise.
673 (translit_flatten): Likewise.
674 (allocate_arrays): Use record_error, and record_verbose.
675 * locale/programs/ld-identification.c: Don't include error.h.
676 (indentation_finish): Use record_error and record_warning.
677 * locale/programs/ld-measurement.c: Don't include error.h.
678 (measurement_finish): Use record_error.
679 * locale/programs/ld-messages.c
680 (message_finish): Likewise.
681 * locale/programs/ld-monetary.c
682 (monetary_finish): Likewise.
683 * locale/programs/ld-name.c (name_finish): Use record_error
685 * locale/programs/ld-numeric.c
686 (numeric_finish): Use record_error.
687 * locale/programs/ld-paper.c: Don't include error.h.
688 (paper_finish): Use record_error.
689 * locale/programs/ld-telephone.c: Don't include error.h.
690 (telephone_finish): Use record_error.
691 * locale/programs/ld-time.c (time_finish): Likewise.
692 * locale/programs/linereader.h (lr_error): Make inline func.
693 * locale/programs/localedef.c: Define recorded_warning_count,
694 and recorded_error_count.
695 (main): Use record_error. Use recorded_error_count and
696 recorded_warning_count to issue correct error returns.
697 (add_to_readlist): Use record_error.
698 (find_locale): Likewise.
699 (load_locale): Likewise.
700 * locale/programs/localedef.h: Remove be_quiet
702 * locale/programs/locarchive.c (compare_from_file): Use
704 * locale/programs/locfile.c (write_locale_data): Use
706 * locale/programs/repertoire.c: Dont include error.h.
707 (repertoire_complain): Use record_error.
708 * localedata/tst-fmon.sh: Expect failures from localedef.
709 * localedata/tst-locale.sh: Likewise.
710 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
712 2017-10-12 Carlos O'Donell <carlos@redhat.com>
714 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
718 (i18n_ctype): ...this.
719 (i18n-report): Rename to...
720 (i18n_ctype-report): ...this.
721 * localedata/locales/i18n_ctype: Regenerate.
722 * localedata/locales/i18n: copy i18n_ctype.
724 2017-10-13 Joseph Myers <joseph@codesourcery.com>
726 * stdlib/strfroml.c: Include <bits/floatn.h>.
727 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
728 Define before include of <stdlib.h> and undefine afterwards, then
729 define as weak alias.
731 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
732 Undefine and restore default definition. Use
733 libm_alias_ldouble_other.
735 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
738 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
741 2017-10-13 James Clarke <jrtc27@jrtc27.com>
743 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
744 Assign sym_map to be map for local symbols, as TLS relocations
745 use sym_map to determine whether the symbol is defined and to
746 extract the TLS information.
747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
750 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
753 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
754 (math_force_eval): Add powerpc version.
757 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
760 * stdio-common/tst-printf.sh: Likewise.
761 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
762 ifdef clause in order to set the carry bit right. Replace r0 by
763 0 without changing the behavior.
765 2017-10-13 Joseph Myers <joseph@codesourcery.com>
767 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
768 <libm-alias-ldouble.h>.
769 (fabsl): Define using libm_alias_ldouble.
770 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
771 <libm-alias-ldouble.h>.
772 (fabsl): Define using libm_alias_ldouble.
774 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
775 Remove conditional code.
777 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
778 Rename to __clog10_internal_l.
779 (__clog10_internal_l): Define aliases using
780 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
783 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
785 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
786 * benchtests/sincosf-inputs: New file.
787 * benchtests/cosf-inputs: New file.
788 * benchtests/sinf-inputs: New file.
790 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
792 * posix/tst-spawn.c (do_test): Wait for both children.
794 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
797 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
798 tests-pie): Add tst-gmon-pie.
799 (CFLAGS-tst-gmon-pie.c): New.
800 (CRT-tst-gmon-pie): Likewise.
801 (tst-gmon-pie-ENV): Likewise.
802 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
803 ($(objpfx)tst-gmon-pie.out): Likewise.
804 (clean-tst-gmon-pie-data): Likewise.
805 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
806 * gmon/gmon.c [PIC]: Include <link.h>.
807 [PIC] (callback): New function.
808 (write_hist): Add an argument for load address. Subtract load
810 (write_call_graph): Likewise.
811 (write_gmon): Call __dl_iterate_phdr to get load address, pass
812 it to write_hist and write_call_graph.
813 * gmon/tst-gmon-pie.c: New file.
815 2017-10-11 Joseph Myers <joseph@codesourcery.com>
817 * math/Makefile (test-types-basic): New variable.
818 (test-types): Likewise.
819 (libm-test-support): Use $(test-types) instead of $(types).
820 (libm-tests-base-normal): Likewise.
821 (libm-tests-base-finite): Likewise.
822 (libm-tests-base-inline): Likewise.
823 (generated): Likewise.
824 ($(objpfx)libm-test-support-$(t).c): Likewise.
825 (libm-tests-for-type iterator): Likewise.
826 (libm-test-support iterator): Likewise.
827 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
828 (ulp_idx): Use ULP_IDX.
829 * math/test-ldouble.h: Include <float.h>.
830 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
831 (ULP_IDX): New macro.
832 (ULP_I_IDX): Likewise.
833 * math/test-double.h (ULP_IDX): Likewise.
834 (ULP_I_IDX): Likewise.
835 * math/test-float.h (ULP_IDX): Likewise.
836 (ULP_I_IDX): Likewise.
837 * math/test-float128.h (ULP_IDX): Likewise.
838 (ULP_I_IDX): Likewise.
840 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
842 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
843 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
844 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
845 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
846 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
847 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
848 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
851 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
852 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
853 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
854 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
856 (SINGLE_THREAD_BY_GLOBAL): Define.
857 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
859 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
861 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
863 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
865 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
866 (SINGLE_THREAD_BY_GLOBAL): Likewise.
867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
870 2017-10-11 Andreas Schwab <schwab@suse.de>
872 * nis/Makefile (aux): Remove.
873 * nscd/Makefile (aux): Add nscd_hash.
874 (nscd-modules): Likewise.
875 ($(objpfx)nscd): Don't depend on libnsl.
876 * nscd/nscd_hash.c: New file.
877 * nscd/nscd_hash.h: Likewise.
878 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
879 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
880 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
881 instead of <nis/rpcsvc/nis.h>.
882 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
884 2017-10-11 Florian Weimer <fweimer@redhat.com>
887 Avoid large NSS buffers with many addresses, aliases.
888 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
889 using dynarrays and struct alloc_buffer.
890 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
891 (tst-nss-files-hosts-multi): Link with -ldl.
892 * nss/tst-nss-files-hosts-multi.c: New file.
894 2017-10-11 Florian Weimer <fweimer@redhat.com>
897 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
898 scratch_buffer. Eliminate gotos.
900 2017-10-11 Joseph Myers <joseph@codesourcery.com>
902 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
903 libm_alias_ldouble_other.
904 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
905 undefine and redefine.
906 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
907 (exp10l): Do not define here.
908 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
909 (weak_alias): Undefine and redefine.
910 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
911 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
912 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
913 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
915 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
916 [!__fma] (fma): Define using libm_alias_double.
917 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
918 [!__fmaf] (fmaf): Define using libm_alias_float.
919 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
920 (fmal): Define using libm_alias_ldouble.
922 2017-10-10 Joseph Myers <joseph@codesourcery.com>
924 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
926 (libm_alias_double_other): Likewise.
927 (libm_alias_double_r): Use libm_alias_double_other_r.
928 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
930 (libm_alias_float_other): Likewise.
931 (libm_alias_float_r): Use libm_alias_float_other_r.
932 * sysdeps/generic/libm-alias-float128.h
933 (libm_alias_float128_other_r): New macro.
934 (libm_alias_float128_other): Likewise.
935 (libm_alias_float128_r): Use libm_alias_float128_other_r.
936 * sysdeps/generic/libm-alias-ldouble.h
937 (libm_alias_ldouble_other_r): New macro.
938 (libm_alias_ldouble_other): Likewise.
939 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
940 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
941 (libm_alias_double_other_r): New macro.
942 (libm_alias_double_other): Likewise.
943 (libm_alias_double_r): Use libm_alias_double_other_r.
944 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
945 (libm_alias_ldouble_other_r): New macro.
946 (libm_alias_ldouble_other): Likewise.
947 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
948 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
949 [!USE_AS_COMPAT]: Use libm_alias_double_other.
950 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
951 [!USE_AS_COMPAT]: Use libm_alias_float_other.
952 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
953 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
954 * math/w_exp2f.c: Use libm_alias_float_other.
955 * math/w_expf.c: Likewise.
956 * math/w_log2f.c: Likewise.
957 * math/w_logf.c: Likewise.
958 * math/w_powf.c: Likewise.
959 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
960 [!__exp2f]: Use libm_alias_float_other.
961 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
962 [!__expf]: Use libm_alias_float_other.
963 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
964 [!__log2f]: Use libm_alias_float_other.
965 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
966 [!__logf]: Use libm_alias_float_other.
967 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
968 [!__powf]: Use libm_alias_float_other.
970 2017-10-10 Florian Weimer <fweimer@redhat.com>
972 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
974 (_nss_files_gethostbyname3_r): Call it.
976 2017-10-09 Joseph Myers <joseph@codesourcery.com>
978 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
979 error. Remove default definition of declare_mgen_alias.
980 [!declare_mgen_alias_r]: Likewise.
981 * sysdeps/generic/math-type-macros-double.h
982 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
983 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
984 (declare_mgen_alias_r): Likewise.
985 * sysdeps/generic/math-type-macros-float128.h
986 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
987 * sysdeps/generic/math-type-macros-ldouble.h
988 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
989 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
991 (declare_mgen_alias_r_s): Likewise.
992 (declare_mgen_alias_r): Likewise.
993 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
994 (lgamma_r): Define using libm_alias_double_r.
995 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
996 (lgammaf_r): Define using libm_alias_float_r.
997 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
998 (lgammal_r): Define using libm_alias_ldouble_r.
999 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
1000 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1002 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1004 * lib/glob.c (__glob_pattern_type): Remove now-spurious
1007 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1009 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
1011 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
1014 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
1015 [__cplusplus >= 201103] (__USE_ISOC99): Define.
1016 * math/Makefile (test-math-cxx11): New test.
1017 * math/test-math-cxx11.cc: New file.
1019 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
1021 * login/openpty.c (openpty): Close slave pty file descriptor on error.
1023 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
1024 call to allocate the slave pty file descriptor.
1026 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1028 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
1029 [!__fma] (fma): Define using libm_alias_double.
1030 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
1031 [!__fma] (fma): Define using libm_alias_double.
1033 * sysdeps/ieee754/float128/float128_private.h: Include
1034 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
1035 (libm_alias_ldouble_r): Undefine and redefine.
1036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
1037 <libm-alias-ldouble.h>.
1038 (asinhl): Define using libm_alias_ldouble.
1039 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
1040 <libm-alias-ldouble.h>.
1041 (atanl): Define using libm_alias_ldouble.
1042 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
1043 <libm-alias-ldouble.h>.
1044 (cbrtl): Define using libm_alias_ldouble.
1045 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
1046 <libm-alias-ldouble.h>.
1047 (ceill): Define using libm_alias_ldouble.
1048 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
1049 <libm-alias-ldouble.h>.
1050 (copysignl): Define using libm_alias_ldouble.
1051 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
1052 <libm-alias-ldouble.h>.
1053 (cosl): Define using libm_alias_ldouble.
1054 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
1055 <libm-alias-ldouble.h>.
1056 (erfl): Define using libm_alias_ldouble.
1058 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
1059 <libm-alias-ldouble.h>.
1060 (expm1l): Define using libm_alias_ldouble.
1061 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
1062 <libm-alias-ldouble.h>.
1063 (fabsl): Define using libm_alias_ldouble.
1064 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
1065 <libm-alias-ldouble.h>.
1066 (floorl): Define using libm_alias_ldouble.
1067 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
1068 <libm-alias-ldouble.h>.
1069 (fmal): Define using libm_alias_ldouble.
1070 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
1071 <libm-alias-ldouble.h>.
1072 (frexpl): Define using libm_alias_ldouble.
1073 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
1075 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
1076 <libm-alias-ldouble.h>.
1077 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
1079 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
1080 <libm-alias-ldouble.h>.
1081 (getpayloadl): Define using libm_alias_ldouble.
1082 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
1083 <libm-alias-ldouble.h>.
1084 (llrintl): Define using libm_alias_ldouble.
1085 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
1086 <libm-alias-ldouble.h>.
1087 (llroundl): Define using libm_alias_ldouble.
1088 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
1089 <libm-alias-ldouble.h>.
1090 (logbl): Define using libm_alias_ldouble.
1091 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
1092 <libm-alias-ldouble.h>.
1093 (lrintl): Define using libm_alias_ldouble.
1094 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
1095 <libm-alias-ldouble.h>.
1096 (lroundl): Define using libm_alias_ldouble.
1097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
1098 <libm-alias-ldouble.h>.
1099 (modfl): Define using libm_alias_ldouble.
1100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
1101 <libm-alias-ldouble.h>.
1102 (nearbyintl): Define using libm_alias_ldouble.
1103 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
1104 <libm-alias-ldouble.h>.
1105 (nextafterl): Define using libm_alias_ldouble.
1106 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
1107 <libm-alias-ldouble.h>.
1108 (nextupl): Define using libm_alias_ldouble.
1109 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
1110 <libm-alias-ldouble.h>.
1111 (remquol): Define using libm_alias_ldouble.
1112 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
1113 <libm-alias-ldouble.h>.
1114 (rintl): Define using libm_alias_ldouble.
1115 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
1116 <libm-alias-ldouble.h>.
1117 (roundevenl): Define using libm_alias_ldouble.
1118 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
1119 <libm-alias-ldouble.h>.
1120 (roundl): Define using libm_alias_ldouble.
1121 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
1122 using libm_alias_ldouble.
1123 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
1124 <libm-alias-ldouble.h>.
1125 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
1126 Define using libm_alias_ldouble.
1127 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
1128 <libm-alias-ldouble.h>.
1129 (sincosl): Define using libm_alias_ldouble.
1130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
1131 <libm-alias-ldouble.h>.
1132 (sinl): Define using libm_alias_ldouble.
1133 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
1134 <libm-alias-ldouble.h>.
1135 (tanhl): Define using libm_alias_ldouble.
1136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
1137 <libm-alias-ldouble.h>.
1138 (tanl): Define using libm_alias_ldouble.
1139 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1140 <libm-alias-ldouble.h>.
1141 (totalorderl): Define using libm_alias_ldouble.
1142 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1143 <libm-alias-ldouble.h>.
1144 (totalordermagl): Define using libm_alias_ldouble.
1145 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
1146 <libm-alias-ldouble.h>.
1147 (truncl): Define using libm_alias_ldouble.
1148 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
1150 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
1152 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
1153 <libm-alias-ldouble.h>.
1154 (weak_alias): Do not undefine and redefine.
1155 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1156 (copysignl): Define with long_double_symbol only if [IS_IN
1158 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
1159 <libm-alias-ldouble.h>.
1160 (weak_alias): Do not undefine and redefine.
1161 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1162 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
1163 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
1164 <libm-alias-ldouble.h>.
1165 (weak_alias): Do not undefine and redefine.
1166 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1167 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
1168 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
1169 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
1170 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
1171 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
1172 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
1173 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
1174 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
1175 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
1176 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
1177 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
1178 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
1179 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
1180 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
1181 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
1182 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
1183 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
1184 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
1185 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
1186 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
1187 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
1188 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
1189 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
1190 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
1191 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
1193 2017-10-06 Carlos O'Donell <carlos@redhat.com>
1196 * malloc/malloc.c (tcache_shutting_down): Use bool type.
1197 (tcache_thread_freeres): Set tcache_shutting_down before
1199 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
1200 * malloc/tst-malloc-tcache-leak.c: New file.
1202 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1204 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
1205 back to powerpc32 file.
1206 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1207 (memrchr): Add __memrchr_power8 to ifunc list.
1208 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
1209 extra bytes for unaligned inputs.
1211 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1213 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
1214 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
1215 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
1216 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1217 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1219 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1221 * sysdeps/arm/libm-test-ulps: Update.
1223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
1224 <libm-alias-ldouble.h>.
1225 (asinhl): Define using libm_alias_ldouble.
1226 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
1227 <libm-alias-ldouble.h>.
1228 (cbrtl): Define using libm_alias_ldouble.
1229 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
1230 <libm-alias-ldouble.h>.
1231 (copysignl): Define using libm_alias_ldouble.
1232 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
1233 <libm-alias-ldouble.h>.
1234 (cosl): Define using libm_alias_ldouble.
1235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
1236 <libm-alias-ldouble.h>.
1237 (erfl): Define using libm_alias_ldouble.
1239 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
1240 <libm-alias-ldouble.h>.
1241 (fmal): Define using libm_alias_ldouble.
1242 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
1243 <libm-alias-ldouble.h>.
1244 (frexpl): Define using libm_alias_ldouble.
1245 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
1247 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
1248 <libm-alias-ldouble.h>.
1249 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
1251 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
1252 <libm-alias-ldouble.h>.
1253 (getpayloadl): Define using libm_alias_ldouble.
1254 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
1255 <libm-alias-ldouble.h>.
1256 (llrintl): Define using libm_alias_ldouble.
1257 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
1258 <libm-alias-ldouble.h>.
1259 (llroundl): Define using libm_alias_ldouble.
1260 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
1261 <libm-alias-ldouble.h>.
1262 (lrintl): Define using libm_alias_ldouble.
1263 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
1264 <libm-alias-ldouble.h>.
1265 (lroundl): Define using libm_alias_ldouble.
1266 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
1267 <libm-alias-ldouble.h>.
1268 (modfl): Define using libm_alias_ldouble.
1269 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
1270 <libm-alias-ldouble.h>.
1271 (nextupl): Define using libm_alias_ldouble.
1272 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
1273 <libm-alias-ldouble.h>.
1274 (remquol): Define using libm_alias_ldouble.
1275 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
1276 <libm-alias-ldouble.h>.
1277 (roundevenl): Define using libm_alias_ldouble.
1278 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
1279 <libm-alias-ldouble.h>.
1280 (roundl): Define using libm_alias_ldouble.
1281 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
1282 using libm_alias_ldouble.
1283 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
1284 <libm-alias-ldouble.h>.
1285 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
1286 <libm-alias-ldouble.h>.
1287 (setpayloadsigl): Define using libm_alias_ldouble.
1288 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
1289 <libm-alias-ldouble.h>.
1290 (sincosl): Define using libm_alias_ldouble.
1291 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
1292 <libm-alias-ldouble.h>.
1293 (sinl): Define using libm_alias_ldouble.
1294 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
1295 <libm-alias-ldouble.h>.
1296 (tanhl): Define using libm_alias_ldouble.
1297 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
1298 <libm-alias-ldouble.h>.
1299 (tanl): Define using libm_alias_ldouble.
1300 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1301 <libm-alias-ldouble.h>.
1302 (totalorderl): Define using libm_alias_ldouble.
1303 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1304 <libm-alias-ldouble.h>.
1305 (totalordermagl): Define using libm_alias_ldouble.
1306 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
1308 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
1311 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
1313 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
1315 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1316 (__libc_ifunc_impl_list): Likewise.
1317 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1318 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
1320 * benchtests/bench-memmove-walk.c: New file.
1321 * benchtests/Makefile (string-benchset): Add it.
1323 * benchtests/bench-memset-walk.c: New file.
1324 * benchtests/Makefile (string-benchset): Add it.
1326 * benchtests/bench-memcpy-walk.c: New file.
1327 * benchtests/Makefile (string-benchset): Add it.
1329 2017-10-05 Florian Weimer <fweimer@redhat.com>
1331 nscd: Eliminate compilation time dependency in the build output.
1332 * nscd/nscd_stat.c (STATDATA_VERSION)
1333 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
1334 (STATDATA_VERSION_FULL): New macro definitions.
1335 (compilation): Remove.
1336 (struct statdata): Adjust version member.
1337 (send_stats): Set version from STATDATA_VERSION_FULL.
1338 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
1340 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1342 * configure.ac (--enable-add-ons): Remove option.
1343 (machine): Do not mention add-ons in comment.
1344 (LIBC_PRECONFIGURE): Likewise.
1345 (add_ons): Remove variable and sanity checks and logic to locate
1347 (add_ons_automatic): Remove variable.
1348 (configured_add_ons): Likewise.
1349 (add_ons_sfx): Likewise.
1350 (add_ons_pfx): Likewise.
1351 (add_on_subdirs): Likewise.
1352 (sysnames_add_ons): Likewise. Remove loop over add-ons and
1353 consideration of add-ons in Implies handling.
1354 (sysdeps_add_ons): Likewise.
1355 * configure: Regenerated.
1356 * libidn/configure.ac: Remove.
1357 * libidn/configure: Likewise.
1358 * sysdeps/unix/inet/configure.ac: New file.
1359 * sysdeps/unix/inet/configure: New generated file.
1360 * sysdeps/unix/inet/Subdirs: Add libidn.
1361 * Makeconfig (sysdeps-srcdirs): Remove variable.
1362 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
1363 ($(common-objpfx)config.status): Do not depend on add-on files.
1364 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
1366 (all-subdirs): Do not include $(add-on-subdirs).
1367 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
1368 * config.make.in (add-ons): Remove variable.
1369 (add-on-subdirs): Likewise.
1370 (sysdeps-add-ons): Likewise.
1371 * manual/Makefile (add-chapters): Remove.
1372 ($(objpfx)texis): Do not depend on $(add-chapters).
1373 (nonexamples): Do not handle $(add-chapters).
1374 (examples): Do not handle $(add-ons).
1375 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
1377 * manual/install.texi (Installation): Do not mention add-ons.
1378 (--enable-add-ons): Do not document configure option.
1379 * INSTALL: Regenerated.
1380 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
1381 * manual/maint.texi (Hierarchy Conventions): Do not mention
1383 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
1385 * scripts/gen-sorted.awk: Do not handle Subdirs files from
1387 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
1388 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
1390 2017-10-05 Andreas Schwab <schwab@suse.de>
1393 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
1394 (_IO_flush_all_lockp): Always lock list_all_lock.
1395 (_IO_flush_all_linebuffered): Likewise.
1396 (_IO_unbuffer_all): Likewise.
1398 2017-10-05 Florian Weimer <fweimer@redhat.com>
1401 Do not flush stdio streams on abort.
1402 * stdlib/abort.c (fflush): Remove macro definition.
1403 (abort): Remove stages related to stdio flushing.
1405 2017-10-05 Florian Weimer <fweimer@redhat.com>
1407 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
1409 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1411 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1413 2017-10-05 Florian Weimer <fweimer@redhat.com>
1415 * support/support_format_hostent.c (support_format_hostent): Add
1416 more error information for NETDB_INTERNAL.
1418 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1420 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
1421 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
1422 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
1423 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
1424 AC_DEFINE if multi-arch is enabled.
1425 * sysdeps/i386/configure: Regenerated.
1427 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1429 * Makeconfig (+link-static-before-libc): Use
1430 $(DEFAULT-LDFLAGS-$(@F)).
1431 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
1432 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
1433 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
1435 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1437 * elf/Makefile (tests): Add tst-main1.
1438 (modules-names): Add tst-main1mod.
1439 ($(objpfx)tst-main1): New.
1440 (CRT-tst-main1): Likewise.
1441 (LDFLAGS-tst-main1): Likewise.
1442 (LDLIBS-tst-main1): Likewise.
1443 (tst-main1mod.so-no-z-defs): Likewise.
1444 * elf/tst-main1.c: New file.
1445 * elf/tst-main1mod.c: Likewise.
1447 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1449 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
1451 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1453 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
1454 (fma): Define using libm_alias_double.
1455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
1456 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
1458 (fmal): Do not define as compat symbol here.
1459 * sysdeps/alpha/fpu/s_fma.c: New file.
1461 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1463 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
1465 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1468 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1470 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1472 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
1473 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1474 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
1475 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1477 Include <math_ldbl_opt.h>
1478 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1480 (compat_symbol): Undefine and redefine.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1483 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1484 (compat_symbol): Undefine and redefine.
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
1486 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
1487 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
1489 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
1490 GLIBC_2.0 copysignl symbol.
1491 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1492 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
1494 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
1496 2017-10-04 Florian Weimer <fweimer@redhat.com>
1498 * scripts/check-local-headers.sh: Ignore nspr4 header file
1499 directory in addition to nspr.
1501 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
1504 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
1505 * configure: Regenerate.
1506 * crypt/Makefile (nss-cpp-flags): New variable.
1507 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
1508 (CPPFLAGS-md5-crypt.c): Use it.
1509 * scripts/check-local-headers.sh: Ignore nspr header file
1512 2017-10-04 Andreas Schwab <schwab@suse.de>
1514 * nis/Makefile (services): Remove compat.
1515 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
1516 ($(objpfx)libnss_compat.so): Remove rule.
1517 * nis/Versions (libnss_compat): Remove.
1518 * nss/Makefile (services): Add compat.
1519 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
1520 * nss/Versions (libnss_compat): Define.
1521 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
1522 Don't include <rpc/types.h>. Replace bool_t by bool.
1523 * nss/nss_compat/compat-initgroups.c: Likewise.
1524 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
1525 instead of <rpcsrv/ypclnt.h>.
1526 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1527 yp_get_default_domain.
1528 * nss/nss_compat/compat-pwd.c: Likewise.
1529 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1530 yp_get_default_domain.
1531 * nss/nss_compat/nisdomain.c: New file.
1532 * nss/nss_compat/nisdomain.h: Likewise.
1534 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1537 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1538 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1540 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1543 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1544 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1546 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1548 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1549 "movl main@GOTOFF(%ebx), %eax".
1551 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1553 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1554 allow undefined _DYNAMIC in PIE libc.a.
1555 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1558 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1560 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1563 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1565 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1568 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1570 * math/test-math-iscanonical.cc (error): Replace bool with int.
1572 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1574 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1575 (modf): Define using libm_alias_double, only if [!__modf].
1576 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1577 <libm-alias-double.h>.
1578 (modf): Define using libm_alias_double, only if [!__modf].
1579 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1582 (weak_alias): Do not undefine and redefine.
1583 (strong_alias): Likewise.
1584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1585 (weak_alias): Likewise.
1586 (strong_alias): Likewise.
1588 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1589 (logb): Define using libm_alias_double, only if [!__logb].
1590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1591 <libm-alias-double.h>.
1592 (logb): Define using libm_alias_double, only if [!__logb].
1593 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1595 (weak_alias): Do not undefine and redefine.
1596 (strong_alias): Likewise.
1597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1598 (weak_alias): Likewise.
1599 (strong_alias): Likewise.
1601 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1603 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
1604 Check SHARED instead PIC.
1606 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1608 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
1609 [!__fmaf] (fmaf): Define using libm_alias_float.
1611 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
1612 (frexp): Define using libm_alias_double.
1613 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1614 <libm-alias-double.h>.
1615 (frexp): Define using libm_alias_double.
1616 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1619 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1622 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1623 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1624 (CFLAGS-test-math-iscanonical.cc): New variable.
1625 * math/test-math-iscanonical.cc: New file.
1626 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1627 Provide a C++ implementation based on function overloading,
1628 rather than using __MATH_TG, which uses C-only builtins.
1629 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1631 * sysdeps/powerpc/powerpc64le/Makefile
1632 (CFLAGS-test-math-iscanonical.cc): New variable.
1634 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1636 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1637 (ceil): Define using libm_alias_double.
1638 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1639 (floor): Define using libm_alias_double.
1640 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1641 <libm-alias-double.h>.
1642 (llround): Define using libm_alias_double.
1643 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1644 <libm-alias-double.h>.
1645 (lround): Define using libm_alias_double.
1646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1647 <libm-alias-double.h>.
1648 (nearbyint): Define using libm_alias_double.
1649 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1650 <libm-alias-double.h>.
1651 (remquo): Define using libm_alias_double.
1652 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1653 (rint): Define using libm_alias_double.
1654 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1655 (round): Define using libm_alias_double.
1656 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1657 (trunc): Define using libm_alias_double.
1658 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1659 <libm-alias-double.h>.
1660 (ceil): Define using libm_alias_double.
1661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1662 <libm-alias-double.h>.
1663 (floor): Define using libm_alias_double.
1664 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1665 <libm-alias-double.h>.
1666 (llround): Define using libm_alias_double.
1667 [_LP64] (lround): Likewise.
1668 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1669 <libm-alias-double.h>.
1670 [!_LP64] (lround): Define using libm_alias_double.
1671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1672 <libm-alias-double.h>.
1673 (nearbyint): Define using libm_alias_double.
1674 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1675 <libm-alias-double.h>.
1676 (remquo): Define using libm_alias_double.
1677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1678 <libm-alias-double.h>.
1679 (rint): Define using libm_alias_double.
1680 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1681 <libm-alias-double.h>.
1682 (round): Define using libm_alias_double.
1683 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1684 <libm-alias-double.h>.
1685 (trunc): Define using libm_alias_double.
1686 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1687 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1688 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1689 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1690 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1691 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1692 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1693 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1694 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1696 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1698 * math/w_remainder.c: New file.
1699 * math/w_remainderf.c: New file.
1700 * math/w_remainderl.c: New file.
1702 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1704 * elf/rtld.c (BOOTSTRAP_MAP): New.
1705 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1706 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1708 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1710 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1713 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1715 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1716 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1717 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1718 rtld_hidden_data_ver): Define to empty.
1719 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1720 __assert_perror_fail): Likewise.
1721 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1722 (__rewinddir): Likewise.
1723 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1724 (__profile_frequency): Likewise.
1725 * include/setjmp.h (__sigsetjmp): Likewise.
1726 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1727 __libc_sigaction): Likewise.
1728 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1729 not set hidden attribute.
1730 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1731 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1732 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1733 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1734 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1735 __fxstatat64): Likewise.
1736 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1737 (__uname): Likewise.
1738 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1739 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1740 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1741 (NO_RTLD_HIDDEN): Set.
1742 * sysdeps/mach/hurd/configure: Refresh.
1743 * config.h.in: Refresh.
1745 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1747 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1748 (atan): Define using libm_alias_double.
1749 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1750 (tan): Define using libm_alias_double.
1751 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1752 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1755 define as weak alias of __atan. Do not define any aliases if
1757 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1758 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1759 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1760 as weak alias of __tan. Do not define any aliases if [__tan].
1761 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1762 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1763 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1765 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1766 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1767 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1768 and define as weak alias of __atan.
1769 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1771 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1772 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1773 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1774 define as weak alias of __tan.
1776 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1778 * math/w_lgamma.c: New file.
1779 * math/w_lgammaf.c: New file.
1780 * math/w_lgammal.c: New file.
1782 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1784 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1785 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1786 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1787 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1788 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1789 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1790 * sysdeps/i386/fpu/w_log2f.c: New file.
1791 * sysdeps/i386/fpu/w_logf.c: New file.
1792 * sysdeps/i386/fpu/w_powf.c: New file.
1793 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1794 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1795 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1797 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1798 H.J. Lu <hongjiu.lu@intel.com>
1800 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1801 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1802 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1803 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1806 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1807 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1808 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1809 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1810 * sysdeps/i386/fpu/w_exp2f.c: New file.
1811 * sysdeps/i386/fpu/w_expf.c: New file.
1812 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1813 * sysdeps/x86_64/fpu/w_expf.c: New file.
1815 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1817 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1820 * math/w_log2f.c: New file.
1821 * math/w_logf.c: New file.
1822 * math/w_powf.c: New file.
1823 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1824 * math/w_logf_compat.c (__logf_compat): Likewise.
1825 * math/w_powf_compat.c (__powf_compat): Likewise.
1826 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1827 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1828 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1829 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1830 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1831 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1832 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1833 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1834 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1835 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1836 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1837 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1838 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1839 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1840 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1849 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1850 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1851 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1858 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1859 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1860 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1862 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1864 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1865 (sysdep_routines): Add memrchr_power8.
1866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1867 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1868 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1870 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1871 (memrchr): Add __memrchr_power8 to ifunc list.
1872 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1877 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1878 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1880 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1881 (__posix_fallocate64_l64): Likewise.
1883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1886 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1887 (__sched_setaffinity_new): Add libc_hidden_proto and
1890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1893 * include/glob.h (__glob64): Add libc_hidden_proto.
1894 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1900 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1906 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1911 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1914 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1917 * csu/version.c (__libc_print_version): Add attribute_hidden.
1919 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1922 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1924 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1927 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1929 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1932 * nscd/nscd_helper.c (__nis_hash): New prototype.
1934 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1937 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
1938 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
1940 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1941 * termios/tcgetattr.c (__tcgetattr): Likewise.
1943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1946 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
1947 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
1948 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
1949 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
1950 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
1952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1955 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
1957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1960 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
1961 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
1963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1966 * intl/hash-string.h (__hash_string): Add attribute_hidden.
1968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1971 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
1972 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
1974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1977 * include/ifreq.h: New file.
1978 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
1979 (__ifreq): Likewise.
1980 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
1981 (__ifreq): Likewise.
1983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1986 * include/idna.h: New file.
1987 * inet/getnameinfo.c: Include <idna.h> instead of
1989 (__idna_to_unicode_lzlz): Removed.
1990 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
1992 (__idna_to_ascii_lz): Removed.
1993 (__idna_to_unicode_lzlz): Likewise.
1995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1998 * include/plural-exp.h: New file.
1999 * intl/plural-exp.c: Include <plural-exp.h> instead of
2002 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2005 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
2006 "getsourcefilter.h".
2007 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
2008 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
2009 "getsourcefilter.h".
2010 (__get_sol): Removed.
2012 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2015 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
2017 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
2019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2022 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
2025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2028 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
2030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2033 * include/search.h (__tdestroy): Add libc_hidden_proto.
2034 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
2036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2039 * include/assert.h (__assert_fail_base): Add attribute_hidden.
2041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2044 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
2047 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2050 * include/signal.h (__kill): Add libc_hidden_proto.
2051 (__sigblock): Likewise.
2052 (__sigprocmask): Likewise.
2053 (__sigaltstack): Likewise.
2054 * signal/kill.c (__kill): Add libc_hidden_def.
2055 * signal/sigblock.c (__sigblock): Likewise.
2056 * signal/sigprocmask.c (__sigprocmask): Likewise.
2057 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2058 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2059 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2060 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2061 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
2063 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2065 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2066 (__sigprocmask): Likewise.
2067 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
2069 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2070 (__sigprocmask): Likewise.
2071 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2077 * include/string.h (__strsep): Add libc_hidden_proto.
2078 * string/strsep.c (__strsep): Add libc_hidden_def.
2080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2083 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
2085 (__spawni): Likewise.
2087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2090 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
2091 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
2094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2097 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
2099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2102 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
2103 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
2104 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2105 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
2106 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
2108 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
2109 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
2111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2114 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
2115 (__dcigettext): Likewise.
2117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2120 * include/sys/sysinfo.h (__get_nprocs_conf): Add
2122 (__get_nprocs): Likewise.
2123 (__get_phys_pages): Likewise.
2124 (__get_avphys_pages): Likewise.
2125 (__get_child_max): Add attribute_hidden.
2126 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
2127 (__get_nprocs): Likewise.
2128 (__get_phys_pages): Likewise.
2129 (__get_avphys_pages): Likewise.
2130 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
2132 (__get_nprocs): Likewise.
2133 (__get_phys_pages): Likewise.
2134 (__get_avphys_pages): Likewise.
2135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
2137 (__get_nprocs_conf): Likewise.
2138 (__get_phys_pages): Likewise.
2139 (__get_avphys_pages): Likewise.
2141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2144 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
2146 (__netlink_close): Likewise.
2147 (__netlink_free_handle): Likewise.
2148 (__netlink_request): Likewise.
2150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2153 * include/rpc/rpc.h (__rpc_thread_variables): Add
2155 (__rpc_thread_svc_cleanup): Likewise.
2156 (__rpc_thread_clnt_cleanup): Likewise.
2157 (__rpc_thread_key_cleanup): Likewise.
2159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2162 * include/sys/uio.h (__readv): Add libc_hidden_proto.
2163 (__writev): Likewise.
2164 * misc/readv.c (__readv): Add libc_hidden_def.
2165 * misc/writev.c (__writev): Likewise.
2166 * sysdeps/posix/readv.c (__readv): Likewise.
2167 * sysdeps/posix/writev.c (__writev): Likewise.
2168 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
2169 (__readv): Likewise.
2170 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
2171 (__writev): Likewise.
2173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2176 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
2177 (__regcomp): Add libc_hidden_proto.
2178 (__regexec): Likewise.
2179 (__regfree): Likewise.
2180 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
2181 (__regfree): Likewise.
2182 * posix/regexec.c (__regexec): Likewise.
2184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2187 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
2188 (__getutent): Likewise.
2189 (__getutid): Likewise.
2190 (__getutline): Likewise.
2191 (__pututline): Likewise.
2192 (__getutent_r): Likewise.
2193 (__getutid_r): Likewise.
2194 (__getutline_r): Likewise.
2195 (__utmpname): Add attribute_hidden.
2196 (__setutent): Likewise.
2197 (__endutent): Likewise.
2198 * login/getutent.c (__getutent): Add libc_hidden_def.
2199 * login/getutent_r.c (__getutent_r): Likewise.
2200 (__pututline): Likewise.
2201 * login/getutid.c (__getutid): Likewise.
2202 * login/getutid_r.c (__getutid_r): Likewise.
2203 * login/getutline.c (__getutline): Likewise.
2204 * login/getutline_r.c (__getutline_r): Likewise.
2205 * login/updwtmp.c (__updwtmp): Likewise.
2207 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2210 * include/dirent.h (__opendir): Always add attribute_hidden.
2211 (__fdopendir): Likewise.
2212 (__closedir): Likewise.
2213 (__readdir): Likewise.
2214 (__readdir64): Add libc_hidden_proto.
2215 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
2216 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
2217 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
2218 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
2221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2224 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
2225 * include/netdb.h (__gethostbyaddr_r): Likewise.
2226 (__gethostbyname_r): Likewise.
2227 (__gethostbyname2_r): Likewise.
2228 (__getnetbyaddr_r): Likewise.
2229 (__getnetbyname_r): Likewise.
2230 (__getservbyname_r): Likewise.
2231 (__getservbyport_r): Likewise.
2232 (__getprotobyname_r): Likewise.
2233 (__getprotobynumber_r): Likewise.
2234 (__getnetgrent_r): Likewise.
2235 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
2236 (__getrpcbynumber_r): Likewise.
2237 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
2239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2242 * include/stdio.h (__fcloseall): Add attribute_hidden.
2243 (__getline): Likewise.
2244 (__path_search): Likewise.
2245 (__gen_tempname): Likewise.
2246 (__libc_message): Likewise.
2247 (__flockfile): Likewise.
2248 (__funlockfile): Likewise.
2249 (__fxprintf): Likewise.
2250 (__fxprintf_nocancel): Likewise.
2252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2255 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
2256 (__sgetsgent_r): Likewise.
2258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2261 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
2262 (__statfs64): Likewise.
2263 (__fstatfs64): Likewise.
2264 * include/sys/statvfs.h (__statvfs64): Likewise.
2265 (__fstatvfs64): Likewise.
2266 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
2267 (__statfs_filesize_max): Likewise.
2268 (__statfs_symlinks): Likewise.
2269 (__statfs_chown_restricted): Likewise.
2271 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2274 * include/time.h (__tzstring): Add attribute_hidden.
2275 (__tzfile_read): Likewise.
2276 (__tzfile_compute): Likewise.
2277 (__tzfile_default): Likewise.
2278 (__tzset_parse_tz): Likewise.
2279 (__offtime): Likewise.
2280 (__asctime_r): Likewise.
2281 (__tzset): Likewise.
2282 (__tz_convert): Likewise.
2283 (__getdate_r): Likewise.
2284 (__getclktck): Likewise.
2286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2289 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
2290 (__nscd_unmap): Likewise.
2291 (__nscd_cache_search): Likewise.
2292 (__nscd_get_nl_timestamp): Likewise.
2293 (__nscd_getpwnam_r): Likewise.
2294 (__nscd_getpwuid_r): Likewise.
2295 (__nscd_getgrnam_r): Likewise.
2296 (__nscd_getgrgid_r): Likewise.
2297 (__nscd_gethostbyname_r): Likewise.
2298 (__nscd_gethostbyname2_r): Likewise.
2299 (__nscd_gethostbyaddr_r): Likewise.
2300 (__nscd_getai): Likewise.
2301 (__nscd_getgrouplist): Likewise.
2302 (__nscd_getservbyname_r): Likewise.
2303 (__nscd_getservbyport_r): Likewise.
2304 (__nscd_innetgr): Likewise.
2305 (__nscd_setnetgrent): Likewise.
2307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2310 * include/gmp.h: Declare internal functions only if _ISOMAC is
2312 (__mpn_extract_double): Add attribute_hidden.
2313 (__mpn_extract_long_double): Likewise.
2314 (__mpn_extract_float128): Likewise.
2315 (__mpn_construct_float): Likewise.
2316 (__mpn_construct_double): Likewise.
2317 (__mpn_construct_long_double): Likewise.
2318 (__mpn_construct_float128): Likewise.
2319 (mpn_add_1): Likewise.
2320 (mpn_addmul_1): Likewise.
2321 (mpn_add_n): Likewise.
2322 (mpn_cmp): Likewise.
2323 (mpn_divrem): Likewise.
2324 (mpn_lshift): Likewise.
2325 (mpn_mul): Likewise.
2326 (mpn_mul_1): Likewise.
2327 (mpn_rshift): Likewise.
2328 (mpn_sub_1): Likewise.
2329 (mpn_submul_1): Likewise.
2330 (mpn_sub_n): Likewise.
2332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2335 * include/wchar.h (__wcsnlen): Add attribute_hidden.
2336 (__wcscat): Likewise.
2337 (__btowc): Likewise.
2338 (__wcrtomb): Likewise.
2339 (__mbsrtowcs): Likewise.
2340 (__wcsrtombs): Likewise.
2341 (__mbsnrtowcs): Likewise.
2342 (__wcsnrtombs): Likewise.
2343 (__wcsncpy): Likewise.
2344 (__wcpncpy): Likewise.
2345 (__wmemcpy): Likewise.
2346 (__wmempcpy): Likewise.
2347 (__wmemmove): Likewise.
2348 (__wcschrnul): Likewise.
2349 (__vfwscanf): Likewise.
2350 (__vswprintf): Likewise.
2351 (__fwprintf): Likewise.
2352 (__vfwprintf): Likewise.
2354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2357 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
2358 (__getgrgid_r): Likewise.
2359 (__getgrnam_r): Likewise.
2360 * include/pwd.h (__getpwuid_r): Likewise.
2361 (__getpwnam_r): Likewise.
2362 (__fgetpwent_r): Likewise.
2363 * include/shadow.h (__getspnam_r): Likewise.
2364 (__sgetspent_r): Likewise.
2365 (__fgetspent_r): Likewise.
2367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2370 * include/unistd.h (__access): Add attribute_hidden.
2371 (__lseek64): Likewise.
2372 (__libc_pread64): Likewise.
2373 (__pipe2): Likewise.
2374 (__sleep): Likewise.
2375 (__chdir): Likewise.
2376 (__fchdir): Likewise.
2377 (__getcwd): Likewise.
2378 (__rmdir): Likewise.
2379 (__execvpe): Likewise.
2380 (__execve): Likewise.
2381 (__setsid): Likewise.
2382 (__getuid): Likewise.
2383 (__geteuid): Likewise.
2384 (__getgid): Likewise.
2385 (__getegid): Likewise.
2386 (__getgroups): Likewise.
2387 (__group_member): Likewise.
2388 (__ttyname_r): Likewise.
2389 (__isatty): Likewise.
2390 (__readlink): Likewise.
2391 (__unlink): Likewise.
2392 (__gethostname): Likewise.
2393 (__profil): Likewise.
2394 (__getdtablesize): Likewise.
2396 (__ftruncate): Likewise.
2397 (__ftruncate64): Likewise.
2399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2402 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
2403 * argp/argp-fs-xinl.c: Likewise.
2404 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
2405 * argp/argp-parse.c: Include <argp.h>.
2406 * argp/argp-xinl.c: Likewise.
2407 * include/argp-fmtstream.h: New file.
2408 * include/argp.h (__argp_error): Add attribute_hidden.
2409 (__argp_failure): Likewise.
2410 (__argp_input): Likewise.
2411 (__argp_state_help): Likewise.
2413 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2416 * include/wchar.h (____wcstof_l_internal): New prototype.
2417 (____wcstod_l_internal): Likewise.
2418 (____wcstold_l_internal): Likewise.
2419 (____wcstol_l_internal): Likewise.
2420 (____wcstoul_l_internal): Likewise.
2421 (____wcstoll_l_internal): Likewise.
2422 (____wcstoull_l_internal): Likewise.
2423 (____wcstof128_l_internal): Likewise.
2424 * sysdeps/ieee754/float128/wcstof128.c
2425 (____wcstof128_l_internal): Removed.
2426 * sysdeps/ieee754/float128/wcstof128_l.c
2427 (____wcstof128_l_internal): Likewise.
2428 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
2429 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
2430 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
2431 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
2432 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
2433 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
2434 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
2435 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
2436 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
2437 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
2439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2442 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
2443 instead of <sys/statvfs.h>.
2444 (__internal_statvfs): Removed.
2445 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
2446 instead of <sys/statvfs.h>.
2447 (__internal_statvfs64): Removed.
2448 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
2449 "internal_statvfs.h" instead of <sys/statvfs.h>.
2450 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
2451 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
2452 instead of <sys/statvfs.h>.
2453 (__internal_statvfs): Removed.
2454 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
2455 instead of <sys/statvfs.h>.
2456 (__internal_statvfs64): Removed.
2458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2461 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
2462 (__gconv_close): Likewise.
2463 (__gconv): Likewise.
2464 (__gconv_find_transform): Likewise.
2465 (__gconv_lookup_cache): Likewise.
2466 (__gconv_compare_alias_cache): Likewise.
2467 (__gconv_load_cache): Likewise.
2468 (__gconv_get_path): Likewise.
2469 (__gconv_close_transform): Likewise.
2470 (__gconv_release_cache): Likewise.
2471 (__gconv_find_shlib): Likewise.
2472 (__gconv_release_shlib): Likewise.
2473 (__gconv_get_builtin_trans): Likewise.
2474 (__gconv_compare_alias): Likewise.
2475 * include/dlfcn.h (_dlerror_run): Likewise.
2476 * include/stdio.h (__fortify_fail_abort): Likewise.
2477 * include/time.h (__tz_compute): Likewise.
2478 (__strptime_internal): Likewise.
2479 * intl/gettextP.h (_nl_find_domain): Likewise.
2480 (_nl_load_domain): Likewise.
2481 (_nl_find_msg): Likewise.
2482 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
2483 (EXTRACT_PLURAL_EXPRESSION): Likewise.
2484 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
2485 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
2486 (__gai_find_request): Likewise.
2487 (__gai_remove_request): Likewise.
2488 (__gai_notify): Likewise.
2489 (__gai_notify_only): Likewise.
2490 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2491 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2492 (_dl_non_dynamic_init): Likewise.
2493 (_dl_aux_init): Likewise.
2494 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
2495 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2497 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
2498 (__wcsmbs_clone_conv): Likewise.
2499 (__wcsmbs_named_conv): Likewise.
2501 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2504 * include/stdlib.h (__random): Add attribute_hidden.
2505 (__random_r): Likewise.
2506 (__srandom_r): Likewise.
2507 (__initstate_r): Likewise.
2508 (__setstate_r): Likewise.
2509 (__erand48_r): Likewise.
2510 (__nrand48_r): Likewise.
2511 (__jrand48_r): Likewise.
2512 (__srand48_r): Likewise.
2513 (__seed48_r): Likewise.
2514 (__lcong48_r): Likewise.
2515 (__drand48_iterate): Likewise.
2516 (__setenv): Likewise.
2517 (__unsetenv): Likewise.
2518 (__clearenv): Likewise.
2519 (__ptsname_r): Likewise.
2520 (__posix_openpt): Likewise.
2521 (__add_to_environ): Likewise.
2522 (__realpath): Add libc_hidden_proto.
2523 (__ecvt_r): Likewise.
2524 (__fcvt_r): Likewise.
2525 (__qecvt_r): Likewise.
2526 (__qfcvt_r): Likewise.
2527 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2528 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2533 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2534 * include/time.h (__mktime_internal): Likewise.
2535 * libio/iolibio.h (__fopen_internal): Likewise.
2537 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2539 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2541 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2542 Correct offset used to restore PIC register.
2544 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2547 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2548 code to load address of __getcontext_ret when generating PIC code.
2550 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2552 * elf/Makefile (tests-static-internal): Add
2553 tst-tls1-static-non-pie.
2554 (LDFLAGS-tst-tls1-static-non-pie): New.
2555 * elf/tst-tls1-static-non-pie.c: New file.
2557 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2559 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2560 (asinh): Define using libm_alias_double.
2561 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2562 (cbrt): Define using libm_alias_double.
2563 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2564 <libm-alias-double.h>.
2565 (copysign): Define using libm_alias_double.
2566 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2567 (erf): Define using libm_alias_double.
2569 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2570 (expm1): Define using libm_alias_double.
2571 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2572 (fabs): Define using libm_alias_double.
2573 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2575 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2576 <libm-alias-double.h>.
2577 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2579 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2580 <libm-alias-double.h>.
2581 (getpayload): Define using libm_alias_double.
2582 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2583 <libm-alias-double.h>.
2584 (llrint): Define using libm_alias_double.
2585 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2586 (lrint): Define using libm_alias_double.
2587 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2588 <libm-alias-double.h>.
2589 (nextup): Define using libm_alias_double.
2590 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2591 <libm-alias-double.h>.
2592 (roundeven): Define using libm_alias_double.
2593 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2595 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2596 <libm-alias-double.h>.
2597 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2598 using libm_alias_double.
2599 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2600 (cos): Define using libm_alias_double.
2602 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
2603 <libm-alias-double.h>.
2604 (sincos): Define using libm_alias_double.
2605 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
2606 (tanh): Define using libm_alias_double.
2607 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2608 <libm-alias-double.h>.
2609 (totalorder): Define using libm_alias_double.
2610 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2611 <libm-alias-double.h>.
2612 (totalordermag): Define using libm_alias_double.
2613 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2615 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2617 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2618 <libm-alias-double.h>.
2619 (getpayload): Define using libm_alias_double.
2620 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2621 <libm-alias-double.h>.
2622 (roundeven): Define using libm_alias_double.
2623 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2624 <libm-alias-double.h>.
2625 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2626 <libm-alias-double.h>.
2627 (totalorder): Define using libm_alias_double.
2628 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2629 <libm-alias-double.h>.
2630 (totalordermag): Define using libm_alias_double.
2631 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2632 libc compat symbol here.
2633 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2634 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2635 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2636 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2637 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2638 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2639 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2640 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2641 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2642 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2644 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2646 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2647 _dl_relocate_static_pie instead of _dl_start to compute load
2648 address in static PIE. Return 0 if _DYNAMIC is undefined for
2651 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2653 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2654 _DYNAMIC is undefined for static executable.
2656 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2658 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2660 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2664 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2666 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2667 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2668 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2669 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2670 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2671 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2672 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2673 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2675 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2676 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2677 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2678 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2679 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2680 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2681 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2682 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2684 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2686 * math/bits/cmathcalls.h (cimag): Remove inline.
2687 (creal): Remove inline.
2688 (conj): Remove inline.
2690 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2692 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2693 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2694 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2695 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2696 (issignalingf_inline): Likewise.
2697 (POWF_LOG2_TABLE_BITS): Likewise.
2698 (POWF_LOG2_POLY_ORDER): Likewise.
2699 (POWF_SCALE_BITS): Likewise.
2700 (POWF_SCALE): Likewise.
2701 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2702 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2703 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2705 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2707 * math/Makefile (type-float-routines): Add e_log2f_data.
2708 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2709 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2710 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2711 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2712 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2713 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2714 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2716 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2718 * math/Makefile (type-float-routines): Add e_logf_data.
2719 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2720 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2721 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2722 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2723 * sysdeps/i386/fpu/e_logf_data.c: New file.
2724 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2725 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2727 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2729 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2730 undefined _DYNAMIC in PIE libc.a.
2731 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2734 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2736 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2737 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2738 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2739 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2740 (__signbit): Remove.
2741 (__signbitl): Remove.
2742 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2743 (__signbit): Remove.
2744 (__signbitl): Remove.
2745 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2746 (__signbit): Remove.
2747 (__signbitl): Remove.
2748 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2749 (__signbit): Remove.
2750 (__signbitl): Remove.
2751 * sysdeps/tile/bits/mathinline.h: Delete file.
2752 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2753 (__signbit): Remove.
2754 (__signbitl): Remove.
2756 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2758 * math/math.h: Improve handling of C99 isgreater macros.
2759 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2760 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2761 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2762 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2763 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2765 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2767 * sysdeps/aarch64/libm-test-ulps: Update.
2769 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2772 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2773 math_opt_barrier on argument when doing arithmetic on it.
2774 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2775 Likewise. Use math_force_eval not math_opt_barrier after
2777 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2778 math_opt_barrier on argument when doing arithmetic on it.
2779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2782 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2784 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2786 (__freeifaddrs): Likewise.
2788 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2790 * include/dirent.h (__dirfd): New declaration.
2791 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2793 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2794 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2795 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2796 * include/unistd.h (__revoke): New declaration.
2797 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2799 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2800 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2802 * include/dirent.h (__seekdir): New declaration.
2803 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2804 redefine as weak alias.
2805 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2807 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2808 and use libc_hidden_def on them.
2809 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2811 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2812 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2813 instead of getifaddrs and freeifaddrs.
2815 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2818 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2819 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2820 (__dso_handle): Remove declaration.
2821 * dlfcn/tstatexit.c (__dso_handle): Removed.
2822 (main): Don't check __dso_handle.
2823 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2824 (main): Don't check __dso_handle.
2825 * include/dso_handle.h: New file.
2826 * malloc/mtrace.c: Include <dso_handle.h>.
2827 (mtrace): Pass __dso_handle directly.
2828 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2829 (__dso_handle): Remove declaration.
2830 (__pthread_atfork): Pass __dso_handle directly.
2831 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2832 (__dso_handle): Removed.
2833 * posix/wordexp-test.c: Include <dso_handle.h>.
2834 (__dso_handle): Remove declaration.
2835 (__app_register_atfork): Pass __dso_handle directly.
2836 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2837 (__dso_handle): Remove declaration.
2838 (at_quick_exit): Pass __dso_handle directly.
2839 * stdlib/atexit.c: Include <dso_handle.h>.
2840 (__dso_handle): Remove declaration.
2841 (atexit): Pass __dso_handle directly.
2842 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2843 (__dso_handle): Removed.
2845 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2847 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2850 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2852 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2853 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2854 values to correct default value for given type.
2856 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2859 * elf/Makefile (tests): Add tst-debug1.
2860 ($(objpfx)tst-debug1): New.
2861 ($(objpfx)tst-debug1.out): Likewise.
2862 ($(objpfx)tst-debug1mod1.so): Likewise.
2863 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2865 * elf/tst-debug1.c: New file.
2867 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2869 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2870 Define using __ifunc.
2872 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2874 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2877 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2880 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2882 2017-09-26 Florian Weimer <fweimer@redhat.com>
2884 * resolv/Makefile (tests-internal): Fix typo in comment.
2886 2017-09-26 Florian Weimer <fweimer@redhat.com>
2888 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2890 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2892 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2893 Use an union instead of a max_align_t array for __space,
2894 so that __space is the same size on all platforms.
2895 * malloc/scratch_buffer_grow_preserve.c
2896 (__libc_scratch_buffer_grow_preserve): Likewise.
2899 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2901 * posix/Makefile (routines): Add glob-lstat-compat and
2902 glob64-lstat-compat.
2903 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2904 * posix/glob-lstat-compat.c: New file.
2905 * posix/glob64-lstat-compat.c: Likewise.
2906 * posix/tst-glob_lstat_compat.c: Likewise.
2907 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2908 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2909 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2910 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2912 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2913 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2914 * posix/glob.c (glob_lstat): New function.
2915 (glob): Rename to __glob and add versioned symbol to 2.27.
2916 (glob_in_dir): Use glob_lstat.
2917 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2918 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2919 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2921 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2922 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2923 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2924 gl_lstat on glob call.
2925 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2927 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2928 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2929 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2930 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2931 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2932 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2933 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2934 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2935 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2936 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2937 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2938 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2941 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2943 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2944 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2945 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2952 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2954 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
2956 * configure.ac (AS): Require binutils 2.25 or later.
2957 * configure: Regenerated.
2959 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2962 * stdlib/test-atexit-race-common.c (do_test): Minimize required
2965 2017-09-25 DJ Delorie <dj@redhat.com>
2968 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
2971 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2973 * sysdeps/ieee754/dbl-64/sincos32.h
2974 [SINCCOS32_H]: Remove define.
2975 [SINCOS32_H]: Define.
2977 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2979 * math/Versions (expf): New libm symbol at GLIBC_2.27.
2981 * math/w_exp2f.c: New file.
2982 * math/w_expf.c: New file.
2983 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
2984 * math/w_expf_compat.c (__expf_compat): Likewise.
2985 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
2986 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2987 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2988 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2989 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2990 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2991 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2993 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2994 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2995 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2996 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2997 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2998 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3007 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3008 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3009 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3010 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3011 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3016 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3017 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3018 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3020 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3022 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
3023 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
3024 (roundtoint, converttoint): Likewise.
3025 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
3026 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
3027 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
3028 * sysdeps/ieee754/flt-32/math_config.h: New file.
3029 * sysdeps/ieee754/flt-32/math_errf.c: New file.
3030 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
3031 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
3032 * sysdeps/i386/fpu/math_errf.c: New file.
3033 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
3034 * sysdeps/ia64/fpu/math_errf.c: New file.
3035 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
3036 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
3038 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3040 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
3041 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
3042 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
3043 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
3044 to make sure that these symbols are defined.
3045 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
3047 (__need_NULL): Do not define.
3048 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
3050 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
3051 CMGROUP_MAX, cmsgcred): Do not define.
3052 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
3054 * bits/socket.h: Likewise.
3055 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
3056 __gettimeofday instead of gettimeofday.
3057 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
3058 instead of settimeofday.
3060 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3062 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
3063 (asinhf): Define using libm_alias_float.
3064 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
3065 (atanf): Define using libm_alias_float.
3066 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
3067 (cbrtf): Define using libm_alias_float.
3068 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
3069 (ceilf): Define using libm_alias_float.
3070 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
3071 <libm-alias-float.h>.
3072 (copysignf): Define using libm_alias_float.
3073 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
3074 (cosf): Define using libm_alias_float.
3075 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
3076 (erff): Define using libm_alias_float.
3078 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
3079 (expm1f): Define using libm_alias_float.
3080 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
3081 (fabsf): Define using libm_alias_float.
3082 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
3083 (floorf): Define using libm_alias_float.
3084 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
3085 (frexpf): Define using libm_alias_float.
3086 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
3088 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
3089 <libm-alias-float.h>.
3090 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
3092 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
3093 <libm-alias-float.h>.
3094 (getpayloadf): Define using libm_alias_float.
3095 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
3096 <libm-alias-float.h>.
3097 (llrintf): Define using libm_alias_float.
3098 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
3099 <libm-alias-float.h>.
3100 (llroundf): Define using libm_alias_float.
3101 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
3102 (logbf): Define using libm_alias_float.
3103 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
3104 (lrintf): Define using libm_alias_float.
3105 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
3106 (lroundf): Define using libm_alias_float.
3107 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
3108 (modff): Define using libm_alias_float.
3109 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
3110 <libm-alias-float.h>.
3111 (nearbyintf): Define using libm_alias_float.
3112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
3113 <libm-alias-float.h>.
3114 (nextafterf): Define using libm_alias_float.
3115 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
3116 <libm-alias-float.h>.
3117 (nextupf): Define using libm_alias_float.
3118 * sysdeps/ieee754/flt-32/s_remquof.c: Include
3119 <libm-alias-float.h>.
3120 (remquof): Define using libm_alias_float.
3121 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
3122 (rintf): Define using libm_alias_float.
3123 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
3124 <libm-alias-float.h>.
3125 (roundevenf): Define using libm_alias_float.
3126 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
3127 (roundf): Define using libm_alias_float.
3128 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
3129 using libm_alias_float.
3130 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
3131 <libm-alias-float.h>.
3132 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
3133 Define using libm_alias_float.
3134 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
3135 <libm-alias-float.h>.
3136 (sincosf): Define using libm_alias_float.
3137 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
3138 (sinf): Define using libm_alias_float.
3139 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
3140 (tanf): Define using libm_alias_float.
3141 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
3142 (tanhf): Define using libm_alias_float.
3143 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3144 <libm-alias-float.h>.
3145 (totalorderf): Define using libm_alias_float.
3146 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3147 <libm-alias-float.h>.
3148 (totalordermagf): Define using libm_alias_float.
3149 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
3150 (truncf): Define using libm_alias_float.
3151 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
3153 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
3156 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3159 math/math.h: Let fpclassify use the builtin in C++ mode, even
3160 when optimazing for size.
3162 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3164 * csu/Makefile (generated): Do not add version-info.h.
3165 (before-compile): Likewise.
3166 (all-Banner-files): Remove variable.
3167 ($(objpfx)version-info.h): Remove rule.
3168 * csu/version.c (banner): Do not include "version-info.h".
3169 * libidn/Banner: Remove.
3170 * manual/contrib.texi (Simon Josefsson): New entry.
3172 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3175 Remove conditionals on LDBL_MANT_DIG.
3176 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
3177 (__ieee754_lgammal_r): Likewise.
3179 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
3183 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
3184 _Float128 and L(). Replace _Float128 with long double and L(x)
3185 with xL, throughout the file.
3186 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3191 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
3194 sysdeps/ieee754/ldbl-128ibm.
3195 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
3196 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
3197 of including it. Keep _Float128 and L() intact. These will be
3198 reviewed by a separate patch.
3199 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3204 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
3207 (__finitef128): Define to __redirect___finitef128.
3208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
3209 (__isinff128): Define to __redirect___isinff128.
3210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
3211 (__isnanf128): Define to __redirect___isnanf128.
3213 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3215 * sysdeps/powerpc/powerpc64le/Makefile
3216 (CFLAGS-tst-strtod-nan-locale.c): New variable.
3217 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
3219 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3220 Carlos O'Donell <carlos@redhat.com>
3223 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
3224 * stdlib/test-dlclose-exit-race.c: New file.
3225 * stdlib/test-dlclose-exit-race-helper.c: New file.
3226 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
3228 2017-09-21 Joseph Myers <joseph@codesourcery.com>
3230 * crypt/Banner: Remove file.
3231 * nptl/Banner: Likewise.
3232 * resolv/Banner: Likewise.
3233 * soft-fp/Banner: Likewise.
3234 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
3235 ($(objpfx)version.d): Remove dependency on banner.h.
3236 ($(objpfx)version.os): Likewise.
3237 * nptl/version.c (banner): Do not include banner.h.
3238 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
3239 Jelinek and BIND code.
3241 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3242 Carlos O'Donell <carlos@redhat.com>
3244 * support/xdlfcn.h: New file.
3245 * support/xdlfcn.c: New file.
3246 * support/Makefile (libsupport-routines): Add xdlfcn.
3247 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
3249 2017-09-20 Joseph Myers <joseph@codesourcery.com>
3252 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3253 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
3254 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
3255 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
3256 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3257 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
3258 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
3259 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3261 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3262 Ricky Zhou <rickyz@google.com>
3263 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
3266 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
3268 (__new_exitfn): Fail registration when we finished at_exit processing.
3269 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3270 * stdlib/on_exit.c (__on_exit): Likewise.
3271 * stdlib/exit.c (__exit_funcs_done): New variable.
3272 (__run_exit_handlers): Use __exit_funcs_lock.
3273 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
3275 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
3276 (test-cxa_atexit-race, test-on_exit-race): New tests.
3277 * stdlib/test-atexit-race-common.c: New file.
3278 * stdlib/test-atexit-race.c: New file.
3279 * stdlib/test-at_quick_exit-race.c: New file.
3280 * stdlib/test-cxa_atexit-race.c: New file.
3281 * stdlib/test-on_exit-race.c: New file.
3283 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
3285 * benchtests/Makefile: Add exp2f and log2f benchmarks.
3286 * benchtests/exp2f-inputs: Copy of expf-inputs.
3287 * benchtests/log2f-inputs: Copy of logf-inputs.
3289 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3291 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
3292 Explicitly take address of first element of array arguments in
3293 call to INLINE_SYSCALL.
3295 2017-09-19 Andreas Schwab <schwab@suse.de>
3298 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
3300 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
3302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
3303 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
3304 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3305 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
3306 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3307 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3308 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3309 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3310 * posix/Makefile (tests): Add tst-fexecve.
3311 * posix/tst-fexecve.c: New file.
3313 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3315 * benchtests/Makefile: Add logf benchmark.
3316 * benchtests/logf-inputs: Add reduced trace from wrf_r.
3318 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3320 * benchtests/Makefile: Add expf benchmark.
3321 * benchtests/expf-inputs: Add reduced trace from wrf_r.
3323 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3325 * csu/Makefile: Add -funwind-tables to libc-start.c.
3326 * debug/Makefile: Add -funwind-tables to backtrace.c.
3327 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
3328 * sysdeps/arm/Makefile: Likewise.
3329 * sysdeps/i386/Makefile: Likewise.
3330 * sysdeps/m68k/Makefile: Likewise.
3331 * sysdeps/mips/Makefile: Likewise.
3332 * sysdeps/nios2/Makefile: Likewise.
3333 * sysdeps/sh/Makefile: Likewise.
3334 * sysdeps/sparc/Makefile: Likewise.
3336 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3338 * benchtests/Makefile (bench-math): Add trunc and truncf.
3339 (CFLAGS-bench-trunc.c): New variable.
3340 (CFLAGS-bench-truncf.c): Likewise.
3341 * benchtests/trunc-inputs: New file.
3342 * benchtests/truncf-inputs: Likewise.
3344 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3346 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
3348 2017-09-18 Joseph Myers <joseph@codesourcery.com>
3350 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
3351 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
3353 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3354 (exp10l): Define as weak alias.
3355 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
3356 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
3358 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
3359 (remainderl): Define as weak alias.
3361 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
3362 (fmal): Define using libm_alias_ldouble.
3363 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
3364 (acoshl): Define using libm_alias_ldouble.
3365 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
3366 (acosl): Define using libm_alias_ldouble.
3367 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
3368 (asinl): Define using libm_alias_ldouble.
3369 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
3370 (atan2l): Define using libm_alias_ldouble.
3371 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
3372 (atanhl): Define using libm_alias_ldouble.
3373 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
3374 (coshl): Define using libm_alias_ldouble.
3375 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
3376 (exp10l): Define using libm_alias_ldouble.
3377 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
3378 (exp2l): Define using libm_alias_ldouble.
3379 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
3380 (expl): Define using libm_alias_ldouble.
3381 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
3382 (fmodl): Define using libm_alias_ldouble.
3383 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
3384 (hypotl): Define using libm_alias_ldouble.
3385 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
3386 (j0l): Define using libm_alias_ldouble.
3388 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
3389 (j1l): Define using libm_alias_ldouble.
3391 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
3392 (jnl): Define using libm_alias_ldouble.
3394 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
3395 (log10l): Define using libm_alias_ldouble.
3396 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
3397 (log2l): Define using libm_alias_ldouble.
3398 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
3399 (logl): Define using libm_alias_ldouble.
3400 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
3401 (powl): Define using libm_alias_ldouble.
3402 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
3403 (remainderl): Define using libm_alias_ldouble.
3404 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
3405 (sinhl): Define using libm_alias_ldouble.
3406 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
3407 (sqrtl): Define using libm_alias_ldouble.
3408 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
3409 (tgammal): Define using libm_alias_ldouble.
3410 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
3411 (exp10l): Do not use long_double_symbol here.
3412 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3413 [LIBM_SVID_COMPAT] (remainderl): Likewise.
3414 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
3415 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3416 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3417 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3418 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3419 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3420 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3421 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3422 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3423 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3424 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3425 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3426 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3427 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3428 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3429 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3430 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3431 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3432 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3433 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3435 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
3437 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
3438 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
3440 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3442 * io/read.c (read): Add libc_hidden_weak.
3443 * sysdeps/mach/hurd/read.c (read): Likewise.
3444 * io/write.c (write): Likewise.
3445 * sysdeps/mach/hurd/write.c (write): Likewise.
3446 * io/pread64.c (__pread64): Likewise.
3447 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
3448 * posix/pread64.c (__pread64): Add libc_hidden_def.
3450 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3452 * benchtests/scripts/compare_strings.py: New option -g.
3453 (draw_graph): Print a message that a graph is being generated.
3454 (process_results): Generate graph only if -g is passed.
3455 (main): Process option -g.
3457 * benchtests/scripts/compare_strings.py (process_results):
3458 Better spacing for output.
3460 * benchtests/scripts/compare_strings.py: Use argparse.
3461 * benchtests/README: Document existence of compare_strings.py.
3463 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3465 * math/s_fma.c: Include <libm-alias-double.h>.
3466 (fma): Define using libm_alias_double.
3467 * math/s_nextafter.c: Include <libm-alias-double.h>.
3468 (nextafter): Define using libm_alias_double.
3469 * math/w_acos_compat.c: Include <libm-alias-double.h>.
3470 (acos): Define using libm_alias_double.
3471 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
3472 (aocsh): Define using libm_alias_double.
3473 * math/w_asin_compat.c: Include <libm-alias-double.h>.
3474 (asin): Define using libm_alias_double.
3475 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
3476 (atan2): Define using libm_alias_double.
3477 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
3478 (atanh): Define using libm_alias_double.
3479 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
3480 (cosh): Define using libm_alias_double.
3481 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
3482 (exp10): Define using libm_alias_double.
3483 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
3484 (exp2): Define using libm_alias_double.
3485 * math/w_exp_compat.c: Include <libm-alias-double.h>.
3486 (exp): Define using libm_alias_double.
3487 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
3488 (fmod): Define using libm_alias_double.
3489 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
3490 (hypot): Define using libm_alias_double.
3491 * math/w_j0_compat.c: Include <libm-alias-double.h>.
3492 (j0): Define using libm_alias_double.
3494 * math/w_j1_compat.c: Include <libm-alias-double.h>.
3495 (j1): Define using libm_alias_double.
3497 * math/w_jn_compat.c: Include <libm-alias-double.h>.
3498 (jn): Define using libm_alias_double.
3500 * math/w_log10_compat.c: Include <libm-alias-double.h>.
3501 (log10): Define using libm_alias_double.
3502 * math/w_log2_compat.c: Include <libm-alias-double.h>.
3503 (log2): Define using libm_alias_double.
3504 * math/w_log_compat.c: Include <libm-alias-double.h>.
3505 (log): Define using libm_alias_double.
3506 * math/w_pow_compat.c: Include <libm-alias-double.h>.
3507 (pow): Define using libm_alias_double.
3508 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
3509 (remainder): Define using libm_alias_double.
3510 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
3511 (sinh): Define using libm_alias_double.
3512 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
3513 (sqrt): Define using libm_alias_double.
3514 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
3515 (tgamma): Define using libm_alias_double.
3516 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
3517 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
3518 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
3519 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
3520 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
3521 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
3522 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
3523 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3524 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3525 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3526 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3527 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3528 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3529 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3530 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3531 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3532 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3533 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3534 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3535 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3536 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3537 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3538 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3539 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3540 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3542 * math/e_acoshl.c: Remove.
3543 * math/e_acosl.c: Likewise.
3544 * math/e_asinl.c: Likewise.
3545 * math/e_atan2l.c: Likewise.
3546 * math/e_atanhl.c: Likewise.
3547 * math/e_coshl.c: Likewise.
3548 * math/e_expl.c: Likewise.
3549 * math/e_fmodl.c: Likewise.
3550 * math/e_gammal_r.c: Likewise.
3551 * math/e_hypotl.c: Likewise.
3552 * math/e_j0l.c: Likewise.
3553 * math/e_j1l.c: Likewise.
3554 * math/e_jnl.c: Likewise.
3555 * math/e_lgammal_r.c: Likewise.
3556 * math/e_log10l.c: Likewise.
3557 * math/e_log2l.c: Likewise.
3558 * math/e_logl.c: Likewise.
3559 * math/e_powl.c: Likewise.
3560 * math/e_rem_pio2l.c: Likewise.
3561 * math/e_sinhl.c: Likewise.
3562 * math/e_sqrtf128.c: Likewise.
3563 * math/e_sqrtl.c: Likewise.
3564 * math/k_cosl.c: Likewise.
3565 * math/k_sinl.c: Likewise.
3566 * math/k_tanl.c: Likewise.
3567 * math/s_asinhl.c: Likewise.
3568 * math/s_atanl.c: Likewise.
3569 * math/s_cbrtl.c: Likewise.
3570 * math/s_erfl.c: Likewise.
3571 * math/s_expm1l.c: Likewise.
3572 * math/s_log1pl.c: Likewise.
3573 * math/s_tanhl.c: Likewise.
3575 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3579 [$(subdir) = math] (sysdep_calls): New variable. Has the
3580 previous contents of sysdep_routines, but re-sorted..
3581 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3583 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3584 defined in sysdep_calls and replace by the respective m_* names.
3585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3586 (compat_symbol): Undefine to avoid duplicated compat symbols in
3589 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3591 * math/s_fmaf.c: Include <libm-alias-float.h>.
3592 (fmaf): Define using libm_alias_float.
3593 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3594 (acosf): Define using libm_alias_float.
3595 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3596 (acoshf): Define using libm_alias_float.
3597 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3598 (asinf): Define using libm_alias_float.
3599 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3600 (atan2f): Define using libm_alias_float.
3601 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3602 (atanhf): Define using libm_alias_float.
3603 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
3604 (coshf): Define using libm_alias_float.
3605 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
3606 (exp10f): Define using libm_alias_float.
3607 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
3608 (fmodf): Define using libm_alias_float.
3609 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
3610 (hypotf): Define using libm_alias_float.
3611 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
3612 (j0f): Define using libm_alias_float.
3614 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3615 (j1f): Define using libm_alias_float.
3617 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3618 (jnf): Define using libm_alias_float.
3620 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3621 (log10f): Define using libm_alias_float.
3622 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3623 (log2f): Define using libm_alias_float.
3624 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3625 (logf): Define using libm_alias_float.
3626 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3627 (powf): Define using libm_alias_float.
3628 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3629 (remainderf): Define using libm_alias_float.
3630 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3631 (sinhf): Define using libm_alias_float.
3632 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3633 (sqrtf): Define using libm_alias_float.
3634 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3635 (tgammaf): Define using libm_alias_float.
3637 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3639 * include/math.h (roundeven): Change hidden_proto call to
3641 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3643 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3644 (y0): Rename to __y0 and define as weak alias.
3645 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3646 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3648 (y0f): Rename to __y0f and define as weak alias.
3649 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3651 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3652 (y1): Rename to __y1 and define as weak alias.
3653 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3654 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3656 (y1f): Rename to __y1f and define as weak alias.
3657 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3659 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3660 (yn): Rename to __yn and define as weak alias.
3661 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3662 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3664 (ynf): Rename to __ynf and define as weak alias.
3665 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3666 (fromfp): Define as weak alias.
3667 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3668 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3669 (fromfpx): Define as weak alias.
3670 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3671 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3672 __getpayload and define as weak alias.
3673 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3674 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3675 __roundeven and define as weak alias.
3676 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3677 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3679 (setpayload): Define as weak alias.
3680 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3681 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3683 (setpayloadsig): Define as weak alias.
3684 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3685 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3686 __totalorder and define as weak alias.
3687 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3688 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3689 to __totalordermag and define as weak alias.
3690 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3691 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3692 (ufromfp): Define as weak alias.
3693 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3694 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3696 (ufromfpx): Define as weak alias.
3697 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3698 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3699 Rename to __getpayload and define as weak alias.
3700 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3701 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3702 Rename to __roundeven and define as weak alias.
3703 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3704 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3705 Rename to __totalorder and define as weak alias.
3706 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3707 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3708 (totalordermag): Rename to __totalordermag and define as weak
3710 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3711 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3713 (__roundevenl): Likewise.
3714 (__totalorderl): Likewise.
3715 (__totalordermagl): Likewise
3716 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3718 (fromfpf128): Define as weak alias.
3719 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3721 (fromfpxf128): Define as weak alias.
3722 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3724 (setpayloadf128): Define as weak alias.
3725 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3726 __setpayloadsigf128.
3727 (setpayloadsigf128): Define as weak alias.
3728 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3730 (ufromfpf128): Define as weak alias.
3731 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3733 (ufromfpxf128): Define as weak alias.
3734 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3735 (fromfpf): Define as weak alias.
3736 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3738 (fromfpxf): Define as weak alias.
3739 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3740 __getpayloadf and define as weak alias.
3741 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3742 __roundevenf and define as weak alias.
3743 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3745 (setpayloadf): Define as weak alias.
3746 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3748 (setpayloadsigf): Define as weak alias.
3749 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3750 __totalorderf and define as weak alias.
3751 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3752 Rename to __totalordermagf and define as weak alias.
3753 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3755 (ufromfpf): Define as weak alias.
3756 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3758 (ufromfpxf): Define as weak alias.
3759 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3761 (fromfpl): Define as weak alias.
3762 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3764 (fromfpxl): Define as weak alias.
3765 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3766 to __getpayloadl and define as weak alias.
3767 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3768 __roundevenl and define as weak alias.
3769 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3771 (setpayloadl): Define as weak alias.
3772 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3774 (setpayloadsigl): Define as weak alias.
3775 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3776 to __totalorderl and define as weak alias.
3777 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3778 Rename to __totalordermagl and define as weak alias.
3779 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3781 (ufromfpl): Define as weak alias.
3782 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3784 (ufromfpxl): Define as weak alias.
3785 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3787 (fromfpl): Define as weak alias.
3788 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3790 (fromfpxl): Define as weak alias.
3791 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3792 Rename to __getpayloadl and define as weak alias.
3793 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3794 to __roundevenl and define as weak alias. Call __roundeven
3795 instead of roundeven.
3796 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3798 (setpayloadl): Define as weak alias.
3799 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3801 (setpayloadsigl): Define as weak alias.
3802 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3803 Rename to __totalorderl and define as weak alias.
3804 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3805 Rename to __totalordermagl and define as weak alias.
3806 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3808 (ufromfpl): Define as weak alias.
3809 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3811 (ufromfpxl): Define as weak alias.
3812 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3814 (fromfpl): Define as weak alias.
3815 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3817 (fromfpxl): Define as weak alias.
3818 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3819 __getpayloadl and define as weak alias.
3820 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3821 __roundevenl and define as weak alias.
3822 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3824 (setpayloadl): Define as weak alias.
3825 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3827 (setpayloadsigl): Define as weak alias.
3828 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3829 __totalorderl and define as weak alias.
3830 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3831 Rename to __totalordermagl and define as weak alias.
3832 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3834 (ufromfpl): Define as weak alias.
3835 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3837 (ufromfpxl): Define as weak alias.
3839 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3841 * benchtests/bench-string.h (realloc_bufs): New function.
3842 (test_init): Call it.
3843 * benchtests/bench-memset-large.c (do_test): Likewise.
3844 * benchtests/bench-memset.c (do_test): Likewise.
3846 * benchtests/bench-memset-large.c: Print output in JSON
3848 * benchtests/bench-memset.c: Likewise.
3850 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3853 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3854 * iconvdata/Makefile: Add IBM858.
3855 * iconvdata/gconv-modules: Likewise.
3856 * iconvdata/tst-tables.sh: Likewise.
3857 * iconvdata/ibm858.c: New file.
3858 * localedata/charmaps/IBM858: Likewise.
3860 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3863 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3864 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3866 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3869 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3870 and add tel_int_fmt.
3872 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3874 * sysdeps/generic/libm-alias-float128.h: New file.
3875 * sysdeps/generic/math-type-macros-float128.h: Include
3876 <libm-alias-float128.h>.
3877 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3879 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3881 * sysdeps/generic/libm-alias-ldouble.h: New file.
3882 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3883 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3884 * sysdeps/generic/math-type-macros-ldouble.h: Include
3885 <libm-alias-ldouble.h>.
3886 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3889 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3891 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3892 * math/w_exp_compat.c: ... here.
3893 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3894 * math/w_expf_compat.c: ... here.
3895 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3896 * math/w_expl_compat.c: ... here.
3897 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3898 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3899 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3900 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3902 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3904 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3906 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3908 (ldexpl): Only define as compat symbol for libc, not libm.
3909 (scalbnl): Define as compat symbol for libc here.
3910 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3911 define for [IS_IN (libc)].
3912 (__ldexpl_2): Remove alias.
3913 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3914 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3915 name in long_double_symbol call.
3916 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3917 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3918 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3919 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3920 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3922 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3923 Define as compat symbol.
3925 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3927 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3928 * sysdeps/unix/sysv/linux/alpha/Makefile
3929 [$(subdir) = csu] (sysdep_routines): Remove rule.
3931 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3933 * sysdeps/generic/libm-alias-double.h: New file.
3934 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
3935 * sysdeps/generic/math-type-macros-double.h: Include
3936 <libm-alias-double.h>.
3937 [declare_mgen_alias] (declare_mgen_alias): Define to use
3939 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
3940 (M_LIBM_NEED_COMPAT): Remove macro.
3941 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
3942 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
3943 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
3945 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3946 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3947 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3948 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3949 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3950 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3951 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3952 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3953 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3954 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3955 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3956 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3957 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3958 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3959 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3960 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3961 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3962 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3963 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3964 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3965 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3966 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3967 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3968 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3969 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3970 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3971 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
3972 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3973 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
3975 (declare_mgen_alias): New macro.
3976 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
3977 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
3979 (M_LIBM_NEED_COMPAT): Remove macro.
3980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
3981 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
3983 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
3984 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
3986 2017-09-12 Joseph Myers <joseph@codesourcery.com>
3988 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
3989 (declare_mgen_alias_2): Remove.
3990 * sysdeps/generic/math-type-macros-double.h
3991 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
3993 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
3995 (ldexp): Define with declare_mgen_alias.
3998 2017-09-12 Steve Ellcey <sellcey@cavium.com>
4000 * grp/initgroups.c: Include config.h.
4001 (DEFAULT_CONFIG): New macro.
4002 (internal_getgrouplist): Use DEFAULT_CONFIG.
4003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4004 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
4005 (DEFAULT_DEFCONFIG): New macro.
4006 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
4007 * nss/grp-lookup.c: Include config.h
4008 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
4009 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
4010 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
4011 * manual/nss.texi: Update default values section.
4013 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
4016 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
4018 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
4019 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4020 Handle MathVec_Prefer_No_AVX512.
4021 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
4022 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
4025 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
4027 * posix/sched_primax.c (__sched_get_priority_max): Add
4029 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
4030 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4031 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4032 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
4033 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
4034 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
4035 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
4036 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
4039 2017-09-11 Joseph Myers <joseph@codesourcery.com>
4041 * sysdeps/generic/libm-alias-float.h: New file.
4042 * sysdeps/generic/math-type-macros-float.h: Include
4043 <libm-alias-float.h>.
4044 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
4046 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
4049 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
4050 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
4051 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
4052 (HWCAP_IMPORTANT): Likewise.
4053 (HWCAP_X86_64): New enum.
4054 (HWCAP_X86_AVX512_1): Updated.
4055 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
4056 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
4057 (modules-names): Add x86_64/tst-x86_64mod-1.
4058 (LDFLAGS-tst-x86_64mod-1.so): New.
4059 ($(objpfx)tst-x86_64-1): Likewise.
4060 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
4061 (tst-x86_64-1-clean): Likewise.
4062 * sysdeps/x86_64/tst-x86_64-1.c: New file.
4063 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
4065 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4067 * po/sv.po: Update translations.
4068 * po/fr.po: Likewise.
4070 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4072 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
4074 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
4076 * elf/rtld-Rules: Fix $(error) use.
4078 2017-09-09 Mike FABIAN <mfabian@redhat.com>
4081 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
4082 * locale/iso-639.def: Change “Bengali” to “Bangla”.
4083 * localedata/locales/bn_BD: “Bengali” was still used in some
4084 comments. Change it to “Bangla”.
4086 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
4088 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
4090 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4092 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
4093 thunderx2t99p1 to list of cpu names.
4094 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4095 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
4097 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4099 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
4100 Use strcmp instead of tunable_is_name.
4102 2017-09-08 Joseph Myers <joseph@codesourcery.com>
4104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4105 (F_GET_RW_HINT): New macro.
4106 [__USE_GNU] (F_SET_RW_HINT): Likewise.
4107 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
4108 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
4109 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
4110 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
4111 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
4112 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
4113 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
4114 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
4116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4117 (F_ADD_SEALS): New macro.
4118 [__USE_GNU] (F_GET_SEALS): Likewise.
4119 [__USE_GNU] (F_SEAL_SEAL): Likewise.
4120 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
4121 [__USE_GNU] (F_SEAL_GROW): Likewise.
4122 [__USE_GNU] (F_SEAL_WRITE): Likewise.
4124 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4126 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
4127 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
4128 * posix/glob_internal.h (__glob_pattern_type):
4129 * posix/glob.c (glob):
4130 * posix/glob_pattern_p.c (__glob_pattern_p):
4133 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
4134 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4135 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
4136 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
4137 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
4139 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
4140 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
4141 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4142 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4144 * sysdeps/wordsize-64/glob.c: Likewise.
4145 * sysdeps/wordsize-64/glob64.c: Likewise.
4146 * sysdeps/wordsize-64/globfree.c: Likewise.
4147 * sysdeps/wordsize-64/globfree64.c: Likewise.
4148 * sysdeps/unix/sysv/linux/glob.c: New file.
4149 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
4150 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
4151 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
4152 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4153 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
4154 adds !GLOB_NO_OLD_VERSION as an extra condition.
4155 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
4156 using relative path instead of absolute one.
4157 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
4158 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4159 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4160 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
4161 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
4162 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
4165 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
4166 (glob): Use the same scratch buffer for both getlogin_r and
4167 getpwnam_r. Don’t require preallocation of the login name. This
4168 simplifies storage allocation, and corrects the handling of
4172 * posix/glob.c (glob): Port recent patches to platforms
4174 (glob): Fix longstanding misuse of errno after getpwnam_r, which
4175 returns an error number rather than setting errno.
4177 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
4178 instead of GCC extension.
4179 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
4180 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
4181 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
4185 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
4186 * posix/bug-glob1.c: Remove file.
4187 * posix/tst-glob_symlinks.c: New file.
4188 * posix/glob.c (__lstat64): New macro.
4189 (is_dir): New function.
4190 (glob, glob_in_dir): Match symlinks even if they are dangling.
4191 (link_stat, link_exists_p): Remove. All uses removed.
4195 * posix/glob.c (struct readdir_result): Remove skip_entry member.
4196 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
4201 * posix/Makefile (routines): Add globfree, globfree64, and
4203 * posix/flexmember.h: New file.
4204 * posix/glob_internal.h: Likewise.
4205 * posix/glob_pattern_p.c: Likewise.
4206 * posix/globfree.c: Likewise.
4207 * posix/globfree64.c: Likewise.
4208 * sysdeps/gnu/globfree64.c: Likewise.
4209 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
4210 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4211 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
4212 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4213 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4214 * sysdeps/wordsize-64/globfree.c: Likewise.
4215 * sysdeps/wordsize-64/globfree64.c: Likewise.
4216 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
4217 [NDEBUG): Remove comments.
4218 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
4219 (dirent_type): New type. Use uint_fast8_t not
4220 uint8_t, as C99 does not require uint8_t.
4221 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
4222 (struct readdir_result): Use dirent_type. Do not define skip_entry
4223 unless it is needed; this saves a byte on platforms lacking d_ino.
4224 (readdir_result_type, readdir_result_skip_entry):
4225 New functions, replacing ...
4226 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
4227 these functions, which were removed. This makes the callers
4228 easier to read. All callers changed.
4229 (D_INO_TO_RESULT): Now empty if there is no d_ino.
4230 (size_add_wrapv, glob_use_alloca): New static functions.
4231 (glob, glob_in_dir): Check for size_t overflow in several places,
4232 and fix some size_t checks that were not quite right.
4233 Remove old code using SHELL since Bash no longer
4235 (glob, prefix_array): Separate MS code better.
4236 (glob_in_dir): Remove old Amiga and VMS code.
4237 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
4239 (glob_in_dir): Do not rely on undefined behavior in accessing
4240 struct members beyond their bounds. Use a flexible array member
4242 (link_stat): Rename from link_exists2_p and return -1/0 instead of
4243 0/1. Caller changed.
4244 (glob): Fix memory leaks.
4245 * posix/glob64 (globfree64): Move to separate file.
4246 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
4247 (globfree64): Remove hidden alias.
4248 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
4250 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
4252 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
4254 Move compat code to separate file.
4255 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
4258 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
4260 * resolv/tst-resolv-qtypes.c (domain): Changed to
4261 "const char domain[] =".
4263 2017-09-07 Joseph Myers <joseph@codesourcery.com>
4265 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4268 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
4269 (TCP_MD5SIG_EXT): Likewise.
4270 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
4271 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
4272 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
4274 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
4276 2017-09-07 Mike FABIAN <mfabian@redhat.com>
4278 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
4280 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
4283 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
4285 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4287 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
4288 before assuming that the file is empty. Avoid testing buffer content
4291 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4294 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4296 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
4298 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
4300 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
4302 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4304 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
4306 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
4309 2017-09-06 Florian Weimer <fweimer@redhat.com>
4311 * malloc/dynarray_emplace_enlarge.c
4312 (__libc_dynarray_emplace_enlarge): Add missing else.
4314 2017-09-06 Florian Weimer <fweimer@redhat.com>
4317 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
4318 case of failure to obtain the global conf object.
4320 2017-09-06 Florian Weimer <fweimer@redhat.com>
4323 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
4324 dynarray allocation failure.
4326 2017-09-06 Florian Weimer <fweimer@redhat.com>
4328 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
4329 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
4330 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
4332 (response): Call them. Add 'p', '6' flag processing.
4333 (test_reverse): New function.
4334 (test_get2_any): Call it.
4335 (test_no_inet6): Add 'p' test.
4336 (test_inet6): Likewise.
4338 2017-09-06 Florian Weimer <fweimer@redhat.com>
4340 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
4341 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
4343 (test_gai): Adjust query names. Add additional tests.
4344 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
4345 test_get2. Adjust query names. Add additional tests.
4346 (test_no_inet6): New function, extracted from threadfunc.
4347 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
4348 Add additional tests.
4350 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4353 * localedata/unicode-gen/utf8_gen.py: Set the width for
4354 characters with Prepended_Concatenation_Mark property to 1
4355 * localedata/charmaps/UTF-8: Updated using the improved script.
4357 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4360 * localedata/unicode-gen/utf8_gen.py: Improve the script to
4361 use the range notation for all ranges of neighbouring characters
4362 with the same width.
4364 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4366 * sysdeps/generic/math-type-macros-double.h: Include
4367 <math-svid-compat.h>.
4368 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4369 * sysdeps/generic/math-type-macros-float.h: Include
4370 <math-svid-compat.h>.
4371 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4372 * sysdeps/generic/math-type-macros-ldouble.h: Include
4373 <math-svid-compat.h>.
4374 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4375 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
4377 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
4378 * math/w_acosf_compat.c: Likewise.
4379 * math/w_acosh_compat.c: Likewise.
4380 * math/w_acoshf_compat.c: Likewise.
4381 * math/w_acoshl_compat.c: Likewise.
4382 * math/w_acosl_compat.c: Likewise.
4383 * math/w_asin_compat.c: Likewise.
4384 * math/w_asinf_compat.c: Likewise.
4385 * math/w_asinl_compat.c: Likewise.
4386 * math/w_atan2_compat.c: Likewise.
4387 * math/w_atan2f_compat.c: Likewise.
4388 * math/w_atan2l_compat.c: Likewise.
4389 * math/w_atanh_compat.c: Likewise.
4390 * math/w_atanhf_compat.c: Likewise.
4391 * math/w_atanhl_compat.c: Likewise.
4392 * math/w_cosh_compat.c: Likewise.
4393 * math/w_coshf_compat.c: Likewise.
4394 * math/w_coshl_compat.c: Likewise.
4395 * math/w_exp10_compat.c: Likewise.
4396 * math/w_exp10f_compat.c: Likewise.
4397 * math/w_exp10l_compat.c: Likewise.
4398 * math/w_exp2_compat.c: Likewise.
4399 * math/w_exp2f_compat.c: Likewise.
4400 * math/w_exp2l_compat.c: Likewise.
4401 * math/w_fmod_compat.c: Likewise.
4402 * math/w_fmodf_compat.c: Likewise.
4403 * math/w_fmodl_compat.c: Likewise.
4404 * math/w_hypot_compat.c: Likewise.
4405 * math/w_hypotf_compat.c: Likewise.
4406 * math/w_hypotl_compat.c: Likewise.
4407 * math/w_j0_compat.c: Likewise.
4408 * math/w_j0f_compat.c: Likewise.
4409 * math/w_j0l_compat.c: Likewise.
4410 * math/w_j1_compat.c: Likewise.
4411 * math/w_j1f_compat.c: Likewise.
4412 * math/w_j1l_compat.c: Likewise.
4413 * math/w_jn_compat.c: Likewise.
4414 * math/w_jnf_compat.c: Likewise.
4415 * math/w_jnl_compat.c: Likewise.
4416 * math/w_lgamma_r_compat.c: Likewise.
4417 * math/w_lgammaf_r_compat.c: Likewise.
4418 * math/w_lgammal_r_compat.c: Likewise.
4419 * math/w_log10_compat.c: Likewise.
4420 * math/w_log10f_compat.c: Likewise.
4421 * math/w_log10l_compat.c: Likewise.
4422 * math/w_log2_compat.c: Likewise.
4423 * math/w_log2f_compat.c: Likewise.
4424 * math/w_log2l_compat.c: Likewise.
4425 * math/w_log_compat.c: Likewise.
4426 * math/w_logf_compat.c: Likewise.
4427 * math/w_logl_compat.c: Likewise.
4428 * math/w_pow_compat.c: Likewise.
4429 * math/w_powf_compat.c: Likewise.
4430 * math/w_powl_compat.c: Likewise.
4431 * math/w_remainder_compat.c: Likewise.
4432 * math/w_remainderf_compat.c: Likewise.
4433 * math/w_remainderl_compat.c: Likewise.
4434 * math/w_sinh_compat.c: Likewise.
4435 * math/w_sinhf_compat.c: Likewise.
4436 * math/w_sinhl_compat.c: Likewise.
4437 * math/w_sqrt_compat.c: Likewise.
4438 * math/w_sqrtf_compat.c: Likewise.
4439 * math/w_sqrtl_compat.c: Likewise.
4440 * math/w_tgamma_compat.c: Likewise.
4441 * math/w_tgammaf_compat.c: Likewise.
4442 * math/w_tgammal_compat.c: Likewise.
4443 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
4445 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
4446 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
4448 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
4449 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
4451 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
4452 * sysdeps/i386/fpu/w_sqrt.c: New file.
4453 * sysdeps/ia64/fpu/w_acos.c: Likewise.
4454 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4455 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4456 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4457 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4458 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4459 * sysdeps/ia64/fpu/w_asin.c: Likewise.
4460 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4461 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4462 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4463 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4464 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4465 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4466 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4467 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4468 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4469 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4470 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4471 * sysdeps/ia64/fpu/w_exp.c: Likewise.
4472 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4473 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4474 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4475 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4476 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4477 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4478 * sysdeps/ia64/fpu/w_expf.c: Likewise.
4479 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4480 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4481 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4482 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4483 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4484 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4485 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4486 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4487 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4488 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4489 * sysdeps/ia64/fpu/w_log.c: Likewise.
4490 * sysdeps/ia64/fpu/w_log10.c: Likewise.
4491 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4492 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4493 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4494 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4495 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4496 * sysdeps/ia64/fpu/w_logf.c: Likewise.
4497 * sysdeps/ia64/fpu/w_logl.c: Likewise.
4498 * sysdeps/ia64/fpu/w_pow.c: Likewise.
4499 * sysdeps/ia64/fpu/w_powf.c: Likewise.
4500 * sysdeps/ia64/fpu/w_powl.c: Likewise.
4501 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4502 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4503 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4504 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4505 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4506 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4507 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4508 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4509 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4510 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
4511 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
4512 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
4515 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4516 * sysdeps/ieee754/k_standard.c: Likewise.
4517 * sysdeps/ieee754/k_standardf.c: Likewise.
4518 * sysdeps/ieee754/k_standardl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4520 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4521 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4522 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
4523 long_double_symbol call on [LIBM_SVID_COMPAT].
4524 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4525 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4526 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4527 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4528 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4529 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4530 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4531 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4532 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4533 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4534 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4535 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4536 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4537 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4538 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4539 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4540 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4541 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4542 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4543 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4544 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4545 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4547 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4549 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4550 * malloc/tst-mallocstate.c: Convert from test-skeleton
4551 to test-driver. Ifdef code using TEST_COMPAT macro.
4552 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4553 * math/test-matherr.c: Likewise.
4555 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4558 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4559 comparing word with byte-swapped constant.
4561 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4564 * locale/iso-639.def: add Miskito.
4565 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4566 * localedata/locales/miq_NI: New file.
4568 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4571 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4572 (__mkdir): Likewise.
4573 * io/chmod.c (__chmod): Add libc_hidden_def.
4574 * io/mkdir.c (__mkdir): Likewise.
4575 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4576 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4577 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4578 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4580 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4582 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4586 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4587 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4589 2017-09-04 Florian Weimer <fweimer@redhat.com>
4591 * math/math.h: Issue warning if log is defined.
4593 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4595 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4596 kernel version to 4.13.
4598 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4600 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4601 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
4603 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
4604 just <bits/types.h>.
4605 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
4606 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
4607 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
4608 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
4609 * misc/preadv2.c: Include <errno.h>.
4610 * misc/preadv64v2.c: Include <errno.h>.
4611 * misc/pwritev2.c: Include <errno.h>.
4612 * misc/pwritev64v2.c: Include <errno.h>.
4613 * sysdeps/posix/preadv2.c: Include <errno.h>.
4614 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4615 Fix <unistd.h> inclusion.
4616 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4617 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4618 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4619 __strtoul_internal): New functions.
4620 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4621 * sysdeps/posix/system.c: Include <sigsetops.h>.
4622 * sysdeps/mach/hurd/i386/Makefile
4623 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4624 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4625 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4626 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4627 __feraiseexcept_renamed to feraiseexcept instead of
4629 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4630 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4631 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4632 RWF_NOWAIT): Define to 0 if undefined already.
4633 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4635 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4636 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4638 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4640 * manual/math.texi (pow10): Do not document.
4643 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4644 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4645 * math/libm-test-exp10.inc (pow10_test): Remove.
4646 (do_test): Do not call pow10.
4647 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4648 [NO_LONG_DOUBLE] (pow10l): Likewise.
4649 * math/w_exp10f_compat.c (pow10f): Likewise.
4650 * math/w_exp10l_compat.c (pow10l): Likewise.
4651 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4652 (pow10): Make into compat symbol.
4653 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4654 (pow10f): Make into compat symbol.
4655 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4656 (pow10l): Make into compat symbol.
4657 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4659 (CFLAGS-nldbl-pow10.c): Remove variable..
4660 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4661 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4662 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4663 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4664 Undefine and redefine.
4665 (pow10l): Make into compat symbol.
4666 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4667 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4668 * sysdeps/arm/libm-test-ulps: Likewise.
4669 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4670 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4671 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4672 * sysdeps/microblaze/libm-test-ulps: Likewise.
4673 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4674 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4675 * sysdeps/nios2/libm-test-ulps: Likewise.
4676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4677 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4678 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4679 * sysdeps/sh/libm-test-ulps: Likewise.
4680 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4681 * sysdeps/tile/libm-test-ulps: Likewise.
4682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4684 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4686 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4688 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4690 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4691 "../ChangeLog.old/ChangeLog.8".
4692 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4693 "../ChangeLog.old/ChangeLog.14".
4695 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4697 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4700 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4702 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4704 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4706 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4707 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4709 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4711 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4714 2017-09-01 Zack Weinberg <zackw@panix.com>
4716 * math/math.h (HUGE_VAL): Improve commentary.
4718 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4719 Andreas Schwab <schwab@suse.de>
4722 * include/stdio.h (__gen_tempfd): New function.
4723 * stdio-common/Makefile (routines): Add gentempfd.
4724 * stdio-common/gentempfd.c: New file.
4725 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4726 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4729 2017-09-01 Florian Weimer <fweimer@redhat.com>
4733 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4734 result to determine success or failure, not the errno value.
4735 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4736 (tst-nss-files-hosts-erange): Link with -ldl.
4737 * nss/tst-nss-files-hosts-erange.c: New file.
4738 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4739 (do_test): Add NO_DATA tests.
4740 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4743 2017-09-01 Florian Weimer <fweimer@redhat.com>
4746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4747 coming from gethostbyname2_r.
4749 2017-09-01 Florian Weimer <fweimer@redhat.com>
4751 * support/namespace.h (struct support_chroot_configuration): Add
4753 (struct support_chroot): Add path_hosts, path_host_conf.
4754 * support/support_chroot.c (write_file): New function.
4755 (support_chroot_create): Call it to process /etc/resolv.conf,
4756 /etc/hosts, /etc/host.conf.
4757 (support_chroot_free): Update.
4759 2017-09-01 Florian Weimer <fweimer@redhat.com>
4761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4762 status indicates it is set.
4764 2017-09-01 Florian Weimer <fweimer@redhat.com>
4766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4767 function lookup failures more reliable.
4769 2017-09-01 Florian Weimer <fweimer@redhat.com>
4771 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4772 (getcanonname): Likewise.
4773 (gaih_inet): Likewise.
4775 2017-09-01 Florian Weimer <fweimer@redhat.com>
4777 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4778 (getcanonname): Likewise.
4779 (gaih_inet): Likewise.
4781 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4782 Richard Henderson <rth@twiddle.net>
4784 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4785 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4786 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4787 (IREG_SIZE, OREG_SIZE): New macros.
4788 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4789 (IREG_SIZE, OREG_SIZE): New macros.
4790 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4791 (IREG_SIZE): New macro.
4792 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4793 (IREG_SIZE): New macro.
4794 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4796 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4797 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4798 (__CONCATX): Handle exceptions correctly on large values that may
4800 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4801 Initialize if not already set.
4802 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4804 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4806 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4807 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4809 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4811 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4813 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4815 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4817 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4819 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4821 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4822 (NO_CANCELLATION): Likewise.
4823 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4825 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4827 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4830 (NO_CANCELLATION): Likewise.
4831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4832 (NO_CANCELLATION): Likewise.
4833 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4835 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4837 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4839 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4841 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4843 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4844 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4846 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4848 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4851 2017-08-31 Florian Weimer <fweimer@redhat.com>
4853 * include/libc-symbols.h (internal_function): Remove.
4855 2017-08-31 Florian Weimer <fweimer@redhat.com>
4857 * stdlib/fmtmsg.c (internal_addseverity): Remove
4860 2017-08-31 Florian Weimer <fweimer@redhat.com>
4862 * stdio-common/printf_fp.c (group_number): Remove
4864 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4866 2017-08-31 Florian Weimer <fweimer@redhat.com>
4868 * posix/fnmatch.c (internal_function): Remove definition.
4869 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4870 * posix/regcomp.c (peek_token, init_word_char)
4871 (duplicate_node_closure, fetch_token, peek_token)
4872 (peek_token_bracket, build_range_exp, build_collating_symbol):
4874 * posix/regex_internal.c (re_string_construct_common)
4875 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4876 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4877 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4878 (re_string_translate_buffer, re_string_reconstruct)
4879 (re_string_peek_byte_case, re_string_fetch_byte_case)
4880 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4881 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4882 (re_node_set_add_intersect, re_node_set_init_union)
4883 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4884 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4885 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4886 (re_acquire_state_context): Likewise.
4887 * posix/regex_internal.h (internal_function): Remove definition.
4888 (re_string_realloc_buffers, build_wcs_buffer)
4889 (build_wcs_upper_buffer, build_upper_buffer)
4890 (re_string_translate_buffer, re_string_context_at)
4891 (re_string_char_size_at, re_string_wchar_at)
4892 (re_string_elem_size_at): Likewise.
4893 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4894 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4895 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4896 (re_search_internal, re_search_2_stub, re_search_stub)
4897 (re_copy_regs, prune_impossible_nodes, check_matching)
4898 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4899 (free_fail_stack_return, sift_states_iter_mb)
4900 (sift_states_backward, build_sifted_states)
4901 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4902 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4903 (check_subexp_limits, sift_states_bkref, merge_state_array)
4904 (find_recover_state, transit_state, merge_state_with_log)
4905 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4906 (transit_state_mb, transit_state_bkref, get_subexp)
4907 (get_subexp_sub, find_subexp_node, check_arrival)
4908 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4909 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4910 (check_node_accept_bytes, find_collation_sequence_value)
4911 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4912 (acquire_init_state_context, check_halt_node_context)
4913 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4914 (sub_epsilon_src_nodes): Likewise.
4915 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4916 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4917 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4918 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4919 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4920 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4921 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4922 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4923 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4924 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4926 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4928 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4929 (PWRITEV): Likewise.
4930 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4931 (PWRITEV): Likewise.
4932 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4933 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4935 2017-08-31 Florian Weimer <fweimer@redhat.com>
4937 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
4938 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
4939 Remove internal_function.
4940 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4941 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
4942 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
4943 (__deallocate_stack, __libc_pthread_init)
4944 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
4945 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
4946 (__libc_disable_asynccancel, __librt_disable_asynccancel):
4948 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
4949 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
4950 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
4952 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
4953 (__pthread_mutex_unlock_usercnt): Likewise.
4955 2017-08-31 Florian Weimer <fweimer@redhat.com>
4957 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
4958 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
4959 (fts_safe_changedir): Remove internal_function.
4960 * io/ftw.c (internal_function): Remove definition.
4961 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
4963 2017-08-31 Florian Weimer <fweimer@redhat.com>
4965 * inet/deadline.c (__deadline_current_time)
4966 (__deadline_from_timeval, __deadline_to_ms): Remove
4968 * inet/getnameinfo.c (nrl_domainname): Likewise.
4969 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4970 * inet/inet6_option.c (add_pad): Likewise.
4971 * inet/net-internal.h (__deadline_current_time)
4972 (__deadline_from_timeval, __deadline_to_ms): Likewise.
4973 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
4974 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
4975 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
4977 2017-08-31 Joseph Myers <joseph@codesourcery.com>
4979 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
4980 include <bits/nan.h>.
4981 * math/Makefile (headers): Remove bits/nan.h.
4982 * bits/nan.h: Remove.
4983 * sysdeps/ieee754/bits/nan.h: Likewise.
4984 * sysdeps/mips/bits/nan.h: Likewise.
4986 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
4987 not include <bits/inf.h>.
4988 * math/Makefile (headers): Remove bits/inf.h.
4989 * bits/inf.h: Remove.
4990 * sysdeps/ieee754/bits/inf.h: Likewise.
4992 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
4993 bits/huge_vall.h or bits/huge_val_flt128.h.
4994 (HUGE_VAL): Define directly here.
4995 [__USE_ISOC99] (HUGE_VALF): Likewise.
4996 [__USE_ISOC99] (HUGE_VALL): Likewise.
4997 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4998 (HUGE_VAL_F128): Likewise.
4999 * math/Makefile (headers): Remove bits/huge_val.h,
5000 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
5001 * bits/huge_val.h: Remove.
5002 * bits/huge_val_flt128.h: Likewise.
5003 * bits/huge_valf.h: Likewise.
5004 * bits/huge_vall.h: Likewise.
5005 * sysdeps/ia64/bits/huge_vall.h: Likewise.
5006 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5007 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
5008 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
5009 * sysdeps/sh/bits/huge_val.h: Likewise.
5010 * sysdeps/sparc/bits/huge_vall.h: Likewise.
5011 * sysdeps/x86/bits/huge_vall.h: Likewise.
5013 2017-08-31 Florian Weimer <fweimer@redhat.com>
5015 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
5017 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
5019 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
5020 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5021 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
5022 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
5023 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5024 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5025 * elf/dl-libc.c (dlerror_run): Likewise.
5026 * elf/dl-load.c (add_name_to_object, decompose_rpath)
5027 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
5028 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
5029 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
5031 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
5032 (_dl_higher_prime_number, _dl_strtoul): Likewise.
5033 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
5034 * elf/dl-profile.c (_dl_start_profile): Likewise.
5035 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
5036 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
5038 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
5039 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
5040 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
5041 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
5042 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
5043 (_dl_allocate_tls_storage): Likewise.
5044 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
5045 (_dl_check_all_versions): Likewise.
5046 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5047 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
5048 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
5049 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5050 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
5051 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
5052 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
5053 internal_function from __dl_start.
5054 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
5055 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5056 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
5057 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
5058 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
5059 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
5060 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
5061 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
5062 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
5063 (_dl_next_ld_env_entry, _dl_important_hwcaps)
5064 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
5065 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
5066 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
5067 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
5068 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
5070 (struct rtld_global_ro): Remove internal_function from the
5071 _dl_lookup_symbol_x member.
5072 (_dl_symbol_value): Remove. No longer defined anywhere.
5073 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
5075 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5076 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5077 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
5078 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
5079 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
5080 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
5081 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
5082 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
5083 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
5084 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5085 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5086 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5088 2017-08-31 Florian Weimer <fweimer@redhat.com>
5090 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
5091 Remove internal_function.
5092 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5094 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5097 2017-08-31 Florian Weimer <fweimer@redhat.com>
5099 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
5100 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
5101 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
5103 2017-08-31 Florian Weimer <fweimer@redhat.com>
5105 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
5106 (__gai_enqueue_request): Remove internal_function.
5107 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
5108 (__gai_remove_request, __gai_notify, __gai_notify_only)
5109 (__gai_sigqueue): Likewise.
5110 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
5111 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5112 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
5113 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5116 2017-08-31 Florian Weimer <fweimer@redhat.com>
5118 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
5119 * include/dirent.h (__opendirat, __getdents, __getdents64)
5120 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
5121 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
5122 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5123 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
5125 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
5127 2017-08-31 Florian Weimer <fweimer@redhat.com>
5129 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
5131 (GETCWD_RETURN_TYPE): Likewise.
5133 2017-08-31 Florian Weimer <fweimer@redhat.com>
5135 * include/time.h (__tz_compute, __strptime_internal): Remove
5137 * time/strptime_l.c (__strptime_internal): Likewise.
5138 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
5140 2017-08-31 Florian Weimer <fweimer@redhat.com>
5142 * iconv/gconv.c (__gconv): Remove internal_function.
5143 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
5144 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
5145 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
5146 (__gconv_release_cache): Likewise.
5147 * iconv/gconv_close.c (__gconv_close): Likewise.
5148 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
5149 (read_conf_file, __gconv_get_path): Likewise.
5150 * iconv/gconv_db.c (derivation_lookup, add_derivation)
5151 (__gconv_release_step, gen_steps, increment_counter)
5152 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
5153 (__gconv_close_transform, free_modules_db): Likewise.
5154 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
5156 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
5157 (__gconv_find_transform, __gconv_lookup_cache)
5158 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
5159 (__gconv_close_transform, __gconv_release_cache)
5160 (__gconv_loaded_object, __gconv_release_shlib)
5161 (__gconv_compare_alias): Likewise.
5162 * iconv/gconv_open.c (__gconv_open): Likewise.
5163 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
5164 * iconv/iconvconfig.c (add_module): Likewise.
5165 * intl/dcigettext.c (plural_lookup, guess_category_value)
5166 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
5167 * intl/eval-plural.h (plural_eval): Likewise.
5168 * intl/finddomain.c (_nl_find_domain): Likewise.
5169 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
5170 (_nl_load_domain, _nl_find_msg): Likewise.
5171 (internal_function): Remove definition.
5172 * intl/loadinfo.h (internal_function): Likewise.
5173 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
5175 * intl/localealias.c (internal_function): Remove definition.
5176 (read_alias_file): Remove internal_function.
5177 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
5178 * intl/plural-exp.h (internal_function): Remove definition.
5179 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
5181 * intl/plural.c: Regenerate.
5182 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
5183 * locale/coll-lookup.c (__collidx_table_lookup)
5184 (__collseq_table_lookup): Likewise.
5185 * locale/coll-lookup.h (__collidx_table_lookup)
5186 (__collseq_table_lookup): Likewise.
5187 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
5188 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5189 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
5190 (_nl_unload_locale): Likewise.
5191 * locale/localeinfo.h (struct __locale_data): Remove
5192 internal_function from cleanup member.
5193 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
5194 (_nl_remove_locale, _nl_load_locale_from_archive)
5195 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
5196 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
5197 (_nl_cleanup_time): Remove internal_function.
5198 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
5199 (_nl_parse_alt_digit): Likewise.
5200 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
5201 (_nl_select_era_entry): Likewise.
5202 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
5203 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5204 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5205 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5206 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5208 2017-08-31 Florian Weimer <fweimer@redhat.com>
5210 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
5211 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
5212 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
5213 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
5215 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
5216 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
5217 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
5218 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
5220 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
5222 2017-08-31 Florian Weimer <fweimer@redhat.com>
5224 * misc/getttyent.c (skip, value): Remove internal_function.
5225 * misc/syslog.c (openlog_internal): Likewise.
5226 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
5228 2017-08-31 Florian Weimer <fweimer@redhat.com>
5230 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
5231 (__nss_rewrite_field): Remove internal_function.
5232 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5233 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5234 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5235 * nss/nsswitch.c (nss_parse_file, nss_getline)
5236 (nss_parse_service_list, nss_new_service): Likewise.
5237 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
5238 * nss/valid_field.c (__nss_valid_field): Likewise.
5239 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5241 2017-08-31 Florian Weimer <fweimer@redhat.com>
5243 * malloc/arena.c (__malloc_fork_lock_parent)
5244 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
5245 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
5246 internal_function from defintions.
5247 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
5248 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
5249 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
5250 internal_function from declarations.
5251 * malloc/malloc.c (internal_function): Do not define.
5252 (mem2mem_check): Remove internal_function from declaration.
5253 (munmap_chunk, mremap_chunk): Remove internal_function.
5254 * malloc/mtrace.c (tr_where): Likewise.
5256 2017-08-31 Florian Weimer <fweimer@redhat.com>
5258 * include/rpc/pmap_clnt.h (__get_socket): Remove
5260 * sunrpc/auth_des.c (synchronize): Likewise.
5261 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
5262 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
5263 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
5264 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
5265 (key_call): Likewise.
5266 * sunrpc/pm_getport.c (__get_socket): Likewise.
5267 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
5268 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
5269 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
5270 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
5271 (invalidate): Likewise.
5272 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
5273 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
5274 (set_input_fragment, get_input_bytes): Likewise.
5276 2017-08-31 Florian Weimer <fweimer@redhat.com>
5278 * malloc/malloc.c (_int_free): Remove locked variable and related
5281 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
5284 * Makerules (build-module-helper-objlist): Filter out
5285 $(elf-objpfx)sofini.os.
5286 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
5289 2017-08-31 Florian Weimer <fweimer@redhat.com>
5291 * libio/fcloseall.c: Assume weak_alias is defined.
5292 * libio/feof.c: Likewise.
5293 * libio/fileno.c: Likewise.
5294 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
5295 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5297 (_IO_file_open): Call __open directly.
5298 (_IO_new_file_sync): Assume ESPIPE is defined.
5299 (_IO_file_seekoff_maybe_mmap): Call __read directly.
5300 (_IO_new_file_write): Call __write directly.
5301 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
5302 * libio/ftello64.c (__ftello64): Assume EIO is defined.
5303 * libio/genops.c: Assume _LIBC is defined.
5304 (save_for_backup): Remove internal_function.
5305 * libio/getc.c: Assume weak_alias is defined.
5306 * libio/getwc.c: Likewise.
5307 * libio/iofclose.c: Assume _LIBC is defined.
5308 * libio/iofdopen.c: Likewise.
5309 (_IO_fcntl): Remove macro definition.
5310 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
5311 Call __fcntl directly.
5312 * libio/iofflush.c: Assume weak_alias is defined.
5313 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
5315 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
5316 * libio/iofgets.c: Likewise.
5317 * libio/iofopen.c: Assume _LIBC is defined.
5318 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
5319 * libio/iofputs.c: Assume weak_alias is defined.
5320 * libio/iofread.c: Likewise.
5321 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
5322 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5323 * libio/ioftell.c: Assume weak_alias is defined.
5324 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
5325 * libio/iofwide.c: Assume _LIBC is defined.
5326 (_IO_fwide): Drop SHARED conditional because it is implied by
5328 * libio/iofwrite.c: Assume weak_alias is defined.
5329 * libio/iogetdelim.c: Likewise.
5330 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
5331 * libio/iogetwline.c (wmemcpy): Remove macro definition.
5332 (_IO_getwline): Call __wmemcpy directly.
5333 * libio/iopopen.c: Assume _LIBC is defined.
5334 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5335 (_IO_close): Remove macro definitions.
5336 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
5338 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
5340 * libio/ioputs.c: Assume weak_alias is defined.
5341 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
5342 * libio/iosetbuffer.c: Assume weak_alias is defined.
5343 * libio/iosetvbuf.c: Likewise.
5344 * libio/ioungetc.c: Likewise.
5345 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
5346 libc_hidden_def, libc_hidden_weak, NULL are defined.
5347 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
5348 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
5350 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5352 (_IO_old_file_init_internal): Drop SHARED conditional because it
5353 is implied by SHLIB_COMPAT.
5354 (_IO_old_file_fopen): Call __open directly.
5355 (_IO_old_file_sync): Assume ESPIPE is defined.
5356 (_IO_old_file_write): Call __write directly.
5357 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
5358 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
5359 Call __fcntl directly.
5360 * libio/oldiofgetpos.c: Assume weak_alias is defined.
5361 (_IO_old_fgetpos): Assume EIO is defined.
5362 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
5363 (_IO_old_fgetpos64): Assume EIO is defined.
5364 * libio/oldiofsetpos.c: Assume weak_alias is defined.
5365 (_IO_old_fsetpos): Assume EIO is defined.
5366 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
5367 (_IO_old_fsetpos64): Assume EIO is defined.
5368 * libio/oldiopopen.c: Assume _LIBC is defined.
5369 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5370 (_IO_close): Remove macro definitions.
5371 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
5373 (_IO_old_proc_close): Call __close, __waitpid directly.
5374 * libio/put.c: Assume weak_alias is defined.
5375 * libio/stdfiles.c: Assume _LIBC is defined.
5376 * libio/stdio.c: Likewise.
5377 * libio/wfileops.c: Likewise.
5378 (_IO_wfile_sync): Assume ESPIPE is defined.
5379 * libio/wgenops.c: Assume _LIBC is defined.
5380 (save_for_wbackup): Remove internal_function.
5382 2017-08-31 Florian Weimer <fweimer@redhat.com>
5384 * malloc/malloc.c (top_check): Change return type to void. Remove
5386 * malloc/hooks.c (top_check): Likewise.
5387 (malloc_check, realloc_check, memalign_check): Adjust.
5389 2017-08-30 Joseph Myers <joseph@codesourcery.com>
5392 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5393 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
5394 sigcontext and namespace requirements.
5395 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5396 * sysdeps/m68k/sys/ucontext.h: Likewise.
5397 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
5398 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
5399 <bits/sigcontext.h>.
5400 (__ctx): Define earlier.
5401 (mcontext_t): Define structure contents rather than using struct
5403 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
5404 __glibc_reserved1 instead of __reserved.
5405 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
5406 <bits/sigcontext.h>.
5407 (__ctx): Define earlier.
5408 (mcontext_t): Define structure contents rather than using struct
5410 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
5411 mcontext_t instead of struct sigcontext.
5412 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
5413 <bits/sigcontext.h>.
5414 (__ctx): Define earlier.
5415 (mcontext_t): Define structure contents rather than using struct
5417 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
5418 <bits/sigcontext.h>.
5419 (__ctx): Define earlier.
5420 (mcontext_t): Define structure contents rather than using struct
5422 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
5423 mcontext_t instead of struct sigcontext.
5424 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
5425 mcontext_t instead of struct sigcontext.
5426 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5427 <bits/sigcontext.h>.
5429 (struct __ia64_fpreg_mcontext): New type.
5430 (mcontext_t): Define structure contents rather than using struct
5432 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
5433 (uc_sigmask): Define using __ctx.
5434 (uc_stack): Likewise.
5435 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
5436 <bits/sigcontext.h>.
5437 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5438 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
5439 <bits/sigcontext.h>.
5440 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
5441 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
5442 <bits/sigcontext.h>.
5443 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
5444 <bits/sigcontext.h>.
5445 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
5446 <bits/sigcontext.h>.
5447 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
5448 <bits/sigcontext.h>.
5449 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
5450 <bits/sigcontext.h>.
5451 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
5452 <bits/sigcontext.h>.
5453 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
5454 <bits/sigcontext.h>.
5455 (__ctx): Define earlier.
5456 (mcontext_t): Define structure contents rather than using struct
5458 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
5459 <bits/sigcontext.h>. Include <bits/types.h>.
5460 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
5461 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
5462 (test-xfail-XPG42/ucontext.h/conform): Likewise.
5463 (test-xfail-UNIX98/signal.h/conform): Likewise.
5464 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5465 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5466 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5467 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5468 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5469 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5470 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5471 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5472 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5474 2017-08-30 Florian Weimer <fweimer@redhat.com>
5476 * malloc/dynarray_emplace_enlarge.c
5477 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
5478 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5479 * malloc/tst-dynarray.c (test_long_overflow): New function.
5482 2017-08-30 Florian Weimer <fweimer@redhat.com>
5484 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
5485 (set_arena_corrupt): Remove definitions.
5486 (mtrim): Do not check for corrupt arena.
5487 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
5490 2017-08-30 Florian Weimer <fweimer@redhat.com>
5493 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
5495 (ptmalloc_init): Do not set or use check_action.
5496 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
5497 call to malloc_printerr. Remove return statement.
5498 (free_check): Likewise. Remove arena unlock.
5499 (top_check): Update comment. Adjust call to malloc_printerr.
5500 Remove heap repair code.
5501 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
5502 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
5503 (sysmalloc): Adjust call to malloc_printerr.
5504 (munmap_chunk, __libc_realloc): Likewise. Remove return
5506 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
5507 Remove errout label and corresponding gotos.
5508 (_int_free): Likewise. Remove arena unlock.
5509 (do_set_mallopt_check): Do not set check_action.
5510 (malloc_printerr): Adjust parameter list. Do not mark arena as
5512 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
5514 * manual/probes.texi (Memory Allocation Probes): Remove
5515 memory_mallopt_check_action.
5517 2017-08-30 Steve Ellcey <sellcey@cavium.com>
5519 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
5520 Use pointer to uint64_t instead of long int for sp.
5522 2017-08-30 Florian Weimer <fweimer@redhat.com>
5525 * malloc/malloc.c (malloc_printerr): Always terminate the process,
5526 without printing a backtrace. Do not leak any information in the
5528 * manual/memory.texi (Heap Consistency Checking): Update.
5529 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5531 2017-08-30 Florian Weimer <fweimer@redhat.com>
5533 Do not scale NPTL tests with available number of CPUs.
5534 * nptl/tst-cond16.c (count): Set to constant value of 8.
5535 * nptl/tst-cond18.c (count): Likewise.
5537 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5540 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5541 Define to take a second argument that is a macro that
5542 concatentates a suffix, not the suffix itself.
5543 (__CONCAT_d): New macro.
5544 (__CONCAT_f): Likewise.
5545 (__CONCAT_l): Likewise.
5547 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5549 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5552 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5553 Aurelien Jarno <aurelien@aurel32.net>
5554 Maciej W. Rozycki <macro@imgtec.com>
5557 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5558 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5559 `mips16-syscall6' and `mips16-syscall7'.
5560 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5561 (CFLAGS-mips16-syscall7.c): Remove.
5562 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5563 Remove `__mips16_syscall5', `__mips16_syscall6' and
5564 `__mips16_syscall7'.
5565 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5566 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5567 `__mips_syscall_return'.
5568 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5569 (__mips16_syscall1): Likewise.
5570 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5571 (__mips16_syscall2): Likewise.
5572 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5573 (__mips16_syscall3): Likewise.
5574 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5575 (__mips16_syscall4): Likewise.
5576 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5578 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5580 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5582 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5583 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5584 `__mips16_syscall5'. Remove prototype.
5585 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5586 `__mips16_syscall6'. Remove prototype.
5587 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5588 `__mips16_syscall7'. Remove prototype.
5589 (__nomips16, __mips16_syscall_return): Move to...
5590 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5591 (__nomips16, __mips_syscall_return): ... here.
5592 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5593 `__mips16_syscall_return' to `__mips_syscall_return'.
5594 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5595 `internal_syscall##nr'.
5596 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5597 `internal_syscall##nr'.
5598 (FORCE_FRAME_POINTER): Remove.
5599 (__mips_syscall5): New prototype.
5600 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5601 (__mips_syscall6): New prototype.
5602 (internal_syscall6): Rewrite to call `__mips_syscall6'.
5603 (__mips_syscall7): New prototype.
5604 (internal_syscall7): Rewrite to call `__mips_syscall7'.
5605 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
5606 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
5607 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
5608 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
5609 (sysdep_routines): Add libc-do-syscall.
5610 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
5611 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
5613 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5616 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5617 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5618 (advise_stack_range): New function.
5619 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5620 stack non required to advise_stack_range at allocatestack.c
5622 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5624 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5626 2017-08-29 Florian Weimer <fweimer@redhat.com>
5629 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5630 __end_fct. Mangle __end_fct after setting it to NULL.
5631 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5632 (modules-names, modules-names-tests): Add
5633 tst-gconv-init-failure-mod.
5634 (gconv-modules): New target.
5635 (tst-gconv-init-failure-mod.so): Link against libsupport.
5636 (tst-gconv-init-failure): Depend on gconv-modules,
5637 tst-gconv-init-failure-mod.so.
5638 * iconv/tst-gconv-init-failure-mod.c: New file.
5639 * iconv/tst-gconv-init-failure.c: Likewise.
5640 * iconv/test-gconv-modules: Likewise.
5642 2017-08-29 Florian Weimer <fweimer@redhat.com>
5645 * iconv/gconv_db.c (free_derivation): Remove redundant
5647 (gen_steps): Unconditionally mangle __btowc_fct after
5649 (increment_counter): Likewise. Do not call init_fct for internal
5652 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5655 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5656 (_MSUF_): Remove macro.
5657 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5659 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5660 (__REDIRFROM_X): New macro.
5661 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5663 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5664 (__REDIRTO_X): Likewise.
5665 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5667 (__MATH_REDIRCALL_2): Likewise.
5668 (__MATH_REDIRCALL_INTERNAL): Likewise.
5669 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5670 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5671 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5672 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5673 * math/test-finite-macros.c: New file.
5674 * math/Makefile (tests): Add test-finite-macros.
5675 (CFLAGS-test-finite-macros.c): New variable.
5677 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5678 Jeff Law <law@redhat.com>
5681 Mangle NULL pointers in iconv/gconv.
5682 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5683 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5684 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5685 is non-NULL before demangling the end_fct. Check for NULL
5686 end_fct after demangling.
5687 (__gconv_release_step): Demangle the end_fct before checking
5688 it for NULL. Remove assert on __shlibc_handle != NULL.
5689 (gen_steps): Don't check btowc_fct for NULL before mangling.
5690 Demangle init_fct before checking for NULL.
5691 (increment_counter): Likewise.
5692 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5693 end_fct for NULL before mangling.
5694 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5697 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5700 * locale/iso-639.def: add Morisyen.
5702 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5705 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5706 (iszero): New C++ implementation that does not use
5707 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5708 signaling nans are enabled, since __builtin_types_compatible_p
5709 is a C-only feature.
5710 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5711 defined, include ieee754_float128.h for access to the union and
5712 member ieee854_float128.ieee.
5713 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5714 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5715 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5716 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5717 options of test-math-zero on powerpc64le.
5719 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5721 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5722 Change double to float.
5724 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5726 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5728 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5729 conditional code; define contents only for [LIBM_SVID_COMPAT].
5731 2017-08-28 Florian Weimer <fweimer@redhat.com>
5733 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5734 (abi-lp64_be-options): Remove.
5735 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5736 (abi-hard-options): Likewise.
5737 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5738 (abi-o32_hard-options, abi-o32_soft_2008-options)
5739 (abi-o32_hard_2008-options, abi-n32_soft-options)
5740 (abi-n32_hard-options, abi-n32_soft_2008-options)
5741 (abi-n32_hard_2008-options, abi-n64_soft-options)
5742 (abi-n64_hard-options, abi-n64_soft_2008-options)
5743 (abi-n64_hard_2008-options): Likewise.
5744 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5745 (abi-64-v1-options, abi-64-v2-options): Likewise.
5746 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5747 (abi-64-options): Likewise.
5748 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5749 (abi-64-options): Likewise.
5750 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5751 (abi-64-options): Likewise.
5752 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5753 (abi-64-options, abi-x32-options): Likewise.
5755 2017-08-28 Florian Weimer <fweimer@redhat.com>
5757 Store supported list of SYS_* system calls in the source tree.
5758 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5759 (bits/syscall.h): Generate from list file.
5760 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5761 [$(subdir) = misc] (tests): Add tst-syscall-list.
5762 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5763 [$(subdir) = misc] (tst-syscall-list-macros.list)
5764 [$(subdir) = misc] (tst-syscall-list-nr.list)
5765 (tst-syscall-list-sys.list): Helper targets for new
5766 tst-syscall-list test.
5767 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5768 tst-syscall-list.sh.
5769 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5770 target. Do not include bits/syscall.d.
5771 [$(subdir) = misc] (generated): Do not update.
5772 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5773 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5774 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5775 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5777 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5779 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5780 (tst-cxa_atexit, tst-on_exit): Likewise.
5781 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5782 tst-cxa_atexit, and tst-on_exit.
5783 * stdlib/tst-atexit-common.c: New file.
5784 * stdlib/tst-atexit.c: New file.
5785 * stdlib/tst-at_quick_exit.c: New file.
5786 * stdlib/tst-cxa_atexit.c: New file.
5787 * stdlib/tst-on_exit.c: New file.
5789 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5791 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5792 * mach/stack_chk_fail_local.c: New file.
5793 * hurd/stack_chk_fail_local.c: New file.
5794 * mach/Machrules ($(interface-library)-routines): Add
5795 stack_chk_fail_local.
5796 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5797 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5798 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5799 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5800 * hurd/Makefile (CFLAGS-hurdstartup.o,
5801 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5803 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5805 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5806 (index_cpu_*, index_arch_*): Removed.
5808 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5810 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5811 Use uint64_t instead of unsigned long.
5813 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5815 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5816 [__HAVE_DISTINCT_FLOAT128].
5818 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5819 of <bits/math-finite.h>.
5820 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5821 inclusion of <bits/math-finite.h>.
5822 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5823 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5824 __NO_LONG_DOUBLE_MATH].
5825 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5826 (__MATH_REDIRCALL_2): Likewise.
5827 (__MATH_REDIRCALL_INTERNAL): Likewise.
5828 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5829 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5830 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5844 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5845 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5846 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5847 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5849 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5850 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5851 w_sqrtf_compat-ppc32.
5853 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5855 * math/math.h [defined __cplusplus] (issignaling): In the long
5856 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5857 is not defined. Call __issignaling, otherwise.
5859 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5861 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5862 syscall definitions and replace __builtin_expect with __glibc_likely.
5863 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5865 (SYSCALL_CANCELLABLE): Removedefinition
5866 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5868 (PSEUDO_END): Likewise.
5869 [IS_IN (libpthread)] (CENABLE): Likewise.
5870 [IS_IN (libpthread)] (CDISABLE): Likewise.
5871 [IS_IN (libc)] (CENABLE): Likewise.
5872 [IS_IN (libc)] (CENABLE): Likewise.
5873 [IS_IN (librt)] (CDISABLE): Likewise.
5874 [IS_IN (librt)] (CDISABLE): Likewise.
5875 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5876 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5878 (PSEUDO_END): Likewise.
5879 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5880 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5881 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5882 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5883 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5884 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5885 (CENABLE): Likewise.
5886 (CDISABLE): Likewise.
5887 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5888 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5890 (PSEUDO_END): Likewise.
5891 [IS_IN (libpthread)] (CENABLE): Likewise.
5892 [IS_IN (libpthread)] (CDISABLE): Likewise.
5893 [IS_IN (libc)] (CENABLE): Likewise.
5894 [IS_IN (libc)] (CENABLE): Likewise.
5895 [IS_IN (librt)] (CDISABLE): Likewise.
5896 [IS_IN (librt)] (CDISABLE): Likewise.
5897 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5898 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5900 (PSEUDO_END): Likewise.
5901 [IS_IN (libpthread)] (CENABLE): Likewise.
5902 [IS_IN (libpthread)] (CDISABLE): Likewise.
5903 [IS_IN (libc)] (CENABLE): Likewise.
5904 [IS_IN (libc)] (CENABLE): Likewise.
5905 [IS_IN (librt)] (CDISABLE): Likewise.
5906 [IS_IN (librt)] (CDISABLE): Likewise.
5907 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5908 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5910 (PSEUDO_END): Likewise.
5911 [IS_IN (libpthread)] (CENABLE): Likewise.
5912 [IS_IN (libpthread)] (CDISABLE): Likewise.
5913 [IS_IN (libc)] (CENABLE): Likewise.
5914 [IS_IN (libc)] (CENABLE): Likewise.
5915 [IS_IN (librt)] (CDISABLE): Likewise.
5916 [IS_IN (librt)] (CDISABLE): Likewise.
5917 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5918 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5920 (PSEUDO_END): Likewise.
5921 [IS_IN (libpthread)] (CENABLE): Likewise.
5922 [IS_IN (libpthread)] (CDISABLE): Likewise.
5923 [IS_IN (libc)] (CENABLE): Likewise.
5924 [IS_IN (libc)] (CENABLE): Likewise.
5925 [IS_IN (librt)] (CDISABLE): Likewise.
5926 [IS_IN (librt)] (CDISABLE): Likewise.
5927 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5928 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
5930 (PSEUDO_END): Likewise.
5931 [IS_IN (libpthread)] (CENABLE): Likewise.
5932 [IS_IN (libpthread)] (CDISABLE): Likewise.
5933 [IS_IN (libc)] (CENABLE): Likewise.
5934 [IS_IN (libc)] (CENABLE): Likewise.
5935 [IS_IN (librt)] (CDISABLE): Likewise.
5936 [IS_IN (librt)] (CDISABLE): Likewise.
5937 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5938 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
5940 (PSEUDO_END): Likewise.
5941 [IS_IN (libpthread)] (CENABLE): Likewise.
5942 [IS_IN (libpthread)] (CDISABLE): Likewise.
5943 [IS_IN (libc)] (CENABLE): Likewise.
5944 [IS_IN (libc)] (CENABLE): Likewise.
5945 [IS_IN (librt)] (CDISABLE): Likewise.
5946 [IS_IN (librt)] (CDISABLE): Likewise.
5947 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5948 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
5950 (PSEUDO_END): Likewise.
5951 [IS_IN (libpthread)] (CENABLE): Likewise.
5952 [IS_IN (libpthread)] (CDISABLE): Likewise.
5953 [IS_IN (libc)] (CENABLE): Likewise.
5954 [IS_IN (libc)] (CENABLE): Likewise.
5955 [IS_IN (librt)] (CDISABLE): Likewise.
5956 [IS_IN (librt)] (CDISABLE): Likewise.
5957 (SINGLE_THREAD_P): Likewise.
5958 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
5960 (PSEUDO_END): Likewise.
5961 [IS_IN (libpthread)] (CENABLE): Likewise.
5962 [IS_IN (libpthread)] (CDISABLE): Likewise.
5963 [IS_IN (libc)] (CENABLE): Likewise.
5964 [IS_IN (libc)] (CENABLE): Likewise.
5965 [IS_IN (librt)] (CDISABLE): Likewise.
5966 [IS_IN (librt)] (CDISABLE): Likewise.
5967 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5968 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
5970 (PSEUDO_END): Likewise.
5971 [IS_IN (libpthread)] (CENABLE): Likewise.
5972 [IS_IN (libpthread)] (CDISABLE): Likewise.
5973 [IS_IN (libc)] (CENABLE): Likewise.
5974 [IS_IN (libc)] (CENABLE): Likewise.
5975 [IS_IN (librt)] (CDISABLE): Likewise.
5976 [IS_IN (librt)] (CDISABLE): Likewise.
5977 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5978 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
5979 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5980 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
5981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
5983 (PSEUDO_END): Likewise.
5984 [IS_IN (libpthread)] (CENABLE): Likewise.
5985 [IS_IN (libpthread)] (CDISABLE): Likewise.
5986 [IS_IN (libc)] (CENABLE): Likewise.
5987 [IS_IN (libc)] (CENABLE): Likewise.
5988 [IS_IN (librt)] (CDISABLE): Likewise.
5989 [IS_IN (librt)] (CDISABLE): Likewise.
5990 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5991 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
5993 (PSEUDO_END): Likewise.
5994 [IS_IN (libpthread)] (CENABLE): Likewise.
5995 [IS_IN (libpthread)] (CDISABLE): Likewise.
5996 [IS_IN (libc)] (CENABLE): Likewise.
5997 [IS_IN (libc)] (CENABLE): Likewise.
5998 [IS_IN (librt)] (CDISABLE): Likewise.
5999 [IS_IN (librt)] (CDISABLE): Likewise.
6000 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6001 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
6003 (PSEUDO_END): Likewise.
6004 [IS_IN (libpthread)] (CENABLE): Likewise.
6005 [IS_IN (libpthread)] (CDISABLE): Likewise.
6006 [IS_IN (libc)] (CENABLE): Likewise.
6007 [IS_IN (libc)] (CENABLE): Likewise.
6008 [IS_IN (librt)] (CDISABLE): Likewise.
6009 [IS_IN (librt)] (CDISABLE): Likewise.
6010 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
6012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6013 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
6014 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
6016 (PSEUDO_END): Likewise.
6017 [IS_IN (libpthread)] (CENABLE): Likewise.
6018 [IS_IN (libpthread)] (CDISABLE): Likewise.
6019 [IS_IN (libc)] (CENABLE): Likewise.
6020 [IS_IN (libc)] (CENABLE): Likewise.
6021 [IS_IN (librt)] (CDISABLE): Likewise.
6022 [IS_IN (librt)] (CDISABLE): Likewise.
6023 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6024 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
6026 (PSEUDO_END): Likewise.
6027 [IS_IN (libpthread)] (CENABLE): Likewise.
6028 [IS_IN (libpthread)] (CDISABLE): Likewise.
6029 [IS_IN (libc)] (CENABLE): Likewise.
6030 [IS_IN (libc)] (CENABLE): Likewise.
6031 [IS_IN (librt)] (CDISABLE): Likewise.
6032 [IS_IN (librt)] (CDISABLE): Likewise.
6033 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6035 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
6037 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
6039 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6041 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6043 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6046 * string/stratcliff.c (do_test): Declare size, nchars, inner,
6047 middle and outer with size_t instead of int. Repleace %d and
6048 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
6049 "MAX (outer, nchars - 64)" to support unsigned outer and
6050 nchars. Also exit loop when outer == 0.
6052 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6054 * include/fcntl.h (__fcntl_nocancel): Remove definition.
6055 * include/signal.h (__sigsuspend_nocancel): Likewise.
6056 * include/time.h (__nanosleep_nocancel): Likewise.
6057 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
6058 * login/utmp_file.c: Include non cancellable syscall header.
6059 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
6062 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6064 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
6065 .byte sequences with AVX512F instructions.
6066 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
6067 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6068 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6069 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
6071 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6074 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
6075 Steve Ellcey <sellcey@cavium.com>
6077 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
6078 Use PTR_REG macro in cmp instruction.
6080 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6082 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
6083 Change the return type of the ifunc resolver to match the return
6084 type of the target function.
6086 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6088 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
6089 (preadv64): Likewise.
6090 (pwrite64(: Likewise.
6091 (pwritev64): Likewise.
6093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6094 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
6095 (LOAD_ARGS_0): Likewise.
6096 (LOAD_ARGS_1): Likewise.
6097 (LOAD_ARGS_2): Likewise.
6098 (LOAD_ARGS_3): Likewise.
6099 (LOAD_ARGS_4): Likewise.
6100 (LOAD_ARGS_5): Likewise.
6101 (LOAD_ARGS_6): Likewise.
6102 (LOAD_REGS_0): Likewise.
6103 (LOAD_REGS_1): Likewise.
6104 (LOAD_REGS_2): Likewise.
6105 (LOAD_REGS_3): Likewise.
6106 (LOAD_REGS_4): Likewise.
6107 (LOAD_REGS_5): Likewise.
6108 (LOAD_REGS_6): Likewise.
6109 (ASM_ARGS_0): Likewise.
6110 (ASM_ARGS_1): Likewise.
6111 (ASM_ARGS_2): Likewise.
6112 (ASM_ARGS_3): Likewise.
6113 (ASM_ARGS_4): Likewise.
6114 (ASM_ARGS_5): Likewise.
6115 (ASM_ARGS_6): Likewise.
6116 (LOAD_ARGS_TYPES_1): Likewise.
6117 (LOAD_ARGS_TYPES_2): Likewise.
6118 (LOAD_ARGS_TYPES_3): Likewise.
6119 (LOAD_ARGS_TYPES_4): Likewise.
6120 (LOAD_ARGS_TYPES_5): Likewise.
6121 (LOAD_ARGS_TYPES_6): Likewise.
6122 (LOAD_REGS_TYPES_1): Likewise.
6123 (LOAD_REGS_TYPES_2): Likewise.
6124 (LOAD_REGS_TYPES_3): Likewise.
6125 (LOAD_REGS_TYPES_4): Likewise.
6126 (LOAD_REGS_TYPES_5): Likewise.
6127 (LOAD_REGS_TYPES_6): Likewise.
6128 (TYPEFY): New define.
6130 (internal_syscall0): Likewise.
6131 (internal_syscall1): Likewise.
6132 (internal_syscall2): Likewise.
6133 (internal_syscall3): Likewise.
6134 (internal_syscall4): Likewise.
6135 (internal_syscall5): Likewise.
6136 (internal_syscall6): Likewise.
6137 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
6138 (INTERNAL_SYSCALL_NCS): Remove define.
6139 (internal_syscall1): Add define.
6141 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6143 * math/w_remainder_compat.c: Remove duplicate inclusion of
6145 * math/w_remainderf_compat.c: Likewise.
6146 * math/w_remainderl_compat.c: Likewise.
6148 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6152 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6155 * math/tgmath.h (__floating_type): Simplify definitions.
6156 (__real_integer_type): New macro.
6157 (__complex_integer_type): Likewise.
6158 (__expr_is_real): Likewise.
6159 (__tgmath_real_type_sub): Update comment to describe handling of
6161 (__tgmath_complex_type_sub): New macro.
6162 (__tgmath_complex_type): Likewise.
6163 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6164 (__TGMATH_CF128): Use __expr_is_real.
6165 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
6167 (__TGMATH_BINARY_REAL_IMAG): Likewise.
6168 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
6169 * math/gen-tgmath-tests.py (Type.create_type): Create complex
6172 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6174 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
6176 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
6178 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
6181 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
6182 nanosleep_not_cancel with __nanosleep_nocancel.
6183 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
6184 (__nanosleep_nocancel): New macro.
6185 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
6187 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
6189 (__nanosleep_nocancel): New prototype.
6191 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
6192 pause_not_cancel with __pause_nocancel.
6193 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
6194 (__pause_nocancel): New macro.
6195 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
6197 (__pause_nocancel): New prototype.
6198 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
6200 2017-08-22 Martin Sebor <msebor@redhat.com>
6202 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
6203 to return a pointer to the same type as the target function.
6205 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6209 * include/printf.h (__printf_fphex): Add attribute_hidden.
6210 (__guess_grouping): New prototype.
6211 * stdio-common/printf_fp.c (__guess_grouping): Removed.
6212 * stdio-common/reg-printf.c (__register_printf_specifier): Add
6213 libc_hidden_proto and libc_hidden_def.
6214 * stdlib/strfmon_l.c (__guess_grouping): Removed.
6215 (__vstrfmon_l): Remove the third argument passed to
6218 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6220 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
6221 definition for issignaling that does not rely on __MATH_TG,
6222 since __MATH_TG uses __builtin_types_compatible_p, which is only
6223 available in C mode.
6224 (CFLAGS-test-math-issignaling.cc): New variable.
6225 * math/Makefile [CXX] (tests): Add test-math-issignaling.
6226 * math/test-math-issignaling.cc: New test for C++ implementation
6227 of type-generic issignaling.
6228 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
6229 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
6230 options of test-math-issignaling on powerpc64le.
6232 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6234 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6236 (hidden_proto): Likewise.
6237 (hidden_tls_proto): Likewise.
6238 (__hidden_proto): Likewise.
6240 2017-08-22 Florian Weimer <fweimer@redhat.com>
6242 math: Statically link tests of internal functionality.
6243 * math/Makefile (tests): Remove atest-exp, atest-sincos,
6245 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
6246 (gmp-objs): Remove assignment.
6247 (atest-exp, atest-sincos, atest-exp2): Remove targets.
6249 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6252 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
6254 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
6256 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
6259 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
6260 variable definitions above inclusion of ../Rules.
6262 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6264 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
6265 case calling __builtin_unreachable.
6267 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6269 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
6271 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
6272 (__waitpid_nocancel): New macro.
6273 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
6275 (__waitpid_nocancel): Replace macro with a function.
6276 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
6279 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
6281 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
6282 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
6284 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
6285 __writev_nocancel_nostatus.
6286 (write_call_graph): Likewise.
6287 (write_bb_counts): Likewise.
6288 * resolv/herror.c (herror): Likewise.
6289 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
6291 (__writev_nocancel_nostatus): New macro.
6292 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
6294 (__writev_nocancel_nostatus): New function.
6296 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6299 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6301 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6303 (hidden_proto): Likewise.
6304 (hidden_tls_proto): Likewise.
6305 (__hidden_proto): Likewise.
6308 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
6309 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
6319 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6320 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6321 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6322 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6323 GLIBC_2.0 sqrtl symbol.
6325 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
6326 [__USE_MISC] (_LIB_VERSION): Likewise.
6327 [__USE_MISC] (struct exception): Likewise.
6328 [__USE_MISC] (matherr): Likewise.
6329 [__USE_MISC] (DOMAIN): Likewise.
6330 [__USE_MISC] (SING): Likewise.
6331 [__USE_MISC] (OVERFLOW): Likewise.
6332 [__USE_MISC] (UNDERFLOW): Likewise.
6333 [__USE_MISC] (TLOSS): Likewise.
6334 [__USE_MISC] (PLOSS): Likewise.
6335 [__USE_MISC] (HUGE): Likewise.
6336 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
6337 * math/math-svid-compat.h: New file.
6338 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
6340 * include/math.h [!_ISOMAC] (__matherr): Remove.
6341 * manual/arith.texi (FP Exceptions): Do not document matherr.
6342 * math/Makefile (tests): Change test-matherr to test-matherr-3.
6343 (tests-internal): New variable.
6344 (install-lib): Do not add libieee.a.
6345 (non-lib.a): Likewise.
6346 (extra-objs): Do not add libieee.a and ieee-math.o.
6347 (CPPFLAGS-s_lib_version.c): Remove variable.
6348 ($(objpfx)libieee.a): Remove rule.
6349 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
6350 * math/ieee-math.c: Remove.
6351 * math/libm-test-support.c (matherr): Remove.
6352 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
6353 and license notices. Include <math-svid-compat.h> and
6355 (matherr): Undefine as macro. Use compat_symbol_reference.
6356 (_LIB_VERSION): Likewise.
6357 * math/test-matherr-2.c: New file.
6358 * math/test-matherr-3.c: Likewise.
6359 * sysdeps/generic/math_private.h (__kernel_standard): Remove
6361 (__kernel_standard_f): Likewise.
6362 (__kernel_standard_l): Likewise.
6363 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
6364 <math_private.h>. Include <math-svid-compat.h>.
6365 (_LIB_VERSION): Undefine as macro.
6366 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
6367 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
6368 [LIBM_SVID_COMPAT], use compat_symbol.
6369 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
6370 <math_private.h>. Include <math-svid-compat.h>.
6371 (matherr): Undefine as macro.
6372 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
6374 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
6375 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
6376 compat_symbol_reference.
6377 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
6378 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
6379 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
6380 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
6381 (MATHERR_D): Remove declaration.
6382 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
6383 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
6384 [LIBM_BUILD] (pmatherrf): Likewise.
6385 [LIBM_BUILD] (pmatherr): Likewise.
6386 [LIBM_BUILD] (pmatherrl): Likewise.
6389 (OVERFLOW): Likewise.
6390 (UNDERFLOW): Likewise.
6393 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
6394 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
6396 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
6397 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
6399 * math/lgamma-compat.h: Include <math-svid-compat.h>.
6400 * math/w_acos_compat.c: Likewise.
6401 * math/w_acosf_compat.c: Likewise.
6402 * math/w_acosh_compat.c: Likewise.
6403 * math/w_acoshf_compat.c: Likewise.
6404 * math/w_acoshl_compat.c: Likewise.
6405 * math/w_acosl_compat.c: Likewise.
6406 * math/w_asin_compat.c: Likewise.
6407 * math/w_asinf_compat.c: Likewise.
6408 * math/w_asinl_compat.c: Likewise.
6409 * math/w_atan2_compat.c: Likewise.
6410 * math/w_atan2f_compat.c: Likewise.
6411 * math/w_atan2l_compat.c: Likewise.
6412 * math/w_atanh_compat.c: Likewise.
6413 * math/w_atanhf_compat.c: Likewise.
6414 * math/w_atanhl_compat.c: Likewise.
6415 * math/w_cosh_compat.c: Likewise.
6416 * math/w_coshf_compat.c: Likewise.
6417 * math/w_coshl_compat.c: Likewise.
6418 * math/w_exp10_compat.c: Likewise.
6419 * math/w_exp10f_compat.c: Likewise.
6420 * math/w_exp10l_compat.c: Likewise.
6421 * math/w_exp2_compat.c: Likewise.
6422 * math/w_exp2f_compat.c: Likewise.
6423 * math/w_exp2l_compat.c: Likewise.
6424 * math/w_fmod_compat.c: Likewise.
6425 * math/w_fmodf_compat.c: Likewise.
6426 * math/w_fmodl_compat.c: Likewise.
6427 * math/w_hypot_compat.c: Likewise.
6428 * math/w_hypotf_compat.c: Likewise.
6429 * math/w_hypotl_compat.c: Likewise.
6430 * math/w_j0_compat.c: Likewise.
6431 * math/w_j0f_compat.c: Likewise.
6432 * math/w_j0l_compat.c: Likewise.
6433 * math/w_j1_compat.c: Likewise.
6434 * math/w_j1f_compat.c: Likewise.
6435 * math/w_j1l_compat.c: Likewise.
6436 * math/w_jn_compat.c: Likewise.
6437 * math/w_jnf_compat.c: Likewise.
6438 * math/w_jnl_compat.c: Likewise.
6439 * math/w_lgamma_main.c: Likewise.
6440 * math/w_lgamma_r_compat.c: Likewise.
6441 * math/w_lgammaf_main.c: Likewise.
6442 * math/w_lgammaf_r_compat.c: Likewise.
6443 * math/w_lgammal_main.c: Likewise.
6444 * math/w_lgammal_r_compat.c: Likewise.
6445 * math/w_log10_compat.c: Likewise.
6446 * math/w_log10f_compat.c: Likewise.
6447 * math/w_log10l_compat.c: Likewise.
6448 * math/w_log2_compat.c: Likewise.
6449 * math/w_log2f_compat.c: Likewise.
6450 * math/w_log2l_compat.c: Likewise.
6451 * math/w_log_compat.c: Likewise.
6452 * math/w_logf_compat.c: Likewise.
6453 * math/w_logl_compat.c: Likewise.
6454 * math/w_pow_compat.c: Likewise.
6455 * math/w_powf_compat.c: Likewise.
6456 * math/w_powl_compat.c: Likewise.
6457 * math/w_remainder_compat.c: Likewise.
6458 * math/w_remainderf_compat.c: Likewise.
6459 * math/w_remainderl_compat.c: Likewise.
6460 * math/w_scalb_compat.c: Likewise.
6461 * math/w_scalbf_compat.c: Likewise.
6462 * math/w_scalbl_compat.c: Likewise.
6463 * math/w_sinh_compat.c: Likewise.
6464 * math/w_sinhf_compat.c: Likewise.
6465 * math/w_sinhl_compat.c: Likewise.
6466 * math/w_sqrt_compat.c: Likewise.
6467 * math/w_sqrtf_compat.c: Likewise.
6468 * math/w_sqrtl_compat.c: Likewise.
6469 * math/w_tgamma_compat.c: Likewise.
6470 * math/w_tgammaf_compat.c: Likewise.
6471 * math/w_tgammal_compat.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6473 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6474 * sysdeps/ieee754/k_standard.c: Likewise.
6475 * sysdeps/ieee754/k_standardf.c: Likewise.
6476 * sysdeps/ieee754/k_standardl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6479 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6484 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6485 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6490 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6492 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6493 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6495 2017-08-21 Florian Weimer <fweimer@redhat.com>
6498 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
6499 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
6500 Move before inclusion of ../Rules.
6502 2017-08-21 Florian Weimer <fweimer@redhat.com>
6505 * assert/assert.h (assert): Use static_cast (bool) for C++.
6506 Use the ternary operator in the warning branch for GNU C.
6507 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
6508 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
6509 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
6510 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
6511 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
6513 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6516 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6517 (__syscall_clock_gettime): Add attribute_hidden.
6518 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
6519 (__start_context): Likewise.
6521 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6523 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6525 (hidden_proto): Likewise.
6526 (hidden_tls_proto): Likewise.
6527 (__hidden_proto): Likewise.
6529 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6531 * include/libc-symbols.h (attribute_hidden): Enable hidden
6532 visibility in libc.a compiled with PIE.
6534 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6537 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6538 Add attribute_hidden.
6540 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6543 * Makerules (all-nonlib): Add $(others-extras).
6544 * catgets/Makefile (others-extras): New.
6545 * elf/Makefile (others-extras): Likewise.
6546 * nss/Makefile (others-extras): Likewise.
6548 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6551 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6552 * elf/dl-open.c: Include <libc-internal.h>.
6553 (__libc_multiple_libcs): Removed.
6554 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6556 * include/libc-internal.h (__libc_multiple_libcs): New.
6557 * misc/sbrk.c: Include <libc-internal.h>.
6558 (__libc_multiple_libcs): Removed.
6560 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6563 * grp/initgroups.c (__nss_group_database): Removed.
6564 (__nss_initgroups_database): Likewise.
6565 * nscd/gai.c (__nss_hosts_database): Likewise.
6566 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6567 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6568 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6569 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6570 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6571 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6573 * nss/nsswitch.c (__nss_database_custom): Define only if
6574 USE_NSCD is defined.
6575 (__nss_configure_lookup): Use __nss_database_custom only if
6576 USE_NSCD is defined.
6577 * nss/nsswitch.h (__nss_database_custom): Declare only if
6578 USE_NSCD is defined. Add attribute_hidden.
6579 (__nss_setent): Add attribute_hidden.
6580 (__nss_endent): Likewise.
6581 (__nss_getent_r): Likewise.
6582 (__nss_getent): Likewise.
6583 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6585 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6588 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6589 libc_hidden_proto and libc_hidden_def.
6591 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6594 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6595 Add libc_hidden_proto.
6596 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6597 Add libc_hidden_def.
6599 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6602 * gmon/Makefile (routines): Remove bb_init_func and
6604 (elide-routines.os): Removed.
6605 * gmon/bb_exit_func.c: Likewise.
6606 * gmon/bb_init_func.c: Likewise.
6607 * include/sys/gmon.h (__bb): Likewise.
6608 (__bb_init_func): Likewise.
6609 (__bb_exit_func): Likewise.
6610 * sysdeps/alpha/bb_init_func.S: Likewise.
6612 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6614 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6615 * include/setjmp.h (____longjmp_chk): Here. Add
6618 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6621 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6623 (__strspn_sse2): Likewise.
6625 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6627 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6628 (close_not_cancel_no_status): Likewise.
6629 (__close_nocancel): New macro.
6630 (__close_nocancel_nostatus): Likewise.
6631 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6633 (close_not_cancel): Likewise.
6634 (close_not_cancel_no_status): Likewise.
6635 (__close_nocancel): New prototype.
6636 (__close_nocancel_nostatus): New function.
6637 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6638 * catgets/open_catalog.c (__open_catalog): Replace
6639 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6640 * gmon/gmon.c (write_gmon): Likewise.
6641 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6642 * intl/loadmsgcat.c (close): Likewise.
6643 * io/ftw.c (open_dir_stream): Likewise.
6644 (ftw_startup): Likewise.
6645 * libio/fileops.c (_IO_file_open): Likewise.
6646 (_IO_file_close_mmap): Likewise.
6647 (_IO_file_close): Likewise.
6648 * libio/iopopen.c (_IO_dup2): Likewise.
6649 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6650 * locale/loadlocale.c (_nl_load_locale): Likewise.
6651 * login/utmp_file.c (pututline_file): Likewise.
6652 (endutent_file): Likewise.
6653 * misc/daemon.c (daemon): Likewise.
6654 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6655 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6656 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6657 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6658 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6659 * nscd/nscd_helper.c (open_socket): Likewise.
6660 (__nscd_open_socket): Likewise.
6661 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6662 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6663 (__nscd_innetgr): Likewise.
6664 * nss/nss_db/db-open.c (internal_setent): Likewise.
6665 * resolv/res-close.c (__res_iclose): Likewise.
6666 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6667 * sysdeps/posix/closedir.c (__closedir): Likewise.
6668 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6669 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6670 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6671 (opendir_tail): Likewise.
6672 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6673 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6674 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6675 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6676 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6677 (gethostid): Likewise.
6678 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6679 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6682 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6683 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6684 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6686 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6687 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6688 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6690 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6691 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6693 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6695 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6696 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6697 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6700 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6701 (openat_not_cancel_3): Likewise.
6702 (openat64_not_cancel_3): Likewise).
6703 (openat_not_cancel_3): Likewise).
6704 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6706 (openat_not_cancel_3): Likewise.
6707 (openat64_not_cancel): Likewise.
6708 (openat64_not_cancel_3): Likewise.
6709 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6710 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6711 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6712 __open{64}_nocancel.
6713 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6714 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6715 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6717 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6720 * include/argz.h (__argz_create_sep): New function prototype.
6721 (__argz_append): Likewise.
6722 (__argz_add): Likewise.
6723 (__argz_add_sep): Likewise.
6724 (__argz_delete): Likewise.
6725 (__argz_insert): Likewise.
6726 (__argz_replace): Likewise.
6727 * string/argz.h (__argz_create_sep): Removed.
6728 (__argz_append): Likewise.
6729 (__argz_add): Likewise.
6730 (__argz_add_sep): Likewise.
6731 (__argz_delete): Likewise.
6732 (__argz_insert): Likewise.
6733 (__argz_replace): Likewise.
6735 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6737 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6738 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6739 (GNU_PROPERTY_STACK_SIZE): Likewie.
6740 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6741 (GNU_PROPERTY_LOPROC): Likewise.
6742 (GNU_PROPERTY_HIPROC): Likewise.
6743 (GNU_PROPERTY_LOUSER): Likewise.
6744 (GNU_PROPERTY_HIUSER): Likewise.
6745 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6746 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6747 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6748 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6749 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6750 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6751 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6752 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6753 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6754 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6755 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6756 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6757 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6758 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6759 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6760 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6761 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6762 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6763 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6764 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6765 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6766 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6767 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6769 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6771 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6774 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6777 * math/math.h (isinf): Check if in C or C++ mode before using
6778 __builtin_types_compatible_p, since this is a C mode feature.
6780 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6782 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6783 (__write_nocancel): New macro.
6784 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6785 Rewrite as a function prototype.
6786 (write_not_cancel): Remove macro.
6787 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6788 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6789 (write_gmon): Likewise.
6790 * libio/fileops.c (_IO_new_file_write): Likewise.
6791 * login/utmp_file.c (pututline_file): Likewise.
6792 (updwtmp_file): Likewise.
6793 * stdio-common/psiginfo.c (psiginfo): Likewise.
6794 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6795 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6796 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6798 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6801 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6802 (__read_nocancel): New macro.
6803 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6805 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6807 (__read_nocancel): New prototype.
6808 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6809 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6810 with __read_nocancel.
6811 * intl/loadmsgcat.c (read): Likewise.
6812 * libio/fileops.c (_IO_file_read): Likewise.
6813 * locale/loadlocale.c (_nl_load_locale): Likewise.
6814 * login/utmp_file.c (getutent_r_file): Likewise.
6815 (internal_getut_r): Likewise.
6816 (getutline_r_file): Likewise.
6817 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6818 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6819 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6820 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6822 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6823 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6824 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6826 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6828 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6830 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6832 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6834 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6837 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6838 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6841 2017-08-17 DJ Delorie <dj@redhat.com>
6843 * bug17079.c: Update to new test harness.
6844 * test-digits-dots.c: Likewise.
6845 * test-netdb.c: Likewise.
6846 * tst-field.c: Likewise.
6847 * tst-nss-getpwent.c: Likewise.
6848 * tst-nss-static.c: Likewise.
6849 * tst-nss-test1.c: Likewise.
6850 * tst-nss-test2.c: Likewise.
6851 * tst-nss-test3.c: Likewise.
6852 * tst-nss-test4.c: Likewise.
6853 * tst-nss-test5.c: Likewise.
6855 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6857 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6858 (open_not_cancel_2): Likewise.
6859 (open_nocancel): New macro.
6860 (open64_nocancel): Likewise.
6861 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6862 (open_not_cancel_2): Likewise.
6863 (__open_nocancel): New prototype.
6864 (__open64_nocancel): Likewise.
6865 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6867 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6868 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6869 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6870 with __open_nocancel.
6871 * csu/check_fds.c (check_one_fd): Likewise.
6872 * gmon/gmon.c (write_gmon): Likewise.
6873 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6874 * intl/loadmsgcat.c (open): Likewise.
6875 * libio/fileops.c (_IO_file_open): Likewise.
6876 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6877 * locale/loadlocale.c (_nl_load_locale): Likewise.
6878 * login/utmp_file.c (setutent_file): Likewise.
6879 * misc/daemon.c (daemon): Likewise.
6880 * nss/nss_db/db-open.c (internal_setent): Likewise.
6881 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6882 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6883 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6884 (__opendir): Likewise.
6885 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6886 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6887 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6888 (gethostid): Likewise.
6889 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6893 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6894 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6895 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6897 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6899 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6901 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6903 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6905 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6907 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6908 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6910 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6912 * benchtests/bench-skeleton.c (main): Add support for
6913 latency benchmarking.
6914 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6916 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6918 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6921 2017-08-17 Florian Weimer <fweimer@redhat.com>
6923 * include/sys/socket.h (__opensock): Remove internal_function.
6924 * socket/opensock.c (__opensock): Likewise.
6925 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6927 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6930 * signal/bits/types/__sigval_t.h: New file.
6931 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6932 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6933 and define sigval_t using __sigval_t.
6934 * include/bits/types/__sigval_t.h: New file.
6935 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
6936 instead of <bits/types/__sigval_t.h>.
6937 (struct sigevent): Use __sigval_t instead of sigval_t.
6938 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
6939 instead of <bits/types/__sigval_t.h>.
6940 (siginfo_t): Use __sigval_t instead of sigval_t.
6941 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
6942 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6943 (struct sigevent): Use __sigval_t instead of sigval_t.
6944 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
6945 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
6946 (siginfo_t): Use __sigval_t instead of sigval_t.
6947 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
6949 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6951 * NEWS: Remove "[Add new features here]" for 2.27.
6953 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6955 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
6958 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6960 * NEWS: Mention x86-64 FMA optimization.
6962 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
6965 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6967 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
6968 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
6969 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
6971 2017-08-16 Andreas Schwab <schwab@suse.de>
6975 * elf/ldd.bash.in: Never run file directly.
6977 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
6980 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
6981 (L(SP_INF_0)): Likewise.
6983 2017-08-15 Florian Weimer <fweimer@redhat.com>
6985 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
6988 2017-08-15 Florian Weimer <fweimer@redhat.com>
6990 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
6991 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
6992 BROKEN_THREAD_SIGNALS code.
6993 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
6994 request_list): Remove caller_pid member used for
6995 BROKEN_THREAD_SIGNALS.
6996 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
6997 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
6998 Remove BROKEN_THREAD_SIGNALS support.
6999 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7000 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
7002 2017-08-15 Florian Weimer <fweimer@redhat.com>
7004 * gmon/Makefile (tests): Add tst-gmon.
7005 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
7007 (tests-special): Add tst-gmon-prof.out.
7008 (tst-gmon.out): Depend on clean-tst-gmon-data.
7009 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
7010 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
7011 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
7013 * aclocal.m4 (GPROF): Set and substitute.
7014 * config.amke.in (GPROF): Set.
7015 * configure: Regenerate.
7017 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
7019 * elf/elf.h A (NT_PPC_TAR): New macro.
7020 (NT_PPC_PPR): Likewise.
7021 (NT_PPC_DSCR): Likewise.
7022 (NT_PPC_EBB): Likewise.
7023 (NT_PPC_PMU): Likewise.
7024 (NT_PPC_TM_CGPR): Likewise.
7025 (NT_PPC_TM_CFPR): Likewise.
7026 (NT_PPC_TM_CVMX): Likewise.
7027 (NT_PPC_TM_CVSX): Likewise.
7028 (NT_PPC_TM_SPR): Likewise.
7029 (NT_PPC_TM_CTAR): Likewise.
7030 (NT_PPC_TM_CPPR): Likewise.
7031 (NT_PPC_TM_CDSCR): Likewise.
7033 2017-08-15 Florian Weimer <fweimer@redhat.com>
7035 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
7036 regparm (2) instead of internal_function.
7037 (_MCOUNT_DECL): Adjust.
7039 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
7041 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
7042 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7044 2017-08-14 Joseph Myers <joseph@codesourcery.com>
7046 * conform/data/sys/wait.h-data (si_value): Do not expect for
7049 2017-08-14 Florian Weimer <fweimer@redhat.com>
7052 NSS: Create stubs for accidentally exported lookup functions.
7053 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
7055 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
7056 (ether_hostton): Call __nss_ethers_lookup2 instead.
7057 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
7058 (ether_ntohost): Call __nss_ethers_lookup2 instead.
7059 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
7060 (setup): Call __nss_netgroup_lookup2 instead.
7061 * nss/Makefile (routines): Add compat-lookup.
7062 * nss/Versions (GLIBC_2.27): Add symbol version.
7063 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
7064 (DB_COMPAT_FCT): Remove.
7065 * nss/compat-lookup.c: New file.
7066 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
7068 * nss/service-lookup.c (NO_COMPAT): Remove definition.
7069 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
7070 (netname2user): Call __nss_publickey_lookup2 instead.
7071 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
7072 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
7075 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7076 Sergei Trofimovich <slyfox@inbox.ru>
7079 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
7080 Rename to MMAP2_PAGE_UNIT.
7081 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
7082 __OFF_T_MATCHES_OFF64_T is not defined.
7083 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
7085 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
7086 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
7088 2017-08-14 Florian Weimer <fweimer@redhat.com>
7090 i386: Do not set internal_function.
7091 * config.h.in (USE_REGPARMS, internal_function): Remove.
7092 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
7093 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
7095 2017-08-14 Florian Weimer <fweimer@redhat.com>
7097 * elf/dl-init.c (_dl_init): Remove internal_function.
7098 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
7099 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
7101 2017-08-14 Florian Weimer <fweimer@redhat.com>
7103 * elf/rtld.c (_dl_start): Remove internal_function.
7104 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
7107 2017-08-14 Florian Weimer <fweimer@redhat.com>
7109 * elf/dl-fini.c (_dl_fini): Remove internal_function
7110 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
7112 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
7114 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
7115 (bit_cpu_SHSTK): Likewise.
7116 (index_cpu_IBT): Likewise.
7117 (index_cpu_SHSTK): Likewise.
7118 (reg_IBT): Likewise.
7119 (reg_SHSTK): Likewise.
7120 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7121 Handle index_cpu_IBT and index_cpu_SHSTK.
7123 2017-08-14 Mike FABIAN <mfabian@redhat.com>
7126 * po/fr.po: Fix spelling mistake.
7128 2017-08-13 Florian Weimer <fweimer@redhat.com>
7130 * elf/dl-addr.c (_dl_addr): Remove internal_function.
7131 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
7132 (_dl_catch_error, _dl_receive_error): Likewise.
7133 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
7134 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
7135 (_dl_deallocate_tls): Likewise.
7136 * include/dlfcn.h (_dl_addr): Likewise.
7137 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
7138 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
7139 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
7142 2017-08-13 Florian Weimer <fweimer@redhat.com>
7144 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
7145 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
7147 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
7149 2017-08-13 Florian Weimer <fweimer@redhat.com>
7151 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
7153 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
7154 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
7155 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
7156 internal_function from _dl_make_stack_executable_hook member.
7157 (_dl_make_stack_executable): Remove internal_function.
7158 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
7160 * sysdeps/unix/sysv/linux/dl-execstack.c
7161 (_dl_make_stack_executable): Likewise.
7163 2017-08-13 Florian Weimer <fweimer@redhat.com>
7165 * sysdeps/unix/sysv/linux/netlinkaccess.h
7166 (__netlink_assert_response): Remove internal_function.
7167 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7168 (__netlink_assert_response): Likewise.
7170 2017-08-13 Florian Weimer <fweimer@redhat.com>
7172 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
7174 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
7176 2017-08-13 Florian Weimer <fweimer@redhat.com>
7178 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
7180 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
7181 * inet/netgroup.h (__internal_setnetgrent)
7182 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7183 * inet/getnetgrent_r.c (__internal_setnetgrent)
7184 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7185 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
7186 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
7187 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
7188 * nss/nsswitch.h (db_lookup_function): Likewise.
7190 2017-08-13 Florian Weimer <fweimer@redhat.com>
7192 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
7193 Remove internal_function.
7194 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
7195 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
7196 message argument on the stack.
7197 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
7200 2017-08-12 Mike FABIAN <mfabian@redhat.com>
7202 Adapt test case data to the changes in the thousands
7206 * localedata/tst-langinfo.sh: Adapt test case data.
7207 * stdlib/tst-strfmon_l.c: Likewise.
7208 * stdlib/tst-strtod4.c: Likewise.
7209 * stdlib/tst-strtod5i.c: Likewise.
7211 2017-08-11 Florian Weimer <fweimer@redhat.com>
7214 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
7215 Suppress pedantic warning resulting from statement expression.
7216 (__ASSERT_FUNCTION): Add missing __extension__.
7218 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7220 * benchtests/bench-memmove-large.c: Print output in JSON
7222 * benchtests/bench-memmove.c: Likewise.
7224 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
7225 * benchtests/bench-memchr.c (do_one_test): Likewise.
7226 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
7227 * benchtests/bench-memcpy.c (do_one_test): Likewise.
7228 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
7229 * benchtests/bench-memmove.c (do_one_test): Likewise.
7230 * benchtests/bench-memset-large.c (do_one_test): Likewise.
7231 * benchtests/bench-memset.c (do_one_test): Likewise.
7232 * benchtests/bench-string.h (test_init): Remove memsets.
7234 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7237 (Computing the Width of an Integer Data Type): Rename section to
7238 "Width of an Integer Type". Remove inaccurate statement regarding
7239 lack of C language facilities for determining width of integer
7240 types, and reorder content to improve flow and context of
7243 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7245 * lang.texi (va_copy): Change standard from ISO to C99.
7246 (__va_copy): Add standard and header annotation.
7247 Update description for clarity of origins and current use.
7249 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7252 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
7253 xssqrtqp requires operands to be in Vector Registers
7254 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
7255 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
7256 (__ieee754_sqrtf128): Likewise.
7258 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7260 * sysdeps/aarch64/memcmp.S (memcmp):
7261 Rewrite of optimized memcmp.
7263 2017-08-10 Florian Weimer <fweimer@redhat.com>
7265 Introduce ld.so exceptions.
7266 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
7267 (_dl_exception_create, _dl_exception_create_format)
7268 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
7269 (_dl_catch_exception): Declare.
7270 (_dl_catch_error): Update comment.
7271 * elf/dl-error-skeleton.c (struct catch): Replace objname,
7272 errstring, malloced members with exception member.
7273 (_dl_out_of_memory): Remove.
7274 (fatal_error): New function, extracted from _dl_signal_error.
7275 (_dl_signal_exception, _dl_signal_cexception): New functions.
7276 (_dl_signal_error): Call _dl_exception_create to allocate an
7278 (_dl_catch_exception): New function, based on _dl_catch_error.
7279 (_dl_catch_error): Implement using _dl_catch_exception.
7280 * elf/dl-exception.c: New file.
7281 * elf/Makefile (dl-routines): Add dl-exception.
7282 (elide-routines.os): Likewise.
7283 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
7284 _dl_exception_create_format, _dl_exception_free.
7285 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
7286 _dl_signal_exception.
7287 * elf/dl-lookup.c (make_string): Remove.
7288 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
7289 _dl_signal_cexception, _dl_exception_free.
7290 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
7291 _dl_signal_exception.
7292 * elf/dl-sym.c (do_sym): Likewise.
7293 * elf/dl-version.c (make_string): Remove.
7294 (match_symbol): Use _dl_exception_create_format,
7295 _dl_signal_cexception, _dl_exception_free.
7296 (_dl_check_map_versions): Likewise.
7297 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
7298 _dl_catch_exception.
7299 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7300 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7301 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7302 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7303 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7304 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7305 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7306 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7308 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7315 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7316 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7317 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7321 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7323 2017-08-10 Florian Weimer <fweimer@redhat.com>
7325 * inet/net-internal.h (__inet6_scopeid_pton): Remove
7326 attribute_hidden, internal_function.
7327 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
7330 2017-08-10 Florian Weimer <fweimer@redhat.com>
7332 * malloc/malloc.c (get_max_fast): Reimplement as an inline
7333 function which calls __builtin_unreachable.
7335 2017-08-10 Mike FABIAN <mfabian@redhat.com>
7337 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
7338 Indian monetary formatting
7339 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
7342 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
7344 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
7345 Fix typo in comment.
7348 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
7349 PTRACE_SEIZE_DEVEL): Remove.
7350 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
7351 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7352 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7354 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7356 2017-08-09 Joseph Myers <joseph@codesourcery.com>
7358 * posix/bits/types.h (__qaddr_t): Remove.
7361 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
7362 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7364 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
7365 (ucontext_t): Use __ctx with uc_flags.
7366 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
7368 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7370 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
7371 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7373 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
7374 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7376 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
7378 (ucontext_t): Use __ctx with uc_flags.
7379 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
7380 (ucontext_t): Use __ctx with uc_flags.
7381 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
7382 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
7383 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
7384 (ucontext_t): Use __ctx with uc_flags.
7385 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
7386 undefine further down.
7387 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7389 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
7390 undefine further down.
7391 (ucontext_t): Use __ctx with uc_flags.
7392 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
7393 undefine further down.
7394 (ucontext_t): Use __ctx with uc_flags.
7395 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
7396 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
7397 Rename uc_pad to __glibc_reserved1.
7398 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
7399 undefine further down.
7400 (ucontext_t): Use __ctx with uc_flags.
7401 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
7403 (ucontext_t): Use __ctx with uc_flags.
7404 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
7405 __ctx with uc_flags.
7406 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
7407 (ucontext_t): Use __ctx with uc_flags.
7408 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
7409 __ctx with uc_flags.
7411 2017-08-09 Florian Weimer <fweimer@redhat.com>
7414 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
7415 before early return.
7417 2017-08-09 Andreas Schwab <schwab@suse.de>
7420 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
7424 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
7425 tst-compat-forwarder.
7426 (modules-names): Add tst-compat-forwarder-mod.
7427 ($(objpfx)tst-compat-forwarder): Depend on
7428 $(objpfx)tst-compat-forwarder-mod.so.
7429 * nptl/tst-compat-forwarder.c: New file.
7430 * nptl/tst-compat-forwarder-mod.c: New file.
7432 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
7434 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
7437 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
7438 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7440 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7442 (__libc_ifunc_impl_list): Add __memcpy_falkor.
7443 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
7444 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
7445 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7447 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
7450 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7453 * manual/setjmp.texi (getcontex): Document uc_stack value
7454 compatibility differences.
7456 2017-08-08 Joseph Myers <joseph@codesourcery.com>
7458 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
7459 (old_malloc_hook): Likewise.
7460 (old_memalign_hook): Likewise.
7461 (old_realloc_hook): Likewise.
7462 (struct hdr): Likewise.
7464 (freehook): Likewise.
7465 (mallochook): Likewise.
7466 (memalignhook): Likewise.
7467 (reallochook): Likewise.
7469 * malloc/mtrace.c (mallwatch): Likewise.
7470 (tr_old_free_hook): Likewise.
7471 (tr_old_malloc_hook): Likewise.
7472 (tr_old_realloc_hook): Likewise.
7473 (tr_old_memalign_hook): Likewise.
7474 (tr_where): Likewise.
7475 (lock_and_info): Likewise.
7476 (tr_freehook): Likewise.
7477 (tr_mallochook): Likewise.
7478 (tr_reallochook): Likewise.
7479 (tr_memalignhook): Likewise.
7480 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
7481 * misc/mmap.c (__mmap): Likewise.
7482 * misc/mmap64.c (__mmap64): Likewise.
7483 * misc/mprotect.c (__mprotect): Likewise.
7484 * misc/msync.c (msync): Likewise.
7485 * misc/munmap.c (__munmap): Likewise.
7486 * posix/posix_madvise.c (posix_madvise): Likewise.
7487 * socket/send.c (__send): Likewise.
7488 * socket/sendto.c (__sendto): Likewise.
7489 * socket/setsockopt.c (__setsockopt): Likewise.
7490 * string/memcmp.c (__ptr_t): Remove macro.
7491 (MEMCMP): Use void * instead of ptr_t.
7492 * string/memrchr.c (__ptr_t): Remove macro.
7493 (__memrchr): Use void * instead of ptr_t.
7494 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
7495 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
7496 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
7497 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
7498 * sysdeps/mach/msync.c (msync): Likewise.
7499 * sysdeps/mach/munmap.c (__munmap): Likewise.
7500 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
7502 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7503 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
7504 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
7505 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
7506 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7507 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7508 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
7509 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
7511 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7512 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
7513 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
7514 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
7515 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
7516 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
7517 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
7518 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
7519 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
7521 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
7522 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
7523 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
7524 (MEMCMP): Use void * instead of ptr_t.
7525 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
7526 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7528 2017-08-08 Florian Weimer <fweimer@redhat.com>
7530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7533 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7536 * csu/libc-tls.c: Include <startup.h> first.
7537 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7538 * elf/dl-tunables.c: Include <startup.h> first.
7539 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7540 * sysdeps/generic/startup.h: New file.
7541 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7542 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7543 (I386_USE_SYSENTER): New. Defined to 0.
7545 2017-08-08 Andreas Schwab <schwab@suse.de>
7548 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7549 * nptl/pt-system.c (system): Likewise.
7551 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7554 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7556 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7557 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7558 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7559 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7560 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7561 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7562 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7564 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7567 * bits/sigaction.h (struct sigaction): Define sa_handler and
7568 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
7569 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7570 [__USE_XOPEN_EXTENDED].
7571 (SA_RESTART): Likewise.
7572 (SA_NODEFER): Likewise.
7573 (SA_RESETHAND): Likewise.
7574 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
7575 (struct sigaction): Define sa_handler and sa_sigaction using union
7576 also for [__USE_XOPEN_EXTENDED].
7577 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7578 [__USE_XOPEN_EXTENDED].
7579 (SA_RESTART): Likewise.
7580 (SA_NODEFER): Likewise.
7581 (SA_RESETHAND): Likewise.
7582 * sysdeps/unix/sysv/linux/bits/sigaction.h
7583 (struct sigaction): Define sa_handler and sa_sigaction using union
7584 also for [__USE_XOPEN_EXTENDED].
7585 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7586 [__USE_XOPEN_EXTENDED].
7587 (SA_RESTART): Likewise.
7588 (SA_NODEFER): Likewise.
7589 (SA_RESETHAND): Likewise.
7590 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7591 (struct sigaction): Define sa_handler and sa_sigaction using union
7592 also for [__USE_XOPEN_EXTENDED].
7593 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7594 [__USE_XOPEN_EXTENDED].
7595 (SA_RESTART): Likewise.
7596 (SA_NODEFER): Likewise.
7597 (SA_RESETHAND): Likewise.
7598 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7599 (struct sigaction): Define sa_handler and sa_sigaction using union
7600 also for [__USE_XOPEN_EXTENDED].
7601 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7602 [__USE_XOPEN_EXTENDED].
7603 (SA_RESTART): Likewise.
7604 (SA_NODEFER): Likewise.
7605 (SA_RESETHAND): Likewise.
7606 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7607 (struct sigaction): Define sa_handler and sa_sigaction using union
7608 also for [__USE_XOPEN_EXTENDED].
7609 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7610 [__USE_XOPEN_EXTENDED].
7611 (SA_RESTART): Likewise.
7612 (SA_NODEFER): Likewise.
7613 (SA_RESETHAND): Likewise.
7614 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7615 (struct sigaction): Define sa_handler and sa_sigaction using union
7616 also for [__USE_XOPEN_EXTENDED].
7617 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7618 [__USE_XOPEN_EXTENDED].
7619 (SA_RESTART): Likewise.
7620 (SA_NODEFER): Likewise.
7621 (SA_RESETHAND): Likewise.
7622 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7623 (struct sigaction): Define sa_handler and sa_sigaction using union
7624 also for [__USE_XOPEN_EXTENDED].
7625 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7626 [__USE_XOPEN_EXTENDED].
7627 (SA_RESTART): Likewise.
7628 (SA_NODEFER): Likewise. Define directly rather than as alias.
7629 (SA_RESETHAND): Likewise.
7630 (SA_INTERRUPT): Define only for [__USE_MISC].
7631 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7632 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7634 (SA_STACK): Define only for [__USE_MISC].
7635 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7636 (struct sigaction): Define sa_handler and sa_sigaction using union
7637 also for [__USE_XOPEN_EXTENDED].
7638 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7639 [__USE_XOPEN_EXTENDED].
7640 (SA_RESTART): Likewise.
7641 (SA_NODEFER): Likewise.
7642 (SA_RESETHAND): Likewise.
7643 (SA_NOPTRACE): Define only for [__USE_MISC].
7645 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7646 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7647 (struct catalog_info): Likewise.
7648 * inet/htontest.c (lo): Likewise.
7650 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7651 * inet/inet_net.c (inet_network): Likewise.
7652 * inet/inet_netof.c (inet_netof): Likewise.
7653 * inet/rcmd.c (__ivaliduser): Likewise.
7654 (iruserok): Likewise.
7655 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7656 * locale/programs/locale-spec.c (locale_special): Likewise.
7657 * nis/nis_findserv.c (struct findserv_req): Likewise.
7658 (__nis_findfastest_with_timeout): Likewise.
7659 * nss/test-netdb.c (test_network): Likewise.
7660 * resolv/inet_neta.c (inet_neta): Likewise.
7661 * resolv/ns_date.c (ns_datetosecs): Likewise.
7662 (SECS_PER_DAY): Likewise.
7663 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7665 * resolv/res_comp.c (__putlong): Likewise.
7666 (__putshort): Likewise.
7667 (_getlong): Likewise.
7668 (_getshort): Likewise.
7669 * resolv/res_debug.c (p_time): Likewise.
7670 (precsize_ntoa): Likewise.
7671 (precsize_aton): Likewise.
7672 (latlon2ul): Likewise.
7673 (loc_aton): Likewise.
7674 (loc_ntoa): Likewise.
7675 * resolv/res_hconf.c (struct netaddr): Likewise.
7676 (_res_hconf_reorder_addrs): Likewise.
7677 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7678 (clnttcp_control): Likewise.
7679 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7680 (clntudp_control): Likewise.
7681 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7682 (clntunix_control): Likewise.
7683 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7684 * sunrpc/rpc/auth.h (union des_block): Likewise.
7685 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7686 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7687 (xdrrec_create): Likewise.
7688 (xdrrec_endofrecord): Likewise.
7689 (flush_out): Likewise.
7690 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7691 (xdrstdio_putlong): Likewise.
7692 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7695 * misc/sys/cdefs.h (__long_double_t): Remove.
7696 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7697 instead of __long_double_t,
7698 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7700 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7702 * benchtests/scripts/compare_strings.py: Avoid display error when
7703 running on a text terminal.
7705 * benchtests/scripts/compare_strings.py (main): Add an
7706 optional -base option.
7707 (process_results): New argument base_func.
7709 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7711 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7712 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7714 2017-08-07 Andreas Schwab <schwab@suse.de>
7716 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7717 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7718 * intl/Makefile ($(objpfx)tst-gettext.out)
7719 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7720 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7721 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7722 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7723 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7724 * posix/Makefile ($(objpfx)globtest.out)
7725 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7726 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7727 ($(objpfx)tst-printf.out): Likewise.
7728 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7729 ($(objpfx)tst-setcontext3.out): Likewise.
7731 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7733 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7734 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7735 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7736 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7737 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7739 (CFLAGS-doasin-fma.c): New.
7740 (CFLAGS-dosincos-fma.c): Likewise.
7741 (CFLAGS-e_asin-fma.c): Likewise.
7742 (CFLAGS-e_atan2-fma.c): Likewise.
7743 (CFLAGS-e_exp-fma.c): Likewise.
7744 (CFLAGS-e_log-fma.c): Likewise.
7745 (CFLAGS-e_pow-fma.c): Likewise.
7746 (CFLAGS-halfulp-fma.c): Likewise.
7747 (CFLAGS-mpa-fma.c): Likewise.
7748 (CFLAGS-mpatan-fma.c): Likewise.
7749 (CFLAGS-mpatan2-fma.c): Likewise.
7750 (CFLAGS-mpexp-fma.c): Likewise.
7751 (CFLAGS-mplog-fma.c): Likewise.
7752 (CFLAGS-mpsqrt-fma.c): Likewise.
7753 (CFLAGS-mptan-fma.c): Likewise.
7754 (CFLAGS-s_atan-fma.c): Likewise.
7755 (CFLAGS-sincos32-fma.c): Likewise.
7756 (CFLAGS-slowexp-fma.c): Likewise.
7757 (CFLAGS-slowpow-fma.c): Likewise.
7758 (CFLAGS-s_sin-fma.c): Likewise.
7759 (CFLAGS-s_tan-fma.c): Likewise.
7760 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7761 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7762 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7763 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7764 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7765 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7766 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7767 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7768 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7769 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7770 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7771 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7772 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7773 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7774 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7775 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7776 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7777 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7778 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7779 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7780 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7781 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7782 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7783 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7786 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7787 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7790 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7792 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7794 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7795 (min_of_type_f): New macro.
7796 (min_of_type_): Likewise.
7797 (min_of_type_l): Likewise.
7798 (min_of_type_f128): Likewise.
7799 (min_of_type): Define using __MATH_TG and taking an expression
7801 (math_check_force_underflow): Pass expression instead of type to
7803 (math_check_force_underflow_nonneg): Likewise.
7805 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7807 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7808 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7809 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7811 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7814 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7815 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7816 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7817 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7818 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7819 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7820 memmove_chk-nonshared and memset_chk-nonshared
7821 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7822 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7823 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7824 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7825 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7826 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7827 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7828 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7829 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7830 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7831 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7832 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7833 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7834 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7835 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7836 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7837 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7838 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7839 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7840 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7841 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7842 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7843 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7844 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7845 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7846 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7847 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7848 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7849 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7850 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7851 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7852 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7853 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7854 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7855 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7856 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7857 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7858 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7859 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7860 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7861 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7862 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7863 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7864 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7865 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7866 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7867 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7868 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7869 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7870 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7871 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7872 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7873 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7874 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7875 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7876 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7877 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7878 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7879 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7880 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7881 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7882 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7883 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7884 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7885 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7886 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7887 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7888 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7889 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7890 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7891 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7892 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7893 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7894 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7895 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7896 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7897 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7898 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7899 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7900 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7901 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7902 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7903 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7904 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7905 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7906 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7907 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7908 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7909 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7910 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7911 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7912 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7913 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7914 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7915 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7916 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7917 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7918 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7919 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7920 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7921 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7922 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7923 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7924 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7925 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7926 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7927 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7928 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7930 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7932 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7933 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7934 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
7935 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
7936 svml_d_log2_core-sse2, svml_d_log4_core-sse,
7937 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
7938 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
7939 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
7940 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
7941 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
7942 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
7943 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
7944 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
7945 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
7946 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
7947 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
7948 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
7949 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
7950 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
7951 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
7952 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
7953 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
7954 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
7955 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
7956 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
7957 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
7958 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
7959 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
7960 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
7961 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
7962 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
7963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
7964 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
7965 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
7966 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
7967 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
7968 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
7969 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
7970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
7971 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
7972 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
7973 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
7974 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
7975 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
7976 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
7977 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
7978 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
7979 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
7980 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
7981 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
7982 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
7983 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
7984 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
7985 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
7986 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
7987 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
7988 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
7989 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
7990 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
7992 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
7993 Don't include <sysdep.h> nor <init-arch.h>.
7994 (_ZGVbN2v_cos): Removed.
7995 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
7997 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
7998 Don't include <sysdep.h> nor <init-arch.h>.
7999 (_ZGVdN4v_cos): Removed.
8000 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
8002 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
8003 Don't include <sysdep.h> nor <init-arch.h>.
8004 (_ZGVeN8v_cos): Removed.
8005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
8007 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
8008 Don't include <sysdep.h> nor <init-arch.h>.
8009 (_ZGVbN2v_exp): Removed.
8010 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
8012 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
8013 Don't include <sysdep.h> nor <init-arch.h>.
8014 (_ZGVdN4v_exp): Removed.
8015 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
8017 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
8018 Don't include <sysdep.h> nor <init-arch.h>.
8019 (_ZGVeN8v_exp): Removed.
8020 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
8022 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
8023 Don't include <sysdep.h> nor <init-arch.h>.
8024 (_ZGVbN2v_log): Removed.
8025 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
8027 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
8028 Don't include <sysdep.h> nor <init-arch.h>.
8029 (_ZGVdN4v_log): Removed.
8030 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
8032 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
8033 Don't include <sysdep.h> nor <init-arch.h>.
8034 (_ZGVeN8v_log): Removed.
8035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
8037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
8038 Don't include <sysdep.h> nor <init-arch.h>.
8039 (_ZGVbN2vv_pow): Removed.
8040 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
8042 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
8043 Don't include <sysdep.h> nor <init-arch.h>.
8044 (_ZGVdN4vv_pow): Removed.
8045 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
8047 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
8048 Don't include <sysdep.h> nor <init-arch.h>.
8049 (_ZGVeN8vv_pow): Removed.
8050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
8052 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
8053 Don't include <sysdep.h> nor <init-arch.h>.
8054 (_ZGVbN2v_sin): Removed.
8055 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
8057 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
8058 Don't include <sysdep.h> nor <init-arch.h>.
8059 (_ZGVbN4v_sin): Removed.
8060 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
8062 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
8063 Don't include <sysdep.h> nor <init-arch.h>.
8064 (_ZGVbN8v_sin): Removed.
8065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
8067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
8068 Don't include <sysdep.h> nor <init-arch.h>.
8069 (_ZGVbN2vvv_sincos): Removed.
8070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
8072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
8073 Don't include <sysdep.h> nor <init-arch.h>.
8074 (_ZGVdN4vvv_sincos): Removed.
8075 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
8077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
8078 Don't include <sysdep.h> nor <init-arch.h>.
8079 (_ZGVeN8vvv_sincos): Removed.
8080 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
8082 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
8083 Don't include <sysdep.h> nor <init-arch.h>.
8084 (_ZGVeN16v_cosf): Removed.
8085 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
8087 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
8088 Don't include <sysdep.h> nor <init-arch.h>.
8089 (_ZGVbN4v_cosf): Removed.
8090 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
8092 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
8093 Don't include <sysdep.h> nor <init-arch.h>.
8094 (_ZGVdN8v_cosf): Removed.
8095 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
8097 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
8098 Don't include <sysdep.h> nor <init-arch.h>.
8099 (_ZGVeN16v_expf): Removed.
8100 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
8102 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
8103 Don't include <sysdep.h> nor <init-arch.h>.
8104 (_ZGVbN4v_expf): Removed.
8105 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
8107 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
8108 Don't include <sysdep.h> nor <init-arch.h>.
8109 (_ZGVdN8v_expf): Removed.
8110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
8112 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
8113 Don't include <sysdep.h> nor <init-arch.h>.
8114 (_ZGVeN16v_logf): Removed.
8115 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
8117 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
8118 Don't include <sysdep.h> nor <init-arch.h>.
8119 (_ZGVbN4v_logf): Removed.
8120 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
8122 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
8123 Don't include <sysdep.h> nor <init-arch.h>.
8124 (_ZGVdN8v_logf): Removed.
8125 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
8127 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
8128 Don't include <sysdep.h> nor <init-arch.h>.
8129 (_ZGVeN16vv_powf): Removed.
8130 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
8132 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
8133 Don't include <sysdep.h> nor <init-arch.h>.
8134 (_ZGVbN4vv_powf): Removed.
8135 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
8137 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
8138 Don't include <sysdep.h> nor <init-arch.h>.
8139 (_ZGVdN8vv_powf): Removed.
8140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
8142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
8143 Don't include <sysdep.h> nor <init-arch.h>.
8144 (_ZGVeN16vvv_sincosf): Removed.
8145 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
8147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
8148 Don't include <sysdep.h> nor <init-arch.h>.
8149 (_ZGVbN4vvv_sincosf): Removed.
8150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
8152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
8153 Don't include <sysdep.h> nor <init-arch.h>.
8154 (_ZGVdN8vvv_sincosf): Removed.
8155 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
8157 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
8158 Don't include <sysdep.h> nor <init-arch.h>.
8159 (_ZGVeN16v_sinf): Removed.
8160 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
8162 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
8163 Don't include <sysdep.h> nor <init-arch.h>.
8164 (_ZGVbN4v_sinf): Removed.
8165 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
8167 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
8168 Don't include <sysdep.h> nor <init-arch.h>.
8169 (_ZGVdN8v_sinf): Removed.
8171 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8173 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8174 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
8175 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
8176 s_rint-sse4_1 and s_rintf-sse4_1.
8177 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
8178 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8179 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8180 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8181 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8182 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
8183 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
8184 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8185 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8186 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
8187 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
8188 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8190 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
8191 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
8192 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8194 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
8195 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
8196 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8198 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
8199 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
8200 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8201 (__floorf): Removed.
8202 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
8203 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
8204 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8205 (__nearbyint): Removed.
8206 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
8207 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
8208 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8209 (__nearbyintf): Removed.
8210 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
8211 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
8212 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8214 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
8215 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
8216 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8219 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8221 * sysdeps/i386/start.S (_start): Check Check PIC instead of
8222 SHARED. Avoid dynamic relocation against main in static PIE.
8224 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8227 * elf/Makefile (CFLAGS-tst-prelink.c): New.
8228 (LDFLAGS-tst-prelink): Likewise.
8230 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8232 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
8233 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
8234 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
8235 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8236 (INTERNAL_SYSCALL_NCS): Likewise.
8237 (LOADARGS_1): Likewise.
8238 (LOADARGS_5): Likewise.
8239 (RESTOREARGS_1): Likewise.
8240 (RESTOREARGS_5): Likewise.
8242 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8244 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
8245 (MEMPCPY_SYMBOL): Likewise.
8246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8247 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
8248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
8250 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8251 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8253 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
8254 (__hidden_ver1): Don't use in libc.a.
8255 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8256 (__mempcpy): Don't create a weak alias in libc.a.
8257 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
8259 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
8260 (__hidden_ver1): Don't use in libc.a.
8262 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8264 * config.make.in (have-insert): New.
8265 * configure.ac (libc_cv_insert): New. Set to yes if linker
8266 supports INSERT in linker script.
8267 (AC_SUBST(libc_cv_insert): New.
8268 * configure: Regenerated.
8269 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
8270 if $(have-insert) == yes.
8272 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8274 * elf/Makefile (tests): Add vismain only if
8275 $(have-protected-data) == yes.
8276 (tests-pie): Likewise.
8278 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8281 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8282 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
8284 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8287 * sysdeps/i386/i586/memset.S
8288 (__memset_zero_constant_len_parameter): Removed.
8289 * sysdeps/i386/i686/memset.S
8290 (__memset_zero_constant_len_parameter): Likewise.
8291 * sysdeps/i386/i686/multiarch/memset_chk.S
8292 (__memset_zero_constant_len_parameter): Likewise.
8293 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
8296 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8298 * stdlib/getentropy.c (getentropy): Change return type to int.
8300 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8302 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8304 2017-08-03 Joseph Myers <joseph@codesourcery.com>
8306 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
8308 * math/s_nexttowardf.c (__nexttowardf): Likewise.
8309 * sysdeps/generic/math_private.h (ieee_double_shape_type):
8311 (ieee_float_shape_type): Likewise.
8312 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
8313 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
8314 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8315 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8316 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8317 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
8318 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
8319 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8320 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8322 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8323 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8324 (__ieee754_yn): Likewise.
8325 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8326 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8327 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
8329 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8330 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
8331 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
8332 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
8334 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8335 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
8336 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
8337 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
8338 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
8339 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
8341 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8342 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
8343 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8344 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
8345 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8346 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
8347 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
8348 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
8349 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
8350 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8351 (__issignaling): Likewise.
8352 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
8353 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
8354 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8356 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8357 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8358 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
8359 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
8361 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
8363 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
8364 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
8365 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
8366 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8367 (__erfcf): Likewise.
8368 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8369 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8370 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
8371 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
8373 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
8374 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
8376 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8377 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
8378 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8379 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
8380 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
8381 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8382 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
8383 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
8385 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
8387 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8389 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
8390 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8392 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8394 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8395 (__ieee754_ynl): Likewise.
8396 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8397 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
8399 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
8401 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8402 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
8403 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8405 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8406 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
8407 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
8408 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
8409 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
8410 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8411 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
8412 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
8414 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8415 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
8416 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
8418 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
8419 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
8420 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8421 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8422 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
8423 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8425 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8427 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8431 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
8432 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8433 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8434 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
8435 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8436 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
8437 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
8439 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8444 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8445 (__ieee754_remainderl): Likewise.
8446 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8449 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8451 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8452 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8454 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8455 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
8456 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8457 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8458 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8459 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8461 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8462 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
8463 (__ieee754_y0l): Likewise.
8466 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8467 (__ieee754_y1l): Likewise.
8470 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8471 (__ieee754_ynl): Likewise.
8472 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8473 (__ieee754_lgammal_r): Likewise.
8474 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
8476 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8477 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
8478 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8479 (__erfcl): Likewise.
8480 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8481 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
8483 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
8484 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
8485 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8486 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
8487 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
8488 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8489 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8491 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
8492 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8493 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
8494 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
8495 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8497 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
8498 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
8500 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
8501 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
8502 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
8503 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8504 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8506 2017-08-03 Florian Weimer <fweimer@redhat.com>
8509 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
8510 on memory allocation failure.
8512 2017-08-03 Alan Modra <amodra@gmail.com>
8514 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
8515 tst-tlsopt-powerpc.c with function name change and no test harness.
8516 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
8517 Call tls_get_addr_opt_test.
8518 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
8519 (modules-names): Add mod-tlsopt-powerpc.
8520 (mod-tlsopt-powerpc.so-no-z-defs): Define.
8521 (tst-tlsopt-powerpc): Depend on .so.
8522 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
8523 define. Expand use in TLS_GD and TLS_LD.
8525 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8527 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8529 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8531 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8534 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8535 comparing size with that of double.
8536 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8537 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8538 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8539 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8540 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8541 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8542 unsigned __int128 types.
8544 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8546 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8547 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8548 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8549 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8550 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8552 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8554 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8556 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8558 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8560 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8561 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8563 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8564 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8565 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8566 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8568 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8571 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8572 bit-field expressions passed to sizeof or typeof.
8573 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8574 (__TGMATH_F128): Likewise.
8575 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8576 (__TGMATH_CF128): Likewise.
8577 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8578 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8579 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8580 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8581 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8582 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8583 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8584 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8585 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8586 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8587 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8588 (__TGMATH_UNARY_IMAG): Likewise.
8589 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8590 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8591 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8593 (define_vars_for_type): Handle bit_field type specially.
8594 (Tests.__init__): Declare structure with bit-field element.
8596 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8599 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8600 (MEMCPY_CHK): Define only if SHARED is defined.
8601 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
8603 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
8606 See ChangeLog.18 for earlier changes.