1 2017-10-25 Mike FABIAN <mfabian@redhat.com>
3 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
4 by including the first letters of nostr and yesexpr in the regexp.
5 Also make it more readable by using ASCII where possible.
7 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
10 the first letter of nostr in the regexp. It agrees with CLDR now.
11 Also make it more readable by using ASCII where possible.
13 2017-10-24 Mike FABIAN <mfabian@redhat.com>
15 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
16 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
17 these strings contain a U+17D6 (which somewhat looks like a colon)
18 instead of a real colon to separate the full words for “yes”
19 and “no” from the single letter responses.
21 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24 it agree with CLDR (include the first letter of yesstr).
25 Also make it more readable by using ASCII where possible.
27 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30 and improve yesexpr and noexpr. The yesstr and nostr apparently
31 came from CLDR. And CLDR has a bug there: these strings contain
32 a U+0903 (which looks like a colon) instead of a real colon
33 to separate the full words for “yes” and “no” from the single
36 2017-10-24 Mike FABIAN <mfabian@redhat.com>
38 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
39 letters of the full yesstr and nostr in yesexpr and noexpr.
41 2017-10-24 Mike FABIAN <mfabian@redhat.com>
43 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
44 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
45 * localedata/locales/an_ES: Make source more readable by using ASCII
48 2017-10-24 Mike FABIAN <mfabian@redhat.com>
51 * localedata/locales/yuw_PG: New file.
52 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
53 * locale/iso-639.def: Add Yau (Uruwa).
55 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
57 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
59 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
61 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
62 (__libc_realloc): Likewise.
63 (_mid_memalign): Likewise.
64 (__libc_calloc): Likewise.
66 2017-10-23 Mike FABIAN <mfabian@redhat.com>
68 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
69 by adding the generic +1 and -0 as in all other locales.
70 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
71 day names and make it more readable by using ASCII where possible.
73 2017-10-24 Joseph Myers <joseph@codesourcery.com>
75 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
76 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
78 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
80 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
81 WNOHANG in waitpid call.
83 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
85 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
86 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
88 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
89 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
90 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
91 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
92 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
93 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
94 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
95 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
98 2017-10-23 Michael Collison <michael.collison@arm.com>
100 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
102 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
103 with __builtin_sqrtf.
104 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
106 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
107 with __builtin_ceilf.
108 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
109 with __builtin_floor.
110 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
111 with __builtin_floorf.
112 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
114 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
116 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
118 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
119 with __builtin_fmaxf.
120 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
122 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
123 with __builtin_fminf.
124 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
125 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
126 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
127 with builtin_rint and conversion to int.
128 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
129 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
130 with builtin_llround.
131 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
132 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
133 with builtin_rint and conversion to long int.
134 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
135 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
137 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
138 with builtin_lroundf.
139 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
140 statements with __builtin_nearbyint.
141 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
142 statements with __builtin_nearbyintf.
143 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
145 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
146 with __builtin_rintf.
147 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
148 with __builtin_round.
149 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
150 with __builtin_roundf.
151 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
152 with __builtin_trunc.
153 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
154 with __builtin_truncf.
155 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
156 and s_l[l]round[f].c too.
158 2017-10-23 Alan Modra <amodra@gmail.com>
160 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
161 Adjust stack after restoring regs. Add missing LR cfi_restore.
163 2017-10-23 Alan Modra <amodra@gmail.com>
165 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
166 Move LR save and frame setup/teardown and LR restore to
167 immediately around memset call. Provide cfi.
169 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
171 * sysdeps/i386/fpu/e_powf.S: Removed.
172 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
173 * sysdeps/i386/fpu/w_powf.c: Likewise.
174 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
175 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
176 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
178 (CFLAGS-e_powf-sse2.c): New.
179 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
180 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
182 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
184 * sysdeps/i386/fpu/e_log2f.S: Removed.
185 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
186 * sysdeps/i386/fpu/w_log2f.c: Likewise.
187 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
188 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
189 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
191 (CFLAGS-e_log2f-sse2.c): New.
192 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
193 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
195 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
197 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
199 (CFLAGS-e_powf-fma.c): New.
200 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
201 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
203 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
205 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
207 (CFLAGS-e_log2f-fma.c): New.
208 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
209 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
211 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
213 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
215 (CFLAGS-e_logf-fma.c): New.
216 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
217 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
219 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
221 * sysdeps/i386/fpu/e_logf.S: Removed.
222 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
223 * sysdeps/i386/fpu/w_logf.c: Likewise.
224 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
225 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
226 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
227 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
229 (CFLAGS-e_logf-sse2.c): New.
230 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
231 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
233 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
235 * sysdeps/i386/fpu/e_exp2f.S: Removed.
236 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
237 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
238 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
239 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
241 (CFLAGS-e_exp2f-sse2.c): New.
242 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
243 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
245 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
247 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
249 (CFLAGS-e_exp2f-fma.c): New.
250 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
251 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
253 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
255 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
256 * sysdeps/i386/fpu/e_expf.S: Likewise.
257 * sysdeps/i386/fpu/math_errf.c: Likewise.
258 * sysdeps/i386/fpu/w_expf.c: Likewise.
259 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
260 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
261 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
262 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
263 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
264 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
266 (CFLAGS-e_expf-sse2.c): New.
267 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
268 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
270 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
272 * sysdeps/x86_64/fpu/e_expf.S: Removed.
273 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
274 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
275 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
277 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
279 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
280 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
282 (__redirect_expf): This.
283 (SYMBOL_NAME): Changed to expf.
284 (__ieee754_expf): Renamed to ...
287 (__ieee754_expf): Add strong_alias.
288 (__expf_finite): Likewise.
290 Include <sysdeps/ieee754/flt-32/e_expf.c>.
292 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
295 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
298 2017-10-21 Florian Weimer <fweimer@redhat.com>
300 * posix/Makefile (tests): Add tst-glob-tilde.
301 (tests-special): Add tst-glob-tilde-mem.out
302 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
303 (tst-glob-tilde-mem.out): Add mtrace check.
304 * posix/tst-glob-tilde.c: New file.
306 2017-10-20 Joseph Myers <joseph@codesourcery.com>
308 * bits/floatn-common.h: New file.
309 * math/Makefile (headers): Add bits/floatn-common.h.
310 * bits/floatn.h: Include <bits/floatn-common.h>.
311 * sysdeps/ia64/bits/floatn.h: Likewise.
312 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
313 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
314 * sysdeps/powerpc/bits/floatn.h: Likewise.
315 * sysdeps/x86/bits/floatn.h: Likewise.
317 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
319 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
320 indicates whether compiler emits an warning for alias for
321 functions with incompatible types.
324 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
325 the auxiliary process is terminated by a signal before calling _exit
328 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
331 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
333 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
334 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
335 and bit_arch_XSAVEC_Usable if needed.
336 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
337 and bit_arch_Use_dl_runtime_resolve_opt.
338 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
340 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
341 (bit_arch_Prefer_No_AVX512): Updated.
342 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
343 (bit_arch_XSAVEC_Usable): New.
344 (STATE_SAVE_OFFSET): Likewise.
345 (STATE_SAVE_MASK): Likewise.
346 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
347 (cpu_features): Add xsave_state_size and xsave_state_full_size.
348 (index_arch_Use_dl_runtime_resolve_opt): Removed.
349 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
350 (index_arch_XSAVEC_Usable): New.
351 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
352 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
353 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
355 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
356 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
357 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
358 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
359 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
360 _dl_runtime_resolve_xsavec.
361 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
363 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
365 (REGISTER_SAVE_BND0): Removed.
366 (REGISTER_SAVE_BND1): Likewise.
367 (REGISTER_SAVE_BND3): Likewise.
368 (REGISTER_SAVE_RAX): Always defined to 0.
370 (_dl_runtime_resolve_avx): Likewise.
371 (_dl_runtime_resolve_avx_slow): Likewise.
372 (_dl_runtime_resolve_avx_opt): Likewise.
373 (_dl_runtime_resolve_avx512): Likewise.
374 (_dl_runtime_resolve_avx512_opt): Likewise.
375 (_dl_runtime_resolve_sse): Likewise.
376 (_dl_runtime_resolve_sse_vex): Likewise.
378 (_dl_runtime_resolve_fxsave): Likewise.
379 (USE_XSAVE): Likewise.
380 (_dl_runtime_resolve_xsave): Likewise.
381 (USE_XSAVEC): Likewise.
382 (_dl_runtime_resolve_xsavec): Likewise.
383 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
385 (_dl_runtime_resolve_avx512_opt): Likewise.
386 (_dl_runtime_resolve_avx): Likewise.
387 (_dl_runtime_resolve_avx_opt): Likewise.
388 (_dl_runtime_resolve_sse): Likewise.
389 (_dl_runtime_resolve_sse_vex): Likewise.
390 (_dl_runtime_resolve_fxsave): New.
391 (_dl_runtime_resolve_xsave): Likewise.
392 (_dl_runtime_resolve_xsavec): Likewise.
394 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
398 * posix/glob.c (__glob): Fix one-byte overflow.
400 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
402 * malloc/malloc.c (sysdep-cancel.h): Add include.
404 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
406 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
408 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
410 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
411 (tests): Remove $(objpfx)ga_test depdendency.
412 * resolv/ga_test.c: Remove file.
414 2017-10-20 Mike FABIAN <mfabian@redhat.com>
417 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
418 * localedata/locales/kab_DZ: New file.
420 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
422 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
423 _dl_relocate_static_pie instead of _dl_start to compute load
424 address in static PIE.
426 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
428 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
430 2017-10-20 Mike FABIAN <mfabian@redhat.com>
433 * localedata/SUPPORTED: Add shn_MM/UTF-8.
434 * localedata/locales/shn_MM: New file.
436 2017-10-20 Florian Weimer <fweimer@redhat.com>
439 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
440 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
441 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
442 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
443 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
444 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
446 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
448 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
450 2017-10-19 Joseph Myers <joseph@codesourcery.com>
452 * sysdeps/mips/ieee754/bits/floatn.h: New file.
455 * sysdeps/mips/bits/long-double.h: Move to ....
456 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
458 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
460 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
462 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
463 H.J. Lu <hongjiu.lu@intel.com>
466 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
467 GLRO(dl_platform) to NULL.
468 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
469 (modules-names): Add tst-platformmod-1 and
470 x86_64/tst-platformmod-2.
471 (CFLAGS-tst-platform-1.c): New.
472 (CFLAGS-tst-platformmod-1.c): Likewise.
473 (CFLAGS-tst-platformmod-2.c): Likewise.
474 (LDFLAGS-tst-platformmod-2.so): Likewise.
475 ($(objpfx)tst-platform-1): Likewise.
476 ($(objpfx)tst-platform-1.out): Likewise.
477 (tst-platform-1-ENV): Likewise.
478 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
479 * sysdeps/x86_64/tst-platform-1.c: New file.
480 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
481 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
483 2017-10-19 Mike FABIAN <mfabian@redhat.com>
486 * locale/iso-639.def: Add Karbi.
487 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
488 * localedata/locales/mjw_IN: New file.
490 2017-10-18 Joseph Myers <joseph@codesourcery.com>
492 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
493 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
494 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
495 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
496 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
497 (libm_alias_ldouble_other_r): Also create _Float128 alias.
498 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
500 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
501 (libm_alias_ldouble_other_r): Also create _Float128 alias.
502 * manual/math.texi (Mathematics): Document additional architecture
503 support for _Float128.
504 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
505 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
506 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
507 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
508 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
509 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
510 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
511 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
512 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
513 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
514 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
515 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
516 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
517 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
518 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
520 2017-10-18 Renlin Li <renlin.li@arm.com>
522 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
523 _DYNAMIC symbol to calculate load address.
525 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
527 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
528 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
530 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
531 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
533 2017-10-18 Mike FABIAN <mfabian@redhat.com>
536 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
537 and improve readability by using more ASCII.
538 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
539 and improve readability by using more ASCII.
541 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
543 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
544 not all targets support atomics on bool.
546 2017-10-17 Joseph Myers <joseph@codesourcery.com>
548 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
549 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
551 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
552 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
553 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
554 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
555 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
556 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
558 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
560 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
563 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
566 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
567 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
568 (do_check_remalloced_chunk): Fix build bug.
569 (do_check_malloc_state): Add assert that checks arena->top.
570 (malloc_consolidate): Remove initialization.
571 (int_mallinfo): Remove call to malloc_consolidate.
572 (__libc_mallopt): Clarify why malloc_consolidate is needed.
574 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
576 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
577 (have_fastchunks): Remove.
578 (clear_fastchunks): Remove.
579 (set_fastchunks): Remove.
580 (malloc_state): Add have_fastchunks.
581 (malloc_init_state): Use have_fastchunks.
582 (do_check_malloc_state): Remove incorrect invariant checks.
583 (_int_malloc): Use have_fastchunks.
584 (_int_free): Likewise.
585 (malloc_consolidate): Likewise.
587 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
589 * malloc/malloc.c (tcache_put): Inline.
590 (tcache_get): Inline.
592 2017-10-17 Jordi Mallach <jordi@gnu.org>
594 Aurelien Jarno <aurelien@aurel32.net>
596 * localedata/locales/ca_ES@valencia: New file.
597 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
599 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
602 * math/math.h: Let signbit use the builtin in C++ mode with gcc
605 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
607 * scripts/build-many-glibcs.py (Context.add_all_configs):
608 Add arm-linux-gnueabihf multiarch extra_glibcs.
610 * sysdeps/generic/ifunc-init.h: New file.
611 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
613 2017-10-17 Mike FABIAN <mfabian@redhat.com>
616 * localedata/locales/el_GR: Set n_cs_precedes to 0.
617 * localedata/locales/el_CY: copy "el_GR" because it is identical.
618 * stdlib/tst-strfmon_l.c: adapt test case.
620 2017-10-16 Joseph Myers <joseph@codesourcery.com>
622 * sysdeps/generic/float128-abi.h: New file.
623 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
624 non-__prefixed symbols to ....
625 * math/Versions: ... here. Include <float128-abi.h>.
626 * stdlib/Versions ... and here. Include <float128-abi.h>
628 2017-10-16 Florian Weimer <fweimer@redhat.com>
630 * version.h (VERSION): Switch to ".9000" as the development
633 2017-10-16 Florian Weimer <fweimer@redhat.com>
636 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
637 compat_symbol_reference to access non-default version.
639 2017-10-16 Florian Weimer <fweimer@redhat.com>
641 * malloc/Makefile (others-extras): Set to mcheck-init.o.
643 2017-10-16 Carlos O'Donell <carlos@redhat.com>
645 * include/shlib-compat.h (compat_symbol_reference): Update
648 2017-10-16 Joseph Myers <joseph@codesourcery.com>
650 * math/Makefile (test-types): Add
651 $(type-float128-$(float128-alias-fcts)).
652 * math/test-float128.h (TYPE_STR): Define conditional on
653 [FLT128_MANT_DIG == LDBL_MANT_DIG].
655 (ULP_I_IDX): Likewise.
657 * stdlib/strtold.c: Include <bits/floatn.h>
658 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
659 and later undefine as macro. Define as weak alias if
661 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
662 and later undefine as macro. Define as weak alias if
664 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
665 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
666 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
667 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
668 Define and later undefine as macro. Define as weak alias if
670 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
672 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
673 Define and later undefine as macro. Define as weak alias if
675 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
676 Define and later undefine as macro. Define as weak alias if
679 2017-10-15 Carlos O'Donell <carlos@redhat.com>
681 * localedata/collate-test.c (allocate_arrays): Don't use \n in
682 record_verbose messages.
684 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
687 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
688 to silence -O3 -Wall warning with GCC 7.
690 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
692 * Makeconfig (+link-static-before-libc): Use the first of
693 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
694 * gmon/Makefile (tests): Add tst-gmon-static.
695 (tests-static): Likewise.
696 (CFLAGS-tst-gmon-static.c): New.
697 (CRT-tst-gmon-static): Likewise.
698 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
699 (tst-gmon-static-ENV): Likewise.
700 (tests-special): Likewise.
701 ($(objpfx)tst-gmon-static.out): Likewise.
702 (clean-tst-gmon-static-data): Likewise.
703 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
704 * gmon/tst-gmon-static-gprof.sh: New file.
705 * gmon/tst-gmon-static.c: Likewise.
707 2017-10-13 Carlos O'Donell <carlos@redhat.com>
710 * locale/programs/linereader.c (get_string): Don't warn on
711 non-symbolic character.
713 2017-10-13 Carlos O'Donell <carlos@redhat.com>
716 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
719 2017-10-13 Carlos O'Donell <carlos@redhat.com>
722 * locale/programs/record-status.h: New file
723 * locale/programs/locale.c: Add comment.
724 * locale/programs/charmap-dir.c: Don't include error.h.
725 (charmap_opendir): Use record_error.
726 * locale/programs/charmap.c: Don't include error.h.
727 (charmap_read): Use record_error, and record_warning.
728 (parse_charmap): Likewise.
729 * locale/programs/ld-address.c: Don't include error.h.
730 (address_finish): Use record_error, and record_warning.
731 * locale/programs/ld-collate.c: Don't include error.h.
732 (collate_finish): Use record_error, and record_error_at_line.
733 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
734 (ctype_class_new): Likewise.
735 (ctype_map_new): Likewise.
736 (set_one_default): Likewise.
737 (set_class_defaults): Likewise.
738 (translit_flatten): Likewise.
739 (allocate_arrays): Use record_error, and record_verbose.
740 * locale/programs/ld-identification.c: Don't include error.h.
741 (indentation_finish): Use record_error and record_warning.
742 * locale/programs/ld-measurement.c: Don't include error.h.
743 (measurement_finish): Use record_error.
744 * locale/programs/ld-messages.c
745 (message_finish): Likewise.
746 * locale/programs/ld-monetary.c
747 (monetary_finish): Likewise.
748 * locale/programs/ld-name.c (name_finish): Use record_error
750 * locale/programs/ld-numeric.c
751 (numeric_finish): Use record_error.
752 * locale/programs/ld-paper.c: Don't include error.h.
753 (paper_finish): Use record_error.
754 * locale/programs/ld-telephone.c: Don't include error.h.
755 (telephone_finish): Use record_error.
756 * locale/programs/ld-time.c (time_finish): Likewise.
757 * locale/programs/linereader.h (lr_error): Make inline func.
758 * locale/programs/localedef.c: Define recorded_warning_count,
759 and recorded_error_count.
760 (main): Use record_error. Use recorded_error_count and
761 recorded_warning_count to issue correct error returns.
762 (add_to_readlist): Use record_error.
763 (find_locale): Likewise.
764 (load_locale): Likewise.
765 * locale/programs/localedef.h: Remove be_quiet
767 * locale/programs/locarchive.c (compare_from_file): Use
769 * locale/programs/locfile.c (write_locale_data): Use
771 * locale/programs/repertoire.c: Dont include error.h.
772 (repertoire_complain): Use record_error.
773 * localedata/tst-fmon.sh: Expect failures from localedef.
774 * localedata/tst-locale.sh: Likewise.
775 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
777 2017-10-12 Carlos O'Donell <carlos@redhat.com>
779 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
783 (i18n_ctype): ...this.
784 (i18n-report): Rename to...
785 (i18n_ctype-report): ...this.
786 * localedata/locales/i18n_ctype: Regenerate.
787 * localedata/locales/i18n: copy i18n_ctype.
789 2017-10-13 Joseph Myers <joseph@codesourcery.com>
791 * stdlib/strfroml.c: Include <bits/floatn.h>.
792 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
793 Define before include of <stdlib.h> and undefine afterwards, then
794 define as weak alias.
796 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
797 Undefine and restore default definition. Use
798 libm_alias_ldouble_other.
800 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
803 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
806 2017-10-13 James Clarke <jrtc27@jrtc27.com>
808 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
809 Assign sym_map to be map for local symbols, as TLS relocations
810 use sym_map to determine whether the symbol is defined and to
811 extract the TLS information.
812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
815 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
818 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
819 (math_force_eval): Add powerpc version.
822 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
825 * stdio-common/tst-printf.sh: Likewise.
826 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
827 ifdef clause in order to set the carry bit right. Replace r0 by
828 0 without changing the behavior.
830 2017-10-13 Joseph Myers <joseph@codesourcery.com>
832 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
833 <libm-alias-ldouble.h>.
834 (fabsl): Define using libm_alias_ldouble.
835 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
836 <libm-alias-ldouble.h>.
837 (fabsl): Define using libm_alias_ldouble.
839 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
840 Remove conditional code.
842 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
843 Rename to __clog10_internal_l.
844 (__clog10_internal_l): Define aliases using
845 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
848 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
850 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
851 * benchtests/sincosf-inputs: New file.
852 * benchtests/cosf-inputs: New file.
853 * benchtests/sinf-inputs: New file.
855 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
857 * posix/tst-spawn.c (do_test): Wait for both children.
859 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
862 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
863 tests-pie): Add tst-gmon-pie.
864 (CFLAGS-tst-gmon-pie.c): New.
865 (CRT-tst-gmon-pie): Likewise.
866 (tst-gmon-pie-ENV): Likewise.
867 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
868 ($(objpfx)tst-gmon-pie.out): Likewise.
869 (clean-tst-gmon-pie-data): Likewise.
870 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
871 * gmon/gmon.c [PIC]: Include <link.h>.
872 [PIC] (callback): New function.
873 (write_hist): Add an argument for load address. Subtract load
875 (write_call_graph): Likewise.
876 (write_gmon): Call __dl_iterate_phdr to get load address, pass
877 it to write_hist and write_call_graph.
878 * gmon/tst-gmon-pie.c: New file.
880 2017-10-11 Joseph Myers <joseph@codesourcery.com>
882 * math/Makefile (test-types-basic): New variable.
883 (test-types): Likewise.
884 (libm-test-support): Use $(test-types) instead of $(types).
885 (libm-tests-base-normal): Likewise.
886 (libm-tests-base-finite): Likewise.
887 (libm-tests-base-inline): Likewise.
888 (generated): Likewise.
889 ($(objpfx)libm-test-support-$(t).c): Likewise.
890 (libm-tests-for-type iterator): Likewise.
891 (libm-test-support iterator): Likewise.
892 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
893 (ulp_idx): Use ULP_IDX.
894 * math/test-ldouble.h: Include <float.h>.
895 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
896 (ULP_IDX): New macro.
897 (ULP_I_IDX): Likewise.
898 * math/test-double.h (ULP_IDX): Likewise.
899 (ULP_I_IDX): Likewise.
900 * math/test-float.h (ULP_IDX): Likewise.
901 (ULP_I_IDX): Likewise.
902 * math/test-float128.h (ULP_IDX): Likewise.
903 (ULP_I_IDX): Likewise.
905 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
907 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
908 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
909 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
910 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
911 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
912 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
914 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
915 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
916 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
917 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
918 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
919 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
921 (SINGLE_THREAD_BY_GLOBAL): Define.
922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
924 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
926 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
928 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
930 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
931 (SINGLE_THREAD_BY_GLOBAL): Likewise.
932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
935 2017-10-11 Andreas Schwab <schwab@suse.de>
937 * nis/Makefile (aux): Remove.
938 * nscd/Makefile (aux): Add nscd_hash.
939 (nscd-modules): Likewise.
940 ($(objpfx)nscd): Don't depend on libnsl.
941 * nscd/nscd_hash.c: New file.
942 * nscd/nscd_hash.h: Likewise.
943 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
944 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
945 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
946 instead of <nis/rpcsvc/nis.h>.
947 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
949 2017-10-11 Florian Weimer <fweimer@redhat.com>
952 Avoid large NSS buffers with many addresses, aliases.
953 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
954 using dynarrays and struct alloc_buffer.
955 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
956 (tst-nss-files-hosts-multi): Link with -ldl.
957 * nss/tst-nss-files-hosts-multi.c: New file.
959 2017-10-11 Florian Weimer <fweimer@redhat.com>
962 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
963 scratch_buffer. Eliminate gotos.
965 2017-10-11 Joseph Myers <joseph@codesourcery.com>
967 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
968 libm_alias_ldouble_other.
969 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
970 undefine and redefine.
971 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
972 (exp10l): Do not define here.
973 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
974 (weak_alias): Undefine and redefine.
975 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
976 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
977 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
978 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
980 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
981 [!__fma] (fma): Define using libm_alias_double.
982 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
983 [!__fmaf] (fmaf): Define using libm_alias_float.
984 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
985 (fmal): Define using libm_alias_ldouble.
987 2017-10-10 Joseph Myers <joseph@codesourcery.com>
989 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
991 (libm_alias_double_other): Likewise.
992 (libm_alias_double_r): Use libm_alias_double_other_r.
993 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
995 (libm_alias_float_other): Likewise.
996 (libm_alias_float_r): Use libm_alias_float_other_r.
997 * sysdeps/generic/libm-alias-float128.h
998 (libm_alias_float128_other_r): New macro.
999 (libm_alias_float128_other): Likewise.
1000 (libm_alias_float128_r): Use libm_alias_float128_other_r.
1001 * sysdeps/generic/libm-alias-ldouble.h
1002 (libm_alias_ldouble_other_r): New macro.
1003 (libm_alias_ldouble_other): Likewise.
1004 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1005 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
1006 (libm_alias_double_other_r): New macro.
1007 (libm_alias_double_other): Likewise.
1008 (libm_alias_double_r): Use libm_alias_double_other_r.
1009 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
1010 (libm_alias_ldouble_other_r): New macro.
1011 (libm_alias_ldouble_other): Likewise.
1012 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1013 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
1014 [!USE_AS_COMPAT]: Use libm_alias_double_other.
1015 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
1016 [!USE_AS_COMPAT]: Use libm_alias_float_other.
1017 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
1018 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
1019 * math/w_exp2f.c: Use libm_alias_float_other.
1020 * math/w_expf.c: Likewise.
1021 * math/w_log2f.c: Likewise.
1022 * math/w_logf.c: Likewise.
1023 * math/w_powf.c: Likewise.
1024 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
1025 [!__exp2f]: Use libm_alias_float_other.
1026 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
1027 [!__expf]: Use libm_alias_float_other.
1028 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
1029 [!__log2f]: Use libm_alias_float_other.
1030 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
1031 [!__logf]: Use libm_alias_float_other.
1032 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
1033 [!__powf]: Use libm_alias_float_other.
1035 2017-10-10 Florian Weimer <fweimer@redhat.com>
1037 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
1039 (_nss_files_gethostbyname3_r): Call it.
1041 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1043 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
1044 error. Remove default definition of declare_mgen_alias.
1045 [!declare_mgen_alias_r]: Likewise.
1046 * sysdeps/generic/math-type-macros-double.h
1047 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
1048 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
1049 (declare_mgen_alias_r): Likewise.
1050 * sysdeps/generic/math-type-macros-float128.h
1051 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1052 * sysdeps/generic/math-type-macros-ldouble.h
1053 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1054 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
1056 (declare_mgen_alias_r_s): Likewise.
1057 (declare_mgen_alias_r): Likewise.
1058 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
1059 (lgamma_r): Define using libm_alias_double_r.
1060 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
1061 (lgammaf_r): Define using libm_alias_float_r.
1062 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
1063 (lgammal_r): Define using libm_alias_ldouble_r.
1064 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
1065 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1067 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1069 * lib/glob.c (__glob_pattern_type): Remove now-spurious
1072 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1074 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
1076 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
1079 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
1080 [__cplusplus >= 201103] (__USE_ISOC99): Define.
1081 * math/Makefile (test-math-cxx11): New test.
1082 * math/test-math-cxx11.cc: New file.
1084 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
1086 * login/openpty.c (openpty): Close slave pty file descriptor on error.
1088 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
1089 call to allocate the slave pty file descriptor.
1091 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1093 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
1094 [!__fma] (fma): Define using libm_alias_double.
1095 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
1096 [!__fma] (fma): Define using libm_alias_double.
1098 * sysdeps/ieee754/float128/float128_private.h: Include
1099 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
1100 (libm_alias_ldouble_r): Undefine and redefine.
1101 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
1102 <libm-alias-ldouble.h>.
1103 (asinhl): Define using libm_alias_ldouble.
1104 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
1105 <libm-alias-ldouble.h>.
1106 (atanl): Define using libm_alias_ldouble.
1107 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
1108 <libm-alias-ldouble.h>.
1109 (cbrtl): Define using libm_alias_ldouble.
1110 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
1111 <libm-alias-ldouble.h>.
1112 (ceill): Define using libm_alias_ldouble.
1113 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
1114 <libm-alias-ldouble.h>.
1115 (copysignl): Define using libm_alias_ldouble.
1116 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
1117 <libm-alias-ldouble.h>.
1118 (cosl): Define using libm_alias_ldouble.
1119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
1120 <libm-alias-ldouble.h>.
1121 (erfl): Define using libm_alias_ldouble.
1123 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
1124 <libm-alias-ldouble.h>.
1125 (expm1l): Define using libm_alias_ldouble.
1126 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
1127 <libm-alias-ldouble.h>.
1128 (fabsl): Define using libm_alias_ldouble.
1129 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
1130 <libm-alias-ldouble.h>.
1131 (floorl): Define using libm_alias_ldouble.
1132 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
1133 <libm-alias-ldouble.h>.
1134 (fmal): Define using libm_alias_ldouble.
1135 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
1136 <libm-alias-ldouble.h>.
1137 (frexpl): Define using libm_alias_ldouble.
1138 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
1140 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
1141 <libm-alias-ldouble.h>.
1142 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
1144 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
1145 <libm-alias-ldouble.h>.
1146 (getpayloadl): Define using libm_alias_ldouble.
1147 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
1148 <libm-alias-ldouble.h>.
1149 (llrintl): Define using libm_alias_ldouble.
1150 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
1151 <libm-alias-ldouble.h>.
1152 (llroundl): Define using libm_alias_ldouble.
1153 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
1154 <libm-alias-ldouble.h>.
1155 (logbl): Define using libm_alias_ldouble.
1156 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
1157 <libm-alias-ldouble.h>.
1158 (lrintl): Define using libm_alias_ldouble.
1159 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
1160 <libm-alias-ldouble.h>.
1161 (lroundl): Define using libm_alias_ldouble.
1162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
1163 <libm-alias-ldouble.h>.
1164 (modfl): Define using libm_alias_ldouble.
1165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
1166 <libm-alias-ldouble.h>.
1167 (nearbyintl): Define using libm_alias_ldouble.
1168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
1169 <libm-alias-ldouble.h>.
1170 (nextafterl): Define using libm_alias_ldouble.
1171 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
1172 <libm-alias-ldouble.h>.
1173 (nextupl): Define using libm_alias_ldouble.
1174 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
1175 <libm-alias-ldouble.h>.
1176 (remquol): Define using libm_alias_ldouble.
1177 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
1178 <libm-alias-ldouble.h>.
1179 (rintl): Define using libm_alias_ldouble.
1180 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
1181 <libm-alias-ldouble.h>.
1182 (roundevenl): Define using libm_alias_ldouble.
1183 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
1184 <libm-alias-ldouble.h>.
1185 (roundl): Define using libm_alias_ldouble.
1186 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
1187 using libm_alias_ldouble.
1188 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
1189 <libm-alias-ldouble.h>.
1190 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
1191 Define using libm_alias_ldouble.
1192 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
1193 <libm-alias-ldouble.h>.
1194 (sincosl): Define using libm_alias_ldouble.
1195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
1196 <libm-alias-ldouble.h>.
1197 (sinl): Define using libm_alias_ldouble.
1198 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
1199 <libm-alias-ldouble.h>.
1200 (tanhl): Define using libm_alias_ldouble.
1201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
1202 <libm-alias-ldouble.h>.
1203 (tanl): Define using libm_alias_ldouble.
1204 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1205 <libm-alias-ldouble.h>.
1206 (totalorderl): Define using libm_alias_ldouble.
1207 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1208 <libm-alias-ldouble.h>.
1209 (totalordermagl): Define using libm_alias_ldouble.
1210 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
1211 <libm-alias-ldouble.h>.
1212 (truncl): Define using libm_alias_ldouble.
1213 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
1215 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
1217 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
1218 <libm-alias-ldouble.h>.
1219 (weak_alias): Do not undefine and redefine.
1220 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1221 (copysignl): Define with long_double_symbol only if [IS_IN
1223 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
1224 <libm-alias-ldouble.h>.
1225 (weak_alias): Do not undefine and redefine.
1226 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1227 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
1228 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
1229 <libm-alias-ldouble.h>.
1230 (weak_alias): Do not undefine and redefine.
1231 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1232 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
1233 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
1234 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
1235 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
1236 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
1237 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
1238 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
1239 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
1240 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
1241 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
1242 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
1243 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
1244 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
1245 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
1246 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
1247 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
1248 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
1250 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
1252 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
1253 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
1258 2017-10-06 Carlos O'Donell <carlos@redhat.com>
1261 * malloc/malloc.c (tcache_shutting_down): Use bool type.
1262 (tcache_thread_freeres): Set tcache_shutting_down before
1264 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
1265 * malloc/tst-malloc-tcache-leak.c: New file.
1267 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1269 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
1270 back to powerpc32 file.
1271 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1272 (memrchr): Add __memrchr_power8 to ifunc list.
1273 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
1274 extra bytes for unaligned inputs.
1276 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1278 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
1279 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1282 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1284 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1286 * sysdeps/arm/libm-test-ulps: Update.
1288 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
1289 <libm-alias-ldouble.h>.
1290 (asinhl): Define using libm_alias_ldouble.
1291 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
1292 <libm-alias-ldouble.h>.
1293 (cbrtl): Define using libm_alias_ldouble.
1294 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
1295 <libm-alias-ldouble.h>.
1296 (copysignl): Define using libm_alias_ldouble.
1297 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
1298 <libm-alias-ldouble.h>.
1299 (cosl): Define using libm_alias_ldouble.
1300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
1301 <libm-alias-ldouble.h>.
1302 (erfl): Define using libm_alias_ldouble.
1304 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
1305 <libm-alias-ldouble.h>.
1306 (fmal): Define using libm_alias_ldouble.
1307 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
1308 <libm-alias-ldouble.h>.
1309 (frexpl): Define using libm_alias_ldouble.
1310 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
1312 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
1313 <libm-alias-ldouble.h>.
1314 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
1316 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
1317 <libm-alias-ldouble.h>.
1318 (getpayloadl): Define using libm_alias_ldouble.
1319 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
1320 <libm-alias-ldouble.h>.
1321 (llrintl): Define using libm_alias_ldouble.
1322 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
1323 <libm-alias-ldouble.h>.
1324 (llroundl): Define using libm_alias_ldouble.
1325 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
1326 <libm-alias-ldouble.h>.
1327 (lrintl): Define using libm_alias_ldouble.
1328 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
1329 <libm-alias-ldouble.h>.
1330 (lroundl): Define using libm_alias_ldouble.
1331 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
1332 <libm-alias-ldouble.h>.
1333 (modfl): Define using libm_alias_ldouble.
1334 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
1335 <libm-alias-ldouble.h>.
1336 (nextupl): Define using libm_alias_ldouble.
1337 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
1338 <libm-alias-ldouble.h>.
1339 (remquol): Define using libm_alias_ldouble.
1340 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
1341 <libm-alias-ldouble.h>.
1342 (roundevenl): Define using libm_alias_ldouble.
1343 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
1344 <libm-alias-ldouble.h>.
1345 (roundl): Define using libm_alias_ldouble.
1346 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
1347 using libm_alias_ldouble.
1348 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
1349 <libm-alias-ldouble.h>.
1350 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
1351 <libm-alias-ldouble.h>.
1352 (setpayloadsigl): Define using libm_alias_ldouble.
1353 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
1354 <libm-alias-ldouble.h>.
1355 (sincosl): Define using libm_alias_ldouble.
1356 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
1357 <libm-alias-ldouble.h>.
1358 (sinl): Define using libm_alias_ldouble.
1359 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
1360 <libm-alias-ldouble.h>.
1361 (tanhl): Define using libm_alias_ldouble.
1362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
1363 <libm-alias-ldouble.h>.
1364 (tanl): Define using libm_alias_ldouble.
1365 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1366 <libm-alias-ldouble.h>.
1367 (totalorderl): Define using libm_alias_ldouble.
1368 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1369 <libm-alias-ldouble.h>.
1370 (totalordermagl): Define using libm_alias_ldouble.
1371 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
1373 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
1376 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
1378 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
1380 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1381 (__libc_ifunc_impl_list): Likewise.
1382 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1383 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
1385 * benchtests/bench-memmove-walk.c: New file.
1386 * benchtests/Makefile (string-benchset): Add it.
1388 * benchtests/bench-memset-walk.c: New file.
1389 * benchtests/Makefile (string-benchset): Add it.
1391 * benchtests/bench-memcpy-walk.c: New file.
1392 * benchtests/Makefile (string-benchset): Add it.
1394 2017-10-05 Florian Weimer <fweimer@redhat.com>
1396 nscd: Eliminate compilation time dependency in the build output.
1397 * nscd/nscd_stat.c (STATDATA_VERSION)
1398 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
1399 (STATDATA_VERSION_FULL): New macro definitions.
1400 (compilation): Remove.
1401 (struct statdata): Adjust version member.
1402 (send_stats): Set version from STATDATA_VERSION_FULL.
1403 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
1405 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1407 * configure.ac (--enable-add-ons): Remove option.
1408 (machine): Do not mention add-ons in comment.
1409 (LIBC_PRECONFIGURE): Likewise.
1410 (add_ons): Remove variable and sanity checks and logic to locate
1412 (add_ons_automatic): Remove variable.
1413 (configured_add_ons): Likewise.
1414 (add_ons_sfx): Likewise.
1415 (add_ons_pfx): Likewise.
1416 (add_on_subdirs): Likewise.
1417 (sysnames_add_ons): Likewise. Remove loop over add-ons and
1418 consideration of add-ons in Implies handling.
1419 (sysdeps_add_ons): Likewise.
1420 * configure: Regenerated.
1421 * libidn/configure.ac: Remove.
1422 * libidn/configure: Likewise.
1423 * sysdeps/unix/inet/configure.ac: New file.
1424 * sysdeps/unix/inet/configure: New generated file.
1425 * sysdeps/unix/inet/Subdirs: Add libidn.
1426 * Makeconfig (sysdeps-srcdirs): Remove variable.
1427 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
1428 ($(common-objpfx)config.status): Do not depend on add-on files.
1429 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
1431 (all-subdirs): Do not include $(add-on-subdirs).
1432 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
1433 * config.make.in (add-ons): Remove variable.
1434 (add-on-subdirs): Likewise.
1435 (sysdeps-add-ons): Likewise.
1436 * manual/Makefile (add-chapters): Remove.
1437 ($(objpfx)texis): Do not depend on $(add-chapters).
1438 (nonexamples): Do not handle $(add-chapters).
1439 (examples): Do not handle $(add-ons).
1440 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
1442 * manual/install.texi (Installation): Do not mention add-ons.
1443 (--enable-add-ons): Do not document configure option.
1444 * INSTALL: Regenerated.
1445 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
1446 * manual/maint.texi (Hierarchy Conventions): Do not mention
1448 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
1450 * scripts/gen-sorted.awk: Do not handle Subdirs files from
1452 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
1453 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
1455 2017-10-05 Andreas Schwab <schwab@suse.de>
1458 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
1459 (_IO_flush_all_lockp): Always lock list_all_lock.
1460 (_IO_flush_all_linebuffered): Likewise.
1461 (_IO_unbuffer_all): Likewise.
1463 2017-10-05 Florian Weimer <fweimer@redhat.com>
1466 Do not flush stdio streams on abort.
1467 * stdlib/abort.c (fflush): Remove macro definition.
1468 (abort): Remove stages related to stdio flushing.
1470 2017-10-05 Florian Weimer <fweimer@redhat.com>
1472 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
1474 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1476 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1478 2017-10-05 Florian Weimer <fweimer@redhat.com>
1480 * support/support_format_hostent.c (support_format_hostent): Add
1481 more error information for NETDB_INTERNAL.
1483 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1485 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
1486 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
1487 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
1488 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
1489 AC_DEFINE if multi-arch is enabled.
1490 * sysdeps/i386/configure: Regenerated.
1492 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1494 * Makeconfig (+link-static-before-libc): Use
1495 $(DEFAULT-LDFLAGS-$(@F)).
1496 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
1497 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
1498 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
1500 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1502 * elf/Makefile (tests): Add tst-main1.
1503 (modules-names): Add tst-main1mod.
1504 ($(objpfx)tst-main1): New.
1505 (CRT-tst-main1): Likewise.
1506 (LDFLAGS-tst-main1): Likewise.
1507 (LDLIBS-tst-main1): Likewise.
1508 (tst-main1mod.so-no-z-defs): Likewise.
1509 * elf/tst-main1.c: New file.
1510 * elf/tst-main1mod.c: Likewise.
1512 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1514 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
1516 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1518 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
1519 (fma): Define using libm_alias_double.
1520 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
1521 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
1523 (fmal): Do not define as compat symbol here.
1524 * sysdeps/alpha/fpu/s_fma.c: New file.
1526 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1528 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
1530 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1533 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1535 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1537 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
1538 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1539 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
1540 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1542 Include <math_ldbl_opt.h>
1543 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1545 (compat_symbol): Undefine and redefine.
1546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1548 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1549 (compat_symbol): Undefine and redefine.
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
1551 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
1552 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
1554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
1555 GLIBC_2.0 copysignl symbol.
1556 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1557 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
1559 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
1561 2017-10-04 Florian Weimer <fweimer@redhat.com>
1563 * scripts/check-local-headers.sh: Ignore nspr4 header file
1564 directory in addition to nspr.
1566 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
1569 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
1570 * configure: Regenerate.
1571 * crypt/Makefile (nss-cpp-flags): New variable.
1572 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
1573 (CPPFLAGS-md5-crypt.c): Use it.
1574 * scripts/check-local-headers.sh: Ignore nspr header file
1577 2017-10-04 Andreas Schwab <schwab@suse.de>
1579 * nis/Makefile (services): Remove compat.
1580 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
1581 ($(objpfx)libnss_compat.so): Remove rule.
1582 * nis/Versions (libnss_compat): Remove.
1583 * nss/Makefile (services): Add compat.
1584 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
1585 * nss/Versions (libnss_compat): Define.
1586 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
1587 Don't include <rpc/types.h>. Replace bool_t by bool.
1588 * nss/nss_compat/compat-initgroups.c: Likewise.
1589 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
1590 instead of <rpcsrv/ypclnt.h>.
1591 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1592 yp_get_default_domain.
1593 * nss/nss_compat/compat-pwd.c: Likewise.
1594 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1595 yp_get_default_domain.
1596 * nss/nss_compat/nisdomain.c: New file.
1597 * nss/nss_compat/nisdomain.h: Likewise.
1599 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1602 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1603 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1605 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1608 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1609 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1611 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1613 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1614 "movl main@GOTOFF(%ebx), %eax".
1616 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1618 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1619 allow undefined _DYNAMIC in PIE libc.a.
1620 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1623 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1625 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1628 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1630 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1633 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1635 * math/test-math-iscanonical.cc (error): Replace bool with int.
1637 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1639 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1640 (modf): Define using libm_alias_double, only if [!__modf].
1641 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1642 <libm-alias-double.h>.
1643 (modf): Define using libm_alias_double, only if [!__modf].
1644 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1647 (weak_alias): Do not undefine and redefine.
1648 (strong_alias): Likewise.
1649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1650 (weak_alias): Likewise.
1651 (strong_alias): Likewise.
1653 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1654 (logb): Define using libm_alias_double, only if [!__logb].
1655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1656 <libm-alias-double.h>.
1657 (logb): Define using libm_alias_double, only if [!__logb].
1658 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1660 (weak_alias): Do not undefine and redefine.
1661 (strong_alias): Likewise.
1662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1663 (weak_alias): Likewise.
1664 (strong_alias): Likewise.
1666 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1668 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
1669 Check SHARED instead PIC.
1671 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1673 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
1674 [!__fmaf] (fmaf): Define using libm_alias_float.
1676 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
1677 (frexp): Define using libm_alias_double.
1678 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1679 <libm-alias-double.h>.
1680 (frexp): Define using libm_alias_double.
1681 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1684 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1687 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1688 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1689 (CFLAGS-test-math-iscanonical.cc): New variable.
1690 * math/test-math-iscanonical.cc: New file.
1691 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1692 Provide a C++ implementation based on function overloading,
1693 rather than using __MATH_TG, which uses C-only builtins.
1694 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1696 * sysdeps/powerpc/powerpc64le/Makefile
1697 (CFLAGS-test-math-iscanonical.cc): New variable.
1699 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1701 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1702 (ceil): Define using libm_alias_double.
1703 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1704 (floor): Define using libm_alias_double.
1705 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1706 <libm-alias-double.h>.
1707 (llround): Define using libm_alias_double.
1708 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1709 <libm-alias-double.h>.
1710 (lround): Define using libm_alias_double.
1711 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1712 <libm-alias-double.h>.
1713 (nearbyint): Define using libm_alias_double.
1714 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1715 <libm-alias-double.h>.
1716 (remquo): Define using libm_alias_double.
1717 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1718 (rint): Define using libm_alias_double.
1719 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1720 (round): Define using libm_alias_double.
1721 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1722 (trunc): Define using libm_alias_double.
1723 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1724 <libm-alias-double.h>.
1725 (ceil): Define using libm_alias_double.
1726 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1727 <libm-alias-double.h>.
1728 (floor): Define using libm_alias_double.
1729 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1730 <libm-alias-double.h>.
1731 (llround): Define using libm_alias_double.
1732 [_LP64] (lround): Likewise.
1733 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1734 <libm-alias-double.h>.
1735 [!_LP64] (lround): Define using libm_alias_double.
1736 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1737 <libm-alias-double.h>.
1738 (nearbyint): Define using libm_alias_double.
1739 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1740 <libm-alias-double.h>.
1741 (remquo): Define using libm_alias_double.
1742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1743 <libm-alias-double.h>.
1744 (rint): Define using libm_alias_double.
1745 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1746 <libm-alias-double.h>.
1747 (round): Define using libm_alias_double.
1748 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1749 <libm-alias-double.h>.
1750 (trunc): Define using libm_alias_double.
1751 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1752 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1753 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1754 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1755 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1756 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1757 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1758 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1759 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1761 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1763 * math/w_remainder.c: New file.
1764 * math/w_remainderf.c: New file.
1765 * math/w_remainderl.c: New file.
1767 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1769 * elf/rtld.c (BOOTSTRAP_MAP): New.
1770 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1771 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1773 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1775 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1778 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1780 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1781 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1782 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1783 rtld_hidden_data_ver): Define to empty.
1784 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1785 __assert_perror_fail): Likewise.
1786 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1787 (__rewinddir): Likewise.
1788 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1789 (__profile_frequency): Likewise.
1790 * include/setjmp.h (__sigsetjmp): Likewise.
1791 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1792 __libc_sigaction): Likewise.
1793 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1794 not set hidden attribute.
1795 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1796 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1797 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1798 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1799 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1800 __fxstatat64): Likewise.
1801 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1802 (__uname): Likewise.
1803 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1804 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1805 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1806 (NO_RTLD_HIDDEN): Set.
1807 * sysdeps/mach/hurd/configure: Refresh.
1808 * config.h.in: Refresh.
1810 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1812 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1813 (atan): Define using libm_alias_double.
1814 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1815 (tan): Define using libm_alias_double.
1816 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1817 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1820 define as weak alias of __atan. Do not define any aliases if
1822 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1823 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1825 as weak alias of __tan. Do not define any aliases if [__tan].
1826 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1827 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1828 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1830 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1831 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1832 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1833 and define as weak alias of __atan.
1834 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1836 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1837 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1838 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1839 define as weak alias of __tan.
1841 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1843 * math/w_lgamma.c: New file.
1844 * math/w_lgammaf.c: New file.
1845 * math/w_lgammal.c: New file.
1847 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1849 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1850 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1851 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1852 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1853 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1854 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1855 * sysdeps/i386/fpu/w_log2f.c: New file.
1856 * sysdeps/i386/fpu/w_logf.c: New file.
1857 * sysdeps/i386/fpu/w_powf.c: New file.
1858 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1859 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1860 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1862 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1863 H.J. Lu <hongjiu.lu@intel.com>
1865 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1866 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1867 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1868 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1869 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1871 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1872 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1873 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1874 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1875 * sysdeps/i386/fpu/w_exp2f.c: New file.
1876 * sysdeps/i386/fpu/w_expf.c: New file.
1877 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1878 * sysdeps/x86_64/fpu/w_expf.c: New file.
1880 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1882 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1885 * math/w_log2f.c: New file.
1886 * math/w_logf.c: New file.
1887 * math/w_powf.c: New file.
1888 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1889 * math/w_logf_compat.c (__logf_compat): Likewise.
1890 * math/w_powf_compat.c (__powf_compat): Likewise.
1891 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1892 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1893 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1894 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1895 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1896 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1897 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1898 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1899 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1900 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1901 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1902 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1903 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1904 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1905 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1914 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1915 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1916 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1917 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1918 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1923 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1924 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1925 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1927 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1929 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1930 (sysdep_routines): Add memrchr_power8.
1931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1932 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1933 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1935 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1936 (memrchr): Add __memrchr_power8 to ifunc list.
1937 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1939 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1942 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1943 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1945 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1946 (__posix_fallocate64_l64): Likewise.
1948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1951 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1952 (__sched_setaffinity_new): Add libc_hidden_proto and
1955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1958 * include/glob.h (__glob64): Add libc_hidden_proto.
1959 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1965 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1971 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1976 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1982 * csu/version.c (__libc_print_version): Add attribute_hidden.
1984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1987 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1992 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1997 * nscd/nscd_helper.c (__nis_hash): New prototype.
1999 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2002 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
2003 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
2005 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2006 * termios/tcgetattr.c (__tcgetattr): Likewise.
2008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2011 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
2012 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
2013 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
2014 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
2015 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
2017 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2020 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
2022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2025 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
2026 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
2028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2031 * intl/hash-string.h (__hash_string): Add attribute_hidden.
2033 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2036 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
2037 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
2039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2042 * include/ifreq.h: New file.
2043 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
2044 (__ifreq): Likewise.
2045 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
2046 (__ifreq): Likewise.
2048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2051 * include/idna.h: New file.
2052 * inet/getnameinfo.c: Include <idna.h> instead of
2054 (__idna_to_unicode_lzlz): Removed.
2055 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
2057 (__idna_to_ascii_lz): Removed.
2058 (__idna_to_unicode_lzlz): Likewise.
2060 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2063 * include/plural-exp.h: New file.
2064 * intl/plural-exp.c: Include <plural-exp.h> instead of
2067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2070 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
2071 "getsourcefilter.h".
2072 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
2073 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
2074 "getsourcefilter.h".
2075 (__get_sol): Removed.
2077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2080 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
2082 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
2084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2087 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
2090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2093 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
2095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2098 * include/search.h (__tdestroy): Add libc_hidden_proto.
2099 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
2101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2104 * include/assert.h (__assert_fail_base): Add attribute_hidden.
2106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2109 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
2112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2115 * include/signal.h (__kill): Add libc_hidden_proto.
2116 (__sigblock): Likewise.
2117 (__sigprocmask): Likewise.
2118 (__sigaltstack): Likewise.
2119 * signal/kill.c (__kill): Add libc_hidden_def.
2120 * signal/sigblock.c (__sigblock): Likewise.
2121 * signal/sigprocmask.c (__sigprocmask): Likewise.
2122 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2123 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2124 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2125 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2126 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
2128 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2130 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2131 (__sigprocmask): Likewise.
2132 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
2134 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2135 (__sigprocmask): Likewise.
2136 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2139 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2142 * include/string.h (__strsep): Add libc_hidden_proto.
2143 * string/strsep.c (__strsep): Add libc_hidden_def.
2145 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2148 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
2150 (__spawni): Likewise.
2152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2155 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
2156 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
2159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2162 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
2164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2167 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
2168 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
2169 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2170 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
2171 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
2173 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
2174 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
2176 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2179 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
2180 (__dcigettext): Likewise.
2182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2185 * include/sys/sysinfo.h (__get_nprocs_conf): Add
2187 (__get_nprocs): Likewise.
2188 (__get_phys_pages): Likewise.
2189 (__get_avphys_pages): Likewise.
2190 (__get_child_max): Add attribute_hidden.
2191 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
2192 (__get_nprocs): Likewise.
2193 (__get_phys_pages): Likewise.
2194 (__get_avphys_pages): Likewise.
2195 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
2197 (__get_nprocs): Likewise.
2198 (__get_phys_pages): Likewise.
2199 (__get_avphys_pages): Likewise.
2200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
2202 (__get_nprocs_conf): Likewise.
2203 (__get_phys_pages): Likewise.
2204 (__get_avphys_pages): Likewise.
2206 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2209 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
2211 (__netlink_close): Likewise.
2212 (__netlink_free_handle): Likewise.
2213 (__netlink_request): Likewise.
2215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2218 * include/rpc/rpc.h (__rpc_thread_variables): Add
2220 (__rpc_thread_svc_cleanup): Likewise.
2221 (__rpc_thread_clnt_cleanup): Likewise.
2222 (__rpc_thread_key_cleanup): Likewise.
2224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2227 * include/sys/uio.h (__readv): Add libc_hidden_proto.
2228 (__writev): Likewise.
2229 * misc/readv.c (__readv): Add libc_hidden_def.
2230 * misc/writev.c (__writev): Likewise.
2231 * sysdeps/posix/readv.c (__readv): Likewise.
2232 * sysdeps/posix/writev.c (__writev): Likewise.
2233 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
2234 (__readv): Likewise.
2235 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
2236 (__writev): Likewise.
2238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2241 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
2242 (__regcomp): Add libc_hidden_proto.
2243 (__regexec): Likewise.
2244 (__regfree): Likewise.
2245 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
2246 (__regfree): Likewise.
2247 * posix/regexec.c (__regexec): Likewise.
2249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2252 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
2253 (__getutent): Likewise.
2254 (__getutid): Likewise.
2255 (__getutline): Likewise.
2256 (__pututline): Likewise.
2257 (__getutent_r): Likewise.
2258 (__getutid_r): Likewise.
2259 (__getutline_r): Likewise.
2260 (__utmpname): Add attribute_hidden.
2261 (__setutent): Likewise.
2262 (__endutent): Likewise.
2263 * login/getutent.c (__getutent): Add libc_hidden_def.
2264 * login/getutent_r.c (__getutent_r): Likewise.
2265 (__pututline): Likewise.
2266 * login/getutid.c (__getutid): Likewise.
2267 * login/getutid_r.c (__getutid_r): Likewise.
2268 * login/getutline.c (__getutline): Likewise.
2269 * login/getutline_r.c (__getutline_r): Likewise.
2270 * login/updwtmp.c (__updwtmp): Likewise.
2272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2275 * include/dirent.h (__opendir): Always add attribute_hidden.
2276 (__fdopendir): Likewise.
2277 (__closedir): Likewise.
2278 (__readdir): Likewise.
2279 (__readdir64): Add libc_hidden_proto.
2280 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
2281 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
2282 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
2283 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
2286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2289 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
2290 * include/netdb.h (__gethostbyaddr_r): Likewise.
2291 (__gethostbyname_r): Likewise.
2292 (__gethostbyname2_r): Likewise.
2293 (__getnetbyaddr_r): Likewise.
2294 (__getnetbyname_r): Likewise.
2295 (__getservbyname_r): Likewise.
2296 (__getservbyport_r): Likewise.
2297 (__getprotobyname_r): Likewise.
2298 (__getprotobynumber_r): Likewise.
2299 (__getnetgrent_r): Likewise.
2300 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
2301 (__getrpcbynumber_r): Likewise.
2302 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
2304 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2307 * include/stdio.h (__fcloseall): Add attribute_hidden.
2308 (__getline): Likewise.
2309 (__path_search): Likewise.
2310 (__gen_tempname): Likewise.
2311 (__libc_message): Likewise.
2312 (__flockfile): Likewise.
2313 (__funlockfile): Likewise.
2314 (__fxprintf): Likewise.
2315 (__fxprintf_nocancel): Likewise.
2317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2320 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
2321 (__sgetsgent_r): Likewise.
2323 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2326 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
2327 (__statfs64): Likewise.
2328 (__fstatfs64): Likewise.
2329 * include/sys/statvfs.h (__statvfs64): Likewise.
2330 (__fstatvfs64): Likewise.
2331 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
2332 (__statfs_filesize_max): Likewise.
2333 (__statfs_symlinks): Likewise.
2334 (__statfs_chown_restricted): Likewise.
2336 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2339 * include/time.h (__tzstring): Add attribute_hidden.
2340 (__tzfile_read): Likewise.
2341 (__tzfile_compute): Likewise.
2342 (__tzfile_default): Likewise.
2343 (__tzset_parse_tz): Likewise.
2344 (__offtime): Likewise.
2345 (__asctime_r): Likewise.
2346 (__tzset): Likewise.
2347 (__tz_convert): Likewise.
2348 (__getdate_r): Likewise.
2349 (__getclktck): Likewise.
2351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2354 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
2355 (__nscd_unmap): Likewise.
2356 (__nscd_cache_search): Likewise.
2357 (__nscd_get_nl_timestamp): Likewise.
2358 (__nscd_getpwnam_r): Likewise.
2359 (__nscd_getpwuid_r): Likewise.
2360 (__nscd_getgrnam_r): Likewise.
2361 (__nscd_getgrgid_r): Likewise.
2362 (__nscd_gethostbyname_r): Likewise.
2363 (__nscd_gethostbyname2_r): Likewise.
2364 (__nscd_gethostbyaddr_r): Likewise.
2365 (__nscd_getai): Likewise.
2366 (__nscd_getgrouplist): Likewise.
2367 (__nscd_getservbyname_r): Likewise.
2368 (__nscd_getservbyport_r): Likewise.
2369 (__nscd_innetgr): Likewise.
2370 (__nscd_setnetgrent): Likewise.
2372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2375 * include/gmp.h: Declare internal functions only if _ISOMAC is
2377 (__mpn_extract_double): Add attribute_hidden.
2378 (__mpn_extract_long_double): Likewise.
2379 (__mpn_extract_float128): Likewise.
2380 (__mpn_construct_float): Likewise.
2381 (__mpn_construct_double): Likewise.
2382 (__mpn_construct_long_double): Likewise.
2383 (__mpn_construct_float128): Likewise.
2384 (mpn_add_1): Likewise.
2385 (mpn_addmul_1): Likewise.
2386 (mpn_add_n): Likewise.
2387 (mpn_cmp): Likewise.
2388 (mpn_divrem): Likewise.
2389 (mpn_lshift): Likewise.
2390 (mpn_mul): Likewise.
2391 (mpn_mul_1): Likewise.
2392 (mpn_rshift): Likewise.
2393 (mpn_sub_1): Likewise.
2394 (mpn_submul_1): Likewise.
2395 (mpn_sub_n): Likewise.
2397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2400 * include/wchar.h (__wcsnlen): Add attribute_hidden.
2401 (__wcscat): Likewise.
2402 (__btowc): Likewise.
2403 (__wcrtomb): Likewise.
2404 (__mbsrtowcs): Likewise.
2405 (__wcsrtombs): Likewise.
2406 (__mbsnrtowcs): Likewise.
2407 (__wcsnrtombs): Likewise.
2408 (__wcsncpy): Likewise.
2409 (__wcpncpy): Likewise.
2410 (__wmemcpy): Likewise.
2411 (__wmempcpy): Likewise.
2412 (__wmemmove): Likewise.
2413 (__wcschrnul): Likewise.
2414 (__vfwscanf): Likewise.
2415 (__vswprintf): Likewise.
2416 (__fwprintf): Likewise.
2417 (__vfwprintf): Likewise.
2419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2422 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
2423 (__getgrgid_r): Likewise.
2424 (__getgrnam_r): Likewise.
2425 * include/pwd.h (__getpwuid_r): Likewise.
2426 (__getpwnam_r): Likewise.
2427 (__fgetpwent_r): Likewise.
2428 * include/shadow.h (__getspnam_r): Likewise.
2429 (__sgetspent_r): Likewise.
2430 (__fgetspent_r): Likewise.
2432 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2435 * include/unistd.h (__access): Add attribute_hidden.
2436 (__lseek64): Likewise.
2437 (__libc_pread64): Likewise.
2438 (__pipe2): Likewise.
2439 (__sleep): Likewise.
2440 (__chdir): Likewise.
2441 (__fchdir): Likewise.
2442 (__getcwd): Likewise.
2443 (__rmdir): Likewise.
2444 (__execvpe): Likewise.
2445 (__execve): Likewise.
2446 (__setsid): Likewise.
2447 (__getuid): Likewise.
2448 (__geteuid): Likewise.
2449 (__getgid): Likewise.
2450 (__getegid): Likewise.
2451 (__getgroups): Likewise.
2452 (__group_member): Likewise.
2453 (__ttyname_r): Likewise.
2454 (__isatty): Likewise.
2455 (__readlink): Likewise.
2456 (__unlink): Likewise.
2457 (__gethostname): Likewise.
2458 (__profil): Likewise.
2459 (__getdtablesize): Likewise.
2461 (__ftruncate): Likewise.
2462 (__ftruncate64): Likewise.
2464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2467 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
2468 * argp/argp-fs-xinl.c: Likewise.
2469 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
2470 * argp/argp-parse.c: Include <argp.h>.
2471 * argp/argp-xinl.c: Likewise.
2472 * include/argp-fmtstream.h: New file.
2473 * include/argp.h (__argp_error): Add attribute_hidden.
2474 (__argp_failure): Likewise.
2475 (__argp_input): Likewise.
2476 (__argp_state_help): Likewise.
2478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2481 * include/wchar.h (____wcstof_l_internal): New prototype.
2482 (____wcstod_l_internal): Likewise.
2483 (____wcstold_l_internal): Likewise.
2484 (____wcstol_l_internal): Likewise.
2485 (____wcstoul_l_internal): Likewise.
2486 (____wcstoll_l_internal): Likewise.
2487 (____wcstoull_l_internal): Likewise.
2488 (____wcstof128_l_internal): Likewise.
2489 * sysdeps/ieee754/float128/wcstof128.c
2490 (____wcstof128_l_internal): Removed.
2491 * sysdeps/ieee754/float128/wcstof128_l.c
2492 (____wcstof128_l_internal): Likewise.
2493 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
2494 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
2495 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
2496 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
2497 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
2498 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
2499 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
2500 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
2501 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
2502 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
2504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2507 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
2508 instead of <sys/statvfs.h>.
2509 (__internal_statvfs): Removed.
2510 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
2511 instead of <sys/statvfs.h>.
2512 (__internal_statvfs64): Removed.
2513 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
2514 "internal_statvfs.h" instead of <sys/statvfs.h>.
2515 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
2516 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
2517 instead of <sys/statvfs.h>.
2518 (__internal_statvfs): Removed.
2519 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
2520 instead of <sys/statvfs.h>.
2521 (__internal_statvfs64): Removed.
2523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2526 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
2527 (__gconv_close): Likewise.
2528 (__gconv): Likewise.
2529 (__gconv_find_transform): Likewise.
2530 (__gconv_lookup_cache): Likewise.
2531 (__gconv_compare_alias_cache): Likewise.
2532 (__gconv_load_cache): Likewise.
2533 (__gconv_get_path): Likewise.
2534 (__gconv_close_transform): Likewise.
2535 (__gconv_release_cache): Likewise.
2536 (__gconv_find_shlib): Likewise.
2537 (__gconv_release_shlib): Likewise.
2538 (__gconv_get_builtin_trans): Likewise.
2539 (__gconv_compare_alias): Likewise.
2540 * include/dlfcn.h (_dlerror_run): Likewise.
2541 * include/stdio.h (__fortify_fail_abort): Likewise.
2542 * include/time.h (__tz_compute): Likewise.
2543 (__strptime_internal): Likewise.
2544 * intl/gettextP.h (_nl_find_domain): Likewise.
2545 (_nl_load_domain): Likewise.
2546 (_nl_find_msg): Likewise.
2547 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
2548 (EXTRACT_PLURAL_EXPRESSION): Likewise.
2549 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
2550 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
2551 (__gai_find_request): Likewise.
2552 (__gai_remove_request): Likewise.
2553 (__gai_notify): Likewise.
2554 (__gai_notify_only): Likewise.
2555 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2556 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2557 (_dl_non_dynamic_init): Likewise.
2558 (_dl_aux_init): Likewise.
2559 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
2560 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2562 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
2563 (__wcsmbs_clone_conv): Likewise.
2564 (__wcsmbs_named_conv): Likewise.
2566 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2569 * include/stdlib.h (__random): Add attribute_hidden.
2570 (__random_r): Likewise.
2571 (__srandom_r): Likewise.
2572 (__initstate_r): Likewise.
2573 (__setstate_r): Likewise.
2574 (__erand48_r): Likewise.
2575 (__nrand48_r): Likewise.
2576 (__jrand48_r): Likewise.
2577 (__srand48_r): Likewise.
2578 (__seed48_r): Likewise.
2579 (__lcong48_r): Likewise.
2580 (__drand48_iterate): Likewise.
2581 (__setenv): Likewise.
2582 (__unsetenv): Likewise.
2583 (__clearenv): Likewise.
2584 (__ptsname_r): Likewise.
2585 (__posix_openpt): Likewise.
2586 (__add_to_environ): Likewise.
2587 (__realpath): Add libc_hidden_proto.
2588 (__ecvt_r): Likewise.
2589 (__fcvt_r): Likewise.
2590 (__qecvt_r): Likewise.
2591 (__qfcvt_r): Likewise.
2592 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2593 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2598 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2599 * include/time.h (__mktime_internal): Likewise.
2600 * libio/iolibio.h (__fopen_internal): Likewise.
2602 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2604 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2606 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2607 Correct offset used to restore PIC register.
2609 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2612 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2613 code to load address of __getcontext_ret when generating PIC code.
2615 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2617 * elf/Makefile (tests-static-internal): Add
2618 tst-tls1-static-non-pie.
2619 (LDFLAGS-tst-tls1-static-non-pie): New.
2620 * elf/tst-tls1-static-non-pie.c: New file.
2622 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2624 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2625 (asinh): Define using libm_alias_double.
2626 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2627 (cbrt): Define using libm_alias_double.
2628 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2629 <libm-alias-double.h>.
2630 (copysign): Define using libm_alias_double.
2631 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2632 (erf): Define using libm_alias_double.
2634 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2635 (expm1): Define using libm_alias_double.
2636 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2637 (fabs): Define using libm_alias_double.
2638 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2640 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2641 <libm-alias-double.h>.
2642 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2644 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2645 <libm-alias-double.h>.
2646 (getpayload): Define using libm_alias_double.
2647 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2648 <libm-alias-double.h>.
2649 (llrint): Define using libm_alias_double.
2650 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2651 (lrint): Define using libm_alias_double.
2652 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2653 <libm-alias-double.h>.
2654 (nextup): Define using libm_alias_double.
2655 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2656 <libm-alias-double.h>.
2657 (roundeven): Define using libm_alias_double.
2658 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2660 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2661 <libm-alias-double.h>.
2662 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2663 using libm_alias_double.
2664 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2665 (cos): Define using libm_alias_double.
2667 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
2668 <libm-alias-double.h>.
2669 (sincos): Define using libm_alias_double.
2670 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
2671 (tanh): Define using libm_alias_double.
2672 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2673 <libm-alias-double.h>.
2674 (totalorder): Define using libm_alias_double.
2675 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2676 <libm-alias-double.h>.
2677 (totalordermag): Define using libm_alias_double.
2678 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2680 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2682 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2683 <libm-alias-double.h>.
2684 (getpayload): Define using libm_alias_double.
2685 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2686 <libm-alias-double.h>.
2687 (roundeven): Define using libm_alias_double.
2688 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2689 <libm-alias-double.h>.
2690 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2691 <libm-alias-double.h>.
2692 (totalorder): Define using libm_alias_double.
2693 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2694 <libm-alias-double.h>.
2695 (totalordermag): Define using libm_alias_double.
2696 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2697 libc compat symbol here.
2698 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2699 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2700 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2701 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2702 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2703 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2704 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2705 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2706 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2707 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2709 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2711 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2712 _dl_relocate_static_pie instead of _dl_start to compute load
2713 address in static PIE. Return 0 if _DYNAMIC is undefined for
2716 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2718 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2719 _DYNAMIC is undefined for static executable.
2721 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2723 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2725 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2729 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2731 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2732 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2733 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2734 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2735 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2736 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2737 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2738 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2739 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2740 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2741 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2742 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2743 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2744 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2745 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2746 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2747 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2749 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2751 * math/bits/cmathcalls.h (cimag): Remove inline.
2752 (creal): Remove inline.
2753 (conj): Remove inline.
2755 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2757 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2758 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2759 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2760 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2761 (issignalingf_inline): Likewise.
2762 (POWF_LOG2_TABLE_BITS): Likewise.
2763 (POWF_LOG2_POLY_ORDER): Likewise.
2764 (POWF_SCALE_BITS): Likewise.
2765 (POWF_SCALE): Likewise.
2766 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2767 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2768 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2770 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2772 * math/Makefile (type-float-routines): Add e_log2f_data.
2773 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2774 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2775 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2776 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2777 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2778 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2779 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2781 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2783 * math/Makefile (type-float-routines): Add e_logf_data.
2784 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2785 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2786 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2787 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2788 * sysdeps/i386/fpu/e_logf_data.c: New file.
2789 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2790 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2792 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2794 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2795 undefined _DYNAMIC in PIE libc.a.
2796 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2799 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2801 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2802 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2803 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2804 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2805 (__signbit): Remove.
2806 (__signbitl): Remove.
2807 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2808 (__signbit): Remove.
2809 (__signbitl): Remove.
2810 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2811 (__signbit): Remove.
2812 (__signbitl): Remove.
2813 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2814 (__signbit): Remove.
2815 (__signbitl): Remove.
2816 * sysdeps/tile/bits/mathinline.h: Delete file.
2817 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2818 (__signbit): Remove.
2819 (__signbitl): Remove.
2821 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2823 * math/math.h: Improve handling of C99 isgreater macros.
2824 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2825 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2826 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2827 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2828 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2830 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2832 * sysdeps/aarch64/libm-test-ulps: Update.
2834 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2837 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2838 math_opt_barrier on argument when doing arithmetic on it.
2839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2840 Likewise. Use math_force_eval not math_opt_barrier after
2842 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2843 math_opt_barrier on argument when doing arithmetic on it.
2844 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2847 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2849 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2851 (__freeifaddrs): Likewise.
2853 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2855 * include/dirent.h (__dirfd): New declaration.
2856 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2858 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2859 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2860 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2861 * include/unistd.h (__revoke): New declaration.
2862 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2864 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2865 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2867 * include/dirent.h (__seekdir): New declaration.
2868 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2869 redefine as weak alias.
2870 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2872 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2873 and use libc_hidden_def on them.
2874 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2876 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2877 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2878 instead of getifaddrs and freeifaddrs.
2880 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2883 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2884 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2885 (__dso_handle): Remove declaration.
2886 * dlfcn/tstatexit.c (__dso_handle): Removed.
2887 (main): Don't check __dso_handle.
2888 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2889 (main): Don't check __dso_handle.
2890 * include/dso_handle.h: New file.
2891 * malloc/mtrace.c: Include <dso_handle.h>.
2892 (mtrace): Pass __dso_handle directly.
2893 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2894 (__dso_handle): Remove declaration.
2895 (__pthread_atfork): Pass __dso_handle directly.
2896 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2897 (__dso_handle): Removed.
2898 * posix/wordexp-test.c: Include <dso_handle.h>.
2899 (__dso_handle): Remove declaration.
2900 (__app_register_atfork): Pass __dso_handle directly.
2901 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2902 (__dso_handle): Remove declaration.
2903 (at_quick_exit): Pass __dso_handle directly.
2904 * stdlib/atexit.c: Include <dso_handle.h>.
2905 (__dso_handle): Remove declaration.
2906 (atexit): Pass __dso_handle directly.
2907 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2908 (__dso_handle): Removed.
2910 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2912 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2915 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2917 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2918 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2919 values to correct default value for given type.
2921 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2924 * elf/Makefile (tests): Add tst-debug1.
2925 ($(objpfx)tst-debug1): New.
2926 ($(objpfx)tst-debug1.out): Likewise.
2927 ($(objpfx)tst-debug1mod1.so): Likewise.
2928 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2930 * elf/tst-debug1.c: New file.
2932 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2934 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2935 Define using __ifunc.
2937 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2939 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2942 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2945 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2947 2017-09-26 Florian Weimer <fweimer@redhat.com>
2949 * resolv/Makefile (tests-internal): Fix typo in comment.
2951 2017-09-26 Florian Weimer <fweimer@redhat.com>
2953 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2955 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2957 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2958 Use an union instead of a max_align_t array for __space,
2959 so that __space is the same size on all platforms.
2960 * malloc/scratch_buffer_grow_preserve.c
2961 (__libc_scratch_buffer_grow_preserve): Likewise.
2964 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2966 * posix/Makefile (routines): Add glob-lstat-compat and
2967 glob64-lstat-compat.
2968 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2969 * posix/glob-lstat-compat.c: New file.
2970 * posix/glob64-lstat-compat.c: Likewise.
2971 * posix/tst-glob_lstat_compat.c: Likewise.
2972 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2973 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2974 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2975 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2977 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2978 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2979 * posix/glob.c (glob_lstat): New function.
2980 (glob): Rename to __glob and add versioned symbol to 2.27.
2981 (glob_in_dir): Use glob_lstat.
2982 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2983 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2984 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2986 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2987 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2988 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2989 gl_lstat on glob call.
2990 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2992 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2993 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2994 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2995 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2996 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2997 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2998 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2999 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3000 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3001 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3002 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3003 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3006 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3008 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3009 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3010 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3011 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3012 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3015 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3016 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3017 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3019 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
3021 * configure.ac (AS): Require binutils 2.25 or later.
3022 * configure: Regenerated.
3024 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3027 * stdlib/test-atexit-race-common.c (do_test): Minimize required
3030 2017-09-25 DJ Delorie <dj@redhat.com>
3033 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
3036 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3038 * sysdeps/ieee754/dbl-64/sincos32.h
3039 [SINCCOS32_H]: Remove define.
3040 [SINCOS32_H]: Define.
3042 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3044 * math/Versions (expf): New libm symbol at GLIBC_2.27.
3046 * math/w_exp2f.c: New file.
3047 * math/w_expf.c: New file.
3048 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
3049 * math/w_expf_compat.c (__expf_compat): Likewise.
3050 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
3051 * sysdeps/ia64/fpu/e_expf.S: Likewise.
3052 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3053 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3054 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3055 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3056 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3057 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3058 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3059 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3060 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3061 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3062 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3063 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3072 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3073 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3074 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3075 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3076 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3081 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3082 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3085 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3087 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
3088 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
3089 (roundtoint, converttoint): Likewise.
3090 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
3091 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
3092 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
3093 * sysdeps/ieee754/flt-32/math_config.h: New file.
3094 * sysdeps/ieee754/flt-32/math_errf.c: New file.
3095 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
3096 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
3097 * sysdeps/i386/fpu/math_errf.c: New file.
3098 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
3099 * sysdeps/ia64/fpu/math_errf.c: New file.
3100 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
3101 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
3103 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3105 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
3106 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
3107 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
3108 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
3109 to make sure that these symbols are defined.
3110 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
3112 (__need_NULL): Do not define.
3113 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
3115 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
3116 CMGROUP_MAX, cmsgcred): Do not define.
3117 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
3119 * bits/socket.h: Likewise.
3120 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
3121 __gettimeofday instead of gettimeofday.
3122 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
3123 instead of settimeofday.
3125 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3127 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
3128 (asinhf): Define using libm_alias_float.
3129 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
3130 (atanf): Define using libm_alias_float.
3131 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
3132 (cbrtf): Define using libm_alias_float.
3133 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
3134 (ceilf): Define using libm_alias_float.
3135 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
3136 <libm-alias-float.h>.
3137 (copysignf): Define using libm_alias_float.
3138 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
3139 (cosf): Define using libm_alias_float.
3140 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
3141 (erff): Define using libm_alias_float.
3143 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
3144 (expm1f): Define using libm_alias_float.
3145 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
3146 (fabsf): Define using libm_alias_float.
3147 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
3148 (floorf): Define using libm_alias_float.
3149 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
3150 (frexpf): Define using libm_alias_float.
3151 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
3153 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
3154 <libm-alias-float.h>.
3155 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
3157 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
3158 <libm-alias-float.h>.
3159 (getpayloadf): Define using libm_alias_float.
3160 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
3161 <libm-alias-float.h>.
3162 (llrintf): Define using libm_alias_float.
3163 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
3164 <libm-alias-float.h>.
3165 (llroundf): Define using libm_alias_float.
3166 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
3167 (logbf): Define using libm_alias_float.
3168 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
3169 (lrintf): Define using libm_alias_float.
3170 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
3171 (lroundf): Define using libm_alias_float.
3172 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
3173 (modff): Define using libm_alias_float.
3174 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
3175 <libm-alias-float.h>.
3176 (nearbyintf): Define using libm_alias_float.
3177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
3178 <libm-alias-float.h>.
3179 (nextafterf): Define using libm_alias_float.
3180 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
3181 <libm-alias-float.h>.
3182 (nextupf): Define using libm_alias_float.
3183 * sysdeps/ieee754/flt-32/s_remquof.c: Include
3184 <libm-alias-float.h>.
3185 (remquof): Define using libm_alias_float.
3186 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
3187 (rintf): Define using libm_alias_float.
3188 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
3189 <libm-alias-float.h>.
3190 (roundevenf): Define using libm_alias_float.
3191 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
3192 (roundf): Define using libm_alias_float.
3193 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
3194 using libm_alias_float.
3195 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
3196 <libm-alias-float.h>.
3197 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
3198 Define using libm_alias_float.
3199 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
3200 <libm-alias-float.h>.
3201 (sincosf): Define using libm_alias_float.
3202 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
3203 (sinf): Define using libm_alias_float.
3204 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
3205 (tanf): Define using libm_alias_float.
3206 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
3207 (tanhf): Define using libm_alias_float.
3208 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3209 <libm-alias-float.h>.
3210 (totalorderf): Define using libm_alias_float.
3211 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3212 <libm-alias-float.h>.
3213 (totalordermagf): Define using libm_alias_float.
3214 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
3215 (truncf): Define using libm_alias_float.
3216 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
3218 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
3221 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3224 math/math.h: Let fpclassify use the builtin in C++ mode, even
3225 when optimazing for size.
3227 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3229 * csu/Makefile (generated): Do not add version-info.h.
3230 (before-compile): Likewise.
3231 (all-Banner-files): Remove variable.
3232 ($(objpfx)version-info.h): Remove rule.
3233 * csu/version.c (banner): Do not include "version-info.h".
3234 * libidn/Banner: Remove.
3235 * manual/contrib.texi (Simon Josefsson): New entry.
3237 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3240 Remove conditionals on LDBL_MANT_DIG.
3241 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
3242 (__ieee754_lgammal_r): Likewise.
3244 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
3248 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
3249 _Float128 and L(). Replace _Float128 with long double and L(x)
3250 with xL, throughout the file.
3251 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3252 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3253 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3256 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
3259 sysdeps/ieee754/ldbl-128ibm.
3260 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
3261 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
3262 of including it. Keep _Float128 and L() intact. These will be
3263 reviewed by a separate patch.
3264 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3269 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
3272 (__finitef128): Define to __redirect___finitef128.
3273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
3274 (__isinff128): Define to __redirect___isinff128.
3275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
3276 (__isnanf128): Define to __redirect___isnanf128.
3278 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3280 * sysdeps/powerpc/powerpc64le/Makefile
3281 (CFLAGS-tst-strtod-nan-locale.c): New variable.
3282 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
3284 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3285 Carlos O'Donell <carlos@redhat.com>
3288 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
3289 * stdlib/test-dlclose-exit-race.c: New file.
3290 * stdlib/test-dlclose-exit-race-helper.c: New file.
3291 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
3293 2017-09-21 Joseph Myers <joseph@codesourcery.com>
3295 * crypt/Banner: Remove file.
3296 * nptl/Banner: Likewise.
3297 * resolv/Banner: Likewise.
3298 * soft-fp/Banner: Likewise.
3299 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
3300 ($(objpfx)version.d): Remove dependency on banner.h.
3301 ($(objpfx)version.os): Likewise.
3302 * nptl/version.c (banner): Do not include banner.h.
3303 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
3304 Jelinek and BIND code.
3306 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3307 Carlos O'Donell <carlos@redhat.com>
3309 * support/xdlfcn.h: New file.
3310 * support/xdlfcn.c: New file.
3311 * support/Makefile (libsupport-routines): Add xdlfcn.
3312 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
3314 2017-09-20 Joseph Myers <joseph@codesourcery.com>
3317 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3318 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
3319 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
3320 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
3321 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3322 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
3323 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
3324 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3326 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3327 Ricky Zhou <rickyz@google.com>
3328 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
3331 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
3333 (__new_exitfn): Fail registration when we finished at_exit processing.
3334 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3335 * stdlib/on_exit.c (__on_exit): Likewise.
3336 * stdlib/exit.c (__exit_funcs_done): New variable.
3337 (__run_exit_handlers): Use __exit_funcs_lock.
3338 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
3340 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
3341 (test-cxa_atexit-race, test-on_exit-race): New tests.
3342 * stdlib/test-atexit-race-common.c: New file.
3343 * stdlib/test-atexit-race.c: New file.
3344 * stdlib/test-at_quick_exit-race.c: New file.
3345 * stdlib/test-cxa_atexit-race.c: New file.
3346 * stdlib/test-on_exit-race.c: New file.
3348 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
3350 * benchtests/Makefile: Add exp2f and log2f benchmarks.
3351 * benchtests/exp2f-inputs: Copy of expf-inputs.
3352 * benchtests/log2f-inputs: Copy of logf-inputs.
3354 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3356 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
3357 Explicitly take address of first element of array arguments in
3358 call to INLINE_SYSCALL.
3360 2017-09-19 Andreas Schwab <schwab@suse.de>
3363 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
3365 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
3367 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
3368 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
3369 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3370 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
3371 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3372 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3373 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3374 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3375 * posix/Makefile (tests): Add tst-fexecve.
3376 * posix/tst-fexecve.c: New file.
3378 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3380 * benchtests/Makefile: Add logf benchmark.
3381 * benchtests/logf-inputs: Add reduced trace from wrf_r.
3383 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3385 * benchtests/Makefile: Add expf benchmark.
3386 * benchtests/expf-inputs: Add reduced trace from wrf_r.
3388 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3390 * csu/Makefile: Add -funwind-tables to libc-start.c.
3391 * debug/Makefile: Add -funwind-tables to backtrace.c.
3392 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
3393 * sysdeps/arm/Makefile: Likewise.
3394 * sysdeps/i386/Makefile: Likewise.
3395 * sysdeps/m68k/Makefile: Likewise.
3396 * sysdeps/mips/Makefile: Likewise.
3397 * sysdeps/nios2/Makefile: Likewise.
3398 * sysdeps/sh/Makefile: Likewise.
3399 * sysdeps/sparc/Makefile: Likewise.
3401 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3403 * benchtests/Makefile (bench-math): Add trunc and truncf.
3404 (CFLAGS-bench-trunc.c): New variable.
3405 (CFLAGS-bench-truncf.c): Likewise.
3406 * benchtests/trunc-inputs: New file.
3407 * benchtests/truncf-inputs: Likewise.
3409 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3411 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
3413 2017-09-18 Joseph Myers <joseph@codesourcery.com>
3415 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
3416 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
3418 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3419 (exp10l): Define as weak alias.
3420 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
3421 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
3423 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
3424 (remainderl): Define as weak alias.
3426 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
3427 (fmal): Define using libm_alias_ldouble.
3428 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
3429 (acoshl): Define using libm_alias_ldouble.
3430 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
3431 (acosl): Define using libm_alias_ldouble.
3432 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
3433 (asinl): Define using libm_alias_ldouble.
3434 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
3435 (atan2l): Define using libm_alias_ldouble.
3436 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
3437 (atanhl): Define using libm_alias_ldouble.
3438 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
3439 (coshl): Define using libm_alias_ldouble.
3440 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
3441 (exp10l): Define using libm_alias_ldouble.
3442 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
3443 (exp2l): Define using libm_alias_ldouble.
3444 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
3445 (expl): Define using libm_alias_ldouble.
3446 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
3447 (fmodl): Define using libm_alias_ldouble.
3448 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
3449 (hypotl): Define using libm_alias_ldouble.
3450 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
3451 (j0l): Define using libm_alias_ldouble.
3453 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
3454 (j1l): Define using libm_alias_ldouble.
3456 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
3457 (jnl): Define using libm_alias_ldouble.
3459 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
3460 (log10l): Define using libm_alias_ldouble.
3461 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
3462 (log2l): Define using libm_alias_ldouble.
3463 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
3464 (logl): Define using libm_alias_ldouble.
3465 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
3466 (powl): Define using libm_alias_ldouble.
3467 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
3468 (remainderl): Define using libm_alias_ldouble.
3469 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
3470 (sinhl): Define using libm_alias_ldouble.
3471 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
3472 (sqrtl): Define using libm_alias_ldouble.
3473 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
3474 (tgammal): Define using libm_alias_ldouble.
3475 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
3476 (exp10l): Do not use long_double_symbol here.
3477 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3478 [LIBM_SVID_COMPAT] (remainderl): Likewise.
3479 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
3480 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3481 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3482 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3483 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3484 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3485 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3486 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3487 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3488 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3489 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3490 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3491 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3492 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3493 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3494 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3495 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3496 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3497 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3498 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3500 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
3502 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
3503 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
3505 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3507 * io/read.c (read): Add libc_hidden_weak.
3508 * sysdeps/mach/hurd/read.c (read): Likewise.
3509 * io/write.c (write): Likewise.
3510 * sysdeps/mach/hurd/write.c (write): Likewise.
3511 * io/pread64.c (__pread64): Likewise.
3512 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
3513 * posix/pread64.c (__pread64): Add libc_hidden_def.
3515 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3517 * benchtests/scripts/compare_strings.py: New option -g.
3518 (draw_graph): Print a message that a graph is being generated.
3519 (process_results): Generate graph only if -g is passed.
3520 (main): Process option -g.
3522 * benchtests/scripts/compare_strings.py (process_results):
3523 Better spacing for output.
3525 * benchtests/scripts/compare_strings.py: Use argparse.
3526 * benchtests/README: Document existence of compare_strings.py.
3528 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3530 * math/s_fma.c: Include <libm-alias-double.h>.
3531 (fma): Define using libm_alias_double.
3532 * math/s_nextafter.c: Include <libm-alias-double.h>.
3533 (nextafter): Define using libm_alias_double.
3534 * math/w_acos_compat.c: Include <libm-alias-double.h>.
3535 (acos): Define using libm_alias_double.
3536 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
3537 (aocsh): Define using libm_alias_double.
3538 * math/w_asin_compat.c: Include <libm-alias-double.h>.
3539 (asin): Define using libm_alias_double.
3540 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
3541 (atan2): Define using libm_alias_double.
3542 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
3543 (atanh): Define using libm_alias_double.
3544 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
3545 (cosh): Define using libm_alias_double.
3546 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
3547 (exp10): Define using libm_alias_double.
3548 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
3549 (exp2): Define using libm_alias_double.
3550 * math/w_exp_compat.c: Include <libm-alias-double.h>.
3551 (exp): Define using libm_alias_double.
3552 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
3553 (fmod): Define using libm_alias_double.
3554 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
3555 (hypot): Define using libm_alias_double.
3556 * math/w_j0_compat.c: Include <libm-alias-double.h>.
3557 (j0): Define using libm_alias_double.
3559 * math/w_j1_compat.c: Include <libm-alias-double.h>.
3560 (j1): Define using libm_alias_double.
3562 * math/w_jn_compat.c: Include <libm-alias-double.h>.
3563 (jn): Define using libm_alias_double.
3565 * math/w_log10_compat.c: Include <libm-alias-double.h>.
3566 (log10): Define using libm_alias_double.
3567 * math/w_log2_compat.c: Include <libm-alias-double.h>.
3568 (log2): Define using libm_alias_double.
3569 * math/w_log_compat.c: Include <libm-alias-double.h>.
3570 (log): Define using libm_alias_double.
3571 * math/w_pow_compat.c: Include <libm-alias-double.h>.
3572 (pow): Define using libm_alias_double.
3573 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
3574 (remainder): Define using libm_alias_double.
3575 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
3576 (sinh): Define using libm_alias_double.
3577 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
3578 (sqrt): Define using libm_alias_double.
3579 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
3580 (tgamma): Define using libm_alias_double.
3581 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
3582 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
3583 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
3584 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
3585 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
3586 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
3587 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
3588 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3589 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3590 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3591 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3592 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3593 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3594 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3595 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3596 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3597 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3598 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3599 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3600 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3601 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3602 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3603 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3604 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3605 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3607 * math/e_acoshl.c: Remove.
3608 * math/e_acosl.c: Likewise.
3609 * math/e_asinl.c: Likewise.
3610 * math/e_atan2l.c: Likewise.
3611 * math/e_atanhl.c: Likewise.
3612 * math/e_coshl.c: Likewise.
3613 * math/e_expl.c: Likewise.
3614 * math/e_fmodl.c: Likewise.
3615 * math/e_gammal_r.c: Likewise.
3616 * math/e_hypotl.c: Likewise.
3617 * math/e_j0l.c: Likewise.
3618 * math/e_j1l.c: Likewise.
3619 * math/e_jnl.c: Likewise.
3620 * math/e_lgammal_r.c: Likewise.
3621 * math/e_log10l.c: Likewise.
3622 * math/e_log2l.c: Likewise.
3623 * math/e_logl.c: Likewise.
3624 * math/e_powl.c: Likewise.
3625 * math/e_rem_pio2l.c: Likewise.
3626 * math/e_sinhl.c: Likewise.
3627 * math/e_sqrtf128.c: Likewise.
3628 * math/e_sqrtl.c: Likewise.
3629 * math/k_cosl.c: Likewise.
3630 * math/k_sinl.c: Likewise.
3631 * math/k_tanl.c: Likewise.
3632 * math/s_asinhl.c: Likewise.
3633 * math/s_atanl.c: Likewise.
3634 * math/s_cbrtl.c: Likewise.
3635 * math/s_erfl.c: Likewise.
3636 * math/s_expm1l.c: Likewise.
3637 * math/s_log1pl.c: Likewise.
3638 * math/s_tanhl.c: Likewise.
3640 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3644 [$(subdir) = math] (sysdep_calls): New variable. Has the
3645 previous contents of sysdep_routines, but re-sorted..
3646 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3648 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3649 defined in sysdep_calls and replace by the respective m_* names.
3650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3651 (compat_symbol): Undefine to avoid duplicated compat symbols in
3654 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3656 * math/s_fmaf.c: Include <libm-alias-float.h>.
3657 (fmaf): Define using libm_alias_float.
3658 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3659 (acosf): Define using libm_alias_float.
3660 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3661 (acoshf): Define using libm_alias_float.
3662 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3663 (asinf): Define using libm_alias_float.
3664 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3665 (atan2f): Define using libm_alias_float.
3666 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3667 (atanhf): Define using libm_alias_float.
3668 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
3669 (coshf): Define using libm_alias_float.
3670 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
3671 (exp10f): Define using libm_alias_float.
3672 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
3673 (fmodf): Define using libm_alias_float.
3674 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
3675 (hypotf): Define using libm_alias_float.
3676 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
3677 (j0f): Define using libm_alias_float.
3679 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3680 (j1f): Define using libm_alias_float.
3682 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3683 (jnf): Define using libm_alias_float.
3685 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3686 (log10f): Define using libm_alias_float.
3687 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3688 (log2f): Define using libm_alias_float.
3689 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3690 (logf): Define using libm_alias_float.
3691 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3692 (powf): Define using libm_alias_float.
3693 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3694 (remainderf): Define using libm_alias_float.
3695 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3696 (sinhf): Define using libm_alias_float.
3697 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3698 (sqrtf): Define using libm_alias_float.
3699 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3700 (tgammaf): Define using libm_alias_float.
3702 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3704 * include/math.h (roundeven): Change hidden_proto call to
3706 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3708 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3709 (y0): Rename to __y0 and define as weak alias.
3710 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3711 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3713 (y0f): Rename to __y0f and define as weak alias.
3714 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3716 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3717 (y1): Rename to __y1 and define as weak alias.
3718 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3719 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3721 (y1f): Rename to __y1f and define as weak alias.
3722 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3724 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3725 (yn): Rename to __yn and define as weak alias.
3726 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3727 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3729 (ynf): Rename to __ynf and define as weak alias.
3730 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3731 (fromfp): Define as weak alias.
3732 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3733 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3734 (fromfpx): Define as weak alias.
3735 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3736 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3737 __getpayload and define as weak alias.
3738 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3739 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3740 __roundeven and define as weak alias.
3741 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3742 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3744 (setpayload): Define as weak alias.
3745 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3746 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3748 (setpayloadsig): Define as weak alias.
3749 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3750 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3751 __totalorder and define as weak alias.
3752 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3753 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3754 to __totalordermag and define as weak alias.
3755 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3756 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3757 (ufromfp): Define as weak alias.
3758 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3759 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3761 (ufromfpx): Define as weak alias.
3762 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3763 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3764 Rename to __getpayload and define as weak alias.
3765 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3766 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3767 Rename to __roundeven and define as weak alias.
3768 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3769 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3770 Rename to __totalorder and define as weak alias.
3771 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3772 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3773 (totalordermag): Rename to __totalordermag and define as weak
3775 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3776 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3778 (__roundevenl): Likewise.
3779 (__totalorderl): Likewise.
3780 (__totalordermagl): Likewise
3781 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3783 (fromfpf128): Define as weak alias.
3784 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3786 (fromfpxf128): Define as weak alias.
3787 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3789 (setpayloadf128): Define as weak alias.
3790 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3791 __setpayloadsigf128.
3792 (setpayloadsigf128): Define as weak alias.
3793 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3795 (ufromfpf128): Define as weak alias.
3796 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3798 (ufromfpxf128): Define as weak alias.
3799 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3800 (fromfpf): Define as weak alias.
3801 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3803 (fromfpxf): Define as weak alias.
3804 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3805 __getpayloadf and define as weak alias.
3806 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3807 __roundevenf and define as weak alias.
3808 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3810 (setpayloadf): Define as weak alias.
3811 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3813 (setpayloadsigf): Define as weak alias.
3814 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3815 __totalorderf and define as weak alias.
3816 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3817 Rename to __totalordermagf and define as weak alias.
3818 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3820 (ufromfpf): Define as weak alias.
3821 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3823 (ufromfpxf): Define as weak alias.
3824 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3826 (fromfpl): Define as weak alias.
3827 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3829 (fromfpxl): Define as weak alias.
3830 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3831 to __getpayloadl and define as weak alias.
3832 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3833 __roundevenl and define as weak alias.
3834 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3836 (setpayloadl): Define as weak alias.
3837 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3839 (setpayloadsigl): Define as weak alias.
3840 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3841 to __totalorderl and define as weak alias.
3842 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3843 Rename to __totalordermagl and define as weak alias.
3844 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3846 (ufromfpl): Define as weak alias.
3847 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3849 (ufromfpxl): Define as weak alias.
3850 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3852 (fromfpl): Define as weak alias.
3853 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3855 (fromfpxl): Define as weak alias.
3856 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3857 Rename to __getpayloadl and define as weak alias.
3858 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3859 to __roundevenl and define as weak alias. Call __roundeven
3860 instead of roundeven.
3861 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3863 (setpayloadl): Define as weak alias.
3864 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3866 (setpayloadsigl): Define as weak alias.
3867 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3868 Rename to __totalorderl and define as weak alias.
3869 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3870 Rename to __totalordermagl and define as weak alias.
3871 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3873 (ufromfpl): Define as weak alias.
3874 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3876 (ufromfpxl): Define as weak alias.
3877 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3879 (fromfpl): Define as weak alias.
3880 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3882 (fromfpxl): Define as weak alias.
3883 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3884 __getpayloadl and define as weak alias.
3885 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3886 __roundevenl and define as weak alias.
3887 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3889 (setpayloadl): Define as weak alias.
3890 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3892 (setpayloadsigl): Define as weak alias.
3893 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3894 __totalorderl and define as weak alias.
3895 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3896 Rename to __totalordermagl and define as weak alias.
3897 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3899 (ufromfpl): Define as weak alias.
3900 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3902 (ufromfpxl): Define as weak alias.
3904 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3906 * benchtests/bench-string.h (realloc_bufs): New function.
3907 (test_init): Call it.
3908 * benchtests/bench-memset-large.c (do_test): Likewise.
3909 * benchtests/bench-memset.c (do_test): Likewise.
3911 * benchtests/bench-memset-large.c: Print output in JSON
3913 * benchtests/bench-memset.c: Likewise.
3915 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3918 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3919 * iconvdata/Makefile: Add IBM858.
3920 * iconvdata/gconv-modules: Likewise.
3921 * iconvdata/tst-tables.sh: Likewise.
3922 * iconvdata/ibm858.c: New file.
3923 * localedata/charmaps/IBM858: Likewise.
3925 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3928 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3929 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3931 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3934 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3935 and add tel_int_fmt.
3937 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3939 * sysdeps/generic/libm-alias-float128.h: New file.
3940 * sysdeps/generic/math-type-macros-float128.h: Include
3941 <libm-alias-float128.h>.
3942 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3944 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3946 * sysdeps/generic/libm-alias-ldouble.h: New file.
3947 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3948 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3949 * sysdeps/generic/math-type-macros-ldouble.h: Include
3950 <libm-alias-ldouble.h>.
3951 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3954 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3956 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3957 * math/w_exp_compat.c: ... here.
3958 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3959 * math/w_expf_compat.c: ... here.
3960 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3961 * math/w_expl_compat.c: ... here.
3962 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3963 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3964 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3965 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3967 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3969 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3971 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3973 (ldexpl): Only define as compat symbol for libc, not libm.
3974 (scalbnl): Define as compat symbol for libc here.
3975 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3976 define for [IS_IN (libc)].
3977 (__ldexpl_2): Remove alias.
3978 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3979 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3980 name in long_double_symbol call.
3981 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3982 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3983 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3984 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3985 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3987 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3988 Define as compat symbol.
3990 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3992 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3993 * sysdeps/unix/sysv/linux/alpha/Makefile
3994 [$(subdir) = csu] (sysdep_routines): Remove rule.
3996 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3998 * sysdeps/generic/libm-alias-double.h: New file.
3999 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
4000 * sysdeps/generic/math-type-macros-double.h: Include
4001 <libm-alias-double.h>.
4002 [declare_mgen_alias] (declare_mgen_alias): Define to use
4004 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
4005 (M_LIBM_NEED_COMPAT): Remove macro.
4006 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
4007 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
4008 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
4010 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4011 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4012 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4013 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4014 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4015 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4016 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4017 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4018 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4019 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4020 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4021 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4022 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4023 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4024 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4025 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4026 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4027 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4028 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4029 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4030 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4031 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4032 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4033 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4034 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4035 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4036 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4037 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
4038 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
4040 (declare_mgen_alias): New macro.
4041 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
4042 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
4043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
4044 (M_LIBM_NEED_COMPAT): Remove macro.
4045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
4046 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
4048 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
4049 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
4051 2017-09-12 Joseph Myers <joseph@codesourcery.com>
4053 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
4054 (declare_mgen_alias_2): Remove.
4055 * sysdeps/generic/math-type-macros-double.h
4056 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
4058 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
4060 (ldexp): Define with declare_mgen_alias.
4063 2017-09-12 Steve Ellcey <sellcey@cavium.com>
4065 * grp/initgroups.c: Include config.h.
4066 (DEFAULT_CONFIG): New macro.
4067 (internal_getgrouplist): Use DEFAULT_CONFIG.
4068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4069 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
4070 (DEFAULT_DEFCONFIG): New macro.
4071 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
4072 * nss/grp-lookup.c: Include config.h
4073 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
4074 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
4075 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
4076 * manual/nss.texi: Update default values section.
4078 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
4081 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
4083 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
4084 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4085 Handle MathVec_Prefer_No_AVX512.
4086 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
4087 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
4090 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
4092 * posix/sched_primax.c (__sched_get_priority_max): Add
4094 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
4095 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4096 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4097 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
4098 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
4099 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
4100 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
4101 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
4104 2017-09-11 Joseph Myers <joseph@codesourcery.com>
4106 * sysdeps/generic/libm-alias-float.h: New file.
4107 * sysdeps/generic/math-type-macros-float.h: Include
4108 <libm-alias-float.h>.
4109 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
4111 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
4114 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
4115 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
4116 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
4117 (HWCAP_IMPORTANT): Likewise.
4118 (HWCAP_X86_64): New enum.
4119 (HWCAP_X86_AVX512_1): Updated.
4120 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
4121 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
4122 (modules-names): Add x86_64/tst-x86_64mod-1.
4123 (LDFLAGS-tst-x86_64mod-1.so): New.
4124 ($(objpfx)tst-x86_64-1): Likewise.
4125 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
4126 (tst-x86_64-1-clean): Likewise.
4127 * sysdeps/x86_64/tst-x86_64-1.c: New file.
4128 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
4130 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4132 * po/sv.po: Update translations.
4133 * po/fr.po: Likewise.
4135 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4137 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
4139 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
4141 * elf/rtld-Rules: Fix $(error) use.
4143 2017-09-09 Mike FABIAN <mfabian@redhat.com>
4146 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
4147 * locale/iso-639.def: Change “Bengali” to “Bangla”.
4148 * localedata/locales/bn_BD: “Bengali” was still used in some
4149 comments. Change it to “Bangla”.
4151 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
4153 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
4155 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4157 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
4158 thunderx2t99p1 to list of cpu names.
4159 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4160 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
4162 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4164 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
4165 Use strcmp instead of tunable_is_name.
4167 2017-09-08 Joseph Myers <joseph@codesourcery.com>
4169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4170 (F_GET_RW_HINT): New macro.
4171 [__USE_GNU] (F_SET_RW_HINT): Likewise.
4172 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
4173 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
4174 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
4175 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
4176 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
4177 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
4178 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
4179 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
4181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4182 (F_ADD_SEALS): New macro.
4183 [__USE_GNU] (F_GET_SEALS): Likewise.
4184 [__USE_GNU] (F_SEAL_SEAL): Likewise.
4185 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
4186 [__USE_GNU] (F_SEAL_GROW): Likewise.
4187 [__USE_GNU] (F_SEAL_WRITE): Likewise.
4189 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4191 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
4192 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
4193 * posix/glob_internal.h (__glob_pattern_type):
4194 * posix/glob.c (glob):
4195 * posix/glob_pattern_p.c (__glob_pattern_p):
4198 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
4199 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4200 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
4201 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
4202 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
4204 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
4205 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
4206 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4207 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4208 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4209 * sysdeps/wordsize-64/glob.c: Likewise.
4210 * sysdeps/wordsize-64/glob64.c: Likewise.
4211 * sysdeps/wordsize-64/globfree.c: Likewise.
4212 * sysdeps/wordsize-64/globfree64.c: Likewise.
4213 * sysdeps/unix/sysv/linux/glob.c: New file.
4214 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
4215 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
4216 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
4217 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4218 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
4219 adds !GLOB_NO_OLD_VERSION as an extra condition.
4220 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
4221 using relative path instead of absolute one.
4222 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
4223 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4224 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4225 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
4226 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
4227 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
4230 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
4231 (glob): Use the same scratch buffer for both getlogin_r and
4232 getpwnam_r. Don’t require preallocation of the login name. This
4233 simplifies storage allocation, and corrects the handling of
4237 * posix/glob.c (glob): Port recent patches to platforms
4239 (glob): Fix longstanding misuse of errno after getpwnam_r, which
4240 returns an error number rather than setting errno.
4242 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
4243 instead of GCC extension.
4244 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
4245 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
4246 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
4250 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
4251 * posix/bug-glob1.c: Remove file.
4252 * posix/tst-glob_symlinks.c: New file.
4253 * posix/glob.c (__lstat64): New macro.
4254 (is_dir): New function.
4255 (glob, glob_in_dir): Match symlinks even if they are dangling.
4256 (link_stat, link_exists_p): Remove. All uses removed.
4260 * posix/glob.c (struct readdir_result): Remove skip_entry member.
4261 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
4266 * posix/Makefile (routines): Add globfree, globfree64, and
4268 * posix/flexmember.h: New file.
4269 * posix/glob_internal.h: Likewise.
4270 * posix/glob_pattern_p.c: Likewise.
4271 * posix/globfree.c: Likewise.
4272 * posix/globfree64.c: Likewise.
4273 * sysdeps/gnu/globfree64.c: Likewise.
4274 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
4275 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4276 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
4277 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4278 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4279 * sysdeps/wordsize-64/globfree.c: Likewise.
4280 * sysdeps/wordsize-64/globfree64.c: Likewise.
4281 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
4282 [NDEBUG): Remove comments.
4283 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
4284 (dirent_type): New type. Use uint_fast8_t not
4285 uint8_t, as C99 does not require uint8_t.
4286 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
4287 (struct readdir_result): Use dirent_type. Do not define skip_entry
4288 unless it is needed; this saves a byte on platforms lacking d_ino.
4289 (readdir_result_type, readdir_result_skip_entry):
4290 New functions, replacing ...
4291 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
4292 these functions, which were removed. This makes the callers
4293 easier to read. All callers changed.
4294 (D_INO_TO_RESULT): Now empty if there is no d_ino.
4295 (size_add_wrapv, glob_use_alloca): New static functions.
4296 (glob, glob_in_dir): Check for size_t overflow in several places,
4297 and fix some size_t checks that were not quite right.
4298 Remove old code using SHELL since Bash no longer
4300 (glob, prefix_array): Separate MS code better.
4301 (glob_in_dir): Remove old Amiga and VMS code.
4302 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
4304 (glob_in_dir): Do not rely on undefined behavior in accessing
4305 struct members beyond their bounds. Use a flexible array member
4307 (link_stat): Rename from link_exists2_p and return -1/0 instead of
4308 0/1. Caller changed.
4309 (glob): Fix memory leaks.
4310 * posix/glob64 (globfree64): Move to separate file.
4311 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
4312 (globfree64): Remove hidden alias.
4313 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
4315 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
4317 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
4319 Move compat code to separate file.
4320 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
4323 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
4325 * resolv/tst-resolv-qtypes.c (domain): Changed to
4326 "const char domain[] =".
4328 2017-09-07 Joseph Myers <joseph@codesourcery.com>
4330 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4333 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
4334 (TCP_MD5SIG_EXT): Likewise.
4335 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
4336 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
4337 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
4339 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
4341 2017-09-07 Mike FABIAN <mfabian@redhat.com>
4343 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
4345 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
4348 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
4350 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4352 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
4353 before assuming that the file is empty. Avoid testing buffer content
4356 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4359 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4361 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
4363 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
4365 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
4367 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4369 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
4371 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
4374 2017-09-06 Florian Weimer <fweimer@redhat.com>
4376 * malloc/dynarray_emplace_enlarge.c
4377 (__libc_dynarray_emplace_enlarge): Add missing else.
4379 2017-09-06 Florian Weimer <fweimer@redhat.com>
4382 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
4383 case of failure to obtain the global conf object.
4385 2017-09-06 Florian Weimer <fweimer@redhat.com>
4388 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
4389 dynarray allocation failure.
4391 2017-09-06 Florian Weimer <fweimer@redhat.com>
4393 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
4394 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
4395 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
4397 (response): Call them. Add 'p', '6' flag processing.
4398 (test_reverse): New function.
4399 (test_get2_any): Call it.
4400 (test_no_inet6): Add 'p' test.
4401 (test_inet6): Likewise.
4403 2017-09-06 Florian Weimer <fweimer@redhat.com>
4405 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
4406 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
4408 (test_gai): Adjust query names. Add additional tests.
4409 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
4410 test_get2. Adjust query names. Add additional tests.
4411 (test_no_inet6): New function, extracted from threadfunc.
4412 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
4413 Add additional tests.
4415 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4418 * localedata/unicode-gen/utf8_gen.py: Set the width for
4419 characters with Prepended_Concatenation_Mark property to 1
4420 * localedata/charmaps/UTF-8: Updated using the improved script.
4422 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4425 * localedata/unicode-gen/utf8_gen.py: Improve the script to
4426 use the range notation for all ranges of neighbouring characters
4427 with the same width.
4429 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4431 * sysdeps/generic/math-type-macros-double.h: Include
4432 <math-svid-compat.h>.
4433 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4434 * sysdeps/generic/math-type-macros-float.h: Include
4435 <math-svid-compat.h>.
4436 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4437 * sysdeps/generic/math-type-macros-ldouble.h: Include
4438 <math-svid-compat.h>.
4439 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4440 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
4442 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
4443 * math/w_acosf_compat.c: Likewise.
4444 * math/w_acosh_compat.c: Likewise.
4445 * math/w_acoshf_compat.c: Likewise.
4446 * math/w_acoshl_compat.c: Likewise.
4447 * math/w_acosl_compat.c: Likewise.
4448 * math/w_asin_compat.c: Likewise.
4449 * math/w_asinf_compat.c: Likewise.
4450 * math/w_asinl_compat.c: Likewise.
4451 * math/w_atan2_compat.c: Likewise.
4452 * math/w_atan2f_compat.c: Likewise.
4453 * math/w_atan2l_compat.c: Likewise.
4454 * math/w_atanh_compat.c: Likewise.
4455 * math/w_atanhf_compat.c: Likewise.
4456 * math/w_atanhl_compat.c: Likewise.
4457 * math/w_cosh_compat.c: Likewise.
4458 * math/w_coshf_compat.c: Likewise.
4459 * math/w_coshl_compat.c: Likewise.
4460 * math/w_exp10_compat.c: Likewise.
4461 * math/w_exp10f_compat.c: Likewise.
4462 * math/w_exp10l_compat.c: Likewise.
4463 * math/w_exp2_compat.c: Likewise.
4464 * math/w_exp2f_compat.c: Likewise.
4465 * math/w_exp2l_compat.c: Likewise.
4466 * math/w_fmod_compat.c: Likewise.
4467 * math/w_fmodf_compat.c: Likewise.
4468 * math/w_fmodl_compat.c: Likewise.
4469 * math/w_hypot_compat.c: Likewise.
4470 * math/w_hypotf_compat.c: Likewise.
4471 * math/w_hypotl_compat.c: Likewise.
4472 * math/w_j0_compat.c: Likewise.
4473 * math/w_j0f_compat.c: Likewise.
4474 * math/w_j0l_compat.c: Likewise.
4475 * math/w_j1_compat.c: Likewise.
4476 * math/w_j1f_compat.c: Likewise.
4477 * math/w_j1l_compat.c: Likewise.
4478 * math/w_jn_compat.c: Likewise.
4479 * math/w_jnf_compat.c: Likewise.
4480 * math/w_jnl_compat.c: Likewise.
4481 * math/w_lgamma_r_compat.c: Likewise.
4482 * math/w_lgammaf_r_compat.c: Likewise.
4483 * math/w_lgammal_r_compat.c: Likewise.
4484 * math/w_log10_compat.c: Likewise.
4485 * math/w_log10f_compat.c: Likewise.
4486 * math/w_log10l_compat.c: Likewise.
4487 * math/w_log2_compat.c: Likewise.
4488 * math/w_log2f_compat.c: Likewise.
4489 * math/w_log2l_compat.c: Likewise.
4490 * math/w_log_compat.c: Likewise.
4491 * math/w_logf_compat.c: Likewise.
4492 * math/w_logl_compat.c: Likewise.
4493 * math/w_pow_compat.c: Likewise.
4494 * math/w_powf_compat.c: Likewise.
4495 * math/w_powl_compat.c: Likewise.
4496 * math/w_remainder_compat.c: Likewise.
4497 * math/w_remainderf_compat.c: Likewise.
4498 * math/w_remainderl_compat.c: Likewise.
4499 * math/w_sinh_compat.c: Likewise.
4500 * math/w_sinhf_compat.c: Likewise.
4501 * math/w_sinhl_compat.c: Likewise.
4502 * math/w_sqrt_compat.c: Likewise.
4503 * math/w_sqrtf_compat.c: Likewise.
4504 * math/w_sqrtl_compat.c: Likewise.
4505 * math/w_tgamma_compat.c: Likewise.
4506 * math/w_tgammaf_compat.c: Likewise.
4507 * math/w_tgammal_compat.c: Likewise.
4508 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
4510 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
4511 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
4513 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
4514 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
4516 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
4517 * sysdeps/i386/fpu/w_sqrt.c: New file.
4518 * sysdeps/ia64/fpu/w_acos.c: Likewise.
4519 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4520 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4521 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4522 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4523 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4524 * sysdeps/ia64/fpu/w_asin.c: Likewise.
4525 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4526 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4527 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4528 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4529 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4530 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4531 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4532 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4533 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4534 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4535 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4536 * sysdeps/ia64/fpu/w_exp.c: Likewise.
4537 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4538 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4539 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4540 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4541 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4542 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4543 * sysdeps/ia64/fpu/w_expf.c: Likewise.
4544 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4545 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4546 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4547 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4548 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4549 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4550 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4551 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4552 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4553 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4554 * sysdeps/ia64/fpu/w_log.c: Likewise.
4555 * sysdeps/ia64/fpu/w_log10.c: Likewise.
4556 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4557 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4558 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4559 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4560 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4561 * sysdeps/ia64/fpu/w_logf.c: Likewise.
4562 * sysdeps/ia64/fpu/w_logl.c: Likewise.
4563 * sysdeps/ia64/fpu/w_pow.c: Likewise.
4564 * sysdeps/ia64/fpu/w_powf.c: Likewise.
4565 * sysdeps/ia64/fpu/w_powl.c: Likewise.
4566 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4567 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4568 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4569 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4570 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4571 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4572 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4573 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4574 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4575 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
4576 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
4577 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
4578 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
4580 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4581 * sysdeps/ieee754/k_standard.c: Likewise.
4582 * sysdeps/ieee754/k_standardf.c: Likewise.
4583 * sysdeps/ieee754/k_standardl.c: Likewise.
4584 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4585 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4586 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4587 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
4588 long_double_symbol call on [LIBM_SVID_COMPAT].
4589 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4590 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4591 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4592 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4593 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4594 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4595 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4596 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4597 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4598 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4599 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4600 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4601 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4602 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4603 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4604 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4605 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4606 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4607 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4608 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4609 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4610 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4612 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4614 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4615 * malloc/tst-mallocstate.c: Convert from test-skeleton
4616 to test-driver. Ifdef code using TEST_COMPAT macro.
4617 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4618 * math/test-matherr.c: Likewise.
4620 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4623 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4624 comparing word with byte-swapped constant.
4626 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4629 * locale/iso-639.def: add Miskito.
4630 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4631 * localedata/locales/miq_NI: New file.
4633 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4636 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4637 (__mkdir): Likewise.
4638 * io/chmod.c (__chmod): Add libc_hidden_def.
4639 * io/mkdir.c (__mkdir): Likewise.
4640 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4641 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4642 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4643 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4645 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4647 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4651 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4652 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4654 2017-09-04 Florian Weimer <fweimer@redhat.com>
4656 * math/math.h: Issue warning if log is defined.
4658 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4660 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4661 kernel version to 4.13.
4663 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4665 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4666 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
4668 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
4669 just <bits/types.h>.
4670 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
4671 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
4672 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
4673 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
4674 * misc/preadv2.c: Include <errno.h>.
4675 * misc/preadv64v2.c: Include <errno.h>.
4676 * misc/pwritev2.c: Include <errno.h>.
4677 * misc/pwritev64v2.c: Include <errno.h>.
4678 * sysdeps/posix/preadv2.c: Include <errno.h>.
4679 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4680 Fix <unistd.h> inclusion.
4681 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4682 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4683 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4684 __strtoul_internal): New functions.
4685 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4686 * sysdeps/posix/system.c: Include <sigsetops.h>.
4687 * sysdeps/mach/hurd/i386/Makefile
4688 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4689 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4690 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4691 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4692 __feraiseexcept_renamed to feraiseexcept instead of
4694 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4695 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4696 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4697 RWF_NOWAIT): Define to 0 if undefined already.
4698 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4700 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4701 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4703 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4705 * manual/math.texi (pow10): Do not document.
4708 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4709 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4710 * math/libm-test-exp10.inc (pow10_test): Remove.
4711 (do_test): Do not call pow10.
4712 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4713 [NO_LONG_DOUBLE] (pow10l): Likewise.
4714 * math/w_exp10f_compat.c (pow10f): Likewise.
4715 * math/w_exp10l_compat.c (pow10l): Likewise.
4716 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4717 (pow10): Make into compat symbol.
4718 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4719 (pow10f): Make into compat symbol.
4720 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4721 (pow10l): Make into compat symbol.
4722 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4724 (CFLAGS-nldbl-pow10.c): Remove variable..
4725 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4726 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4727 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4728 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4729 Undefine and redefine.
4730 (pow10l): Make into compat symbol.
4731 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4732 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4733 * sysdeps/arm/libm-test-ulps: Likewise.
4734 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4735 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4736 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4737 * sysdeps/microblaze/libm-test-ulps: Likewise.
4738 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4739 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4740 * sysdeps/nios2/libm-test-ulps: Likewise.
4741 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4742 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4743 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4744 * sysdeps/sh/libm-test-ulps: Likewise.
4745 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4746 * sysdeps/tile/libm-test-ulps: Likewise.
4747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4749 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4751 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4753 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4755 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4756 "../ChangeLog.old/ChangeLog.8".
4757 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4758 "../ChangeLog.old/ChangeLog.14".
4760 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4762 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4765 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4767 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4769 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4771 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4772 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4774 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4776 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4779 2017-09-01 Zack Weinberg <zackw@panix.com>
4781 * math/math.h (HUGE_VAL): Improve commentary.
4783 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4784 Andreas Schwab <schwab@suse.de>
4787 * include/stdio.h (__gen_tempfd): New function.
4788 * stdio-common/Makefile (routines): Add gentempfd.
4789 * stdio-common/gentempfd.c: New file.
4790 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4791 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4794 2017-09-01 Florian Weimer <fweimer@redhat.com>
4798 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4799 result to determine success or failure, not the errno value.
4800 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4801 (tst-nss-files-hosts-erange): Link with -ldl.
4802 * nss/tst-nss-files-hosts-erange.c: New file.
4803 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4804 (do_test): Add NO_DATA tests.
4805 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4808 2017-09-01 Florian Weimer <fweimer@redhat.com>
4811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4812 coming from gethostbyname2_r.
4814 2017-09-01 Florian Weimer <fweimer@redhat.com>
4816 * support/namespace.h (struct support_chroot_configuration): Add
4818 (struct support_chroot): Add path_hosts, path_host_conf.
4819 * support/support_chroot.c (write_file): New function.
4820 (support_chroot_create): Call it to process /etc/resolv.conf,
4821 /etc/hosts, /etc/host.conf.
4822 (support_chroot_free): Update.
4824 2017-09-01 Florian Weimer <fweimer@redhat.com>
4826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4827 status indicates it is set.
4829 2017-09-01 Florian Weimer <fweimer@redhat.com>
4831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4832 function lookup failures more reliable.
4834 2017-09-01 Florian Weimer <fweimer@redhat.com>
4836 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4837 (getcanonname): Likewise.
4838 (gaih_inet): Likewise.
4840 2017-09-01 Florian Weimer <fweimer@redhat.com>
4842 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4843 (getcanonname): Likewise.
4844 (gaih_inet): Likewise.
4846 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4847 Richard Henderson <rth@twiddle.net>
4849 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4850 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4851 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4852 (IREG_SIZE, OREG_SIZE): New macros.
4853 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4854 (IREG_SIZE, OREG_SIZE): New macros.
4855 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4856 (IREG_SIZE): New macro.
4857 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4858 (IREG_SIZE): New macro.
4859 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4861 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4862 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4863 (__CONCATX): Handle exceptions correctly on large values that may
4865 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4866 Initialize if not already set.
4867 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4869 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4871 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4872 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4874 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4876 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4878 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4880 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4882 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4884 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4886 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4887 (NO_CANCELLATION): Likewise.
4888 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4890 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4892 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4895 (NO_CANCELLATION): Likewise.
4896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4897 (NO_CANCELLATION): Likewise.
4898 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4900 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4902 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4904 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4906 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4908 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4909 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4911 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4913 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4916 2017-08-31 Florian Weimer <fweimer@redhat.com>
4918 * include/libc-symbols.h (internal_function): Remove.
4920 2017-08-31 Florian Weimer <fweimer@redhat.com>
4922 * stdlib/fmtmsg.c (internal_addseverity): Remove
4925 2017-08-31 Florian Weimer <fweimer@redhat.com>
4927 * stdio-common/printf_fp.c (group_number): Remove
4929 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4931 2017-08-31 Florian Weimer <fweimer@redhat.com>
4933 * posix/fnmatch.c (internal_function): Remove definition.
4934 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4935 * posix/regcomp.c (peek_token, init_word_char)
4936 (duplicate_node_closure, fetch_token, peek_token)
4937 (peek_token_bracket, build_range_exp, build_collating_symbol):
4939 * posix/regex_internal.c (re_string_construct_common)
4940 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4941 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4942 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4943 (re_string_translate_buffer, re_string_reconstruct)
4944 (re_string_peek_byte_case, re_string_fetch_byte_case)
4945 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4946 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4947 (re_node_set_add_intersect, re_node_set_init_union)
4948 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4949 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4950 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4951 (re_acquire_state_context): Likewise.
4952 * posix/regex_internal.h (internal_function): Remove definition.
4953 (re_string_realloc_buffers, build_wcs_buffer)
4954 (build_wcs_upper_buffer, build_upper_buffer)
4955 (re_string_translate_buffer, re_string_context_at)
4956 (re_string_char_size_at, re_string_wchar_at)
4957 (re_string_elem_size_at): Likewise.
4958 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4959 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4960 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4961 (re_search_internal, re_search_2_stub, re_search_stub)
4962 (re_copy_regs, prune_impossible_nodes, check_matching)
4963 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4964 (free_fail_stack_return, sift_states_iter_mb)
4965 (sift_states_backward, build_sifted_states)
4966 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4967 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4968 (check_subexp_limits, sift_states_bkref, merge_state_array)
4969 (find_recover_state, transit_state, merge_state_with_log)
4970 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4971 (transit_state_mb, transit_state_bkref, get_subexp)
4972 (get_subexp_sub, find_subexp_node, check_arrival)
4973 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4974 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4975 (check_node_accept_bytes, find_collation_sequence_value)
4976 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4977 (acquire_init_state_context, check_halt_node_context)
4978 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4979 (sub_epsilon_src_nodes): Likewise.
4980 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4981 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4982 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4983 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4984 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4985 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4986 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4987 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4988 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4989 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4991 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4993 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4994 (PWRITEV): Likewise.
4995 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
4996 (PWRITEV): Likewise.
4997 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
4998 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5000 2017-08-31 Florian Weimer <fweimer@redhat.com>
5002 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
5003 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
5004 Remove internal_function.
5005 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
5006 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
5007 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
5008 (__deallocate_stack, __libc_pthread_init)
5009 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
5010 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
5011 (__libc_disable_asynccancel, __librt_disable_asynccancel):
5013 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
5014 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
5015 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
5017 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
5018 (__pthread_mutex_unlock_usercnt): Likewise.
5020 2017-08-31 Florian Weimer <fweimer@redhat.com>
5022 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
5023 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
5024 (fts_safe_changedir): Remove internal_function.
5025 * io/ftw.c (internal_function): Remove definition.
5026 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
5028 2017-08-31 Florian Weimer <fweimer@redhat.com>
5030 * inet/deadline.c (__deadline_current_time)
5031 (__deadline_from_timeval, __deadline_to_ms): Remove
5033 * inet/getnameinfo.c (nrl_domainname): Likewise.
5034 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
5035 * inet/inet6_option.c (add_pad): Likewise.
5036 * inet/net-internal.h (__deadline_current_time)
5037 (__deadline_from_timeval, __deadline_to_ms): Likewise.
5038 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
5039 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
5040 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
5042 2017-08-31 Joseph Myers <joseph@codesourcery.com>
5044 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
5045 include <bits/nan.h>.
5046 * math/Makefile (headers): Remove bits/nan.h.
5047 * bits/nan.h: Remove.
5048 * sysdeps/ieee754/bits/nan.h: Likewise.
5049 * sysdeps/mips/bits/nan.h: Likewise.
5051 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
5052 not include <bits/inf.h>.
5053 * math/Makefile (headers): Remove bits/inf.h.
5054 * bits/inf.h: Remove.
5055 * sysdeps/ieee754/bits/inf.h: Likewise.
5057 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
5058 bits/huge_vall.h or bits/huge_val_flt128.h.
5059 (HUGE_VAL): Define directly here.
5060 [__USE_ISOC99] (HUGE_VALF): Likewise.
5061 [__USE_ISOC99] (HUGE_VALL): Likewise.
5062 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5063 (HUGE_VAL_F128): Likewise.
5064 * math/Makefile (headers): Remove bits/huge_val.h,
5065 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
5066 * bits/huge_val.h: Remove.
5067 * bits/huge_val_flt128.h: Likewise.
5068 * bits/huge_valf.h: Likewise.
5069 * bits/huge_vall.h: Likewise.
5070 * sysdeps/ia64/bits/huge_vall.h: Likewise.
5071 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5072 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
5073 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
5074 * sysdeps/sh/bits/huge_val.h: Likewise.
5075 * sysdeps/sparc/bits/huge_vall.h: Likewise.
5076 * sysdeps/x86/bits/huge_vall.h: Likewise.
5078 2017-08-31 Florian Weimer <fweimer@redhat.com>
5080 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
5082 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
5084 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
5085 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5086 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
5087 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
5088 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5089 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5090 * elf/dl-libc.c (dlerror_run): Likewise.
5091 * elf/dl-load.c (add_name_to_object, decompose_rpath)
5092 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
5093 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
5094 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
5096 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
5097 (_dl_higher_prime_number, _dl_strtoul): Likewise.
5098 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
5099 * elf/dl-profile.c (_dl_start_profile): Likewise.
5100 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
5101 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
5103 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
5104 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
5105 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
5106 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
5107 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
5108 (_dl_allocate_tls_storage): Likewise.
5109 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
5110 (_dl_check_all_versions): Likewise.
5111 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5112 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
5113 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
5114 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5115 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
5116 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
5117 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
5118 internal_function from __dl_start.
5119 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
5120 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5121 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
5122 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
5123 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
5124 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
5125 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
5126 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
5127 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
5128 (_dl_next_ld_env_entry, _dl_important_hwcaps)
5129 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
5130 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
5131 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
5132 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
5133 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
5135 (struct rtld_global_ro): Remove internal_function from the
5136 _dl_lookup_symbol_x member.
5137 (_dl_symbol_value): Remove. No longer defined anywhere.
5138 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
5140 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5141 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5142 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
5143 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
5144 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
5145 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
5146 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
5147 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
5148 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
5149 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5150 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5151 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5153 2017-08-31 Florian Weimer <fweimer@redhat.com>
5155 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
5156 Remove internal_function.
5157 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5159 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5162 2017-08-31 Florian Weimer <fweimer@redhat.com>
5164 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
5165 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
5166 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
5168 2017-08-31 Florian Weimer <fweimer@redhat.com>
5170 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
5171 (__gai_enqueue_request): Remove internal_function.
5172 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
5173 (__gai_remove_request, __gai_notify, __gai_notify_only)
5174 (__gai_sigqueue): Likewise.
5175 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
5176 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5177 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
5178 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5181 2017-08-31 Florian Weimer <fweimer@redhat.com>
5183 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
5184 * include/dirent.h (__opendirat, __getdents, __getdents64)
5185 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
5186 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
5187 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5188 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
5190 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
5192 2017-08-31 Florian Weimer <fweimer@redhat.com>
5194 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
5196 (GETCWD_RETURN_TYPE): Likewise.
5198 2017-08-31 Florian Weimer <fweimer@redhat.com>
5200 * include/time.h (__tz_compute, __strptime_internal): Remove
5202 * time/strptime_l.c (__strptime_internal): Likewise.
5203 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
5205 2017-08-31 Florian Weimer <fweimer@redhat.com>
5207 * iconv/gconv.c (__gconv): Remove internal_function.
5208 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
5209 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
5210 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
5211 (__gconv_release_cache): Likewise.
5212 * iconv/gconv_close.c (__gconv_close): Likewise.
5213 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
5214 (read_conf_file, __gconv_get_path): Likewise.
5215 * iconv/gconv_db.c (derivation_lookup, add_derivation)
5216 (__gconv_release_step, gen_steps, increment_counter)
5217 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
5218 (__gconv_close_transform, free_modules_db): Likewise.
5219 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
5221 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
5222 (__gconv_find_transform, __gconv_lookup_cache)
5223 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
5224 (__gconv_close_transform, __gconv_release_cache)
5225 (__gconv_loaded_object, __gconv_release_shlib)
5226 (__gconv_compare_alias): Likewise.
5227 * iconv/gconv_open.c (__gconv_open): Likewise.
5228 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
5229 * iconv/iconvconfig.c (add_module): Likewise.
5230 * intl/dcigettext.c (plural_lookup, guess_category_value)
5231 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
5232 * intl/eval-plural.h (plural_eval): Likewise.
5233 * intl/finddomain.c (_nl_find_domain): Likewise.
5234 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
5235 (_nl_load_domain, _nl_find_msg): Likewise.
5236 (internal_function): Remove definition.
5237 * intl/loadinfo.h (internal_function): Likewise.
5238 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
5240 * intl/localealias.c (internal_function): Remove definition.
5241 (read_alias_file): Remove internal_function.
5242 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
5243 * intl/plural-exp.h (internal_function): Remove definition.
5244 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
5246 * intl/plural.c: Regenerate.
5247 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
5248 * locale/coll-lookup.c (__collidx_table_lookup)
5249 (__collseq_table_lookup): Likewise.
5250 * locale/coll-lookup.h (__collidx_table_lookup)
5251 (__collseq_table_lookup): Likewise.
5252 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
5253 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5254 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
5255 (_nl_unload_locale): Likewise.
5256 * locale/localeinfo.h (struct __locale_data): Remove
5257 internal_function from cleanup member.
5258 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
5259 (_nl_remove_locale, _nl_load_locale_from_archive)
5260 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
5261 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
5262 (_nl_cleanup_time): Remove internal_function.
5263 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
5264 (_nl_parse_alt_digit): Likewise.
5265 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
5266 (_nl_select_era_entry): Likewise.
5267 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
5268 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5269 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5270 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5271 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5273 2017-08-31 Florian Weimer <fweimer@redhat.com>
5275 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
5276 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
5277 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
5278 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
5280 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
5281 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
5282 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
5283 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
5285 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
5287 2017-08-31 Florian Weimer <fweimer@redhat.com>
5289 * misc/getttyent.c (skip, value): Remove internal_function.
5290 * misc/syslog.c (openlog_internal): Likewise.
5291 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
5293 2017-08-31 Florian Weimer <fweimer@redhat.com>
5295 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
5296 (__nss_rewrite_field): Remove internal_function.
5297 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5298 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5299 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5300 * nss/nsswitch.c (nss_parse_file, nss_getline)
5301 (nss_parse_service_list, nss_new_service): Likewise.
5302 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
5303 * nss/valid_field.c (__nss_valid_field): Likewise.
5304 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5306 2017-08-31 Florian Weimer <fweimer@redhat.com>
5308 * malloc/arena.c (__malloc_fork_lock_parent)
5309 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
5310 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
5311 internal_function from defintions.
5312 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
5313 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
5314 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
5315 internal_function from declarations.
5316 * malloc/malloc.c (internal_function): Do not define.
5317 (mem2mem_check): Remove internal_function from declaration.
5318 (munmap_chunk, mremap_chunk): Remove internal_function.
5319 * malloc/mtrace.c (tr_where): Likewise.
5321 2017-08-31 Florian Weimer <fweimer@redhat.com>
5323 * include/rpc/pmap_clnt.h (__get_socket): Remove
5325 * sunrpc/auth_des.c (synchronize): Likewise.
5326 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
5327 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
5328 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
5329 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
5330 (key_call): Likewise.
5331 * sunrpc/pm_getport.c (__get_socket): Likewise.
5332 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
5333 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
5334 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
5335 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
5336 (invalidate): Likewise.
5337 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
5338 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
5339 (set_input_fragment, get_input_bytes): Likewise.
5341 2017-08-31 Florian Weimer <fweimer@redhat.com>
5343 * malloc/malloc.c (_int_free): Remove locked variable and related
5346 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
5349 * Makerules (build-module-helper-objlist): Filter out
5350 $(elf-objpfx)sofini.os.
5351 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
5354 2017-08-31 Florian Weimer <fweimer@redhat.com>
5356 * libio/fcloseall.c: Assume weak_alias is defined.
5357 * libio/feof.c: Likewise.
5358 * libio/fileno.c: Likewise.
5359 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
5360 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5362 (_IO_file_open): Call __open directly.
5363 (_IO_new_file_sync): Assume ESPIPE is defined.
5364 (_IO_file_seekoff_maybe_mmap): Call __read directly.
5365 (_IO_new_file_write): Call __write directly.
5366 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
5367 * libio/ftello64.c (__ftello64): Assume EIO is defined.
5368 * libio/genops.c: Assume _LIBC is defined.
5369 (save_for_backup): Remove internal_function.
5370 * libio/getc.c: Assume weak_alias is defined.
5371 * libio/getwc.c: Likewise.
5372 * libio/iofclose.c: Assume _LIBC is defined.
5373 * libio/iofdopen.c: Likewise.
5374 (_IO_fcntl): Remove macro definition.
5375 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
5376 Call __fcntl directly.
5377 * libio/iofflush.c: Assume weak_alias is defined.
5378 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
5380 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
5381 * libio/iofgets.c: Likewise.
5382 * libio/iofopen.c: Assume _LIBC is defined.
5383 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
5384 * libio/iofputs.c: Assume weak_alias is defined.
5385 * libio/iofread.c: Likewise.
5386 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
5387 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5388 * libio/ioftell.c: Assume weak_alias is defined.
5389 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
5390 * libio/iofwide.c: Assume _LIBC is defined.
5391 (_IO_fwide): Drop SHARED conditional because it is implied by
5393 * libio/iofwrite.c: Assume weak_alias is defined.
5394 * libio/iogetdelim.c: Likewise.
5395 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
5396 * libio/iogetwline.c (wmemcpy): Remove macro definition.
5397 (_IO_getwline): Call __wmemcpy directly.
5398 * libio/iopopen.c: Assume _LIBC is defined.
5399 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5400 (_IO_close): Remove macro definitions.
5401 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
5403 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
5405 * libio/ioputs.c: Assume weak_alias is defined.
5406 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
5407 * libio/iosetbuffer.c: Assume weak_alias is defined.
5408 * libio/iosetvbuf.c: Likewise.
5409 * libio/ioungetc.c: Likewise.
5410 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
5411 libc_hidden_def, libc_hidden_weak, NULL are defined.
5412 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
5413 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
5415 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5417 (_IO_old_file_init_internal): Drop SHARED conditional because it
5418 is implied by SHLIB_COMPAT.
5419 (_IO_old_file_fopen): Call __open directly.
5420 (_IO_old_file_sync): Assume ESPIPE is defined.
5421 (_IO_old_file_write): Call __write directly.
5422 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
5423 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
5424 Call __fcntl directly.
5425 * libio/oldiofgetpos.c: Assume weak_alias is defined.
5426 (_IO_old_fgetpos): Assume EIO is defined.
5427 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
5428 (_IO_old_fgetpos64): Assume EIO is defined.
5429 * libio/oldiofsetpos.c: Assume weak_alias is defined.
5430 (_IO_old_fsetpos): Assume EIO is defined.
5431 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
5432 (_IO_old_fsetpos64): Assume EIO is defined.
5433 * libio/oldiopopen.c: Assume _LIBC is defined.
5434 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5435 (_IO_close): Remove macro definitions.
5436 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
5438 (_IO_old_proc_close): Call __close, __waitpid directly.
5439 * libio/put.c: Assume weak_alias is defined.
5440 * libio/stdfiles.c: Assume _LIBC is defined.
5441 * libio/stdio.c: Likewise.
5442 * libio/wfileops.c: Likewise.
5443 (_IO_wfile_sync): Assume ESPIPE is defined.
5444 * libio/wgenops.c: Assume _LIBC is defined.
5445 (save_for_wbackup): Remove internal_function.
5447 2017-08-31 Florian Weimer <fweimer@redhat.com>
5449 * malloc/malloc.c (top_check): Change return type to void. Remove
5451 * malloc/hooks.c (top_check): Likewise.
5452 (malloc_check, realloc_check, memalign_check): Adjust.
5454 2017-08-30 Joseph Myers <joseph@codesourcery.com>
5457 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5458 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
5459 sigcontext and namespace requirements.
5460 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5461 * sysdeps/m68k/sys/ucontext.h: Likewise.
5462 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
5463 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
5464 <bits/sigcontext.h>.
5465 (__ctx): Define earlier.
5466 (mcontext_t): Define structure contents rather than using struct
5468 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
5469 __glibc_reserved1 instead of __reserved.
5470 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
5471 <bits/sigcontext.h>.
5472 (__ctx): Define earlier.
5473 (mcontext_t): Define structure contents rather than using struct
5475 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
5476 mcontext_t instead of struct sigcontext.
5477 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
5478 <bits/sigcontext.h>.
5479 (__ctx): Define earlier.
5480 (mcontext_t): Define structure contents rather than using struct
5482 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
5483 <bits/sigcontext.h>.
5484 (__ctx): Define earlier.
5485 (mcontext_t): Define structure contents rather than using struct
5487 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
5488 mcontext_t instead of struct sigcontext.
5489 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
5490 mcontext_t instead of struct sigcontext.
5491 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5492 <bits/sigcontext.h>.
5494 (struct __ia64_fpreg_mcontext): New type.
5495 (mcontext_t): Define structure contents rather than using struct
5497 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
5498 (uc_sigmask): Define using __ctx.
5499 (uc_stack): Likewise.
5500 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
5501 <bits/sigcontext.h>.
5502 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5503 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
5504 <bits/sigcontext.h>.
5505 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
5506 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
5507 <bits/sigcontext.h>.
5508 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
5509 <bits/sigcontext.h>.
5510 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
5511 <bits/sigcontext.h>.
5512 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
5513 <bits/sigcontext.h>.
5514 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
5515 <bits/sigcontext.h>.
5516 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
5517 <bits/sigcontext.h>.
5518 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
5519 <bits/sigcontext.h>.
5520 (__ctx): Define earlier.
5521 (mcontext_t): Define structure contents rather than using struct
5523 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
5524 <bits/sigcontext.h>. Include <bits/types.h>.
5525 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
5526 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
5527 (test-xfail-XPG42/ucontext.h/conform): Likewise.
5528 (test-xfail-UNIX98/signal.h/conform): Likewise.
5529 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5530 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5531 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5532 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5533 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5534 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5535 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5536 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5537 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5539 2017-08-30 Florian Weimer <fweimer@redhat.com>
5541 * malloc/dynarray_emplace_enlarge.c
5542 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
5543 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5544 * malloc/tst-dynarray.c (test_long_overflow): New function.
5547 2017-08-30 Florian Weimer <fweimer@redhat.com>
5549 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
5550 (set_arena_corrupt): Remove definitions.
5551 (mtrim): Do not check for corrupt arena.
5552 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
5555 2017-08-30 Florian Weimer <fweimer@redhat.com>
5558 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
5560 (ptmalloc_init): Do not set or use check_action.
5561 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
5562 call to malloc_printerr. Remove return statement.
5563 (free_check): Likewise. Remove arena unlock.
5564 (top_check): Update comment. Adjust call to malloc_printerr.
5565 Remove heap repair code.
5566 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
5567 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
5568 (sysmalloc): Adjust call to malloc_printerr.
5569 (munmap_chunk, __libc_realloc): Likewise. Remove return
5571 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
5572 Remove errout label and corresponding gotos.
5573 (_int_free): Likewise. Remove arena unlock.
5574 (do_set_mallopt_check): Do not set check_action.
5575 (malloc_printerr): Adjust parameter list. Do not mark arena as
5577 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
5579 * manual/probes.texi (Memory Allocation Probes): Remove
5580 memory_mallopt_check_action.
5582 2017-08-30 Steve Ellcey <sellcey@cavium.com>
5584 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
5585 Use pointer to uint64_t instead of long int for sp.
5587 2017-08-30 Florian Weimer <fweimer@redhat.com>
5590 * malloc/malloc.c (malloc_printerr): Always terminate the process,
5591 without printing a backtrace. Do not leak any information in the
5593 * manual/memory.texi (Heap Consistency Checking): Update.
5594 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5596 2017-08-30 Florian Weimer <fweimer@redhat.com>
5598 Do not scale NPTL tests with available number of CPUs.
5599 * nptl/tst-cond16.c (count): Set to constant value of 8.
5600 * nptl/tst-cond18.c (count): Likewise.
5602 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5605 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5606 Define to take a second argument that is a macro that
5607 concatentates a suffix, not the suffix itself.
5608 (__CONCAT_d): New macro.
5609 (__CONCAT_f): Likewise.
5610 (__CONCAT_l): Likewise.
5612 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5614 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5617 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5618 Aurelien Jarno <aurelien@aurel32.net>
5619 Maciej W. Rozycki <macro@imgtec.com>
5622 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5623 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5624 `mips16-syscall6' and `mips16-syscall7'.
5625 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5626 (CFLAGS-mips16-syscall7.c): Remove.
5627 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5628 Remove `__mips16_syscall5', `__mips16_syscall6' and
5629 `__mips16_syscall7'.
5630 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5631 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5632 `__mips_syscall_return'.
5633 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5634 (__mips16_syscall1): Likewise.
5635 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5636 (__mips16_syscall2): Likewise.
5637 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5638 (__mips16_syscall3): Likewise.
5639 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5640 (__mips16_syscall4): Likewise.
5641 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5643 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5645 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5647 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5648 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5649 `__mips16_syscall5'. Remove prototype.
5650 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5651 `__mips16_syscall6'. Remove prototype.
5652 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5653 `__mips16_syscall7'. Remove prototype.
5654 (__nomips16, __mips16_syscall_return): Move to...
5655 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5656 (__nomips16, __mips_syscall_return): ... here.
5657 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5658 `__mips16_syscall_return' to `__mips_syscall_return'.
5659 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5660 `internal_syscall##nr'.
5661 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5662 `internal_syscall##nr'.
5663 (FORCE_FRAME_POINTER): Remove.
5664 (__mips_syscall5): New prototype.
5665 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5666 (__mips_syscall6): New prototype.
5667 (internal_syscall6): Rewrite to call `__mips_syscall6'.
5668 (__mips_syscall7): New prototype.
5669 (internal_syscall7): Rewrite to call `__mips_syscall7'.
5670 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
5671 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
5672 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
5673 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
5674 (sysdep_routines): Add libc-do-syscall.
5675 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
5676 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
5678 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5681 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5682 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5683 (advise_stack_range): New function.
5684 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5685 stack non required to advise_stack_range at allocatestack.c
5687 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5689 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5691 2017-08-29 Florian Weimer <fweimer@redhat.com>
5694 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5695 __end_fct. Mangle __end_fct after setting it to NULL.
5696 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5697 (modules-names, modules-names-tests): Add
5698 tst-gconv-init-failure-mod.
5699 (gconv-modules): New target.
5700 (tst-gconv-init-failure-mod.so): Link against libsupport.
5701 (tst-gconv-init-failure): Depend on gconv-modules,
5702 tst-gconv-init-failure-mod.so.
5703 * iconv/tst-gconv-init-failure-mod.c: New file.
5704 * iconv/tst-gconv-init-failure.c: Likewise.
5705 * iconv/test-gconv-modules: Likewise.
5707 2017-08-29 Florian Weimer <fweimer@redhat.com>
5710 * iconv/gconv_db.c (free_derivation): Remove redundant
5712 (gen_steps): Unconditionally mangle __btowc_fct after
5714 (increment_counter): Likewise. Do not call init_fct for internal
5717 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5720 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5721 (_MSUF_): Remove macro.
5722 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5724 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5725 (__REDIRFROM_X): New macro.
5726 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5728 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5729 (__REDIRTO_X): Likewise.
5730 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5732 (__MATH_REDIRCALL_2): Likewise.
5733 (__MATH_REDIRCALL_INTERNAL): Likewise.
5734 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5735 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5736 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5737 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5738 * math/test-finite-macros.c: New file.
5739 * math/Makefile (tests): Add test-finite-macros.
5740 (CFLAGS-test-finite-macros.c): New variable.
5742 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5743 Jeff Law <law@redhat.com>
5746 Mangle NULL pointers in iconv/gconv.
5747 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5748 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5749 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5750 is non-NULL before demangling the end_fct. Check for NULL
5751 end_fct after demangling.
5752 (__gconv_release_step): Demangle the end_fct before checking
5753 it for NULL. Remove assert on __shlibc_handle != NULL.
5754 (gen_steps): Don't check btowc_fct for NULL before mangling.
5755 Demangle init_fct before checking for NULL.
5756 (increment_counter): Likewise.
5757 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5758 end_fct for NULL before mangling.
5759 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5762 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5765 * locale/iso-639.def: add Morisyen.
5767 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5770 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5771 (iszero): New C++ implementation that does not use
5772 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5773 signaling nans are enabled, since __builtin_types_compatible_p
5774 is a C-only feature.
5775 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5776 defined, include ieee754_float128.h for access to the union and
5777 member ieee854_float128.ieee.
5778 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5779 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5780 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5781 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5782 options of test-math-zero on powerpc64le.
5784 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5786 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5787 Change double to float.
5789 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5791 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5793 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5794 conditional code; define contents only for [LIBM_SVID_COMPAT].
5796 2017-08-28 Florian Weimer <fweimer@redhat.com>
5798 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5799 (abi-lp64_be-options): Remove.
5800 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5801 (abi-hard-options): Likewise.
5802 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5803 (abi-o32_hard-options, abi-o32_soft_2008-options)
5804 (abi-o32_hard_2008-options, abi-n32_soft-options)
5805 (abi-n32_hard-options, abi-n32_soft_2008-options)
5806 (abi-n32_hard_2008-options, abi-n64_soft-options)
5807 (abi-n64_hard-options, abi-n64_soft_2008-options)
5808 (abi-n64_hard_2008-options): Likewise.
5809 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5810 (abi-64-v1-options, abi-64-v2-options): Likewise.
5811 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5812 (abi-64-options): Likewise.
5813 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5814 (abi-64-options): Likewise.
5815 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5816 (abi-64-options): Likewise.
5817 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5818 (abi-64-options, abi-x32-options): Likewise.
5820 2017-08-28 Florian Weimer <fweimer@redhat.com>
5822 Store supported list of SYS_* system calls in the source tree.
5823 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5824 (bits/syscall.h): Generate from list file.
5825 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5826 [$(subdir) = misc] (tests): Add tst-syscall-list.
5827 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5828 [$(subdir) = misc] (tst-syscall-list-macros.list)
5829 [$(subdir) = misc] (tst-syscall-list-nr.list)
5830 (tst-syscall-list-sys.list): Helper targets for new
5831 tst-syscall-list test.
5832 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5833 tst-syscall-list.sh.
5834 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5835 target. Do not include bits/syscall.d.
5836 [$(subdir) = misc] (generated): Do not update.
5837 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5838 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5839 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5840 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5842 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5844 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5845 (tst-cxa_atexit, tst-on_exit): Likewise.
5846 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5847 tst-cxa_atexit, and tst-on_exit.
5848 * stdlib/tst-atexit-common.c: New file.
5849 * stdlib/tst-atexit.c: New file.
5850 * stdlib/tst-at_quick_exit.c: New file.
5851 * stdlib/tst-cxa_atexit.c: New file.
5852 * stdlib/tst-on_exit.c: New file.
5854 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5856 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5857 * mach/stack_chk_fail_local.c: New file.
5858 * hurd/stack_chk_fail_local.c: New file.
5859 * mach/Machrules ($(interface-library)-routines): Add
5860 stack_chk_fail_local.
5861 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5862 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5863 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5864 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5865 * hurd/Makefile (CFLAGS-hurdstartup.o,
5866 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5868 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5870 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5871 (index_cpu_*, index_arch_*): Removed.
5873 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5875 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5876 Use uint64_t instead of unsigned long.
5878 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5880 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5881 [__HAVE_DISTINCT_FLOAT128].
5883 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5884 of <bits/math-finite.h>.
5885 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5886 inclusion of <bits/math-finite.h>.
5887 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5888 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5889 __NO_LONG_DOUBLE_MATH].
5890 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5891 (__MATH_REDIRCALL_2): Likewise.
5892 (__MATH_REDIRCALL_INTERNAL): Likewise.
5893 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5894 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5895 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5909 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5910 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5914 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5915 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5916 w_sqrtf_compat-ppc32.
5918 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5920 * math/math.h [defined __cplusplus] (issignaling): In the long
5921 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5922 is not defined. Call __issignaling, otherwise.
5924 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5926 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5927 syscall definitions and replace __builtin_expect with __glibc_likely.
5928 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5930 (SYSCALL_CANCELLABLE): Removedefinition
5931 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5933 (PSEUDO_END): Likewise.
5934 [IS_IN (libpthread)] (CENABLE): Likewise.
5935 [IS_IN (libpthread)] (CDISABLE): Likewise.
5936 [IS_IN (libc)] (CENABLE): Likewise.
5937 [IS_IN (libc)] (CENABLE): Likewise.
5938 [IS_IN (librt)] (CDISABLE): Likewise.
5939 [IS_IN (librt)] (CDISABLE): Likewise.
5940 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5941 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5943 (PSEUDO_END): Likewise.
5944 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5945 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5946 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5947 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5948 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5949 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5950 (CENABLE): Likewise.
5951 (CDISABLE): Likewise.
5952 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5953 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5955 (PSEUDO_END): Likewise.
5956 [IS_IN (libpthread)] (CENABLE): Likewise.
5957 [IS_IN (libpthread)] (CDISABLE): Likewise.
5958 [IS_IN (libc)] (CENABLE): Likewise.
5959 [IS_IN (libc)] (CENABLE): Likewise.
5960 [IS_IN (librt)] (CDISABLE): Likewise.
5961 [IS_IN (librt)] (CDISABLE): Likewise.
5962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5963 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5965 (PSEUDO_END): Likewise.
5966 [IS_IN (libpthread)] (CENABLE): Likewise.
5967 [IS_IN (libpthread)] (CDISABLE): Likewise.
5968 [IS_IN (libc)] (CENABLE): Likewise.
5969 [IS_IN (libc)] (CENABLE): Likewise.
5970 [IS_IN (librt)] (CDISABLE): Likewise.
5971 [IS_IN (librt)] (CDISABLE): Likewise.
5972 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5973 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5975 (PSEUDO_END): Likewise.
5976 [IS_IN (libpthread)] (CENABLE): Likewise.
5977 [IS_IN (libpthread)] (CDISABLE): Likewise.
5978 [IS_IN (libc)] (CENABLE): Likewise.
5979 [IS_IN (libc)] (CENABLE): Likewise.
5980 [IS_IN (librt)] (CDISABLE): Likewise.
5981 [IS_IN (librt)] (CDISABLE): Likewise.
5982 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5983 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5985 (PSEUDO_END): Likewise.
5986 [IS_IN (libpthread)] (CENABLE): Likewise.
5987 [IS_IN (libpthread)] (CDISABLE): Likewise.
5988 [IS_IN (libc)] (CENABLE): Likewise.
5989 [IS_IN (libc)] (CENABLE): Likewise.
5990 [IS_IN (librt)] (CDISABLE): Likewise.
5991 [IS_IN (librt)] (CDISABLE): Likewise.
5992 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5993 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
5995 (PSEUDO_END): Likewise.
5996 [IS_IN (libpthread)] (CENABLE): Likewise.
5997 [IS_IN (libpthread)] (CDISABLE): Likewise.
5998 [IS_IN (libc)] (CENABLE): Likewise.
5999 [IS_IN (libc)] (CENABLE): Likewise.
6000 [IS_IN (librt)] (CDISABLE): Likewise.
6001 [IS_IN (librt)] (CDISABLE): Likewise.
6002 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6003 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
6005 (PSEUDO_END): Likewise.
6006 [IS_IN (libpthread)] (CENABLE): Likewise.
6007 [IS_IN (libpthread)] (CDISABLE): Likewise.
6008 [IS_IN (libc)] (CENABLE): Likewise.
6009 [IS_IN (libc)] (CENABLE): Likewise.
6010 [IS_IN (librt)] (CDISABLE): Likewise.
6011 [IS_IN (librt)] (CDISABLE): Likewise.
6012 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6013 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
6015 (PSEUDO_END): Likewise.
6016 [IS_IN (libpthread)] (CENABLE): Likewise.
6017 [IS_IN (libpthread)] (CDISABLE): Likewise.
6018 [IS_IN (libc)] (CENABLE): Likewise.
6019 [IS_IN (libc)] (CENABLE): Likewise.
6020 [IS_IN (librt)] (CDISABLE): Likewise.
6021 [IS_IN (librt)] (CDISABLE): Likewise.
6022 (SINGLE_THREAD_P): Likewise.
6023 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
6025 (PSEUDO_END): Likewise.
6026 [IS_IN (libpthread)] (CENABLE): Likewise.
6027 [IS_IN (libpthread)] (CDISABLE): Likewise.
6028 [IS_IN (libc)] (CENABLE): Likewise.
6029 [IS_IN (libc)] (CENABLE): Likewise.
6030 [IS_IN (librt)] (CDISABLE): Likewise.
6031 [IS_IN (librt)] (CDISABLE): Likewise.
6032 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6033 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
6035 (PSEUDO_END): Likewise.
6036 [IS_IN (libpthread)] (CENABLE): Likewise.
6037 [IS_IN (libpthread)] (CDISABLE): Likewise.
6038 [IS_IN (libc)] (CENABLE): Likewise.
6039 [IS_IN (libc)] (CENABLE): Likewise.
6040 [IS_IN (librt)] (CDISABLE): Likewise.
6041 [IS_IN (librt)] (CDISABLE): Likewise.
6042 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6043 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
6044 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6045 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
6046 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
6048 (PSEUDO_END): Likewise.
6049 [IS_IN (libpthread)] (CENABLE): Likewise.
6050 [IS_IN (libpthread)] (CDISABLE): Likewise.
6051 [IS_IN (libc)] (CENABLE): Likewise.
6052 [IS_IN (libc)] (CENABLE): Likewise.
6053 [IS_IN (librt)] (CDISABLE): Likewise.
6054 [IS_IN (librt)] (CDISABLE): Likewise.
6055 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
6058 (PSEUDO_END): Likewise.
6059 [IS_IN (libpthread)] (CENABLE): Likewise.
6060 [IS_IN (libpthread)] (CDISABLE): Likewise.
6061 [IS_IN (libc)] (CENABLE): Likewise.
6062 [IS_IN (libc)] (CENABLE): Likewise.
6063 [IS_IN (librt)] (CDISABLE): Likewise.
6064 [IS_IN (librt)] (CDISABLE): Likewise.
6065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6066 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
6068 (PSEUDO_END): Likewise.
6069 [IS_IN (libpthread)] (CENABLE): Likewise.
6070 [IS_IN (libpthread)] (CDISABLE): Likewise.
6071 [IS_IN (libc)] (CENABLE): Likewise.
6072 [IS_IN (libc)] (CENABLE): Likewise.
6073 [IS_IN (librt)] (CDISABLE): Likewise.
6074 [IS_IN (librt)] (CDISABLE): Likewise.
6075 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
6077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6078 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
6079 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
6081 (PSEUDO_END): Likewise.
6082 [IS_IN (libpthread)] (CENABLE): Likewise.
6083 [IS_IN (libpthread)] (CDISABLE): Likewise.
6084 [IS_IN (libc)] (CENABLE): Likewise.
6085 [IS_IN (libc)] (CENABLE): Likewise.
6086 [IS_IN (librt)] (CDISABLE): Likewise.
6087 [IS_IN (librt)] (CDISABLE): Likewise.
6088 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6089 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
6091 (PSEUDO_END): Likewise.
6092 [IS_IN (libpthread)] (CENABLE): Likewise.
6093 [IS_IN (libpthread)] (CDISABLE): Likewise.
6094 [IS_IN (libc)] (CENABLE): Likewise.
6095 [IS_IN (libc)] (CENABLE): Likewise.
6096 [IS_IN (librt)] (CDISABLE): Likewise.
6097 [IS_IN (librt)] (CDISABLE): Likewise.
6098 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6100 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
6102 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
6104 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6106 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6108 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6111 * string/stratcliff.c (do_test): Declare size, nchars, inner,
6112 middle and outer with size_t instead of int. Repleace %d and
6113 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
6114 "MAX (outer, nchars - 64)" to support unsigned outer and
6115 nchars. Also exit loop when outer == 0.
6117 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6119 * include/fcntl.h (__fcntl_nocancel): Remove definition.
6120 * include/signal.h (__sigsuspend_nocancel): Likewise.
6121 * include/time.h (__nanosleep_nocancel): Likewise.
6122 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
6123 * login/utmp_file.c: Include non cancellable syscall header.
6124 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
6127 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6129 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
6130 .byte sequences with AVX512F instructions.
6131 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
6132 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6133 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
6136 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6139 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
6140 Steve Ellcey <sellcey@cavium.com>
6142 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
6143 Use PTR_REG macro in cmp instruction.
6145 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6147 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
6148 Change the return type of the ifunc resolver to match the return
6149 type of the target function.
6151 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6153 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
6154 (preadv64): Likewise.
6155 (pwrite64(: Likewise.
6156 (pwritev64): Likewise.
6158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6159 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
6160 (LOAD_ARGS_0): Likewise.
6161 (LOAD_ARGS_1): Likewise.
6162 (LOAD_ARGS_2): Likewise.
6163 (LOAD_ARGS_3): Likewise.
6164 (LOAD_ARGS_4): Likewise.
6165 (LOAD_ARGS_5): Likewise.
6166 (LOAD_ARGS_6): Likewise.
6167 (LOAD_REGS_0): Likewise.
6168 (LOAD_REGS_1): Likewise.
6169 (LOAD_REGS_2): Likewise.
6170 (LOAD_REGS_3): Likewise.
6171 (LOAD_REGS_4): Likewise.
6172 (LOAD_REGS_5): Likewise.
6173 (LOAD_REGS_6): Likewise.
6174 (ASM_ARGS_0): Likewise.
6175 (ASM_ARGS_1): Likewise.
6176 (ASM_ARGS_2): Likewise.
6177 (ASM_ARGS_3): Likewise.
6178 (ASM_ARGS_4): Likewise.
6179 (ASM_ARGS_5): Likewise.
6180 (ASM_ARGS_6): Likewise.
6181 (LOAD_ARGS_TYPES_1): Likewise.
6182 (LOAD_ARGS_TYPES_2): Likewise.
6183 (LOAD_ARGS_TYPES_3): Likewise.
6184 (LOAD_ARGS_TYPES_4): Likewise.
6185 (LOAD_ARGS_TYPES_5): Likewise.
6186 (LOAD_ARGS_TYPES_6): Likewise.
6187 (LOAD_REGS_TYPES_1): Likewise.
6188 (LOAD_REGS_TYPES_2): Likewise.
6189 (LOAD_REGS_TYPES_3): Likewise.
6190 (LOAD_REGS_TYPES_4): Likewise.
6191 (LOAD_REGS_TYPES_5): Likewise.
6192 (LOAD_REGS_TYPES_6): Likewise.
6193 (TYPEFY): New define.
6195 (internal_syscall0): Likewise.
6196 (internal_syscall1): Likewise.
6197 (internal_syscall2): Likewise.
6198 (internal_syscall3): Likewise.
6199 (internal_syscall4): Likewise.
6200 (internal_syscall5): Likewise.
6201 (internal_syscall6): Likewise.
6202 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
6203 (INTERNAL_SYSCALL_NCS): Remove define.
6204 (internal_syscall1): Add define.
6206 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6208 * math/w_remainder_compat.c: Remove duplicate inclusion of
6210 * math/w_remainderf_compat.c: Likewise.
6211 * math/w_remainderl_compat.c: Likewise.
6213 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6217 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6220 * math/tgmath.h (__floating_type): Simplify definitions.
6221 (__real_integer_type): New macro.
6222 (__complex_integer_type): Likewise.
6223 (__expr_is_real): Likewise.
6224 (__tgmath_real_type_sub): Update comment to describe handling of
6226 (__tgmath_complex_type_sub): New macro.
6227 (__tgmath_complex_type): Likewise.
6228 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6229 (__TGMATH_CF128): Use __expr_is_real.
6230 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
6232 (__TGMATH_BINARY_REAL_IMAG): Likewise.
6233 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
6234 * math/gen-tgmath-tests.py (Type.create_type): Create complex
6237 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6239 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
6241 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
6243 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
6246 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
6247 nanosleep_not_cancel with __nanosleep_nocancel.
6248 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
6249 (__nanosleep_nocancel): New macro.
6250 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
6252 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
6254 (__nanosleep_nocancel): New prototype.
6256 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
6257 pause_not_cancel with __pause_nocancel.
6258 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
6259 (__pause_nocancel): New macro.
6260 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
6262 (__pause_nocancel): New prototype.
6263 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
6265 2017-08-22 Martin Sebor <msebor@redhat.com>
6267 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
6268 to return a pointer to the same type as the target function.
6270 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6274 * include/printf.h (__printf_fphex): Add attribute_hidden.
6275 (__guess_grouping): New prototype.
6276 * stdio-common/printf_fp.c (__guess_grouping): Removed.
6277 * stdio-common/reg-printf.c (__register_printf_specifier): Add
6278 libc_hidden_proto and libc_hidden_def.
6279 * stdlib/strfmon_l.c (__guess_grouping): Removed.
6280 (__vstrfmon_l): Remove the third argument passed to
6283 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6285 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
6286 definition for issignaling that does not rely on __MATH_TG,
6287 since __MATH_TG uses __builtin_types_compatible_p, which is only
6288 available in C mode.
6289 (CFLAGS-test-math-issignaling.cc): New variable.
6290 * math/Makefile [CXX] (tests): Add test-math-issignaling.
6291 * math/test-math-issignaling.cc: New test for C++ implementation
6292 of type-generic issignaling.
6293 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
6294 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
6295 options of test-math-issignaling on powerpc64le.
6297 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6299 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6301 (hidden_proto): Likewise.
6302 (hidden_tls_proto): Likewise.
6303 (__hidden_proto): Likewise.
6305 2017-08-22 Florian Weimer <fweimer@redhat.com>
6307 math: Statically link tests of internal functionality.
6308 * math/Makefile (tests): Remove atest-exp, atest-sincos,
6310 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
6311 (gmp-objs): Remove assignment.
6312 (atest-exp, atest-sincos, atest-exp2): Remove targets.
6314 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6317 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
6319 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
6321 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
6324 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
6325 variable definitions above inclusion of ../Rules.
6327 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6329 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
6330 case calling __builtin_unreachable.
6332 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6334 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
6336 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
6337 (__waitpid_nocancel): New macro.
6338 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
6340 (__waitpid_nocancel): Replace macro with a function.
6341 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
6344 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
6346 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
6347 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
6349 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
6350 __writev_nocancel_nostatus.
6351 (write_call_graph): Likewise.
6352 (write_bb_counts): Likewise.
6353 * resolv/herror.c (herror): Likewise.
6354 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
6356 (__writev_nocancel_nostatus): New macro.
6357 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
6359 (__writev_nocancel_nostatus): New function.
6361 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6364 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6366 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6368 (hidden_proto): Likewise.
6369 (hidden_tls_proto): Likewise.
6370 (__hidden_proto): Likewise.
6373 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
6374 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
6384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6385 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6386 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6387 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6388 GLIBC_2.0 sqrtl symbol.
6390 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
6391 [__USE_MISC] (_LIB_VERSION): Likewise.
6392 [__USE_MISC] (struct exception): Likewise.
6393 [__USE_MISC] (matherr): Likewise.
6394 [__USE_MISC] (DOMAIN): Likewise.
6395 [__USE_MISC] (SING): Likewise.
6396 [__USE_MISC] (OVERFLOW): Likewise.
6397 [__USE_MISC] (UNDERFLOW): Likewise.
6398 [__USE_MISC] (TLOSS): Likewise.
6399 [__USE_MISC] (PLOSS): Likewise.
6400 [__USE_MISC] (HUGE): Likewise.
6401 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
6402 * math/math-svid-compat.h: New file.
6403 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
6405 * include/math.h [!_ISOMAC] (__matherr): Remove.
6406 * manual/arith.texi (FP Exceptions): Do not document matherr.
6407 * math/Makefile (tests): Change test-matherr to test-matherr-3.
6408 (tests-internal): New variable.
6409 (install-lib): Do not add libieee.a.
6410 (non-lib.a): Likewise.
6411 (extra-objs): Do not add libieee.a and ieee-math.o.
6412 (CPPFLAGS-s_lib_version.c): Remove variable.
6413 ($(objpfx)libieee.a): Remove rule.
6414 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
6415 * math/ieee-math.c: Remove.
6416 * math/libm-test-support.c (matherr): Remove.
6417 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
6418 and license notices. Include <math-svid-compat.h> and
6420 (matherr): Undefine as macro. Use compat_symbol_reference.
6421 (_LIB_VERSION): Likewise.
6422 * math/test-matherr-2.c: New file.
6423 * math/test-matherr-3.c: Likewise.
6424 * sysdeps/generic/math_private.h (__kernel_standard): Remove
6426 (__kernel_standard_f): Likewise.
6427 (__kernel_standard_l): Likewise.
6428 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
6429 <math_private.h>. Include <math-svid-compat.h>.
6430 (_LIB_VERSION): Undefine as macro.
6431 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
6432 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
6433 [LIBM_SVID_COMPAT], use compat_symbol.
6434 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
6435 <math_private.h>. Include <math-svid-compat.h>.
6436 (matherr): Undefine as macro.
6437 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
6439 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
6440 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
6441 compat_symbol_reference.
6442 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
6443 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
6444 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
6445 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
6446 (MATHERR_D): Remove declaration.
6447 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
6448 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
6449 [LIBM_BUILD] (pmatherrf): Likewise.
6450 [LIBM_BUILD] (pmatherr): Likewise.
6451 [LIBM_BUILD] (pmatherrl): Likewise.
6454 (OVERFLOW): Likewise.
6455 (UNDERFLOW): Likewise.
6458 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
6459 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
6461 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
6462 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
6464 * math/lgamma-compat.h: Include <math-svid-compat.h>.
6465 * math/w_acos_compat.c: Likewise.
6466 * math/w_acosf_compat.c: Likewise.
6467 * math/w_acosh_compat.c: Likewise.
6468 * math/w_acoshf_compat.c: Likewise.
6469 * math/w_acoshl_compat.c: Likewise.
6470 * math/w_acosl_compat.c: Likewise.
6471 * math/w_asin_compat.c: Likewise.
6472 * math/w_asinf_compat.c: Likewise.
6473 * math/w_asinl_compat.c: Likewise.
6474 * math/w_atan2_compat.c: Likewise.
6475 * math/w_atan2f_compat.c: Likewise.
6476 * math/w_atan2l_compat.c: Likewise.
6477 * math/w_atanh_compat.c: Likewise.
6478 * math/w_atanhf_compat.c: Likewise.
6479 * math/w_atanhl_compat.c: Likewise.
6480 * math/w_cosh_compat.c: Likewise.
6481 * math/w_coshf_compat.c: Likewise.
6482 * math/w_coshl_compat.c: Likewise.
6483 * math/w_exp10_compat.c: Likewise.
6484 * math/w_exp10f_compat.c: Likewise.
6485 * math/w_exp10l_compat.c: Likewise.
6486 * math/w_exp2_compat.c: Likewise.
6487 * math/w_exp2f_compat.c: Likewise.
6488 * math/w_exp2l_compat.c: Likewise.
6489 * math/w_fmod_compat.c: Likewise.
6490 * math/w_fmodf_compat.c: Likewise.
6491 * math/w_fmodl_compat.c: Likewise.
6492 * math/w_hypot_compat.c: Likewise.
6493 * math/w_hypotf_compat.c: Likewise.
6494 * math/w_hypotl_compat.c: Likewise.
6495 * math/w_j0_compat.c: Likewise.
6496 * math/w_j0f_compat.c: Likewise.
6497 * math/w_j0l_compat.c: Likewise.
6498 * math/w_j1_compat.c: Likewise.
6499 * math/w_j1f_compat.c: Likewise.
6500 * math/w_j1l_compat.c: Likewise.
6501 * math/w_jn_compat.c: Likewise.
6502 * math/w_jnf_compat.c: Likewise.
6503 * math/w_jnl_compat.c: Likewise.
6504 * math/w_lgamma_main.c: Likewise.
6505 * math/w_lgamma_r_compat.c: Likewise.
6506 * math/w_lgammaf_main.c: Likewise.
6507 * math/w_lgammaf_r_compat.c: Likewise.
6508 * math/w_lgammal_main.c: Likewise.
6509 * math/w_lgammal_r_compat.c: Likewise.
6510 * math/w_log10_compat.c: Likewise.
6511 * math/w_log10f_compat.c: Likewise.
6512 * math/w_log10l_compat.c: Likewise.
6513 * math/w_log2_compat.c: Likewise.
6514 * math/w_log2f_compat.c: Likewise.
6515 * math/w_log2l_compat.c: Likewise.
6516 * math/w_log_compat.c: Likewise.
6517 * math/w_logf_compat.c: Likewise.
6518 * math/w_logl_compat.c: Likewise.
6519 * math/w_pow_compat.c: Likewise.
6520 * math/w_powf_compat.c: Likewise.
6521 * math/w_powl_compat.c: Likewise.
6522 * math/w_remainder_compat.c: Likewise.
6523 * math/w_remainderf_compat.c: Likewise.
6524 * math/w_remainderl_compat.c: Likewise.
6525 * math/w_scalb_compat.c: Likewise.
6526 * math/w_scalbf_compat.c: Likewise.
6527 * math/w_scalbl_compat.c: Likewise.
6528 * math/w_sinh_compat.c: Likewise.
6529 * math/w_sinhf_compat.c: Likewise.
6530 * math/w_sinhl_compat.c: Likewise.
6531 * math/w_sqrt_compat.c: Likewise.
6532 * math/w_sqrtf_compat.c: Likewise.
6533 * math/w_sqrtl_compat.c: Likewise.
6534 * math/w_tgamma_compat.c: Likewise.
6535 * math/w_tgammaf_compat.c: Likewise.
6536 * math/w_tgammal_compat.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6538 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6539 * sysdeps/ieee754/k_standard.c: Likewise.
6540 * sysdeps/ieee754/k_standardf.c: Likewise.
6541 * sysdeps/ieee754/k_standardl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6544 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6546 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6547 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6548 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6549 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6550 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6557 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6558 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6560 2017-08-21 Florian Weimer <fweimer@redhat.com>
6563 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
6564 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
6565 Move before inclusion of ../Rules.
6567 2017-08-21 Florian Weimer <fweimer@redhat.com>
6570 * assert/assert.h (assert): Use static_cast (bool) for C++.
6571 Use the ternary operator in the warning branch for GNU C.
6572 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
6573 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
6574 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
6575 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
6576 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
6578 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6581 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6582 (__syscall_clock_gettime): Add attribute_hidden.
6583 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
6584 (__start_context): Likewise.
6586 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6588 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6590 (hidden_proto): Likewise.
6591 (hidden_tls_proto): Likewise.
6592 (__hidden_proto): Likewise.
6594 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6596 * include/libc-symbols.h (attribute_hidden): Enable hidden
6597 visibility in libc.a compiled with PIE.
6599 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6602 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6603 Add attribute_hidden.
6605 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6608 * Makerules (all-nonlib): Add $(others-extras).
6609 * catgets/Makefile (others-extras): New.
6610 * elf/Makefile (others-extras): Likewise.
6611 * nss/Makefile (others-extras): Likewise.
6613 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6616 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6617 * elf/dl-open.c: Include <libc-internal.h>.
6618 (__libc_multiple_libcs): Removed.
6619 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6621 * include/libc-internal.h (__libc_multiple_libcs): New.
6622 * misc/sbrk.c: Include <libc-internal.h>.
6623 (__libc_multiple_libcs): Removed.
6625 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6628 * grp/initgroups.c (__nss_group_database): Removed.
6629 (__nss_initgroups_database): Likewise.
6630 * nscd/gai.c (__nss_hosts_database): Likewise.
6631 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6632 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6633 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6634 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6635 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6636 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6638 * nss/nsswitch.c (__nss_database_custom): Define only if
6639 USE_NSCD is defined.
6640 (__nss_configure_lookup): Use __nss_database_custom only if
6641 USE_NSCD is defined.
6642 * nss/nsswitch.h (__nss_database_custom): Declare only if
6643 USE_NSCD is defined. Add attribute_hidden.
6644 (__nss_setent): Add attribute_hidden.
6645 (__nss_endent): Likewise.
6646 (__nss_getent_r): Likewise.
6647 (__nss_getent): Likewise.
6648 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6650 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6653 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6654 libc_hidden_proto and libc_hidden_def.
6656 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6659 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6660 Add libc_hidden_proto.
6661 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6662 Add libc_hidden_def.
6664 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6667 * gmon/Makefile (routines): Remove bb_init_func and
6669 (elide-routines.os): Removed.
6670 * gmon/bb_exit_func.c: Likewise.
6671 * gmon/bb_init_func.c: Likewise.
6672 * include/sys/gmon.h (__bb): Likewise.
6673 (__bb_init_func): Likewise.
6674 (__bb_exit_func): Likewise.
6675 * sysdeps/alpha/bb_init_func.S: Likewise.
6677 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6679 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6680 * include/setjmp.h (____longjmp_chk): Here. Add
6683 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6686 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6688 (__strspn_sse2): Likewise.
6690 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6692 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6693 (close_not_cancel_no_status): Likewise.
6694 (__close_nocancel): New macro.
6695 (__close_nocancel_nostatus): Likewise.
6696 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6698 (close_not_cancel): Likewise.
6699 (close_not_cancel_no_status): Likewise.
6700 (__close_nocancel): New prototype.
6701 (__close_nocancel_nostatus): New function.
6702 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6703 * catgets/open_catalog.c (__open_catalog): Replace
6704 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6705 * gmon/gmon.c (write_gmon): Likewise.
6706 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6707 * intl/loadmsgcat.c (close): Likewise.
6708 * io/ftw.c (open_dir_stream): Likewise.
6709 (ftw_startup): Likewise.
6710 * libio/fileops.c (_IO_file_open): Likewise.
6711 (_IO_file_close_mmap): Likewise.
6712 (_IO_file_close): Likewise.
6713 * libio/iopopen.c (_IO_dup2): Likewise.
6714 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6715 * locale/loadlocale.c (_nl_load_locale): Likewise.
6716 * login/utmp_file.c (pututline_file): Likewise.
6717 (endutent_file): Likewise.
6718 * misc/daemon.c (daemon): Likewise.
6719 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6720 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6721 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6722 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6723 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6724 * nscd/nscd_helper.c (open_socket): Likewise.
6725 (__nscd_open_socket): Likewise.
6726 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6727 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6728 (__nscd_innetgr): Likewise.
6729 * nss/nss_db/db-open.c (internal_setent): Likewise.
6730 * resolv/res-close.c (__res_iclose): Likewise.
6731 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6732 * sysdeps/posix/closedir.c (__closedir): Likewise.
6733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6734 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6735 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6736 (opendir_tail): Likewise.
6737 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6738 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6739 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6740 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6741 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6742 (gethostid): Likewise.
6743 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6744 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6747 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6748 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6749 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6751 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6752 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6753 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6755 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6756 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6758 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6760 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6761 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6762 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6765 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6766 (openat_not_cancel_3): Likewise.
6767 (openat64_not_cancel_3): Likewise).
6768 (openat_not_cancel_3): Likewise).
6769 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6771 (openat_not_cancel_3): Likewise.
6772 (openat64_not_cancel): Likewise.
6773 (openat64_not_cancel_3): Likewise.
6774 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6775 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6776 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6777 __open{64}_nocancel.
6778 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6779 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6780 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6782 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6785 * include/argz.h (__argz_create_sep): New function prototype.
6786 (__argz_append): Likewise.
6787 (__argz_add): Likewise.
6788 (__argz_add_sep): Likewise.
6789 (__argz_delete): Likewise.
6790 (__argz_insert): Likewise.
6791 (__argz_replace): Likewise.
6792 * string/argz.h (__argz_create_sep): Removed.
6793 (__argz_append): Likewise.
6794 (__argz_add): Likewise.
6795 (__argz_add_sep): Likewise.
6796 (__argz_delete): Likewise.
6797 (__argz_insert): Likewise.
6798 (__argz_replace): Likewise.
6800 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6802 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6803 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6804 (GNU_PROPERTY_STACK_SIZE): Likewie.
6805 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6806 (GNU_PROPERTY_LOPROC): Likewise.
6807 (GNU_PROPERTY_HIPROC): Likewise.
6808 (GNU_PROPERTY_LOUSER): Likewise.
6809 (GNU_PROPERTY_HIUSER): Likewise.
6810 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6811 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6812 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6813 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6814 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6815 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6816 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6817 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6818 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6819 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6820 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6821 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6822 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6823 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6824 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6825 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6826 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6827 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6828 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6829 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6830 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6831 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6832 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6834 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6836 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6839 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6842 * math/math.h (isinf): Check if in C or C++ mode before using
6843 __builtin_types_compatible_p, since this is a C mode feature.
6845 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6847 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6848 (__write_nocancel): New macro.
6849 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6850 Rewrite as a function prototype.
6851 (write_not_cancel): Remove macro.
6852 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6853 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6854 (write_gmon): Likewise.
6855 * libio/fileops.c (_IO_new_file_write): Likewise.
6856 * login/utmp_file.c (pututline_file): Likewise.
6857 (updwtmp_file): Likewise.
6858 * stdio-common/psiginfo.c (psiginfo): Likewise.
6859 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6860 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6861 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6863 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6866 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6867 (__read_nocancel): New macro.
6868 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6870 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6872 (__read_nocancel): New prototype.
6873 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6874 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6875 with __read_nocancel.
6876 * intl/loadmsgcat.c (read): Likewise.
6877 * libio/fileops.c (_IO_file_read): Likewise.
6878 * locale/loadlocale.c (_nl_load_locale): Likewise.
6879 * login/utmp_file.c (getutent_r_file): Likewise.
6880 (internal_getut_r): Likewise.
6881 (getutline_r_file): Likewise.
6882 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6883 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6884 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6885 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6887 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6888 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6889 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6891 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6893 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6895 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6897 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6899 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6902 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6903 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6906 2017-08-17 DJ Delorie <dj@redhat.com>
6908 * bug17079.c: Update to new test harness.
6909 * test-digits-dots.c: Likewise.
6910 * test-netdb.c: Likewise.
6911 * tst-field.c: Likewise.
6912 * tst-nss-getpwent.c: Likewise.
6913 * tst-nss-static.c: Likewise.
6914 * tst-nss-test1.c: Likewise.
6915 * tst-nss-test2.c: Likewise.
6916 * tst-nss-test3.c: Likewise.
6917 * tst-nss-test4.c: Likewise.
6918 * tst-nss-test5.c: Likewise.
6920 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6922 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6923 (open_not_cancel_2): Likewise.
6924 (open_nocancel): New macro.
6925 (open64_nocancel): Likewise.
6926 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6927 (open_not_cancel_2): Likewise.
6928 (__open_nocancel): New prototype.
6929 (__open64_nocancel): Likewise.
6930 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6932 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6933 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6934 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6935 with __open_nocancel.
6936 * csu/check_fds.c (check_one_fd): Likewise.
6937 * gmon/gmon.c (write_gmon): Likewise.
6938 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6939 * intl/loadmsgcat.c (open): Likewise.
6940 * libio/fileops.c (_IO_file_open): Likewise.
6941 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6942 * locale/loadlocale.c (_nl_load_locale): Likewise.
6943 * login/utmp_file.c (setutent_file): Likewise.
6944 * misc/daemon.c (daemon): Likewise.
6945 * nss/nss_db/db-open.c (internal_setent): Likewise.
6946 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6947 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6948 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6949 (__opendir): Likewise.
6950 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6951 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6952 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6953 (gethostid): Likewise.
6954 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6955 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6958 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6959 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6960 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6962 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6964 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6966 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6968 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6970 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6972 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6973 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6975 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6977 * benchtests/bench-skeleton.c (main): Add support for
6978 latency benchmarking.
6979 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6981 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6983 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6986 2017-08-17 Florian Weimer <fweimer@redhat.com>
6988 * include/sys/socket.h (__opensock): Remove internal_function.
6989 * socket/opensock.c (__opensock): Likewise.
6990 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6992 2017-08-16 Joseph Myers <joseph@codesourcery.com>
6995 * signal/bits/types/__sigval_t.h: New file.
6996 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
6997 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
6998 and define sigval_t using __sigval_t.
6999 * include/bits/types/__sigval_t.h: New file.
7000 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
7001 instead of <bits/types/__sigval_t.h>.
7002 (struct sigevent): Use __sigval_t instead of sigval_t.
7003 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
7004 instead of <bits/types/__sigval_t.h>.
7005 (siginfo_t): Use __sigval_t instead of sigval_t.
7006 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
7007 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7008 (struct sigevent): Use __sigval_t instead of sigval_t.
7009 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
7010 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7011 (siginfo_t): Use __sigval_t instead of sigval_t.
7012 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
7014 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7016 * NEWS: Remove "[Add new features here]" for 2.27.
7018 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7020 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
7023 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7025 * NEWS: Mention x86-64 FMA optimization.
7027 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7030 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7032 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
7033 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
7034 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
7036 2017-08-16 Andreas Schwab <schwab@suse.de>
7040 * elf/ldd.bash.in: Never run file directly.
7042 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
7045 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
7046 (L(SP_INF_0)): Likewise.
7048 2017-08-15 Florian Weimer <fweimer@redhat.com>
7050 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
7053 2017-08-15 Florian Weimer <fweimer@redhat.com>
7055 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
7056 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
7057 BROKEN_THREAD_SIGNALS code.
7058 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
7059 request_list): Remove caller_pid member used for
7060 BROKEN_THREAD_SIGNALS.
7061 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
7062 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7063 Remove BROKEN_THREAD_SIGNALS support.
7064 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7065 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
7067 2017-08-15 Florian Weimer <fweimer@redhat.com>
7069 * gmon/Makefile (tests): Add tst-gmon.
7070 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
7072 (tests-special): Add tst-gmon-prof.out.
7073 (tst-gmon.out): Depend on clean-tst-gmon-data.
7074 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
7075 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
7076 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
7078 * aclocal.m4 (GPROF): Set and substitute.
7079 * config.amke.in (GPROF): Set.
7080 * configure: Regenerate.
7082 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
7084 * elf/elf.h A (NT_PPC_TAR): New macro.
7085 (NT_PPC_PPR): Likewise.
7086 (NT_PPC_DSCR): Likewise.
7087 (NT_PPC_EBB): Likewise.
7088 (NT_PPC_PMU): Likewise.
7089 (NT_PPC_TM_CGPR): Likewise.
7090 (NT_PPC_TM_CFPR): Likewise.
7091 (NT_PPC_TM_CVMX): Likewise.
7092 (NT_PPC_TM_CVSX): Likewise.
7093 (NT_PPC_TM_SPR): Likewise.
7094 (NT_PPC_TM_CTAR): Likewise.
7095 (NT_PPC_TM_CPPR): Likewise.
7096 (NT_PPC_TM_CDSCR): Likewise.
7098 2017-08-15 Florian Weimer <fweimer@redhat.com>
7100 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
7101 regparm (2) instead of internal_function.
7102 (_MCOUNT_DECL): Adjust.
7104 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
7106 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
7107 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7109 2017-08-14 Joseph Myers <joseph@codesourcery.com>
7111 * conform/data/sys/wait.h-data (si_value): Do not expect for
7114 2017-08-14 Florian Weimer <fweimer@redhat.com>
7117 NSS: Create stubs for accidentally exported lookup functions.
7118 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
7120 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
7121 (ether_hostton): Call __nss_ethers_lookup2 instead.
7122 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
7123 (ether_ntohost): Call __nss_ethers_lookup2 instead.
7124 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
7125 (setup): Call __nss_netgroup_lookup2 instead.
7126 * nss/Makefile (routines): Add compat-lookup.
7127 * nss/Versions (GLIBC_2.27): Add symbol version.
7128 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
7129 (DB_COMPAT_FCT): Remove.
7130 * nss/compat-lookup.c: New file.
7131 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
7133 * nss/service-lookup.c (NO_COMPAT): Remove definition.
7134 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
7135 (netname2user): Call __nss_publickey_lookup2 instead.
7136 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
7137 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
7140 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7141 Sergei Trofimovich <slyfox@inbox.ru>
7144 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
7145 Rename to MMAP2_PAGE_UNIT.
7146 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
7147 __OFF_T_MATCHES_OFF64_T is not defined.
7148 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
7150 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
7151 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
7153 2017-08-14 Florian Weimer <fweimer@redhat.com>
7155 i386: Do not set internal_function.
7156 * config.h.in (USE_REGPARMS, internal_function): Remove.
7157 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
7158 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
7160 2017-08-14 Florian Weimer <fweimer@redhat.com>
7162 * elf/dl-init.c (_dl_init): Remove internal_function.
7163 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
7164 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
7166 2017-08-14 Florian Weimer <fweimer@redhat.com>
7168 * elf/rtld.c (_dl_start): Remove internal_function.
7169 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
7172 2017-08-14 Florian Weimer <fweimer@redhat.com>
7174 * elf/dl-fini.c (_dl_fini): Remove internal_function
7175 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
7177 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
7179 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
7180 (bit_cpu_SHSTK): Likewise.
7181 (index_cpu_IBT): Likewise.
7182 (index_cpu_SHSTK): Likewise.
7183 (reg_IBT): Likewise.
7184 (reg_SHSTK): Likewise.
7185 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7186 Handle index_cpu_IBT and index_cpu_SHSTK.
7188 2017-08-14 Mike FABIAN <mfabian@redhat.com>
7191 * po/fr.po: Fix spelling mistake.
7193 2017-08-13 Florian Weimer <fweimer@redhat.com>
7195 * elf/dl-addr.c (_dl_addr): Remove internal_function.
7196 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
7197 (_dl_catch_error, _dl_receive_error): Likewise.
7198 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
7199 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
7200 (_dl_deallocate_tls): Likewise.
7201 * include/dlfcn.h (_dl_addr): Likewise.
7202 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
7203 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
7204 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
7207 2017-08-13 Florian Weimer <fweimer@redhat.com>
7209 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
7210 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
7212 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
7214 2017-08-13 Florian Weimer <fweimer@redhat.com>
7216 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
7218 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
7219 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
7220 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
7221 internal_function from _dl_make_stack_executable_hook member.
7222 (_dl_make_stack_executable): Remove internal_function.
7223 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
7225 * sysdeps/unix/sysv/linux/dl-execstack.c
7226 (_dl_make_stack_executable): Likewise.
7228 2017-08-13 Florian Weimer <fweimer@redhat.com>
7230 * sysdeps/unix/sysv/linux/netlinkaccess.h
7231 (__netlink_assert_response): Remove internal_function.
7232 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7233 (__netlink_assert_response): Likewise.
7235 2017-08-13 Florian Weimer <fweimer@redhat.com>
7237 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
7239 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
7241 2017-08-13 Florian Weimer <fweimer@redhat.com>
7243 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
7245 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
7246 * inet/netgroup.h (__internal_setnetgrent)
7247 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7248 * inet/getnetgrent_r.c (__internal_setnetgrent)
7249 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7250 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
7251 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
7252 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
7253 * nss/nsswitch.h (db_lookup_function): Likewise.
7255 2017-08-13 Florian Weimer <fweimer@redhat.com>
7257 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
7258 Remove internal_function.
7259 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
7260 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
7261 message argument on the stack.
7262 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
7265 2017-08-12 Mike FABIAN <mfabian@redhat.com>
7267 Adapt test case data to the changes in the thousands
7271 * localedata/tst-langinfo.sh: Adapt test case data.
7272 * stdlib/tst-strfmon_l.c: Likewise.
7273 * stdlib/tst-strtod4.c: Likewise.
7274 * stdlib/tst-strtod5i.c: Likewise.
7276 2017-08-11 Florian Weimer <fweimer@redhat.com>
7279 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
7280 Suppress pedantic warning resulting from statement expression.
7281 (__ASSERT_FUNCTION): Add missing __extension__.
7283 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7285 * benchtests/bench-memmove-large.c: Print output in JSON
7287 * benchtests/bench-memmove.c: Likewise.
7289 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
7290 * benchtests/bench-memchr.c (do_one_test): Likewise.
7291 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
7292 * benchtests/bench-memcpy.c (do_one_test): Likewise.
7293 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
7294 * benchtests/bench-memmove.c (do_one_test): Likewise.
7295 * benchtests/bench-memset-large.c (do_one_test): Likewise.
7296 * benchtests/bench-memset.c (do_one_test): Likewise.
7297 * benchtests/bench-string.h (test_init): Remove memsets.
7299 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7302 (Computing the Width of an Integer Data Type): Rename section to
7303 "Width of an Integer Type". Remove inaccurate statement regarding
7304 lack of C language facilities for determining width of integer
7305 types, and reorder content to improve flow and context of
7308 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7310 * lang.texi (va_copy): Change standard from ISO to C99.
7311 (__va_copy): Add standard and header annotation.
7312 Update description for clarity of origins and current use.
7314 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7317 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
7318 xssqrtqp requires operands to be in Vector Registers
7319 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
7320 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
7321 (__ieee754_sqrtf128): Likewise.
7323 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7325 * sysdeps/aarch64/memcmp.S (memcmp):
7326 Rewrite of optimized memcmp.
7328 2017-08-10 Florian Weimer <fweimer@redhat.com>
7330 Introduce ld.so exceptions.
7331 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
7332 (_dl_exception_create, _dl_exception_create_format)
7333 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
7334 (_dl_catch_exception): Declare.
7335 (_dl_catch_error): Update comment.
7336 * elf/dl-error-skeleton.c (struct catch): Replace objname,
7337 errstring, malloced members with exception member.
7338 (_dl_out_of_memory): Remove.
7339 (fatal_error): New function, extracted from _dl_signal_error.
7340 (_dl_signal_exception, _dl_signal_cexception): New functions.
7341 (_dl_signal_error): Call _dl_exception_create to allocate an
7343 (_dl_catch_exception): New function, based on _dl_catch_error.
7344 (_dl_catch_error): Implement using _dl_catch_exception.
7345 * elf/dl-exception.c: New file.
7346 * elf/Makefile (dl-routines): Add dl-exception.
7347 (elide-routines.os): Likewise.
7348 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
7349 _dl_exception_create_format, _dl_exception_free.
7350 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
7351 _dl_signal_exception.
7352 * elf/dl-lookup.c (make_string): Remove.
7353 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
7354 _dl_signal_cexception, _dl_exception_free.
7355 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
7356 _dl_signal_exception.
7357 * elf/dl-sym.c (do_sym): Likewise.
7358 * elf/dl-version.c (make_string): Remove.
7359 (match_symbol): Use _dl_exception_create_format,
7360 _dl_signal_cexception, _dl_exception_free.
7361 (_dl_check_map_versions): Likewise.
7362 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
7363 _dl_catch_exception.
7364 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7365 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7366 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7367 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7368 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7369 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7370 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7371 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7373 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7380 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7381 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7382 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7384 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7386 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7388 2017-08-10 Florian Weimer <fweimer@redhat.com>
7390 * inet/net-internal.h (__inet6_scopeid_pton): Remove
7391 attribute_hidden, internal_function.
7392 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
7395 2017-08-10 Florian Weimer <fweimer@redhat.com>
7397 * malloc/malloc.c (get_max_fast): Reimplement as an inline
7398 function which calls __builtin_unreachable.
7400 2017-08-10 Mike FABIAN <mfabian@redhat.com>
7402 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
7403 Indian monetary formatting
7404 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
7407 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
7409 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
7410 Fix typo in comment.
7413 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
7414 PTRACE_SEIZE_DEVEL): Remove.
7415 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
7416 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7417 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7418 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7419 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7421 2017-08-09 Joseph Myers <joseph@codesourcery.com>
7423 * posix/bits/types.h (__qaddr_t): Remove.
7426 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
7427 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7429 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
7430 (ucontext_t): Use __ctx with uc_flags.
7431 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
7433 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7435 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
7436 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7438 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
7439 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7441 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
7443 (ucontext_t): Use __ctx with uc_flags.
7444 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
7445 (ucontext_t): Use __ctx with uc_flags.
7446 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
7447 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
7448 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
7449 (ucontext_t): Use __ctx with uc_flags.
7450 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
7451 undefine further down.
7452 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7454 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
7455 undefine further down.
7456 (ucontext_t): Use __ctx with uc_flags.
7457 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
7458 undefine further down.
7459 (ucontext_t): Use __ctx with uc_flags.
7460 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
7461 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
7462 Rename uc_pad to __glibc_reserved1.
7463 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
7464 undefine further down.
7465 (ucontext_t): Use __ctx with uc_flags.
7466 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
7468 (ucontext_t): Use __ctx with uc_flags.
7469 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
7470 __ctx with uc_flags.
7471 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
7472 (ucontext_t): Use __ctx with uc_flags.
7473 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
7474 __ctx with uc_flags.
7476 2017-08-09 Florian Weimer <fweimer@redhat.com>
7479 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
7480 before early return.
7482 2017-08-09 Andreas Schwab <schwab@suse.de>
7485 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
7489 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
7490 tst-compat-forwarder.
7491 (modules-names): Add tst-compat-forwarder-mod.
7492 ($(objpfx)tst-compat-forwarder): Depend on
7493 $(objpfx)tst-compat-forwarder-mod.so.
7494 * nptl/tst-compat-forwarder.c: New file.
7495 * nptl/tst-compat-forwarder-mod.c: New file.
7497 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
7499 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
7502 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
7503 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7505 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7507 (__libc_ifunc_impl_list): Add __memcpy_falkor.
7508 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
7509 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
7510 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7512 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
7515 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7518 * manual/setjmp.texi (getcontex): Document uc_stack value
7519 compatibility differences.
7521 2017-08-08 Joseph Myers <joseph@codesourcery.com>
7523 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
7524 (old_malloc_hook): Likewise.
7525 (old_memalign_hook): Likewise.
7526 (old_realloc_hook): Likewise.
7527 (struct hdr): Likewise.
7529 (freehook): Likewise.
7530 (mallochook): Likewise.
7531 (memalignhook): Likewise.
7532 (reallochook): Likewise.
7534 * malloc/mtrace.c (mallwatch): Likewise.
7535 (tr_old_free_hook): Likewise.
7536 (tr_old_malloc_hook): Likewise.
7537 (tr_old_realloc_hook): Likewise.
7538 (tr_old_memalign_hook): Likewise.
7539 (tr_where): Likewise.
7540 (lock_and_info): Likewise.
7541 (tr_freehook): Likewise.
7542 (tr_mallochook): Likewise.
7543 (tr_reallochook): Likewise.
7544 (tr_memalignhook): Likewise.
7545 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
7546 * misc/mmap.c (__mmap): Likewise.
7547 * misc/mmap64.c (__mmap64): Likewise.
7548 * misc/mprotect.c (__mprotect): Likewise.
7549 * misc/msync.c (msync): Likewise.
7550 * misc/munmap.c (__munmap): Likewise.
7551 * posix/posix_madvise.c (posix_madvise): Likewise.
7552 * socket/send.c (__send): Likewise.
7553 * socket/sendto.c (__sendto): Likewise.
7554 * socket/setsockopt.c (__setsockopt): Likewise.
7555 * string/memcmp.c (__ptr_t): Remove macro.
7556 (MEMCMP): Use void * instead of ptr_t.
7557 * string/memrchr.c (__ptr_t): Remove macro.
7558 (__memrchr): Use void * instead of ptr_t.
7559 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
7560 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
7561 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
7562 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
7563 * sysdeps/mach/msync.c (msync): Likewise.
7564 * sysdeps/mach/munmap.c (__munmap): Likewise.
7565 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
7567 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7568 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
7569 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
7570 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
7571 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7572 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7573 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
7574 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
7576 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7577 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
7578 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
7579 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
7580 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
7581 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
7582 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
7583 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
7584 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
7586 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
7587 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
7588 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
7589 (MEMCMP): Use void * instead of ptr_t.
7590 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
7591 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7593 2017-08-08 Florian Weimer <fweimer@redhat.com>
7595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7598 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7601 * csu/libc-tls.c: Include <startup.h> first.
7602 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7603 * elf/dl-tunables.c: Include <startup.h> first.
7604 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7605 * sysdeps/generic/startup.h: New file.
7606 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7607 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7608 (I386_USE_SYSENTER): New. Defined to 0.
7610 2017-08-08 Andreas Schwab <schwab@suse.de>
7613 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7614 * nptl/pt-system.c (system): Likewise.
7616 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7619 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7621 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7622 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7623 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7624 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7625 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7626 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7627 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7629 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7632 * bits/sigaction.h (struct sigaction): Define sa_handler and
7633 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
7634 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7635 [__USE_XOPEN_EXTENDED].
7636 (SA_RESTART): Likewise.
7637 (SA_NODEFER): Likewise.
7638 (SA_RESETHAND): Likewise.
7639 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
7640 (struct sigaction): Define sa_handler and sa_sigaction using union
7641 also for [__USE_XOPEN_EXTENDED].
7642 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7643 [__USE_XOPEN_EXTENDED].
7644 (SA_RESTART): Likewise.
7645 (SA_NODEFER): Likewise.
7646 (SA_RESETHAND): Likewise.
7647 * sysdeps/unix/sysv/linux/bits/sigaction.h
7648 (struct sigaction): Define sa_handler and sa_sigaction using union
7649 also for [__USE_XOPEN_EXTENDED].
7650 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7651 [__USE_XOPEN_EXTENDED].
7652 (SA_RESTART): Likewise.
7653 (SA_NODEFER): Likewise.
7654 (SA_RESETHAND): Likewise.
7655 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7656 (struct sigaction): Define sa_handler and sa_sigaction using union
7657 also for [__USE_XOPEN_EXTENDED].
7658 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7659 [__USE_XOPEN_EXTENDED].
7660 (SA_RESTART): Likewise.
7661 (SA_NODEFER): Likewise.
7662 (SA_RESETHAND): Likewise.
7663 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7664 (struct sigaction): Define sa_handler and sa_sigaction using union
7665 also for [__USE_XOPEN_EXTENDED].
7666 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7667 [__USE_XOPEN_EXTENDED].
7668 (SA_RESTART): Likewise.
7669 (SA_NODEFER): Likewise.
7670 (SA_RESETHAND): Likewise.
7671 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7672 (struct sigaction): Define sa_handler and sa_sigaction using union
7673 also for [__USE_XOPEN_EXTENDED].
7674 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7675 [__USE_XOPEN_EXTENDED].
7676 (SA_RESTART): Likewise.
7677 (SA_NODEFER): Likewise.
7678 (SA_RESETHAND): Likewise.
7679 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7680 (struct sigaction): Define sa_handler and sa_sigaction using union
7681 also for [__USE_XOPEN_EXTENDED].
7682 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7683 [__USE_XOPEN_EXTENDED].
7684 (SA_RESTART): Likewise.
7685 (SA_NODEFER): Likewise.
7686 (SA_RESETHAND): Likewise.
7687 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7688 (struct sigaction): Define sa_handler and sa_sigaction using union
7689 also for [__USE_XOPEN_EXTENDED].
7690 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7691 [__USE_XOPEN_EXTENDED].
7692 (SA_RESTART): Likewise.
7693 (SA_NODEFER): Likewise. Define directly rather than as alias.
7694 (SA_RESETHAND): Likewise.
7695 (SA_INTERRUPT): Define only for [__USE_MISC].
7696 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7697 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7699 (SA_STACK): Define only for [__USE_MISC].
7700 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7701 (struct sigaction): Define sa_handler and sa_sigaction using union
7702 also for [__USE_XOPEN_EXTENDED].
7703 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7704 [__USE_XOPEN_EXTENDED].
7705 (SA_RESTART): Likewise.
7706 (SA_NODEFER): Likewise.
7707 (SA_RESETHAND): Likewise.
7708 (SA_NOPTRACE): Define only for [__USE_MISC].
7710 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7711 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7712 (struct catalog_info): Likewise.
7713 * inet/htontest.c (lo): Likewise.
7715 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7716 * inet/inet_net.c (inet_network): Likewise.
7717 * inet/inet_netof.c (inet_netof): Likewise.
7718 * inet/rcmd.c (__ivaliduser): Likewise.
7719 (iruserok): Likewise.
7720 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7721 * locale/programs/locale-spec.c (locale_special): Likewise.
7722 * nis/nis_findserv.c (struct findserv_req): Likewise.
7723 (__nis_findfastest_with_timeout): Likewise.
7724 * nss/test-netdb.c (test_network): Likewise.
7725 * resolv/inet_neta.c (inet_neta): Likewise.
7726 * resolv/ns_date.c (ns_datetosecs): Likewise.
7727 (SECS_PER_DAY): Likewise.
7728 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7730 * resolv/res_comp.c (__putlong): Likewise.
7731 (__putshort): Likewise.
7732 (_getlong): Likewise.
7733 (_getshort): Likewise.
7734 * resolv/res_debug.c (p_time): Likewise.
7735 (precsize_ntoa): Likewise.
7736 (precsize_aton): Likewise.
7737 (latlon2ul): Likewise.
7738 (loc_aton): Likewise.
7739 (loc_ntoa): Likewise.
7740 * resolv/res_hconf.c (struct netaddr): Likewise.
7741 (_res_hconf_reorder_addrs): Likewise.
7742 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7743 (clnttcp_control): Likewise.
7744 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7745 (clntudp_control): Likewise.
7746 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7747 (clntunix_control): Likewise.
7748 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7749 * sunrpc/rpc/auth.h (union des_block): Likewise.
7750 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7751 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7752 (xdrrec_create): Likewise.
7753 (xdrrec_endofrecord): Likewise.
7754 (flush_out): Likewise.
7755 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7756 (xdrstdio_putlong): Likewise.
7757 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7760 * misc/sys/cdefs.h (__long_double_t): Remove.
7761 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7762 instead of __long_double_t,
7763 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7765 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7767 * benchtests/scripts/compare_strings.py: Avoid display error when
7768 running on a text terminal.
7770 * benchtests/scripts/compare_strings.py (main): Add an
7771 optional -base option.
7772 (process_results): New argument base_func.
7774 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7776 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7777 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7779 2017-08-07 Andreas Schwab <schwab@suse.de>
7781 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7783 * intl/Makefile ($(objpfx)tst-gettext.out)
7784 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7785 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7786 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7787 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7788 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7789 * posix/Makefile ($(objpfx)globtest.out)
7790 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7791 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7792 ($(objpfx)tst-printf.out): Likewise.
7793 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7794 ($(objpfx)tst-setcontext3.out): Likewise.
7796 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7798 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7799 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7800 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7801 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7802 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7804 (CFLAGS-doasin-fma.c): New.
7805 (CFLAGS-dosincos-fma.c): Likewise.
7806 (CFLAGS-e_asin-fma.c): Likewise.
7807 (CFLAGS-e_atan2-fma.c): Likewise.
7808 (CFLAGS-e_exp-fma.c): Likewise.
7809 (CFLAGS-e_log-fma.c): Likewise.
7810 (CFLAGS-e_pow-fma.c): Likewise.
7811 (CFLAGS-halfulp-fma.c): Likewise.
7812 (CFLAGS-mpa-fma.c): Likewise.
7813 (CFLAGS-mpatan-fma.c): Likewise.
7814 (CFLAGS-mpatan2-fma.c): Likewise.
7815 (CFLAGS-mpexp-fma.c): Likewise.
7816 (CFLAGS-mplog-fma.c): Likewise.
7817 (CFLAGS-mpsqrt-fma.c): Likewise.
7818 (CFLAGS-mptan-fma.c): Likewise.
7819 (CFLAGS-s_atan-fma.c): Likewise.
7820 (CFLAGS-sincos32-fma.c): Likewise.
7821 (CFLAGS-slowexp-fma.c): Likewise.
7822 (CFLAGS-slowpow-fma.c): Likewise.
7823 (CFLAGS-s_sin-fma.c): Likewise.
7824 (CFLAGS-s_tan-fma.c): Likewise.
7825 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7826 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7827 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7828 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7829 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7830 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7831 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7832 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7833 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7834 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7835 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7836 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7837 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7838 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7839 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7840 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7841 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7842 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7843 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7844 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7845 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7846 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7847 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7848 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7849 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7850 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7851 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7852 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7853 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7857 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7859 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7860 (min_of_type_f): New macro.
7861 (min_of_type_): Likewise.
7862 (min_of_type_l): Likewise.
7863 (min_of_type_f128): Likewise.
7864 (min_of_type): Define using __MATH_TG and taking an expression
7866 (math_check_force_underflow): Pass expression instead of type to
7868 (math_check_force_underflow_nonneg): Likewise.
7870 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7872 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7873 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7874 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7876 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7879 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7880 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7881 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7882 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7883 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7884 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7885 memmove_chk-nonshared and memset_chk-nonshared
7886 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7887 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7888 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7889 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7890 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7891 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7892 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7893 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7894 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7895 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7896 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7897 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7898 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7899 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7900 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7901 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7902 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7903 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7904 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7905 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7906 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7907 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7908 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7909 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7910 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7911 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7912 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7913 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7914 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7915 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7916 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7917 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7918 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7919 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7920 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7921 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7922 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7923 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7924 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7925 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7926 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7927 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7928 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7929 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7930 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7931 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7932 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7933 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7934 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7935 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7936 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7937 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7938 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7939 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7940 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7941 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7942 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7943 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7944 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7945 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7946 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7947 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7948 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7949 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7950 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7951 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7952 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7953 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7954 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7955 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7956 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7957 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7958 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7959 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7960 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7961 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7962 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7963 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7964 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7965 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7966 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7967 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7968 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7969 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7970 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7971 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7972 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7973 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7974 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7975 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7976 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7977 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7978 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7979 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7980 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7981 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7982 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7983 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7984 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7985 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7986 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7987 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7988 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7989 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7990 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7991 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7992 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7993 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7995 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7997 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
7998 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
7999 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
8000 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
8001 svml_d_log2_core-sse2, svml_d_log4_core-sse,
8002 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
8003 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
8004 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
8005 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
8006 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
8007 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
8008 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
8009 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
8010 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
8011 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
8012 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
8013 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
8014 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
8015 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
8016 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
8017 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
8018 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
8019 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
8020 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
8021 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
8022 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
8023 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
8024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
8025 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
8026 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
8027 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
8028 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
8029 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
8030 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
8031 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
8032 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
8033 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
8034 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
8035 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
8036 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
8037 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
8038 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
8039 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
8040 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
8041 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
8042 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
8043 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
8044 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
8045 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
8046 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
8047 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
8048 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
8049 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
8050 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
8051 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
8052 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
8053 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
8054 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
8055 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
8057 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
8058 Don't include <sysdep.h> nor <init-arch.h>.
8059 (_ZGVbN2v_cos): Removed.
8060 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
8062 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
8063 Don't include <sysdep.h> nor <init-arch.h>.
8064 (_ZGVdN4v_cos): Removed.
8065 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
8067 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
8068 Don't include <sysdep.h> nor <init-arch.h>.
8069 (_ZGVeN8v_cos): Removed.
8070 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
8072 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
8073 Don't include <sysdep.h> nor <init-arch.h>.
8074 (_ZGVbN2v_exp): Removed.
8075 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
8077 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
8078 Don't include <sysdep.h> nor <init-arch.h>.
8079 (_ZGVdN4v_exp): Removed.
8080 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
8082 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
8083 Don't include <sysdep.h> nor <init-arch.h>.
8084 (_ZGVeN8v_exp): Removed.
8085 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
8087 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
8088 Don't include <sysdep.h> nor <init-arch.h>.
8089 (_ZGVbN2v_log): Removed.
8090 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
8092 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
8093 Don't include <sysdep.h> nor <init-arch.h>.
8094 (_ZGVdN4v_log): Removed.
8095 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
8097 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
8098 Don't include <sysdep.h> nor <init-arch.h>.
8099 (_ZGVeN8v_log): Removed.
8100 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
8102 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
8103 Don't include <sysdep.h> nor <init-arch.h>.
8104 (_ZGVbN2vv_pow): Removed.
8105 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
8107 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
8108 Don't include <sysdep.h> nor <init-arch.h>.
8109 (_ZGVdN4vv_pow): Removed.
8110 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
8112 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
8113 Don't include <sysdep.h> nor <init-arch.h>.
8114 (_ZGVeN8vv_pow): Removed.
8115 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
8117 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
8118 Don't include <sysdep.h> nor <init-arch.h>.
8119 (_ZGVbN2v_sin): Removed.
8120 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
8122 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
8123 Don't include <sysdep.h> nor <init-arch.h>.
8124 (_ZGVbN4v_sin): Removed.
8125 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
8127 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
8128 Don't include <sysdep.h> nor <init-arch.h>.
8129 (_ZGVbN8v_sin): Removed.
8130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
8132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
8133 Don't include <sysdep.h> nor <init-arch.h>.
8134 (_ZGVbN2vvv_sincos): Removed.
8135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
8137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
8138 Don't include <sysdep.h> nor <init-arch.h>.
8139 (_ZGVdN4vvv_sincos): Removed.
8140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
8142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
8143 Don't include <sysdep.h> nor <init-arch.h>.
8144 (_ZGVeN8vvv_sincos): Removed.
8145 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
8147 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
8148 Don't include <sysdep.h> nor <init-arch.h>.
8149 (_ZGVeN16v_cosf): Removed.
8150 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
8152 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
8153 Don't include <sysdep.h> nor <init-arch.h>.
8154 (_ZGVbN4v_cosf): Removed.
8155 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
8157 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
8158 Don't include <sysdep.h> nor <init-arch.h>.
8159 (_ZGVdN8v_cosf): Removed.
8160 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
8162 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
8163 Don't include <sysdep.h> nor <init-arch.h>.
8164 (_ZGVeN16v_expf): Removed.
8165 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
8167 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
8168 Don't include <sysdep.h> nor <init-arch.h>.
8169 (_ZGVbN4v_expf): Removed.
8170 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
8172 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
8173 Don't include <sysdep.h> nor <init-arch.h>.
8174 (_ZGVdN8v_expf): Removed.
8175 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
8177 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
8178 Don't include <sysdep.h> nor <init-arch.h>.
8179 (_ZGVeN16v_logf): Removed.
8180 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
8182 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
8183 Don't include <sysdep.h> nor <init-arch.h>.
8184 (_ZGVbN4v_logf): Removed.
8185 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
8187 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
8188 Don't include <sysdep.h> nor <init-arch.h>.
8189 (_ZGVdN8v_logf): Removed.
8190 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
8192 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
8193 Don't include <sysdep.h> nor <init-arch.h>.
8194 (_ZGVeN16vv_powf): Removed.
8195 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
8197 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
8198 Don't include <sysdep.h> nor <init-arch.h>.
8199 (_ZGVbN4vv_powf): Removed.
8200 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
8202 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
8203 Don't include <sysdep.h> nor <init-arch.h>.
8204 (_ZGVdN8vv_powf): Removed.
8205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
8207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
8208 Don't include <sysdep.h> nor <init-arch.h>.
8209 (_ZGVeN16vvv_sincosf): Removed.
8210 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
8212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
8213 Don't include <sysdep.h> nor <init-arch.h>.
8214 (_ZGVbN4vvv_sincosf): Removed.
8215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
8217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
8218 Don't include <sysdep.h> nor <init-arch.h>.
8219 (_ZGVdN8vvv_sincosf): Removed.
8220 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
8222 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
8223 Don't include <sysdep.h> nor <init-arch.h>.
8224 (_ZGVeN16v_sinf): Removed.
8225 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
8227 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
8228 Don't include <sysdep.h> nor <init-arch.h>.
8229 (_ZGVbN4v_sinf): Removed.
8230 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
8232 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
8233 Don't include <sysdep.h> nor <init-arch.h>.
8234 (_ZGVdN8v_sinf): Removed.
8236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8238 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8239 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
8240 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
8241 s_rint-sse4_1 and s_rintf-sse4_1.
8242 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
8243 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8244 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8245 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8246 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8247 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
8248 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
8249 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8250 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8251 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
8252 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
8253 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8255 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
8256 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
8257 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8259 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
8260 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
8261 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8263 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
8264 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
8265 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8266 (__floorf): Removed.
8267 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
8268 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
8269 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8270 (__nearbyint): Removed.
8271 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
8272 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
8273 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8274 (__nearbyintf): Removed.
8275 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
8276 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
8277 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8279 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
8280 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
8281 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8284 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8286 * sysdeps/i386/start.S (_start): Check Check PIC instead of
8287 SHARED. Avoid dynamic relocation against main in static PIE.
8289 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8292 * elf/Makefile (CFLAGS-tst-prelink.c): New.
8293 (LDFLAGS-tst-prelink): Likewise.
8295 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8297 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
8298 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
8299 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
8300 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8301 (INTERNAL_SYSCALL_NCS): Likewise.
8302 (LOADARGS_1): Likewise.
8303 (LOADARGS_5): Likewise.
8304 (RESTOREARGS_1): Likewise.
8305 (RESTOREARGS_5): Likewise.
8307 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8309 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
8310 (MEMPCPY_SYMBOL): Likewise.
8311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8312 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
8313 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
8315 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8316 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8318 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
8319 (__hidden_ver1): Don't use in libc.a.
8320 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8321 (__mempcpy): Don't create a weak alias in libc.a.
8322 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
8324 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
8325 (__hidden_ver1): Don't use in libc.a.
8327 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8329 * config.make.in (have-insert): New.
8330 * configure.ac (libc_cv_insert): New. Set to yes if linker
8331 supports INSERT in linker script.
8332 (AC_SUBST(libc_cv_insert): New.
8333 * configure: Regenerated.
8334 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
8335 if $(have-insert) == yes.
8337 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8339 * elf/Makefile (tests): Add vismain only if
8340 $(have-protected-data) == yes.
8341 (tests-pie): Likewise.
8343 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8346 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8347 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
8349 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8352 * sysdeps/i386/i586/memset.S
8353 (__memset_zero_constant_len_parameter): Removed.
8354 * sysdeps/i386/i686/memset.S
8355 (__memset_zero_constant_len_parameter): Likewise.
8356 * sysdeps/i386/i686/multiarch/memset_chk.S
8357 (__memset_zero_constant_len_parameter): Likewise.
8358 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
8361 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8363 * stdlib/getentropy.c (getentropy): Change return type to int.
8365 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8367 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8369 2017-08-03 Joseph Myers <joseph@codesourcery.com>
8371 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
8373 * math/s_nexttowardf.c (__nexttowardf): Likewise.
8374 * sysdeps/generic/math_private.h (ieee_double_shape_type):
8376 (ieee_float_shape_type): Likewise.
8377 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
8378 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
8379 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8380 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8381 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8382 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
8383 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
8384 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8385 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8387 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8388 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8389 (__ieee754_yn): Likewise.
8390 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8391 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8392 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
8394 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8395 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
8396 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
8397 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
8399 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8400 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
8401 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
8402 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
8403 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
8404 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
8406 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8407 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
8408 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8409 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
8410 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8411 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
8412 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
8413 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
8414 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
8415 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8416 (__issignaling): Likewise.
8417 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
8418 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
8419 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8421 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8422 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8423 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
8424 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
8426 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
8428 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
8429 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
8430 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
8431 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8432 (__erfcf): Likewise.
8433 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8434 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8435 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
8436 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
8438 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
8439 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
8441 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8442 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
8443 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8444 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
8445 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
8446 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8447 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
8448 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
8450 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
8452 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8454 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
8455 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8457 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8459 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8460 (__ieee754_ynl): Likewise.
8461 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8462 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
8464 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
8466 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8467 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
8468 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8470 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8471 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
8472 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
8473 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
8474 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
8475 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8476 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
8477 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
8479 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8480 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
8481 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
8483 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
8484 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
8485 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8486 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8487 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
8488 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8490 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8492 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8494 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8496 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
8497 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8498 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8499 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
8500 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8501 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
8504 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8507 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8509 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8510 (__ieee754_remainderl): Likewise.
8511 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8512 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8513 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8514 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8516 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8519 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8520 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
8521 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8522 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8523 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8524 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8526 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8527 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
8528 (__ieee754_y0l): Likewise.
8531 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8532 (__ieee754_y1l): Likewise.
8535 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8536 (__ieee754_ynl): Likewise.
8537 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8538 (__ieee754_lgammal_r): Likewise.
8539 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
8541 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8542 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
8543 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8544 (__erfcl): Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
8548 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
8549 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
8550 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
8552 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
8553 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8554 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8556 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
8557 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8558 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
8559 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
8560 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8562 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
8563 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
8565 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
8566 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
8567 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
8568 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8569 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8571 2017-08-03 Florian Weimer <fweimer@redhat.com>
8574 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
8575 on memory allocation failure.
8577 2017-08-03 Alan Modra <amodra@gmail.com>
8579 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
8580 tst-tlsopt-powerpc.c with function name change and no test harness.
8581 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
8582 Call tls_get_addr_opt_test.
8583 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
8584 (modules-names): Add mod-tlsopt-powerpc.
8585 (mod-tlsopt-powerpc.so-no-z-defs): Define.
8586 (tst-tlsopt-powerpc): Depend on .so.
8587 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
8588 define. Expand use in TLS_GD and TLS_LD.
8590 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8592 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8594 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8596 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8599 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8600 comparing size with that of double.
8601 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8602 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8603 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8604 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8605 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8606 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8607 unsigned __int128 types.
8609 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8611 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8612 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8613 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8614 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8615 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8617 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8619 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8621 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8623 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8625 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8626 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8628 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8629 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8630 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8631 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8633 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8636 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8637 bit-field expressions passed to sizeof or typeof.
8638 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8639 (__TGMATH_F128): Likewise.
8640 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8641 (__TGMATH_CF128): Likewise.
8642 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8643 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8644 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8645 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8646 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8647 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8648 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8649 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8650 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8651 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8652 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8653 (__TGMATH_UNARY_IMAG): Likewise.
8654 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8655 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8656 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8658 (define_vars_for_type): Handle bit_field type specially.
8659 (Tests.__init__): Declare structure with bit-field element.
8661 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8664 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8665 (MEMCPY_CHK): Define only if SHARED is defined.
8666 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
8668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
8671 See ChangeLog.18 for earlier changes.