1 2017-10-25 Mike FABIAN <mfabian@redhat.com>
3 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
4 instead of using English.
6 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
9 by including the first letters of nostr and yesexpr in the regexp.
10 Also make it more readable by using ASCII where possible.
12 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
15 the first letter of nostr in the regexp. It agrees with CLDR now.
16 Also make it more readable by using ASCII where possible.
18 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
21 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22 these strings contain a U+17D6 (which somewhat looks like a colon)
23 instead of a real colon to separate the full words for “yes”
24 and “no” from the single letter responses.
26 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29 it agree with CLDR (include the first letter of yesstr).
30 Also make it more readable by using ASCII where possible.
32 2017-10-24 Mike FABIAN <mfabian@redhat.com>
34 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
35 and improve yesexpr and noexpr. The yesstr and nostr apparently
36 came from CLDR. And CLDR has a bug there: these strings contain
37 a U+0903 (which looks like a colon) instead of a real colon
38 to separate the full words for “yes” and “no” from the single
41 2017-10-24 Mike FABIAN <mfabian@redhat.com>
43 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
44 letters of the full yesstr and nostr in yesexpr and noexpr.
46 2017-10-24 Mike FABIAN <mfabian@redhat.com>
48 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
49 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
50 * localedata/locales/an_ES: Make source more readable by using ASCII
53 2017-10-24 Mike FABIAN <mfabian@redhat.com>
56 * localedata/locales/yuw_PG: New file.
57 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
58 * locale/iso-639.def: Add Yau (Uruwa).
60 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
62 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
64 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
66 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
67 (__libc_realloc): Likewise.
68 (_mid_memalign): Likewise.
69 (__libc_calloc): Likewise.
71 2017-10-23 Mike FABIAN <mfabian@redhat.com>
73 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
74 by adding the generic +1 and -0 as in all other locales.
75 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
76 day names and make it more readable by using ASCII where possible.
78 2017-10-24 Joseph Myers <joseph@codesourcery.com>
80 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
81 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
83 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
85 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
86 WNOHANG in waitpid call.
88 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
90 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
91 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
93 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
94 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
95 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
96 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
97 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
98 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
99 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
100 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
103 2017-10-23 Michael Collison <michael.collison@arm.com>
105 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
107 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
108 with __builtin_sqrtf.
109 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
111 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
112 with __builtin_ceilf.
113 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
114 with __builtin_floor.
115 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
116 with __builtin_floorf.
117 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
119 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
121 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
123 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
124 with __builtin_fmaxf.
125 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
127 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
128 with __builtin_fminf.
129 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
130 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
131 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
132 with builtin_rint and conversion to int.
133 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
134 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
135 with builtin_llround.
136 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
137 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
138 with builtin_rint and conversion to long int.
139 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
140 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
142 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
143 with builtin_lroundf.
144 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
145 statements with __builtin_nearbyint.
146 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
147 statements with __builtin_nearbyintf.
148 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
150 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
151 with __builtin_rintf.
152 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
153 with __builtin_round.
154 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
155 with __builtin_roundf.
156 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
157 with __builtin_trunc.
158 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
159 with __builtin_truncf.
160 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
161 and s_l[l]round[f].c too.
163 2017-10-23 Alan Modra <amodra@gmail.com>
165 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
166 Adjust stack after restoring regs. Add missing LR cfi_restore.
168 2017-10-23 Alan Modra <amodra@gmail.com>
170 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
171 Move LR save and frame setup/teardown and LR restore to
172 immediately around memset call. Provide cfi.
174 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
176 * sysdeps/i386/fpu/e_powf.S: Removed.
177 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
178 * sysdeps/i386/fpu/w_powf.c: Likewise.
179 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
180 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
181 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
183 (CFLAGS-e_powf-sse2.c): New.
184 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
185 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
187 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
189 * sysdeps/i386/fpu/e_log2f.S: Removed.
190 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
191 * sysdeps/i386/fpu/w_log2f.c: Likewise.
192 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
193 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
194 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
196 (CFLAGS-e_log2f-sse2.c): New.
197 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
198 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
200 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
202 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
204 (CFLAGS-e_powf-fma.c): New.
205 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
206 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
208 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
210 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
212 (CFLAGS-e_log2f-fma.c): New.
213 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
214 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
216 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
218 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
220 (CFLAGS-e_logf-fma.c): New.
221 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
222 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
224 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
226 * sysdeps/i386/fpu/e_logf.S: Removed.
227 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
228 * sysdeps/i386/fpu/w_logf.c: Likewise.
229 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
230 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
231 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
232 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
234 (CFLAGS-e_logf-sse2.c): New.
235 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
236 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
238 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
240 * sysdeps/i386/fpu/e_exp2f.S: Removed.
241 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
242 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
243 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
244 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
246 (CFLAGS-e_exp2f-sse2.c): New.
247 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
248 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
250 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
252 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
254 (CFLAGS-e_exp2f-fma.c): New.
255 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
256 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
258 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
260 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
261 * sysdeps/i386/fpu/e_expf.S: Likewise.
262 * sysdeps/i386/fpu/math_errf.c: Likewise.
263 * sysdeps/i386/fpu/w_expf.c: Likewise.
264 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
265 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
266 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
267 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
268 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
269 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
271 (CFLAGS-e_expf-sse2.c): New.
272 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
273 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
275 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
277 * sysdeps/x86_64/fpu/e_expf.S: Removed.
278 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
279 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
280 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
282 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
284 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
285 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
287 (__redirect_expf): This.
288 (SYMBOL_NAME): Changed to expf.
289 (__ieee754_expf): Renamed to ...
292 (__ieee754_expf): Add strong_alias.
293 (__expf_finite): Likewise.
295 Include <sysdeps/ieee754/flt-32/e_expf.c>.
297 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
300 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
303 2017-10-21 Florian Weimer <fweimer@redhat.com>
305 * posix/Makefile (tests): Add tst-glob-tilde.
306 (tests-special): Add tst-glob-tilde-mem.out
307 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
308 (tst-glob-tilde-mem.out): Add mtrace check.
309 * posix/tst-glob-tilde.c: New file.
311 2017-10-20 Joseph Myers <joseph@codesourcery.com>
313 * bits/floatn-common.h: New file.
314 * math/Makefile (headers): Add bits/floatn-common.h.
315 * bits/floatn.h: Include <bits/floatn-common.h>.
316 * sysdeps/ia64/bits/floatn.h: Likewise.
317 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
318 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
319 * sysdeps/powerpc/bits/floatn.h: Likewise.
320 * sysdeps/x86/bits/floatn.h: Likewise.
322 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
324 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
325 indicates whether compiler emits an warning for alias for
326 functions with incompatible types.
329 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
330 the auxiliary process is terminated by a signal before calling _exit
333 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
336 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
338 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
339 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
340 and bit_arch_XSAVEC_Usable if needed.
341 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
342 and bit_arch_Use_dl_runtime_resolve_opt.
343 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
345 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
346 (bit_arch_Prefer_No_AVX512): Updated.
347 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
348 (bit_arch_XSAVEC_Usable): New.
349 (STATE_SAVE_OFFSET): Likewise.
350 (STATE_SAVE_MASK): Likewise.
351 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
352 (cpu_features): Add xsave_state_size and xsave_state_full_size.
353 (index_arch_Use_dl_runtime_resolve_opt): Removed.
354 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
355 (index_arch_XSAVEC_Usable): New.
356 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
357 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
358 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
360 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
361 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
362 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
363 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
364 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
365 _dl_runtime_resolve_xsavec.
366 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
368 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
370 (REGISTER_SAVE_BND0): Removed.
371 (REGISTER_SAVE_BND1): Likewise.
372 (REGISTER_SAVE_BND3): Likewise.
373 (REGISTER_SAVE_RAX): Always defined to 0.
375 (_dl_runtime_resolve_avx): Likewise.
376 (_dl_runtime_resolve_avx_slow): Likewise.
377 (_dl_runtime_resolve_avx_opt): Likewise.
378 (_dl_runtime_resolve_avx512): Likewise.
379 (_dl_runtime_resolve_avx512_opt): Likewise.
380 (_dl_runtime_resolve_sse): Likewise.
381 (_dl_runtime_resolve_sse_vex): Likewise.
383 (_dl_runtime_resolve_fxsave): Likewise.
384 (USE_XSAVE): Likewise.
385 (_dl_runtime_resolve_xsave): Likewise.
386 (USE_XSAVEC): Likewise.
387 (_dl_runtime_resolve_xsavec): Likewise.
388 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
390 (_dl_runtime_resolve_avx512_opt): Likewise.
391 (_dl_runtime_resolve_avx): Likewise.
392 (_dl_runtime_resolve_avx_opt): Likewise.
393 (_dl_runtime_resolve_sse): Likewise.
394 (_dl_runtime_resolve_sse_vex): Likewise.
395 (_dl_runtime_resolve_fxsave): New.
396 (_dl_runtime_resolve_xsave): Likewise.
397 (_dl_runtime_resolve_xsavec): Likewise.
399 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
403 * posix/glob.c (__glob): Fix one-byte overflow.
405 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
407 * malloc/malloc.c (sysdep-cancel.h): Add include.
409 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
411 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
413 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
415 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
416 (tests): Remove $(objpfx)ga_test depdendency.
417 * resolv/ga_test.c: Remove file.
419 2017-10-20 Mike FABIAN <mfabian@redhat.com>
422 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
423 * localedata/locales/kab_DZ: New file.
425 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
427 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
428 _dl_relocate_static_pie instead of _dl_start to compute load
429 address in static PIE.
431 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
433 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
435 2017-10-20 Mike FABIAN <mfabian@redhat.com>
438 * localedata/SUPPORTED: Add shn_MM/UTF-8.
439 * localedata/locales/shn_MM: New file.
441 2017-10-20 Florian Weimer <fweimer@redhat.com>
444 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
445 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
446 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
447 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
448 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
449 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
451 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
453 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
455 2017-10-19 Joseph Myers <joseph@codesourcery.com>
457 * sysdeps/mips/ieee754/bits/floatn.h: New file.
460 * sysdeps/mips/bits/long-double.h: Move to ....
461 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
463 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
465 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
467 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
468 H.J. Lu <hongjiu.lu@intel.com>
471 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
472 GLRO(dl_platform) to NULL.
473 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
474 (modules-names): Add tst-platformmod-1 and
475 x86_64/tst-platformmod-2.
476 (CFLAGS-tst-platform-1.c): New.
477 (CFLAGS-tst-platformmod-1.c): Likewise.
478 (CFLAGS-tst-platformmod-2.c): Likewise.
479 (LDFLAGS-tst-platformmod-2.so): Likewise.
480 ($(objpfx)tst-platform-1): Likewise.
481 ($(objpfx)tst-platform-1.out): Likewise.
482 (tst-platform-1-ENV): Likewise.
483 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
484 * sysdeps/x86_64/tst-platform-1.c: New file.
485 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
486 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
488 2017-10-19 Mike FABIAN <mfabian@redhat.com>
491 * locale/iso-639.def: Add Karbi.
492 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
493 * localedata/locales/mjw_IN: New file.
495 2017-10-18 Joseph Myers <joseph@codesourcery.com>
497 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
498 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
499 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
500 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
501 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
502 (libm_alias_ldouble_other_r): Also create _Float128 alias.
503 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
505 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
506 (libm_alias_ldouble_other_r): Also create _Float128 alias.
507 * manual/math.texi (Mathematics): Document additional architecture
508 support for _Float128.
509 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
510 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
511 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
512 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
513 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
514 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
515 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
516 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
517 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
518 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
519 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
520 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
521 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
522 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
523 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
525 2017-10-18 Renlin Li <renlin.li@arm.com>
527 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
528 _DYNAMIC symbol to calculate load address.
530 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
532 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
533 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
535 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
536 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
538 2017-10-18 Mike FABIAN <mfabian@redhat.com>
541 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
542 and improve readability by using more ASCII.
543 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
544 and improve readability by using more ASCII.
546 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
548 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
549 not all targets support atomics on bool.
551 2017-10-17 Joseph Myers <joseph@codesourcery.com>
553 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
554 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
556 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
557 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
558 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
559 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
560 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
561 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
563 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
565 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
568 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
571 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
572 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
573 (do_check_remalloced_chunk): Fix build bug.
574 (do_check_malloc_state): Add assert that checks arena->top.
575 (malloc_consolidate): Remove initialization.
576 (int_mallinfo): Remove call to malloc_consolidate.
577 (__libc_mallopt): Clarify why malloc_consolidate is needed.
579 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
581 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
582 (have_fastchunks): Remove.
583 (clear_fastchunks): Remove.
584 (set_fastchunks): Remove.
585 (malloc_state): Add have_fastchunks.
586 (malloc_init_state): Use have_fastchunks.
587 (do_check_malloc_state): Remove incorrect invariant checks.
588 (_int_malloc): Use have_fastchunks.
589 (_int_free): Likewise.
590 (malloc_consolidate): Likewise.
592 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
594 * malloc/malloc.c (tcache_put): Inline.
595 (tcache_get): Inline.
597 2017-10-17 Jordi Mallach <jordi@gnu.org>
599 Aurelien Jarno <aurelien@aurel32.net>
601 * localedata/locales/ca_ES@valencia: New file.
602 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
604 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
607 * math/math.h: Let signbit use the builtin in C++ mode with gcc
610 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
612 * scripts/build-many-glibcs.py (Context.add_all_configs):
613 Add arm-linux-gnueabihf multiarch extra_glibcs.
615 * sysdeps/generic/ifunc-init.h: New file.
616 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
618 2017-10-17 Mike FABIAN <mfabian@redhat.com>
621 * localedata/locales/el_GR: Set n_cs_precedes to 0.
622 * localedata/locales/el_CY: copy "el_GR" because it is identical.
623 * stdlib/tst-strfmon_l.c: adapt test case.
625 2017-10-16 Joseph Myers <joseph@codesourcery.com>
627 * sysdeps/generic/float128-abi.h: New file.
628 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
629 non-__prefixed symbols to ....
630 * math/Versions: ... here. Include <float128-abi.h>.
631 * stdlib/Versions ... and here. Include <float128-abi.h>
633 2017-10-16 Florian Weimer <fweimer@redhat.com>
635 * version.h (VERSION): Switch to ".9000" as the development
638 2017-10-16 Florian Weimer <fweimer@redhat.com>
641 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
642 compat_symbol_reference to access non-default version.
644 2017-10-16 Florian Weimer <fweimer@redhat.com>
646 * malloc/Makefile (others-extras): Set to mcheck-init.o.
648 2017-10-16 Carlos O'Donell <carlos@redhat.com>
650 * include/shlib-compat.h (compat_symbol_reference): Update
653 2017-10-16 Joseph Myers <joseph@codesourcery.com>
655 * math/Makefile (test-types): Add
656 $(type-float128-$(float128-alias-fcts)).
657 * math/test-float128.h (TYPE_STR): Define conditional on
658 [FLT128_MANT_DIG == LDBL_MANT_DIG].
660 (ULP_I_IDX): Likewise.
662 * stdlib/strtold.c: Include <bits/floatn.h>
663 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
664 and later undefine as macro. Define as weak alias if
666 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
667 and later undefine as macro. Define as weak alias if
669 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
670 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
671 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
672 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
673 Define and later undefine as macro. Define as weak alias if
675 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
677 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
678 Define and later undefine as macro. Define as weak alias if
680 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
681 Define and later undefine as macro. Define as weak alias if
684 2017-10-15 Carlos O'Donell <carlos@redhat.com>
686 * localedata/collate-test.c (allocate_arrays): Don't use \n in
687 record_verbose messages.
689 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
692 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
693 to silence -O3 -Wall warning with GCC 7.
695 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
697 * Makeconfig (+link-static-before-libc): Use the first of
698 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
699 * gmon/Makefile (tests): Add tst-gmon-static.
700 (tests-static): Likewise.
701 (CFLAGS-tst-gmon-static.c): New.
702 (CRT-tst-gmon-static): Likewise.
703 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
704 (tst-gmon-static-ENV): Likewise.
705 (tests-special): Likewise.
706 ($(objpfx)tst-gmon-static.out): Likewise.
707 (clean-tst-gmon-static-data): Likewise.
708 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
709 * gmon/tst-gmon-static-gprof.sh: New file.
710 * gmon/tst-gmon-static.c: Likewise.
712 2017-10-13 Carlos O'Donell <carlos@redhat.com>
715 * locale/programs/linereader.c (get_string): Don't warn on
716 non-symbolic character.
718 2017-10-13 Carlos O'Donell <carlos@redhat.com>
721 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
724 2017-10-13 Carlos O'Donell <carlos@redhat.com>
727 * locale/programs/record-status.h: New file
728 * locale/programs/locale.c: Add comment.
729 * locale/programs/charmap-dir.c: Don't include error.h.
730 (charmap_opendir): Use record_error.
731 * locale/programs/charmap.c: Don't include error.h.
732 (charmap_read): Use record_error, and record_warning.
733 (parse_charmap): Likewise.
734 * locale/programs/ld-address.c: Don't include error.h.
735 (address_finish): Use record_error, and record_warning.
736 * locale/programs/ld-collate.c: Don't include error.h.
737 (collate_finish): Use record_error, and record_error_at_line.
738 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
739 (ctype_class_new): Likewise.
740 (ctype_map_new): Likewise.
741 (set_one_default): Likewise.
742 (set_class_defaults): Likewise.
743 (translit_flatten): Likewise.
744 (allocate_arrays): Use record_error, and record_verbose.
745 * locale/programs/ld-identification.c: Don't include error.h.
746 (indentation_finish): Use record_error and record_warning.
747 * locale/programs/ld-measurement.c: Don't include error.h.
748 (measurement_finish): Use record_error.
749 * locale/programs/ld-messages.c
750 (message_finish): Likewise.
751 * locale/programs/ld-monetary.c
752 (monetary_finish): Likewise.
753 * locale/programs/ld-name.c (name_finish): Use record_error
755 * locale/programs/ld-numeric.c
756 (numeric_finish): Use record_error.
757 * locale/programs/ld-paper.c: Don't include error.h.
758 (paper_finish): Use record_error.
759 * locale/programs/ld-telephone.c: Don't include error.h.
760 (telephone_finish): Use record_error.
761 * locale/programs/ld-time.c (time_finish): Likewise.
762 * locale/programs/linereader.h (lr_error): Make inline func.
763 * locale/programs/localedef.c: Define recorded_warning_count,
764 and recorded_error_count.
765 (main): Use record_error. Use recorded_error_count and
766 recorded_warning_count to issue correct error returns.
767 (add_to_readlist): Use record_error.
768 (find_locale): Likewise.
769 (load_locale): Likewise.
770 * locale/programs/localedef.h: Remove be_quiet
772 * locale/programs/locarchive.c (compare_from_file): Use
774 * locale/programs/locfile.c (write_locale_data): Use
776 * locale/programs/repertoire.c: Dont include error.h.
777 (repertoire_complain): Use record_error.
778 * localedata/tst-fmon.sh: Expect failures from localedef.
779 * localedata/tst-locale.sh: Likewise.
780 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
782 2017-10-12 Carlos O'Donell <carlos@redhat.com>
784 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
788 (i18n_ctype): ...this.
789 (i18n-report): Rename to...
790 (i18n_ctype-report): ...this.
791 * localedata/locales/i18n_ctype: Regenerate.
792 * localedata/locales/i18n: copy i18n_ctype.
794 2017-10-13 Joseph Myers <joseph@codesourcery.com>
796 * stdlib/strfroml.c: Include <bits/floatn.h>.
797 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
798 Define before include of <stdlib.h> and undefine afterwards, then
799 define as weak alias.
801 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
802 Undefine and restore default definition. Use
803 libm_alias_ldouble_other.
805 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
808 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
811 2017-10-13 James Clarke <jrtc27@jrtc27.com>
813 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
814 Assign sym_map to be map for local symbols, as TLS relocations
815 use sym_map to determine whether the symbol is defined and to
816 extract the TLS information.
817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
818 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
820 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
823 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
824 (math_force_eval): Add powerpc version.
827 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
830 * stdio-common/tst-printf.sh: Likewise.
831 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
832 ifdef clause in order to set the carry bit right. Replace r0 by
833 0 without changing the behavior.
835 2017-10-13 Joseph Myers <joseph@codesourcery.com>
837 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
838 <libm-alias-ldouble.h>.
839 (fabsl): Define using libm_alias_ldouble.
840 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
841 <libm-alias-ldouble.h>.
842 (fabsl): Define using libm_alias_ldouble.
844 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
845 Remove conditional code.
847 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
848 Rename to __clog10_internal_l.
849 (__clog10_internal_l): Define aliases using
850 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
853 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
855 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
856 * benchtests/sincosf-inputs: New file.
857 * benchtests/cosf-inputs: New file.
858 * benchtests/sinf-inputs: New file.
860 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
862 * posix/tst-spawn.c (do_test): Wait for both children.
864 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
867 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
868 tests-pie): Add tst-gmon-pie.
869 (CFLAGS-tst-gmon-pie.c): New.
870 (CRT-tst-gmon-pie): Likewise.
871 (tst-gmon-pie-ENV): Likewise.
872 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
873 ($(objpfx)tst-gmon-pie.out): Likewise.
874 (clean-tst-gmon-pie-data): Likewise.
875 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
876 * gmon/gmon.c [PIC]: Include <link.h>.
877 [PIC] (callback): New function.
878 (write_hist): Add an argument for load address. Subtract load
880 (write_call_graph): Likewise.
881 (write_gmon): Call __dl_iterate_phdr to get load address, pass
882 it to write_hist and write_call_graph.
883 * gmon/tst-gmon-pie.c: New file.
885 2017-10-11 Joseph Myers <joseph@codesourcery.com>
887 * math/Makefile (test-types-basic): New variable.
888 (test-types): Likewise.
889 (libm-test-support): Use $(test-types) instead of $(types).
890 (libm-tests-base-normal): Likewise.
891 (libm-tests-base-finite): Likewise.
892 (libm-tests-base-inline): Likewise.
893 (generated): Likewise.
894 ($(objpfx)libm-test-support-$(t).c): Likewise.
895 (libm-tests-for-type iterator): Likewise.
896 (libm-test-support iterator): Likewise.
897 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
898 (ulp_idx): Use ULP_IDX.
899 * math/test-ldouble.h: Include <float.h>.
900 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
901 (ULP_IDX): New macro.
902 (ULP_I_IDX): Likewise.
903 * math/test-double.h (ULP_IDX): Likewise.
904 (ULP_I_IDX): Likewise.
905 * math/test-float.h (ULP_IDX): Likewise.
906 (ULP_I_IDX): Likewise.
907 * math/test-float128.h (ULP_IDX): Likewise.
908 (ULP_I_IDX): Likewise.
910 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
912 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
913 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
914 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
915 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
916 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
917 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
921 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
922 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
923 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
924 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
926 (SINGLE_THREAD_BY_GLOBAL): Define.
927 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
929 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
931 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
933 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
935 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
936 (SINGLE_THREAD_BY_GLOBAL): Likewise.
937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
940 2017-10-11 Andreas Schwab <schwab@suse.de>
942 * nis/Makefile (aux): Remove.
943 * nscd/Makefile (aux): Add nscd_hash.
944 (nscd-modules): Likewise.
945 ($(objpfx)nscd): Don't depend on libnsl.
946 * nscd/nscd_hash.c: New file.
947 * nscd/nscd_hash.h: Likewise.
948 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
949 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
950 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
951 instead of <nis/rpcsvc/nis.h>.
952 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
954 2017-10-11 Florian Weimer <fweimer@redhat.com>
957 Avoid large NSS buffers with many addresses, aliases.
958 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
959 using dynarrays and struct alloc_buffer.
960 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
961 (tst-nss-files-hosts-multi): Link with -ldl.
962 * nss/tst-nss-files-hosts-multi.c: New file.
964 2017-10-11 Florian Weimer <fweimer@redhat.com>
967 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
968 scratch_buffer. Eliminate gotos.
970 2017-10-11 Joseph Myers <joseph@codesourcery.com>
972 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
973 libm_alias_ldouble_other.
974 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
975 undefine and redefine.
976 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
977 (exp10l): Do not define here.
978 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
979 (weak_alias): Undefine and redefine.
980 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
981 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
982 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
983 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
985 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
986 [!__fma] (fma): Define using libm_alias_double.
987 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
988 [!__fmaf] (fmaf): Define using libm_alias_float.
989 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
990 (fmal): Define using libm_alias_ldouble.
992 2017-10-10 Joseph Myers <joseph@codesourcery.com>
994 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
996 (libm_alias_double_other): Likewise.
997 (libm_alias_double_r): Use libm_alias_double_other_r.
998 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
1000 (libm_alias_float_other): Likewise.
1001 (libm_alias_float_r): Use libm_alias_float_other_r.
1002 * sysdeps/generic/libm-alias-float128.h
1003 (libm_alias_float128_other_r): New macro.
1004 (libm_alias_float128_other): Likewise.
1005 (libm_alias_float128_r): Use libm_alias_float128_other_r.
1006 * sysdeps/generic/libm-alias-ldouble.h
1007 (libm_alias_ldouble_other_r): New macro.
1008 (libm_alias_ldouble_other): Likewise.
1009 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1010 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
1011 (libm_alias_double_other_r): New macro.
1012 (libm_alias_double_other): Likewise.
1013 (libm_alias_double_r): Use libm_alias_double_other_r.
1014 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
1015 (libm_alias_ldouble_other_r): New macro.
1016 (libm_alias_ldouble_other): Likewise.
1017 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1018 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
1019 [!USE_AS_COMPAT]: Use libm_alias_double_other.
1020 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
1021 [!USE_AS_COMPAT]: Use libm_alias_float_other.
1022 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
1023 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
1024 * math/w_exp2f.c: Use libm_alias_float_other.
1025 * math/w_expf.c: Likewise.
1026 * math/w_log2f.c: Likewise.
1027 * math/w_logf.c: Likewise.
1028 * math/w_powf.c: Likewise.
1029 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
1030 [!__exp2f]: Use libm_alias_float_other.
1031 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
1032 [!__expf]: Use libm_alias_float_other.
1033 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
1034 [!__log2f]: Use libm_alias_float_other.
1035 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
1036 [!__logf]: Use libm_alias_float_other.
1037 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
1038 [!__powf]: Use libm_alias_float_other.
1040 2017-10-10 Florian Weimer <fweimer@redhat.com>
1042 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
1044 (_nss_files_gethostbyname3_r): Call it.
1046 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1048 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
1049 error. Remove default definition of declare_mgen_alias.
1050 [!declare_mgen_alias_r]: Likewise.
1051 * sysdeps/generic/math-type-macros-double.h
1052 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
1053 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
1054 (declare_mgen_alias_r): Likewise.
1055 * sysdeps/generic/math-type-macros-float128.h
1056 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1057 * sysdeps/generic/math-type-macros-ldouble.h
1058 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1059 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
1061 (declare_mgen_alias_r_s): Likewise.
1062 (declare_mgen_alias_r): Likewise.
1063 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
1064 (lgamma_r): Define using libm_alias_double_r.
1065 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
1066 (lgammaf_r): Define using libm_alias_float_r.
1067 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
1068 (lgammal_r): Define using libm_alias_ldouble_r.
1069 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
1070 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1072 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1074 * lib/glob.c (__glob_pattern_type): Remove now-spurious
1077 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1079 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
1081 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
1084 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
1085 [__cplusplus >= 201103] (__USE_ISOC99): Define.
1086 * math/Makefile (test-math-cxx11): New test.
1087 * math/test-math-cxx11.cc: New file.
1089 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
1091 * login/openpty.c (openpty): Close slave pty file descriptor on error.
1093 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
1094 call to allocate the slave pty file descriptor.
1096 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1098 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
1099 [!__fma] (fma): Define using libm_alias_double.
1100 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
1101 [!__fma] (fma): Define using libm_alias_double.
1103 * sysdeps/ieee754/float128/float128_private.h: Include
1104 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
1105 (libm_alias_ldouble_r): Undefine and redefine.
1106 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
1107 <libm-alias-ldouble.h>.
1108 (asinhl): Define using libm_alias_ldouble.
1109 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
1110 <libm-alias-ldouble.h>.
1111 (atanl): Define using libm_alias_ldouble.
1112 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
1113 <libm-alias-ldouble.h>.
1114 (cbrtl): Define using libm_alias_ldouble.
1115 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
1116 <libm-alias-ldouble.h>.
1117 (ceill): Define using libm_alias_ldouble.
1118 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
1119 <libm-alias-ldouble.h>.
1120 (copysignl): Define using libm_alias_ldouble.
1121 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
1122 <libm-alias-ldouble.h>.
1123 (cosl): Define using libm_alias_ldouble.
1124 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
1125 <libm-alias-ldouble.h>.
1126 (erfl): Define using libm_alias_ldouble.
1128 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
1129 <libm-alias-ldouble.h>.
1130 (expm1l): Define using libm_alias_ldouble.
1131 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
1132 <libm-alias-ldouble.h>.
1133 (fabsl): Define using libm_alias_ldouble.
1134 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
1135 <libm-alias-ldouble.h>.
1136 (floorl): Define using libm_alias_ldouble.
1137 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
1138 <libm-alias-ldouble.h>.
1139 (fmal): Define using libm_alias_ldouble.
1140 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
1141 <libm-alias-ldouble.h>.
1142 (frexpl): Define using libm_alias_ldouble.
1143 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
1145 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
1146 <libm-alias-ldouble.h>.
1147 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
1149 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
1150 <libm-alias-ldouble.h>.
1151 (getpayloadl): Define using libm_alias_ldouble.
1152 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
1153 <libm-alias-ldouble.h>.
1154 (llrintl): Define using libm_alias_ldouble.
1155 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
1156 <libm-alias-ldouble.h>.
1157 (llroundl): Define using libm_alias_ldouble.
1158 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
1159 <libm-alias-ldouble.h>.
1160 (logbl): Define using libm_alias_ldouble.
1161 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
1162 <libm-alias-ldouble.h>.
1163 (lrintl): Define using libm_alias_ldouble.
1164 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
1165 <libm-alias-ldouble.h>.
1166 (lroundl): Define using libm_alias_ldouble.
1167 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
1168 <libm-alias-ldouble.h>.
1169 (modfl): Define using libm_alias_ldouble.
1170 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
1171 <libm-alias-ldouble.h>.
1172 (nearbyintl): Define using libm_alias_ldouble.
1173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
1174 <libm-alias-ldouble.h>.
1175 (nextafterl): Define using libm_alias_ldouble.
1176 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
1177 <libm-alias-ldouble.h>.
1178 (nextupl): Define using libm_alias_ldouble.
1179 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
1180 <libm-alias-ldouble.h>.
1181 (remquol): Define using libm_alias_ldouble.
1182 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
1183 <libm-alias-ldouble.h>.
1184 (rintl): Define using libm_alias_ldouble.
1185 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
1186 <libm-alias-ldouble.h>.
1187 (roundevenl): Define using libm_alias_ldouble.
1188 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
1189 <libm-alias-ldouble.h>.
1190 (roundl): Define using libm_alias_ldouble.
1191 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
1192 using libm_alias_ldouble.
1193 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
1194 <libm-alias-ldouble.h>.
1195 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
1196 Define using libm_alias_ldouble.
1197 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
1198 <libm-alias-ldouble.h>.
1199 (sincosl): Define using libm_alias_ldouble.
1200 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
1201 <libm-alias-ldouble.h>.
1202 (sinl): Define using libm_alias_ldouble.
1203 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
1204 <libm-alias-ldouble.h>.
1205 (tanhl): Define using libm_alias_ldouble.
1206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
1207 <libm-alias-ldouble.h>.
1208 (tanl): Define using libm_alias_ldouble.
1209 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1210 <libm-alias-ldouble.h>.
1211 (totalorderl): Define using libm_alias_ldouble.
1212 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1213 <libm-alias-ldouble.h>.
1214 (totalordermagl): Define using libm_alias_ldouble.
1215 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
1216 <libm-alias-ldouble.h>.
1217 (truncl): Define using libm_alias_ldouble.
1218 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
1220 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
1222 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
1223 <libm-alias-ldouble.h>.
1224 (weak_alias): Do not undefine and redefine.
1225 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1226 (copysignl): Define with long_double_symbol only if [IS_IN
1228 * sysdeps/ieee754/ldbl-64-128/s_frexpl.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 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
1233 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
1234 <libm-alias-ldouble.h>.
1235 (weak_alias): Do not undefine and redefine.
1236 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1237 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
1238 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
1239 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
1240 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
1241 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
1242 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
1243 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
1244 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
1245 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
1246 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
1247 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
1248 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
1250 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
1252 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
1253 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
1255 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
1259 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
1261 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
1263 2017-10-06 Carlos O'Donell <carlos@redhat.com>
1266 * malloc/malloc.c (tcache_shutting_down): Use bool type.
1267 (tcache_thread_freeres): Set tcache_shutting_down before
1269 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
1270 * malloc/tst-malloc-tcache-leak.c: New file.
1272 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1274 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
1275 back to powerpc32 file.
1276 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1277 (memrchr): Add __memrchr_power8 to ifunc list.
1278 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
1279 extra bytes for unaligned inputs.
1281 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1283 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
1284 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
1285 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
1286 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1289 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1291 * sysdeps/arm/libm-test-ulps: Update.
1293 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
1294 <libm-alias-ldouble.h>.
1295 (asinhl): Define using libm_alias_ldouble.
1296 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
1297 <libm-alias-ldouble.h>.
1298 (cbrtl): Define using libm_alias_ldouble.
1299 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
1300 <libm-alias-ldouble.h>.
1301 (copysignl): Define using libm_alias_ldouble.
1302 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
1303 <libm-alias-ldouble.h>.
1304 (cosl): Define using libm_alias_ldouble.
1305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
1306 <libm-alias-ldouble.h>.
1307 (erfl): Define using libm_alias_ldouble.
1309 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
1310 <libm-alias-ldouble.h>.
1311 (fmal): Define using libm_alias_ldouble.
1312 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
1313 <libm-alias-ldouble.h>.
1314 (frexpl): Define using libm_alias_ldouble.
1315 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
1317 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
1318 <libm-alias-ldouble.h>.
1319 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
1321 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
1322 <libm-alias-ldouble.h>.
1323 (getpayloadl): Define using libm_alias_ldouble.
1324 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
1325 <libm-alias-ldouble.h>.
1326 (llrintl): Define using libm_alias_ldouble.
1327 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
1328 <libm-alias-ldouble.h>.
1329 (llroundl): Define using libm_alias_ldouble.
1330 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
1331 <libm-alias-ldouble.h>.
1332 (lrintl): Define using libm_alias_ldouble.
1333 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
1334 <libm-alias-ldouble.h>.
1335 (lroundl): Define using libm_alias_ldouble.
1336 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
1337 <libm-alias-ldouble.h>.
1338 (modfl): Define using libm_alias_ldouble.
1339 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
1340 <libm-alias-ldouble.h>.
1341 (nextupl): Define using libm_alias_ldouble.
1342 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
1343 <libm-alias-ldouble.h>.
1344 (remquol): Define using libm_alias_ldouble.
1345 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
1346 <libm-alias-ldouble.h>.
1347 (roundevenl): Define using libm_alias_ldouble.
1348 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
1349 <libm-alias-ldouble.h>.
1350 (roundl): Define using libm_alias_ldouble.
1351 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
1352 using libm_alias_ldouble.
1353 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
1354 <libm-alias-ldouble.h>.
1355 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
1356 <libm-alias-ldouble.h>.
1357 (setpayloadsigl): Define using libm_alias_ldouble.
1358 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
1359 <libm-alias-ldouble.h>.
1360 (sincosl): Define using libm_alias_ldouble.
1361 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
1362 <libm-alias-ldouble.h>.
1363 (sinl): Define using libm_alias_ldouble.
1364 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
1365 <libm-alias-ldouble.h>.
1366 (tanhl): Define using libm_alias_ldouble.
1367 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
1368 <libm-alias-ldouble.h>.
1369 (tanl): Define using libm_alias_ldouble.
1370 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1371 <libm-alias-ldouble.h>.
1372 (totalorderl): Define using libm_alias_ldouble.
1373 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1374 <libm-alias-ldouble.h>.
1375 (totalordermagl): Define using libm_alias_ldouble.
1376 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
1378 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
1381 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
1383 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
1385 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1386 (__libc_ifunc_impl_list): Likewise.
1387 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1388 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
1390 * benchtests/bench-memmove-walk.c: New file.
1391 * benchtests/Makefile (string-benchset): Add it.
1393 * benchtests/bench-memset-walk.c: New file.
1394 * benchtests/Makefile (string-benchset): Add it.
1396 * benchtests/bench-memcpy-walk.c: New file.
1397 * benchtests/Makefile (string-benchset): Add it.
1399 2017-10-05 Florian Weimer <fweimer@redhat.com>
1401 nscd: Eliminate compilation time dependency in the build output.
1402 * nscd/nscd_stat.c (STATDATA_VERSION)
1403 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
1404 (STATDATA_VERSION_FULL): New macro definitions.
1405 (compilation): Remove.
1406 (struct statdata): Adjust version member.
1407 (send_stats): Set version from STATDATA_VERSION_FULL.
1408 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
1410 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1412 * configure.ac (--enable-add-ons): Remove option.
1413 (machine): Do not mention add-ons in comment.
1414 (LIBC_PRECONFIGURE): Likewise.
1415 (add_ons): Remove variable and sanity checks and logic to locate
1417 (add_ons_automatic): Remove variable.
1418 (configured_add_ons): Likewise.
1419 (add_ons_sfx): Likewise.
1420 (add_ons_pfx): Likewise.
1421 (add_on_subdirs): Likewise.
1422 (sysnames_add_ons): Likewise. Remove loop over add-ons and
1423 consideration of add-ons in Implies handling.
1424 (sysdeps_add_ons): Likewise.
1425 * configure: Regenerated.
1426 * libidn/configure.ac: Remove.
1427 * libidn/configure: Likewise.
1428 * sysdeps/unix/inet/configure.ac: New file.
1429 * sysdeps/unix/inet/configure: New generated file.
1430 * sysdeps/unix/inet/Subdirs: Add libidn.
1431 * Makeconfig (sysdeps-srcdirs): Remove variable.
1432 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
1433 ($(common-objpfx)config.status): Do not depend on add-on files.
1434 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
1436 (all-subdirs): Do not include $(add-on-subdirs).
1437 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
1438 * config.make.in (add-ons): Remove variable.
1439 (add-on-subdirs): Likewise.
1440 (sysdeps-add-ons): Likewise.
1441 * manual/Makefile (add-chapters): Remove.
1442 ($(objpfx)texis): Do not depend on $(add-chapters).
1443 (nonexamples): Do not handle $(add-chapters).
1444 (examples): Do not handle $(add-ons).
1445 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
1447 * manual/install.texi (Installation): Do not mention add-ons.
1448 (--enable-add-ons): Do not document configure option.
1449 * INSTALL: Regenerated.
1450 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
1451 * manual/maint.texi (Hierarchy Conventions): Do not mention
1453 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
1455 * scripts/gen-sorted.awk: Do not handle Subdirs files from
1457 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
1458 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
1460 2017-10-05 Andreas Schwab <schwab@suse.de>
1463 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
1464 (_IO_flush_all_lockp): Always lock list_all_lock.
1465 (_IO_flush_all_linebuffered): Likewise.
1466 (_IO_unbuffer_all): Likewise.
1468 2017-10-05 Florian Weimer <fweimer@redhat.com>
1471 Do not flush stdio streams on abort.
1472 * stdlib/abort.c (fflush): Remove macro definition.
1473 (abort): Remove stages related to stdio flushing.
1475 2017-10-05 Florian Weimer <fweimer@redhat.com>
1477 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
1479 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1481 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1483 2017-10-05 Florian Weimer <fweimer@redhat.com>
1485 * support/support_format_hostent.c (support_format_hostent): Add
1486 more error information for NETDB_INTERNAL.
1488 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1490 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
1491 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
1492 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
1493 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
1494 AC_DEFINE if multi-arch is enabled.
1495 * sysdeps/i386/configure: Regenerated.
1497 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1499 * Makeconfig (+link-static-before-libc): Use
1500 $(DEFAULT-LDFLAGS-$(@F)).
1501 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
1502 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
1503 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
1505 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1507 * elf/Makefile (tests): Add tst-main1.
1508 (modules-names): Add tst-main1mod.
1509 ($(objpfx)tst-main1): New.
1510 (CRT-tst-main1): Likewise.
1511 (LDFLAGS-tst-main1): Likewise.
1512 (LDLIBS-tst-main1): Likewise.
1513 (tst-main1mod.so-no-z-defs): Likewise.
1514 * elf/tst-main1.c: New file.
1515 * elf/tst-main1mod.c: Likewise.
1517 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1519 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
1521 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1523 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
1524 (fma): Define using libm_alias_double.
1525 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
1526 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
1528 (fmal): Do not define as compat symbol here.
1529 * sysdeps/alpha/fpu/s_fma.c: New file.
1531 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1533 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
1535 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1538 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1540 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1542 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
1543 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1544 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
1545 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
1546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1547 Include <math_ldbl_opt.h>
1548 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1550 (compat_symbol): Undefine and redefine.
1551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1553 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1554 (compat_symbol): Undefine and redefine.
1555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
1556 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
1557 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
1560 GLIBC_2.0 copysignl symbol.
1561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1562 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
1564 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
1566 2017-10-04 Florian Weimer <fweimer@redhat.com>
1568 * scripts/check-local-headers.sh: Ignore nspr4 header file
1569 directory in addition to nspr.
1571 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
1574 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
1575 * configure: Regenerate.
1576 * crypt/Makefile (nss-cpp-flags): New variable.
1577 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
1578 (CPPFLAGS-md5-crypt.c): Use it.
1579 * scripts/check-local-headers.sh: Ignore nspr header file
1582 2017-10-04 Andreas Schwab <schwab@suse.de>
1584 * nis/Makefile (services): Remove compat.
1585 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
1586 ($(objpfx)libnss_compat.so): Remove rule.
1587 * nis/Versions (libnss_compat): Remove.
1588 * nss/Makefile (services): Add compat.
1589 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
1590 * nss/Versions (libnss_compat): Define.
1591 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
1592 Don't include <rpc/types.h>. Replace bool_t by bool.
1593 * nss/nss_compat/compat-initgroups.c: Likewise.
1594 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
1595 instead of <rpcsrv/ypclnt.h>.
1596 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1597 yp_get_default_domain.
1598 * nss/nss_compat/compat-pwd.c: Likewise.
1599 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1600 yp_get_default_domain.
1601 * nss/nss_compat/nisdomain.c: New file.
1602 * nss/nss_compat/nisdomain.h: Likewise.
1604 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1607 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1608 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1610 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1613 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1614 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1616 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1618 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1619 "movl main@GOTOFF(%ebx), %eax".
1621 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1623 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1624 allow undefined _DYNAMIC in PIE libc.a.
1625 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1628 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1630 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1633 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1635 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1638 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1640 * math/test-math-iscanonical.cc (error): Replace bool with int.
1642 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1644 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1645 (modf): Define using libm_alias_double, only if [!__modf].
1646 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1647 <libm-alias-double.h>.
1648 (modf): Define using libm_alias_double, only if [!__modf].
1649 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1652 (weak_alias): Do not undefine and redefine.
1653 (strong_alias): Likewise.
1654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1655 (weak_alias): Likewise.
1656 (strong_alias): Likewise.
1658 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1659 (logb): Define using libm_alias_double, only if [!__logb].
1660 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1661 <libm-alias-double.h>.
1662 (logb): Define using libm_alias_double, only if [!__logb].
1663 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1665 (weak_alias): Do not undefine and redefine.
1666 (strong_alias): Likewise.
1667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1668 (weak_alias): Likewise.
1669 (strong_alias): Likewise.
1671 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1673 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
1674 Check SHARED instead PIC.
1676 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1678 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
1679 [!__fmaf] (fmaf): Define using libm_alias_float.
1681 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
1682 (frexp): Define using libm_alias_double.
1683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1684 <libm-alias-double.h>.
1685 (frexp): Define using libm_alias_double.
1686 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1689 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1692 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1693 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1694 (CFLAGS-test-math-iscanonical.cc): New variable.
1695 * math/test-math-iscanonical.cc: New file.
1696 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1697 Provide a C++ implementation based on function overloading,
1698 rather than using __MATH_TG, which uses C-only builtins.
1699 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1701 * sysdeps/powerpc/powerpc64le/Makefile
1702 (CFLAGS-test-math-iscanonical.cc): New variable.
1704 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1706 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1707 (ceil): Define using libm_alias_double.
1708 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1709 (floor): Define using libm_alias_double.
1710 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1711 <libm-alias-double.h>.
1712 (llround): Define using libm_alias_double.
1713 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1714 <libm-alias-double.h>.
1715 (lround): Define using libm_alias_double.
1716 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1717 <libm-alias-double.h>.
1718 (nearbyint): Define using libm_alias_double.
1719 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1720 <libm-alias-double.h>.
1721 (remquo): Define using libm_alias_double.
1722 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1723 (rint): Define using libm_alias_double.
1724 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1725 (round): Define using libm_alias_double.
1726 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1727 (trunc): Define using libm_alias_double.
1728 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1729 <libm-alias-double.h>.
1730 (ceil): Define using libm_alias_double.
1731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1732 <libm-alias-double.h>.
1733 (floor): Define using libm_alias_double.
1734 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1735 <libm-alias-double.h>.
1736 (llround): Define using libm_alias_double.
1737 [_LP64] (lround): Likewise.
1738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1739 <libm-alias-double.h>.
1740 [!_LP64] (lround): Define using libm_alias_double.
1741 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1742 <libm-alias-double.h>.
1743 (nearbyint): Define using libm_alias_double.
1744 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1745 <libm-alias-double.h>.
1746 (remquo): Define using libm_alias_double.
1747 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1748 <libm-alias-double.h>.
1749 (rint): Define using libm_alias_double.
1750 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1751 <libm-alias-double.h>.
1752 (round): Define using libm_alias_double.
1753 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1754 <libm-alias-double.h>.
1755 (trunc): Define using libm_alias_double.
1756 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1757 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1758 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1759 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1760 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1761 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1762 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1763 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1764 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1766 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1768 * math/w_remainder.c: New file.
1769 * math/w_remainderf.c: New file.
1770 * math/w_remainderl.c: New file.
1772 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1774 * elf/rtld.c (BOOTSTRAP_MAP): New.
1775 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1776 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1778 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1780 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1783 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1785 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1786 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1787 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1788 rtld_hidden_data_ver): Define to empty.
1789 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1790 __assert_perror_fail): Likewise.
1791 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1792 (__rewinddir): Likewise.
1793 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1794 (__profile_frequency): Likewise.
1795 * include/setjmp.h (__sigsetjmp): Likewise.
1796 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1797 __libc_sigaction): Likewise.
1798 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1799 not set hidden attribute.
1800 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1801 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1802 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1803 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1804 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1805 __fxstatat64): Likewise.
1806 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1807 (__uname): Likewise.
1808 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1809 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1810 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1811 (NO_RTLD_HIDDEN): Set.
1812 * sysdeps/mach/hurd/configure: Refresh.
1813 * config.h.in: Refresh.
1815 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1817 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1818 (atan): Define using libm_alias_double.
1819 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1820 (tan): Define using libm_alias_double.
1821 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1822 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1824 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1825 define as weak alias of __atan. Do not define any aliases if
1827 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1828 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1829 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1830 as weak alias of __tan. Do not define any aliases if [__tan].
1831 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1832 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1833 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1835 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1836 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1837 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1838 and define as weak alias of __atan.
1839 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1843 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1844 define as weak alias of __tan.
1846 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1848 * math/w_lgamma.c: New file.
1849 * math/w_lgammaf.c: New file.
1850 * math/w_lgammal.c: New file.
1852 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1854 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1855 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1856 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1857 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1858 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1859 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1860 * sysdeps/i386/fpu/w_log2f.c: New file.
1861 * sysdeps/i386/fpu/w_logf.c: New file.
1862 * sysdeps/i386/fpu/w_powf.c: New file.
1863 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1864 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1865 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1867 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1868 H.J. Lu <hongjiu.lu@intel.com>
1870 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1871 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1872 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1873 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1874 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1876 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1877 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1878 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1879 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1880 * sysdeps/i386/fpu/w_exp2f.c: New file.
1881 * sysdeps/i386/fpu/w_expf.c: New file.
1882 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1883 * sysdeps/x86_64/fpu/w_expf.c: New file.
1885 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1887 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1890 * math/w_log2f.c: New file.
1891 * math/w_logf.c: New file.
1892 * math/w_powf.c: New file.
1893 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1894 * math/w_logf_compat.c (__logf_compat): Likewise.
1895 * math/w_powf_compat.c (__powf_compat): Likewise.
1896 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1897 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1898 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1899 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1900 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1901 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1902 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1903 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1904 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1905 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1906 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1907 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1908 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1909 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1910 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1919 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1920 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1921 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1922 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1923 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1928 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1929 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1930 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1932 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1934 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1935 (sysdep_routines): Add memrchr_power8.
1936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1937 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1938 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1940 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1941 (memrchr): Add __memrchr_power8 to ifunc list.
1942 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1947 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1948 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1950 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1951 (__posix_fallocate64_l64): Likewise.
1953 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1956 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1957 (__sched_setaffinity_new): Add libc_hidden_proto and
1960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1963 * include/glob.h (__glob64): Add libc_hidden_proto.
1964 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
1967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1970 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
1973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1976 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
1978 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1981 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
1984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1987 * csu/version.c (__libc_print_version): Add attribute_hidden.
1989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1992 * include/libc-internal.h (__init_misc): Add attribute_hidden.
1994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1997 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
1999 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2002 * nscd/nscd_helper.c (__nis_hash): New prototype.
2004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2007 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
2008 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
2010 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2011 * termios/tcgetattr.c (__tcgetattr): Likewise.
2013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2016 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
2017 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
2018 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
2019 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
2020 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
2022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2025 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
2027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2030 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
2031 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
2033 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2036 * intl/hash-string.h (__hash_string): Add attribute_hidden.
2038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2041 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
2042 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
2044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2047 * include/ifreq.h: New file.
2048 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
2049 (__ifreq): Likewise.
2050 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
2051 (__ifreq): Likewise.
2053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2056 * include/idna.h: New file.
2057 * inet/getnameinfo.c: Include <idna.h> instead of
2059 (__idna_to_unicode_lzlz): Removed.
2060 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
2062 (__idna_to_ascii_lz): Removed.
2063 (__idna_to_unicode_lzlz): Likewise.
2065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2068 * include/plural-exp.h: New file.
2069 * intl/plural-exp.c: Include <plural-exp.h> instead of
2072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2075 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
2076 "getsourcefilter.h".
2077 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
2078 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
2079 "getsourcefilter.h".
2080 (__get_sol): Removed.
2082 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2085 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
2087 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
2089 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2092 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
2095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2098 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
2100 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2103 * include/search.h (__tdestroy): Add libc_hidden_proto.
2104 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
2106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2109 * include/assert.h (__assert_fail_base): Add attribute_hidden.
2111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2114 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
2117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2120 * include/signal.h (__kill): Add libc_hidden_proto.
2121 (__sigblock): Likewise.
2122 (__sigprocmask): Likewise.
2123 (__sigaltstack): Likewise.
2124 * signal/kill.c (__kill): Add libc_hidden_def.
2125 * signal/sigblock.c (__sigblock): Likewise.
2126 * signal/sigprocmask.c (__sigprocmask): Likewise.
2127 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2128 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2129 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2130 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2131 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
2133 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2135 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2136 (__sigprocmask): Likewise.
2137 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
2139 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2140 (__sigprocmask): Likewise.
2141 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2147 * include/string.h (__strsep): Add libc_hidden_proto.
2148 * string/strsep.c (__strsep): Add libc_hidden_def.
2150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2153 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
2155 (__spawni): Likewise.
2157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2160 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
2161 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
2164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2167 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
2169 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2172 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
2173 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
2174 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2175 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
2176 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
2178 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
2179 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
2181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2184 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
2185 (__dcigettext): Likewise.
2187 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2190 * include/sys/sysinfo.h (__get_nprocs_conf): Add
2192 (__get_nprocs): Likewise.
2193 (__get_phys_pages): Likewise.
2194 (__get_avphys_pages): Likewise.
2195 (__get_child_max): Add attribute_hidden.
2196 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
2197 (__get_nprocs): Likewise.
2198 (__get_phys_pages): Likewise.
2199 (__get_avphys_pages): Likewise.
2200 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
2202 (__get_nprocs): Likewise.
2203 (__get_phys_pages): Likewise.
2204 (__get_avphys_pages): Likewise.
2205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
2207 (__get_nprocs_conf): Likewise.
2208 (__get_phys_pages): Likewise.
2209 (__get_avphys_pages): Likewise.
2211 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2214 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
2216 (__netlink_close): Likewise.
2217 (__netlink_free_handle): Likewise.
2218 (__netlink_request): Likewise.
2220 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2223 * include/rpc/rpc.h (__rpc_thread_variables): Add
2225 (__rpc_thread_svc_cleanup): Likewise.
2226 (__rpc_thread_clnt_cleanup): Likewise.
2227 (__rpc_thread_key_cleanup): Likewise.
2229 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2232 * include/sys/uio.h (__readv): Add libc_hidden_proto.
2233 (__writev): Likewise.
2234 * misc/readv.c (__readv): Add libc_hidden_def.
2235 * misc/writev.c (__writev): Likewise.
2236 * sysdeps/posix/readv.c (__readv): Likewise.
2237 * sysdeps/posix/writev.c (__writev): Likewise.
2238 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
2239 (__readv): Likewise.
2240 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
2241 (__writev): Likewise.
2243 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2246 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
2247 (__regcomp): Add libc_hidden_proto.
2248 (__regexec): Likewise.
2249 (__regfree): Likewise.
2250 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
2251 (__regfree): Likewise.
2252 * posix/regexec.c (__regexec): Likewise.
2254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2257 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
2258 (__getutent): Likewise.
2259 (__getutid): Likewise.
2260 (__getutline): Likewise.
2261 (__pututline): Likewise.
2262 (__getutent_r): Likewise.
2263 (__getutid_r): Likewise.
2264 (__getutline_r): Likewise.
2265 (__utmpname): Add attribute_hidden.
2266 (__setutent): Likewise.
2267 (__endutent): Likewise.
2268 * login/getutent.c (__getutent): Add libc_hidden_def.
2269 * login/getutent_r.c (__getutent_r): Likewise.
2270 (__pututline): Likewise.
2271 * login/getutid.c (__getutid): Likewise.
2272 * login/getutid_r.c (__getutid_r): Likewise.
2273 * login/getutline.c (__getutline): Likewise.
2274 * login/getutline_r.c (__getutline_r): Likewise.
2275 * login/updwtmp.c (__updwtmp): Likewise.
2277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2280 * include/dirent.h (__opendir): Always add attribute_hidden.
2281 (__fdopendir): Likewise.
2282 (__closedir): Likewise.
2283 (__readdir): Likewise.
2284 (__readdir64): Add libc_hidden_proto.
2285 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
2286 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
2287 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
2288 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
2291 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2294 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
2295 * include/netdb.h (__gethostbyaddr_r): Likewise.
2296 (__gethostbyname_r): Likewise.
2297 (__gethostbyname2_r): Likewise.
2298 (__getnetbyaddr_r): Likewise.
2299 (__getnetbyname_r): Likewise.
2300 (__getservbyname_r): Likewise.
2301 (__getservbyport_r): Likewise.
2302 (__getprotobyname_r): Likewise.
2303 (__getprotobynumber_r): Likewise.
2304 (__getnetgrent_r): Likewise.
2305 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
2306 (__getrpcbynumber_r): Likewise.
2307 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
2309 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2312 * include/stdio.h (__fcloseall): Add attribute_hidden.
2313 (__getline): Likewise.
2314 (__path_search): Likewise.
2315 (__gen_tempname): Likewise.
2316 (__libc_message): Likewise.
2317 (__flockfile): Likewise.
2318 (__funlockfile): Likewise.
2319 (__fxprintf): Likewise.
2320 (__fxprintf_nocancel): Likewise.
2322 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2325 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
2326 (__sgetsgent_r): Likewise.
2328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2331 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
2332 (__statfs64): Likewise.
2333 (__fstatfs64): Likewise.
2334 * include/sys/statvfs.h (__statvfs64): Likewise.
2335 (__fstatvfs64): Likewise.
2336 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
2337 (__statfs_filesize_max): Likewise.
2338 (__statfs_symlinks): Likewise.
2339 (__statfs_chown_restricted): Likewise.
2341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2344 * include/time.h (__tzstring): Add attribute_hidden.
2345 (__tzfile_read): Likewise.
2346 (__tzfile_compute): Likewise.
2347 (__tzfile_default): Likewise.
2348 (__tzset_parse_tz): Likewise.
2349 (__offtime): Likewise.
2350 (__asctime_r): Likewise.
2351 (__tzset): Likewise.
2352 (__tz_convert): Likewise.
2353 (__getdate_r): Likewise.
2354 (__getclktck): Likewise.
2356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2359 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
2360 (__nscd_unmap): Likewise.
2361 (__nscd_cache_search): Likewise.
2362 (__nscd_get_nl_timestamp): Likewise.
2363 (__nscd_getpwnam_r): Likewise.
2364 (__nscd_getpwuid_r): Likewise.
2365 (__nscd_getgrnam_r): Likewise.
2366 (__nscd_getgrgid_r): Likewise.
2367 (__nscd_gethostbyname_r): Likewise.
2368 (__nscd_gethostbyname2_r): Likewise.
2369 (__nscd_gethostbyaddr_r): Likewise.
2370 (__nscd_getai): Likewise.
2371 (__nscd_getgrouplist): Likewise.
2372 (__nscd_getservbyname_r): Likewise.
2373 (__nscd_getservbyport_r): Likewise.
2374 (__nscd_innetgr): Likewise.
2375 (__nscd_setnetgrent): Likewise.
2377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2380 * include/gmp.h: Declare internal functions only if _ISOMAC is
2382 (__mpn_extract_double): Add attribute_hidden.
2383 (__mpn_extract_long_double): Likewise.
2384 (__mpn_extract_float128): Likewise.
2385 (__mpn_construct_float): Likewise.
2386 (__mpn_construct_double): Likewise.
2387 (__mpn_construct_long_double): Likewise.
2388 (__mpn_construct_float128): Likewise.
2389 (mpn_add_1): Likewise.
2390 (mpn_addmul_1): Likewise.
2391 (mpn_add_n): Likewise.
2392 (mpn_cmp): Likewise.
2393 (mpn_divrem): Likewise.
2394 (mpn_lshift): Likewise.
2395 (mpn_mul): Likewise.
2396 (mpn_mul_1): Likewise.
2397 (mpn_rshift): Likewise.
2398 (mpn_sub_1): Likewise.
2399 (mpn_submul_1): Likewise.
2400 (mpn_sub_n): Likewise.
2402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2405 * include/wchar.h (__wcsnlen): Add attribute_hidden.
2406 (__wcscat): Likewise.
2407 (__btowc): Likewise.
2408 (__wcrtomb): Likewise.
2409 (__mbsrtowcs): Likewise.
2410 (__wcsrtombs): Likewise.
2411 (__mbsnrtowcs): Likewise.
2412 (__wcsnrtombs): Likewise.
2413 (__wcsncpy): Likewise.
2414 (__wcpncpy): Likewise.
2415 (__wmemcpy): Likewise.
2416 (__wmempcpy): Likewise.
2417 (__wmemmove): Likewise.
2418 (__wcschrnul): Likewise.
2419 (__vfwscanf): Likewise.
2420 (__vswprintf): Likewise.
2421 (__fwprintf): Likewise.
2422 (__vfwprintf): Likewise.
2424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2427 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
2428 (__getgrgid_r): Likewise.
2429 (__getgrnam_r): Likewise.
2430 * include/pwd.h (__getpwuid_r): Likewise.
2431 (__getpwnam_r): Likewise.
2432 (__fgetpwent_r): Likewise.
2433 * include/shadow.h (__getspnam_r): Likewise.
2434 (__sgetspent_r): Likewise.
2435 (__fgetspent_r): Likewise.
2437 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2440 * include/unistd.h (__access): Add attribute_hidden.
2441 (__lseek64): Likewise.
2442 (__libc_pread64): Likewise.
2443 (__pipe2): Likewise.
2444 (__sleep): Likewise.
2445 (__chdir): Likewise.
2446 (__fchdir): Likewise.
2447 (__getcwd): Likewise.
2448 (__rmdir): Likewise.
2449 (__execvpe): Likewise.
2450 (__execve): Likewise.
2451 (__setsid): Likewise.
2452 (__getuid): Likewise.
2453 (__geteuid): Likewise.
2454 (__getgid): Likewise.
2455 (__getegid): Likewise.
2456 (__getgroups): Likewise.
2457 (__group_member): Likewise.
2458 (__ttyname_r): Likewise.
2459 (__isatty): Likewise.
2460 (__readlink): Likewise.
2461 (__unlink): Likewise.
2462 (__gethostname): Likewise.
2463 (__profil): Likewise.
2464 (__getdtablesize): Likewise.
2466 (__ftruncate): Likewise.
2467 (__ftruncate64): Likewise.
2469 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2472 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
2473 * argp/argp-fs-xinl.c: Likewise.
2474 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
2475 * argp/argp-parse.c: Include <argp.h>.
2476 * argp/argp-xinl.c: Likewise.
2477 * include/argp-fmtstream.h: New file.
2478 * include/argp.h (__argp_error): Add attribute_hidden.
2479 (__argp_failure): Likewise.
2480 (__argp_input): Likewise.
2481 (__argp_state_help): Likewise.
2483 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2486 * include/wchar.h (____wcstof_l_internal): New prototype.
2487 (____wcstod_l_internal): Likewise.
2488 (____wcstold_l_internal): Likewise.
2489 (____wcstol_l_internal): Likewise.
2490 (____wcstoul_l_internal): Likewise.
2491 (____wcstoll_l_internal): Likewise.
2492 (____wcstoull_l_internal): Likewise.
2493 (____wcstof128_l_internal): Likewise.
2494 * sysdeps/ieee754/float128/wcstof128.c
2495 (____wcstof128_l_internal): Removed.
2496 * sysdeps/ieee754/float128/wcstof128_l.c
2497 (____wcstof128_l_internal): Likewise.
2498 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
2499 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
2500 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
2501 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
2502 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
2503 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
2504 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
2505 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
2506 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
2507 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
2509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2512 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
2513 instead of <sys/statvfs.h>.
2514 (__internal_statvfs): Removed.
2515 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
2516 instead of <sys/statvfs.h>.
2517 (__internal_statvfs64): Removed.
2518 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
2519 "internal_statvfs.h" instead of <sys/statvfs.h>.
2520 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
2521 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
2522 instead of <sys/statvfs.h>.
2523 (__internal_statvfs): Removed.
2524 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
2525 instead of <sys/statvfs.h>.
2526 (__internal_statvfs64): Removed.
2528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2531 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
2532 (__gconv_close): Likewise.
2533 (__gconv): Likewise.
2534 (__gconv_find_transform): Likewise.
2535 (__gconv_lookup_cache): Likewise.
2536 (__gconv_compare_alias_cache): Likewise.
2537 (__gconv_load_cache): Likewise.
2538 (__gconv_get_path): Likewise.
2539 (__gconv_close_transform): Likewise.
2540 (__gconv_release_cache): Likewise.
2541 (__gconv_find_shlib): Likewise.
2542 (__gconv_release_shlib): Likewise.
2543 (__gconv_get_builtin_trans): Likewise.
2544 (__gconv_compare_alias): Likewise.
2545 * include/dlfcn.h (_dlerror_run): Likewise.
2546 * include/stdio.h (__fortify_fail_abort): Likewise.
2547 * include/time.h (__tz_compute): Likewise.
2548 (__strptime_internal): Likewise.
2549 * intl/gettextP.h (_nl_find_domain): Likewise.
2550 (_nl_load_domain): Likewise.
2551 (_nl_find_msg): Likewise.
2552 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
2553 (EXTRACT_PLURAL_EXPRESSION): Likewise.
2554 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
2555 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
2556 (__gai_find_request): Likewise.
2557 (__gai_remove_request): Likewise.
2558 (__gai_notify): Likewise.
2559 (__gai_notify_only): Likewise.
2560 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2561 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2562 (_dl_non_dynamic_init): Likewise.
2563 (_dl_aux_init): Likewise.
2564 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
2565 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2567 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
2568 (__wcsmbs_clone_conv): Likewise.
2569 (__wcsmbs_named_conv): Likewise.
2571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2574 * include/stdlib.h (__random): Add attribute_hidden.
2575 (__random_r): Likewise.
2576 (__srandom_r): Likewise.
2577 (__initstate_r): Likewise.
2578 (__setstate_r): Likewise.
2579 (__erand48_r): Likewise.
2580 (__nrand48_r): Likewise.
2581 (__jrand48_r): Likewise.
2582 (__srand48_r): Likewise.
2583 (__seed48_r): Likewise.
2584 (__lcong48_r): Likewise.
2585 (__drand48_iterate): Likewise.
2586 (__setenv): Likewise.
2587 (__unsetenv): Likewise.
2588 (__clearenv): Likewise.
2589 (__ptsname_r): Likewise.
2590 (__posix_openpt): Likewise.
2591 (__add_to_environ): Likewise.
2592 (__realpath): Add libc_hidden_proto.
2593 (__ecvt_r): Likewise.
2594 (__fcvt_r): Likewise.
2595 (__qecvt_r): Likewise.
2596 (__qfcvt_r): Likewise.
2597 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2598 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2600 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2603 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2604 * include/time.h (__mktime_internal): Likewise.
2605 * libio/iolibio.h (__fopen_internal): Likewise.
2607 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2609 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2611 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2612 Correct offset used to restore PIC register.
2614 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2617 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2618 code to load address of __getcontext_ret when generating PIC code.
2620 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2622 * elf/Makefile (tests-static-internal): Add
2623 tst-tls1-static-non-pie.
2624 (LDFLAGS-tst-tls1-static-non-pie): New.
2625 * elf/tst-tls1-static-non-pie.c: New file.
2627 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2629 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2630 (asinh): Define using libm_alias_double.
2631 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2632 (cbrt): Define using libm_alias_double.
2633 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2634 <libm-alias-double.h>.
2635 (copysign): Define using libm_alias_double.
2636 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2637 (erf): Define using libm_alias_double.
2639 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2640 (expm1): Define using libm_alias_double.
2641 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2642 (fabs): Define using libm_alias_double.
2643 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2645 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2646 <libm-alias-double.h>.
2647 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2649 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2650 <libm-alias-double.h>.
2651 (getpayload): Define using libm_alias_double.
2652 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2653 <libm-alias-double.h>.
2654 (llrint): Define using libm_alias_double.
2655 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2656 (lrint): Define using libm_alias_double.
2657 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2658 <libm-alias-double.h>.
2659 (nextup): Define using libm_alias_double.
2660 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2661 <libm-alias-double.h>.
2662 (roundeven): Define using libm_alias_double.
2663 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2665 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2666 <libm-alias-double.h>.
2667 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2668 using libm_alias_double.
2669 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2670 (cos): Define using libm_alias_double.
2672 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
2673 <libm-alias-double.h>.
2674 (sincos): Define using libm_alias_double.
2675 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
2676 (tanh): Define using libm_alias_double.
2677 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2678 <libm-alias-double.h>.
2679 (totalorder): Define using libm_alias_double.
2680 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2681 <libm-alias-double.h>.
2682 (totalordermag): Define using libm_alias_double.
2683 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2685 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2687 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2688 <libm-alias-double.h>.
2689 (getpayload): Define using libm_alias_double.
2690 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2691 <libm-alias-double.h>.
2692 (roundeven): Define using libm_alias_double.
2693 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2694 <libm-alias-double.h>.
2695 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2696 <libm-alias-double.h>.
2697 (totalorder): Define using libm_alias_double.
2698 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2699 <libm-alias-double.h>.
2700 (totalordermag): Define using libm_alias_double.
2701 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2702 libc compat symbol here.
2703 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2704 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2705 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2706 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2707 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2708 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2709 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2710 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2711 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2712 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2714 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2716 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2717 _dl_relocate_static_pie instead of _dl_start to compute load
2718 address in static PIE. Return 0 if _DYNAMIC is undefined for
2721 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2723 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2724 _DYNAMIC is undefined for static executable.
2726 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2728 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2730 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2734 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2736 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2737 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2738 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2739 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2741 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2742 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2743 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2744 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2745 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2746 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2747 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2748 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2749 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2750 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2751 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2752 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2754 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2756 * math/bits/cmathcalls.h (cimag): Remove inline.
2757 (creal): Remove inline.
2758 (conj): Remove inline.
2760 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2762 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2763 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2764 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2765 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2766 (issignalingf_inline): Likewise.
2767 (POWF_LOG2_TABLE_BITS): Likewise.
2768 (POWF_LOG2_POLY_ORDER): Likewise.
2769 (POWF_SCALE_BITS): Likewise.
2770 (POWF_SCALE): Likewise.
2771 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2772 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2773 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2775 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2777 * math/Makefile (type-float-routines): Add e_log2f_data.
2778 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2779 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2780 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2781 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2782 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2783 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2784 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2786 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2788 * math/Makefile (type-float-routines): Add e_logf_data.
2789 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2790 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2791 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2792 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2793 * sysdeps/i386/fpu/e_logf_data.c: New file.
2794 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2795 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2797 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2799 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2800 undefined _DYNAMIC in PIE libc.a.
2801 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2804 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2806 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2807 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2808 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2809 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2810 (__signbit): Remove.
2811 (__signbitl): Remove.
2812 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2813 (__signbit): Remove.
2814 (__signbitl): Remove.
2815 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2816 (__signbit): Remove.
2817 (__signbitl): Remove.
2818 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2819 (__signbit): Remove.
2820 (__signbitl): Remove.
2821 * sysdeps/tile/bits/mathinline.h: Delete file.
2822 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2823 (__signbit): Remove.
2824 (__signbitl): Remove.
2826 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2828 * math/math.h: Improve handling of C99 isgreater macros.
2829 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2830 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2831 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2832 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2833 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2835 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2837 * sysdeps/aarch64/libm-test-ulps: Update.
2839 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2842 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2843 math_opt_barrier on argument when doing arithmetic on it.
2844 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2845 Likewise. Use math_force_eval not math_opt_barrier after
2847 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2848 math_opt_barrier on argument when doing arithmetic on it.
2849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2852 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2854 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2856 (__freeifaddrs): Likewise.
2858 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2860 * include/dirent.h (__dirfd): New declaration.
2861 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2863 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2864 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2865 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2866 * include/unistd.h (__revoke): New declaration.
2867 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2869 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2870 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2872 * include/dirent.h (__seekdir): New declaration.
2873 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2874 redefine as weak alias.
2875 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2877 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2878 and use libc_hidden_def on them.
2879 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2881 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2882 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2883 instead of getifaddrs and freeifaddrs.
2885 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2888 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2889 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2890 (__dso_handle): Remove declaration.
2891 * dlfcn/tstatexit.c (__dso_handle): Removed.
2892 (main): Don't check __dso_handle.
2893 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2894 (main): Don't check __dso_handle.
2895 * include/dso_handle.h: New file.
2896 * malloc/mtrace.c: Include <dso_handle.h>.
2897 (mtrace): Pass __dso_handle directly.
2898 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2899 (__dso_handle): Remove declaration.
2900 (__pthread_atfork): Pass __dso_handle directly.
2901 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2902 (__dso_handle): Removed.
2903 * posix/wordexp-test.c: Include <dso_handle.h>.
2904 (__dso_handle): Remove declaration.
2905 (__app_register_atfork): Pass __dso_handle directly.
2906 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2907 (__dso_handle): Remove declaration.
2908 (at_quick_exit): Pass __dso_handle directly.
2909 * stdlib/atexit.c: Include <dso_handle.h>.
2910 (__dso_handle): Remove declaration.
2911 (atexit): Pass __dso_handle directly.
2912 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2913 (__dso_handle): Removed.
2915 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2917 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2920 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2922 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2923 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2924 values to correct default value for given type.
2926 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2929 * elf/Makefile (tests): Add tst-debug1.
2930 ($(objpfx)tst-debug1): New.
2931 ($(objpfx)tst-debug1.out): Likewise.
2932 ($(objpfx)tst-debug1mod1.so): Likewise.
2933 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2935 * elf/tst-debug1.c: New file.
2937 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2939 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2940 Define using __ifunc.
2942 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2944 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2947 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2950 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2952 2017-09-26 Florian Weimer <fweimer@redhat.com>
2954 * resolv/Makefile (tests-internal): Fix typo in comment.
2956 2017-09-26 Florian Weimer <fweimer@redhat.com>
2958 * resolv/nss_dns/dns-host.c: Fix typo in comment.
2960 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2962 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
2963 Use an union instead of a max_align_t array for __space,
2964 so that __space is the same size on all platforms.
2965 * malloc/scratch_buffer_grow_preserve.c
2966 (__libc_scratch_buffer_grow_preserve): Likewise.
2969 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
2971 * posix/Makefile (routines): Add glob-lstat-compat and
2972 glob64-lstat-compat.
2973 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
2974 * posix/glob-lstat-compat.c: New file.
2975 * posix/glob64-lstat-compat.c: Likewise.
2976 * posix/tst-glob_lstat_compat.c: Likewise.
2977 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
2978 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
2979 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
2980 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
2982 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
2983 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
2984 * posix/glob.c (glob_lstat): New function.
2985 (glob): Rename to __glob and add versioned symbol to 2.27.
2986 (glob_in_dir): Use glob_lstat.
2987 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
2988 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2989 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
2991 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
2992 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
2993 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
2994 gl_lstat on glob call.
2995 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
2997 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2998 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2999 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3000 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3001 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3002 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3003 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3005 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3006 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3007 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3008 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3011 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3013 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3014 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3015 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3016 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3017 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3020 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3021 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3022 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3024 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
3026 * configure.ac (AS): Require binutils 2.25 or later.
3027 * configure: Regenerated.
3029 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3032 * stdlib/test-atexit-race-common.c (do_test): Minimize required
3035 2017-09-25 DJ Delorie <dj@redhat.com>
3038 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
3041 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3043 * sysdeps/ieee754/dbl-64/sincos32.h
3044 [SINCCOS32_H]: Remove define.
3045 [SINCOS32_H]: Define.
3047 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3049 * math/Versions (expf): New libm symbol at GLIBC_2.27.
3051 * math/w_exp2f.c: New file.
3052 * math/w_expf.c: New file.
3053 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
3054 * math/w_expf_compat.c (__expf_compat): Likewise.
3055 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
3056 * sysdeps/ia64/fpu/e_expf.S: Likewise.
3057 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3058 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3059 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3060 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3061 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3062 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3063 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3064 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3065 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3066 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3067 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3068 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3077 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3078 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3079 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3080 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3086 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3087 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3088 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3090 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3092 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
3093 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
3094 (roundtoint, converttoint): Likewise.
3095 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
3096 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
3097 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
3098 * sysdeps/ieee754/flt-32/math_config.h: New file.
3099 * sysdeps/ieee754/flt-32/math_errf.c: New file.
3100 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
3101 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
3102 * sysdeps/i386/fpu/math_errf.c: New file.
3103 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
3104 * sysdeps/ia64/fpu/math_errf.c: New file.
3105 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
3106 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
3108 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3110 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
3111 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
3112 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
3113 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
3114 to make sure that these symbols are defined.
3115 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
3117 (__need_NULL): Do not define.
3118 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
3120 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
3121 CMGROUP_MAX, cmsgcred): Do not define.
3122 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
3124 * bits/socket.h: Likewise.
3125 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
3126 __gettimeofday instead of gettimeofday.
3127 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
3128 instead of settimeofday.
3130 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3132 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
3133 (asinhf): Define using libm_alias_float.
3134 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
3135 (atanf): Define using libm_alias_float.
3136 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
3137 (cbrtf): Define using libm_alias_float.
3138 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
3139 (ceilf): Define using libm_alias_float.
3140 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
3141 <libm-alias-float.h>.
3142 (copysignf): Define using libm_alias_float.
3143 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
3144 (cosf): Define using libm_alias_float.
3145 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
3146 (erff): Define using libm_alias_float.
3148 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
3149 (expm1f): Define using libm_alias_float.
3150 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
3151 (fabsf): Define using libm_alias_float.
3152 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
3153 (floorf): Define using libm_alias_float.
3154 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
3155 (frexpf): Define using libm_alias_float.
3156 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
3158 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
3159 <libm-alias-float.h>.
3160 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
3162 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
3163 <libm-alias-float.h>.
3164 (getpayloadf): Define using libm_alias_float.
3165 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
3166 <libm-alias-float.h>.
3167 (llrintf): Define using libm_alias_float.
3168 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
3169 <libm-alias-float.h>.
3170 (llroundf): Define using libm_alias_float.
3171 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
3172 (logbf): Define using libm_alias_float.
3173 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
3174 (lrintf): Define using libm_alias_float.
3175 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
3176 (lroundf): Define using libm_alias_float.
3177 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
3178 (modff): Define using libm_alias_float.
3179 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
3180 <libm-alias-float.h>.
3181 (nearbyintf): Define using libm_alias_float.
3182 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
3183 <libm-alias-float.h>.
3184 (nextafterf): Define using libm_alias_float.
3185 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
3186 <libm-alias-float.h>.
3187 (nextupf): Define using libm_alias_float.
3188 * sysdeps/ieee754/flt-32/s_remquof.c: Include
3189 <libm-alias-float.h>.
3190 (remquof): Define using libm_alias_float.
3191 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
3192 (rintf): Define using libm_alias_float.
3193 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
3194 <libm-alias-float.h>.
3195 (roundevenf): Define using libm_alias_float.
3196 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
3197 (roundf): Define using libm_alias_float.
3198 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
3199 using libm_alias_float.
3200 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
3201 <libm-alias-float.h>.
3202 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
3203 Define using libm_alias_float.
3204 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
3205 <libm-alias-float.h>.
3206 (sincosf): Define using libm_alias_float.
3207 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
3208 (sinf): Define using libm_alias_float.
3209 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
3210 (tanf): Define using libm_alias_float.
3211 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
3212 (tanhf): Define using libm_alias_float.
3213 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3214 <libm-alias-float.h>.
3215 (totalorderf): Define using libm_alias_float.
3216 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3217 <libm-alias-float.h>.
3218 (totalordermagf): Define using libm_alias_float.
3219 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
3220 (truncf): Define using libm_alias_float.
3221 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
3223 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
3226 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3229 math/math.h: Let fpclassify use the builtin in C++ mode, even
3230 when optimazing for size.
3232 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3234 * csu/Makefile (generated): Do not add version-info.h.
3235 (before-compile): Likewise.
3236 (all-Banner-files): Remove variable.
3237 ($(objpfx)version-info.h): Remove rule.
3238 * csu/version.c (banner): Do not include "version-info.h".
3239 * libidn/Banner: Remove.
3240 * manual/contrib.texi (Simon Josefsson): New entry.
3242 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3244 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3245 Remove conditionals on LDBL_MANT_DIG.
3246 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
3247 (__ieee754_lgammal_r): Likewise.
3249 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
3253 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
3254 _Float128 and L(). Replace _Float128 with long double and L(x)
3255 with xL, throughout the file.
3256 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3261 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
3264 sysdeps/ieee754/ldbl-128ibm.
3265 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
3266 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
3267 of including it. Keep _Float128 and L() intact. These will be
3268 reviewed by a separate patch.
3269 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3270 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3271 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3274 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
3277 (__finitef128): Define to __redirect___finitef128.
3278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
3279 (__isinff128): Define to __redirect___isinff128.
3280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
3281 (__isnanf128): Define to __redirect___isnanf128.
3283 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3285 * sysdeps/powerpc/powerpc64le/Makefile
3286 (CFLAGS-tst-strtod-nan-locale.c): New variable.
3287 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
3289 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3290 Carlos O'Donell <carlos@redhat.com>
3293 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
3294 * stdlib/test-dlclose-exit-race.c: New file.
3295 * stdlib/test-dlclose-exit-race-helper.c: New file.
3296 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
3298 2017-09-21 Joseph Myers <joseph@codesourcery.com>
3300 * crypt/Banner: Remove file.
3301 * nptl/Banner: Likewise.
3302 * resolv/Banner: Likewise.
3303 * soft-fp/Banner: Likewise.
3304 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
3305 ($(objpfx)version.d): Remove dependency on banner.h.
3306 ($(objpfx)version.os): Likewise.
3307 * nptl/version.c (banner): Do not include banner.h.
3308 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
3309 Jelinek and BIND code.
3311 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3312 Carlos O'Donell <carlos@redhat.com>
3314 * support/xdlfcn.h: New file.
3315 * support/xdlfcn.c: New file.
3316 * support/Makefile (libsupport-routines): Add xdlfcn.
3317 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
3319 2017-09-20 Joseph Myers <joseph@codesourcery.com>
3322 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3323 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
3324 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
3325 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
3326 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3327 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
3328 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
3329 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3331 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3332 Ricky Zhou <rickyz@google.com>
3333 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
3336 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
3338 (__new_exitfn): Fail registration when we finished at_exit processing.
3339 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3340 * stdlib/on_exit.c (__on_exit): Likewise.
3341 * stdlib/exit.c (__exit_funcs_done): New variable.
3342 (__run_exit_handlers): Use __exit_funcs_lock.
3343 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
3345 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
3346 (test-cxa_atexit-race, test-on_exit-race): New tests.
3347 * stdlib/test-atexit-race-common.c: New file.
3348 * stdlib/test-atexit-race.c: New file.
3349 * stdlib/test-at_quick_exit-race.c: New file.
3350 * stdlib/test-cxa_atexit-race.c: New file.
3351 * stdlib/test-on_exit-race.c: New file.
3353 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
3355 * benchtests/Makefile: Add exp2f and log2f benchmarks.
3356 * benchtests/exp2f-inputs: Copy of expf-inputs.
3357 * benchtests/log2f-inputs: Copy of logf-inputs.
3359 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3361 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
3362 Explicitly take address of first element of array arguments in
3363 call to INLINE_SYSCALL.
3365 2017-09-19 Andreas Schwab <schwab@suse.de>
3368 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
3370 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
3372 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
3373 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
3374 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3375 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
3376 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3377 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3379 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3380 * posix/Makefile (tests): Add tst-fexecve.
3381 * posix/tst-fexecve.c: New file.
3383 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3385 * benchtests/Makefile: Add logf benchmark.
3386 * benchtests/logf-inputs: Add reduced trace from wrf_r.
3388 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3390 * benchtests/Makefile: Add expf benchmark.
3391 * benchtests/expf-inputs: Add reduced trace from wrf_r.
3393 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3395 * csu/Makefile: Add -funwind-tables to libc-start.c.
3396 * debug/Makefile: Add -funwind-tables to backtrace.c.
3397 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
3398 * sysdeps/arm/Makefile: Likewise.
3399 * sysdeps/i386/Makefile: Likewise.
3400 * sysdeps/m68k/Makefile: Likewise.
3401 * sysdeps/mips/Makefile: Likewise.
3402 * sysdeps/nios2/Makefile: Likewise.
3403 * sysdeps/sh/Makefile: Likewise.
3404 * sysdeps/sparc/Makefile: Likewise.
3406 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3408 * benchtests/Makefile (bench-math): Add trunc and truncf.
3409 (CFLAGS-bench-trunc.c): New variable.
3410 (CFLAGS-bench-truncf.c): Likewise.
3411 * benchtests/trunc-inputs: New file.
3412 * benchtests/truncf-inputs: Likewise.
3414 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3416 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
3418 2017-09-18 Joseph Myers <joseph@codesourcery.com>
3420 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
3421 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
3423 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3424 (exp10l): Define as weak alias.
3425 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
3426 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
3428 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
3429 (remainderl): Define as weak alias.
3431 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
3432 (fmal): Define using libm_alias_ldouble.
3433 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
3434 (acoshl): Define using libm_alias_ldouble.
3435 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
3436 (acosl): Define using libm_alias_ldouble.
3437 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
3438 (asinl): Define using libm_alias_ldouble.
3439 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
3440 (atan2l): Define using libm_alias_ldouble.
3441 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
3442 (atanhl): Define using libm_alias_ldouble.
3443 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
3444 (coshl): Define using libm_alias_ldouble.
3445 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
3446 (exp10l): Define using libm_alias_ldouble.
3447 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
3448 (exp2l): Define using libm_alias_ldouble.
3449 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
3450 (expl): Define using libm_alias_ldouble.
3451 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
3452 (fmodl): Define using libm_alias_ldouble.
3453 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
3454 (hypotl): Define using libm_alias_ldouble.
3455 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
3456 (j0l): Define using libm_alias_ldouble.
3458 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
3459 (j1l): Define using libm_alias_ldouble.
3461 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
3462 (jnl): Define using libm_alias_ldouble.
3464 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
3465 (log10l): Define using libm_alias_ldouble.
3466 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
3467 (log2l): Define using libm_alias_ldouble.
3468 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
3469 (logl): Define using libm_alias_ldouble.
3470 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
3471 (powl): Define using libm_alias_ldouble.
3472 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
3473 (remainderl): Define using libm_alias_ldouble.
3474 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
3475 (sinhl): Define using libm_alias_ldouble.
3476 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
3477 (sqrtl): Define using libm_alias_ldouble.
3478 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
3479 (tgammal): Define using libm_alias_ldouble.
3480 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
3481 (exp10l): Do not use long_double_symbol here.
3482 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3483 [LIBM_SVID_COMPAT] (remainderl): Likewise.
3484 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
3485 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3486 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3487 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3488 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3489 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3490 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3491 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3492 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3493 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3494 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3495 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3496 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3497 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3498 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3499 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3500 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3501 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3502 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3503 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3505 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
3507 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
3508 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
3510 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3512 * io/read.c (read): Add libc_hidden_weak.
3513 * sysdeps/mach/hurd/read.c (read): Likewise.
3514 * io/write.c (write): Likewise.
3515 * sysdeps/mach/hurd/write.c (write): Likewise.
3516 * io/pread64.c (__pread64): Likewise.
3517 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
3518 * posix/pread64.c (__pread64): Add libc_hidden_def.
3520 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3522 * benchtests/scripts/compare_strings.py: New option -g.
3523 (draw_graph): Print a message that a graph is being generated.
3524 (process_results): Generate graph only if -g is passed.
3525 (main): Process option -g.
3527 * benchtests/scripts/compare_strings.py (process_results):
3528 Better spacing for output.
3530 * benchtests/scripts/compare_strings.py: Use argparse.
3531 * benchtests/README: Document existence of compare_strings.py.
3533 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3535 * math/s_fma.c: Include <libm-alias-double.h>.
3536 (fma): Define using libm_alias_double.
3537 * math/s_nextafter.c: Include <libm-alias-double.h>.
3538 (nextafter): Define using libm_alias_double.
3539 * math/w_acos_compat.c: Include <libm-alias-double.h>.
3540 (acos): Define using libm_alias_double.
3541 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
3542 (aocsh): Define using libm_alias_double.
3543 * math/w_asin_compat.c: Include <libm-alias-double.h>.
3544 (asin): Define using libm_alias_double.
3545 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
3546 (atan2): Define using libm_alias_double.
3547 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
3548 (atanh): Define using libm_alias_double.
3549 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
3550 (cosh): Define using libm_alias_double.
3551 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
3552 (exp10): Define using libm_alias_double.
3553 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
3554 (exp2): Define using libm_alias_double.
3555 * math/w_exp_compat.c: Include <libm-alias-double.h>.
3556 (exp): Define using libm_alias_double.
3557 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
3558 (fmod): Define using libm_alias_double.
3559 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
3560 (hypot): Define using libm_alias_double.
3561 * math/w_j0_compat.c: Include <libm-alias-double.h>.
3562 (j0): Define using libm_alias_double.
3564 * math/w_j1_compat.c: Include <libm-alias-double.h>.
3565 (j1): Define using libm_alias_double.
3567 * math/w_jn_compat.c: Include <libm-alias-double.h>.
3568 (jn): Define using libm_alias_double.
3570 * math/w_log10_compat.c: Include <libm-alias-double.h>.
3571 (log10): Define using libm_alias_double.
3572 * math/w_log2_compat.c: Include <libm-alias-double.h>.
3573 (log2): Define using libm_alias_double.
3574 * math/w_log_compat.c: Include <libm-alias-double.h>.
3575 (log): Define using libm_alias_double.
3576 * math/w_pow_compat.c: Include <libm-alias-double.h>.
3577 (pow): Define using libm_alias_double.
3578 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
3579 (remainder): Define using libm_alias_double.
3580 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
3581 (sinh): Define using libm_alias_double.
3582 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
3583 (sqrt): Define using libm_alias_double.
3584 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
3585 (tgamma): Define using libm_alias_double.
3586 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
3587 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
3588 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
3589 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
3590 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
3591 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
3592 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
3593 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3594 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3595 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3596 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3597 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3598 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3599 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3600 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3601 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3602 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3603 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3604 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3605 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3606 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3607 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3608 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3609 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3610 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3612 * math/e_acoshl.c: Remove.
3613 * math/e_acosl.c: Likewise.
3614 * math/e_asinl.c: Likewise.
3615 * math/e_atan2l.c: Likewise.
3616 * math/e_atanhl.c: Likewise.
3617 * math/e_coshl.c: Likewise.
3618 * math/e_expl.c: Likewise.
3619 * math/e_fmodl.c: Likewise.
3620 * math/e_gammal_r.c: Likewise.
3621 * math/e_hypotl.c: Likewise.
3622 * math/e_j0l.c: Likewise.
3623 * math/e_j1l.c: Likewise.
3624 * math/e_jnl.c: Likewise.
3625 * math/e_lgammal_r.c: Likewise.
3626 * math/e_log10l.c: Likewise.
3627 * math/e_log2l.c: Likewise.
3628 * math/e_logl.c: Likewise.
3629 * math/e_powl.c: Likewise.
3630 * math/e_rem_pio2l.c: Likewise.
3631 * math/e_sinhl.c: Likewise.
3632 * math/e_sqrtf128.c: Likewise.
3633 * math/e_sqrtl.c: Likewise.
3634 * math/k_cosl.c: Likewise.
3635 * math/k_sinl.c: Likewise.
3636 * math/k_tanl.c: Likewise.
3637 * math/s_asinhl.c: Likewise.
3638 * math/s_atanl.c: Likewise.
3639 * math/s_cbrtl.c: Likewise.
3640 * math/s_erfl.c: Likewise.
3641 * math/s_expm1l.c: Likewise.
3642 * math/s_log1pl.c: Likewise.
3643 * math/s_tanhl.c: Likewise.
3645 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3649 [$(subdir) = math] (sysdep_calls): New variable. Has the
3650 previous contents of sysdep_routines, but re-sorted..
3651 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3653 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3654 defined in sysdep_calls and replace by the respective m_* names.
3655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3656 (compat_symbol): Undefine to avoid duplicated compat symbols in
3659 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3661 * math/s_fmaf.c: Include <libm-alias-float.h>.
3662 (fmaf): Define using libm_alias_float.
3663 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3664 (acosf): Define using libm_alias_float.
3665 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3666 (acoshf): Define using libm_alias_float.
3667 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3668 (asinf): Define using libm_alias_float.
3669 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3670 (atan2f): Define using libm_alias_float.
3671 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3672 (atanhf): Define using libm_alias_float.
3673 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
3674 (coshf): Define using libm_alias_float.
3675 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
3676 (exp10f): Define using libm_alias_float.
3677 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
3678 (fmodf): Define using libm_alias_float.
3679 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
3680 (hypotf): Define using libm_alias_float.
3681 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
3682 (j0f): Define using libm_alias_float.
3684 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3685 (j1f): Define using libm_alias_float.
3687 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3688 (jnf): Define using libm_alias_float.
3690 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3691 (log10f): Define using libm_alias_float.
3692 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3693 (log2f): Define using libm_alias_float.
3694 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3695 (logf): Define using libm_alias_float.
3696 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3697 (powf): Define using libm_alias_float.
3698 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3699 (remainderf): Define using libm_alias_float.
3700 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3701 (sinhf): Define using libm_alias_float.
3702 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3703 (sqrtf): Define using libm_alias_float.
3704 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3705 (tgammaf): Define using libm_alias_float.
3707 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3709 * include/math.h (roundeven): Change hidden_proto call to
3711 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3713 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3714 (y0): Rename to __y0 and define as weak alias.
3715 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3716 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3718 (y0f): Rename to __y0f and define as weak alias.
3719 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3721 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3722 (y1): Rename to __y1 and define as weak alias.
3723 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3724 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3726 (y1f): Rename to __y1f and define as weak alias.
3727 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3729 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3730 (yn): Rename to __yn and define as weak alias.
3731 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3732 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3734 (ynf): Rename to __ynf and define as weak alias.
3735 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3736 (fromfp): Define as weak alias.
3737 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3738 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3739 (fromfpx): Define as weak alias.
3740 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3741 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3742 __getpayload and define as weak alias.
3743 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3744 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3745 __roundeven and define as weak alias.
3746 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3747 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3749 (setpayload): Define as weak alias.
3750 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3751 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3753 (setpayloadsig): Define as weak alias.
3754 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3755 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3756 __totalorder and define as weak alias.
3757 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3758 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3759 to __totalordermag and define as weak alias.
3760 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3761 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3762 (ufromfp): Define as weak alias.
3763 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3764 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3766 (ufromfpx): Define as weak alias.
3767 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3768 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3769 Rename to __getpayload and define as weak alias.
3770 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3771 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3772 Rename to __roundeven and define as weak alias.
3773 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3774 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3775 Rename to __totalorder and define as weak alias.
3776 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3777 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3778 (totalordermag): Rename to __totalordermag and define as weak
3780 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3781 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3783 (__roundevenl): Likewise.
3784 (__totalorderl): Likewise.
3785 (__totalordermagl): Likewise
3786 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3788 (fromfpf128): Define as weak alias.
3789 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3791 (fromfpxf128): Define as weak alias.
3792 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3794 (setpayloadf128): Define as weak alias.
3795 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3796 __setpayloadsigf128.
3797 (setpayloadsigf128): Define as weak alias.
3798 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3800 (ufromfpf128): Define as weak alias.
3801 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3803 (ufromfpxf128): Define as weak alias.
3804 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3805 (fromfpf): Define as weak alias.
3806 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3808 (fromfpxf): Define as weak alias.
3809 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3810 __getpayloadf and define as weak alias.
3811 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3812 __roundevenf and define as weak alias.
3813 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3815 (setpayloadf): Define as weak alias.
3816 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3818 (setpayloadsigf): Define as weak alias.
3819 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3820 __totalorderf and define as weak alias.
3821 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3822 Rename to __totalordermagf and define as weak alias.
3823 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3825 (ufromfpf): Define as weak alias.
3826 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3828 (ufromfpxf): Define as weak alias.
3829 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3831 (fromfpl): Define as weak alias.
3832 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3834 (fromfpxl): Define as weak alias.
3835 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3836 to __getpayloadl and define as weak alias.
3837 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3838 __roundevenl and define as weak alias.
3839 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3841 (setpayloadl): Define as weak alias.
3842 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3844 (setpayloadsigl): Define as weak alias.
3845 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3846 to __totalorderl and define as weak alias.
3847 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3848 Rename to __totalordermagl and define as weak alias.
3849 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3851 (ufromfpl): Define as weak alias.
3852 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3854 (ufromfpxl): Define as weak alias.
3855 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3857 (fromfpl): Define as weak alias.
3858 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3860 (fromfpxl): Define as weak alias.
3861 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3862 Rename to __getpayloadl and define as weak alias.
3863 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3864 to __roundevenl and define as weak alias. Call __roundeven
3865 instead of roundeven.
3866 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3868 (setpayloadl): Define as weak alias.
3869 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3871 (setpayloadsigl): Define as weak alias.
3872 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3873 Rename to __totalorderl and define as weak alias.
3874 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3875 Rename to __totalordermagl and define as weak alias.
3876 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3878 (ufromfpl): Define as weak alias.
3879 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3881 (ufromfpxl): Define as weak alias.
3882 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3884 (fromfpl): Define as weak alias.
3885 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3887 (fromfpxl): Define as weak alias.
3888 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3889 __getpayloadl and define as weak alias.
3890 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3891 __roundevenl and define as weak alias.
3892 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3894 (setpayloadl): Define as weak alias.
3895 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3897 (setpayloadsigl): Define as weak alias.
3898 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3899 __totalorderl and define as weak alias.
3900 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3901 Rename to __totalordermagl and define as weak alias.
3902 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3904 (ufromfpl): Define as weak alias.
3905 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3907 (ufromfpxl): Define as weak alias.
3909 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3911 * benchtests/bench-string.h (realloc_bufs): New function.
3912 (test_init): Call it.
3913 * benchtests/bench-memset-large.c (do_test): Likewise.
3914 * benchtests/bench-memset.c (do_test): Likewise.
3916 * benchtests/bench-memset-large.c: Print output in JSON
3918 * benchtests/bench-memset.c: Likewise.
3920 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3923 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3924 * iconvdata/Makefile: Add IBM858.
3925 * iconvdata/gconv-modules: Likewise.
3926 * iconvdata/tst-tables.sh: Likewise.
3927 * iconvdata/ibm858.c: New file.
3928 * localedata/charmaps/IBM858: Likewise.
3930 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3933 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3934 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3936 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3939 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3940 and add tel_int_fmt.
3942 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3944 * sysdeps/generic/libm-alias-float128.h: New file.
3945 * sysdeps/generic/math-type-macros-float128.h: Include
3946 <libm-alias-float128.h>.
3947 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3949 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3951 * sysdeps/generic/libm-alias-ldouble.h: New file.
3952 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3953 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3954 * sysdeps/generic/math-type-macros-ldouble.h: Include
3955 <libm-alias-ldouble.h>.
3956 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3959 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3961 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
3962 * math/w_exp_compat.c: ... here.
3963 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
3964 * math/w_expf_compat.c: ... here.
3965 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
3966 * math/w_expl_compat.c: ... here.
3967 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
3968 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
3969 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
3970 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3972 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3974 * math/w_scalbln_template.c (strong_alias): Do not undefine and
3976 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
3978 (ldexpl): Only define as compat symbol for libc, not libm.
3979 (scalbnl): Define as compat symbol for libc here.
3980 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
3981 define for [IS_IN (libc)].
3982 (__ldexpl_2): Remove alias.
3983 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
3984 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
3985 name in long_double_symbol call.
3986 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
3987 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3988 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3989 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
3990 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
3992 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
3993 Define as compat symbol.
3995 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3997 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
3998 * sysdeps/unix/sysv/linux/alpha/Makefile
3999 [$(subdir) = csu] (sysdep_routines): Remove rule.
4001 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4003 * sysdeps/generic/libm-alias-double.h: New file.
4004 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
4005 * sysdeps/generic/math-type-macros-double.h: Include
4006 <libm-alias-double.h>.
4007 [declare_mgen_alias] (declare_mgen_alias): Define to use
4009 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
4010 (M_LIBM_NEED_COMPAT): Remove macro.
4011 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
4012 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
4013 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
4015 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4016 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4017 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4018 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4019 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4020 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4021 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4022 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4023 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4024 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4025 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4026 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4027 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4028 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4029 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4030 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4031 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4032 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4033 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4034 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4035 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4036 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4037 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4038 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4039 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4040 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4041 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4042 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
4043 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
4045 (declare_mgen_alias): New macro.
4046 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
4047 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
4049 (M_LIBM_NEED_COMPAT): Remove macro.
4050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
4051 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
4053 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
4054 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
4056 2017-09-12 Joseph Myers <joseph@codesourcery.com>
4058 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
4059 (declare_mgen_alias_2): Remove.
4060 * sysdeps/generic/math-type-macros-double.h
4061 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
4063 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
4065 (ldexp): Define with declare_mgen_alias.
4068 2017-09-12 Steve Ellcey <sellcey@cavium.com>
4070 * grp/initgroups.c: Include config.h.
4071 (DEFAULT_CONFIG): New macro.
4072 (internal_getgrouplist): Use DEFAULT_CONFIG.
4073 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4074 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
4075 (DEFAULT_DEFCONFIG): New macro.
4076 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
4077 * nss/grp-lookup.c: Include config.h
4078 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
4079 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
4080 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
4081 * manual/nss.texi: Update default values section.
4083 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
4086 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
4088 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
4089 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4090 Handle MathVec_Prefer_No_AVX512.
4091 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
4092 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
4095 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
4097 * posix/sched_primax.c (__sched_get_priority_max): Add
4099 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
4100 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4101 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4102 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
4103 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
4104 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
4105 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
4106 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
4109 2017-09-11 Joseph Myers <joseph@codesourcery.com>
4111 * sysdeps/generic/libm-alias-float.h: New file.
4112 * sysdeps/generic/math-type-macros-float.h: Include
4113 <libm-alias-float.h>.
4114 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
4116 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
4119 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
4120 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
4121 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
4122 (HWCAP_IMPORTANT): Likewise.
4123 (HWCAP_X86_64): New enum.
4124 (HWCAP_X86_AVX512_1): Updated.
4125 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
4126 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
4127 (modules-names): Add x86_64/tst-x86_64mod-1.
4128 (LDFLAGS-tst-x86_64mod-1.so): New.
4129 ($(objpfx)tst-x86_64-1): Likewise.
4130 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
4131 (tst-x86_64-1-clean): Likewise.
4132 * sysdeps/x86_64/tst-x86_64-1.c: New file.
4133 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
4135 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4137 * po/sv.po: Update translations.
4138 * po/fr.po: Likewise.
4140 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4142 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
4144 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
4146 * elf/rtld-Rules: Fix $(error) use.
4148 2017-09-09 Mike FABIAN <mfabian@redhat.com>
4151 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
4152 * locale/iso-639.def: Change “Bengali” to “Bangla”.
4153 * localedata/locales/bn_BD: “Bengali” was still used in some
4154 comments. Change it to “Bangla”.
4156 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
4158 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
4160 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4162 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
4163 thunderx2t99p1 to list of cpu names.
4164 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4165 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
4167 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4169 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
4170 Use strcmp instead of tunable_is_name.
4172 2017-09-08 Joseph Myers <joseph@codesourcery.com>
4174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4175 (F_GET_RW_HINT): New macro.
4176 [__USE_GNU] (F_SET_RW_HINT): Likewise.
4177 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
4178 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
4179 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
4180 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
4181 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
4182 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
4183 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
4184 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
4186 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4187 (F_ADD_SEALS): New macro.
4188 [__USE_GNU] (F_GET_SEALS): Likewise.
4189 [__USE_GNU] (F_SEAL_SEAL): Likewise.
4190 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
4191 [__USE_GNU] (F_SEAL_GROW): Likewise.
4192 [__USE_GNU] (F_SEAL_WRITE): Likewise.
4194 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4196 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
4197 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
4198 * posix/glob_internal.h (__glob_pattern_type):
4199 * posix/glob.c (glob):
4200 * posix/glob_pattern_p.c (__glob_pattern_p):
4203 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
4204 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4205 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
4206 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
4207 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
4209 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
4210 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
4211 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4212 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4213 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4214 * sysdeps/wordsize-64/glob.c: Likewise.
4215 * sysdeps/wordsize-64/glob64.c: Likewise.
4216 * sysdeps/wordsize-64/globfree.c: Likewise.
4217 * sysdeps/wordsize-64/globfree64.c: Likewise.
4218 * sysdeps/unix/sysv/linux/glob.c: New file.
4219 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
4220 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
4221 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
4222 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4223 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
4224 adds !GLOB_NO_OLD_VERSION as an extra condition.
4225 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
4226 using relative path instead of absolute one.
4227 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
4228 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4229 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4230 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
4231 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
4232 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
4235 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
4236 (glob): Use the same scratch buffer for both getlogin_r and
4237 getpwnam_r. Don’t require preallocation of the login name. This
4238 simplifies storage allocation, and corrects the handling of
4242 * posix/glob.c (glob): Port recent patches to platforms
4244 (glob): Fix longstanding misuse of errno after getpwnam_r, which
4245 returns an error number rather than setting errno.
4247 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
4248 instead of GCC extension.
4249 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
4250 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
4251 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
4255 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
4256 * posix/bug-glob1.c: Remove file.
4257 * posix/tst-glob_symlinks.c: New file.
4258 * posix/glob.c (__lstat64): New macro.
4259 (is_dir): New function.
4260 (glob, glob_in_dir): Match symlinks even if they are dangling.
4261 (link_stat, link_exists_p): Remove. All uses removed.
4265 * posix/glob.c (struct readdir_result): Remove skip_entry member.
4266 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
4271 * posix/Makefile (routines): Add globfree, globfree64, and
4273 * posix/flexmember.h: New file.
4274 * posix/glob_internal.h: Likewise.
4275 * posix/glob_pattern_p.c: Likewise.
4276 * posix/globfree.c: Likewise.
4277 * posix/globfree64.c: Likewise.
4278 * sysdeps/gnu/globfree64.c: Likewise.
4279 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
4280 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4281 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
4282 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4283 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4284 * sysdeps/wordsize-64/globfree.c: Likewise.
4285 * sysdeps/wordsize-64/globfree64.c: Likewise.
4286 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
4287 [NDEBUG): Remove comments.
4288 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
4289 (dirent_type): New type. Use uint_fast8_t not
4290 uint8_t, as C99 does not require uint8_t.
4291 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
4292 (struct readdir_result): Use dirent_type. Do not define skip_entry
4293 unless it is needed; this saves a byte on platforms lacking d_ino.
4294 (readdir_result_type, readdir_result_skip_entry):
4295 New functions, replacing ...
4296 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
4297 these functions, which were removed. This makes the callers
4298 easier to read. All callers changed.
4299 (D_INO_TO_RESULT): Now empty if there is no d_ino.
4300 (size_add_wrapv, glob_use_alloca): New static functions.
4301 (glob, glob_in_dir): Check for size_t overflow in several places,
4302 and fix some size_t checks that were not quite right.
4303 Remove old code using SHELL since Bash no longer
4305 (glob, prefix_array): Separate MS code better.
4306 (glob_in_dir): Remove old Amiga and VMS code.
4307 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
4309 (glob_in_dir): Do not rely on undefined behavior in accessing
4310 struct members beyond their bounds. Use a flexible array member
4312 (link_stat): Rename from link_exists2_p and return -1/0 instead of
4313 0/1. Caller changed.
4314 (glob): Fix memory leaks.
4315 * posix/glob64 (globfree64): Move to separate file.
4316 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
4317 (globfree64): Remove hidden alias.
4318 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
4320 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
4322 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
4324 Move compat code to separate file.
4325 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
4328 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
4330 * resolv/tst-resolv-qtypes.c (domain): Changed to
4331 "const char domain[] =".
4333 2017-09-07 Joseph Myers <joseph@codesourcery.com>
4335 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4338 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
4339 (TCP_MD5SIG_EXT): Likewise.
4340 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
4341 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
4342 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
4344 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
4346 2017-09-07 Mike FABIAN <mfabian@redhat.com>
4348 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
4350 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
4353 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
4355 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4357 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
4358 before assuming that the file is empty. Avoid testing buffer content
4361 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4364 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4366 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
4368 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
4370 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
4372 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4374 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
4376 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
4379 2017-09-06 Florian Weimer <fweimer@redhat.com>
4381 * malloc/dynarray_emplace_enlarge.c
4382 (__libc_dynarray_emplace_enlarge): Add missing else.
4384 2017-09-06 Florian Weimer <fweimer@redhat.com>
4387 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
4388 case of failure to obtain the global conf object.
4390 2017-09-06 Florian Weimer <fweimer@redhat.com>
4393 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
4394 dynarray allocation failure.
4396 2017-09-06 Florian Weimer <fweimer@redhat.com>
4398 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
4399 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
4400 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
4402 (response): Call them. Add 'p', '6' flag processing.
4403 (test_reverse): New function.
4404 (test_get2_any): Call it.
4405 (test_no_inet6): Add 'p' test.
4406 (test_inet6): Likewise.
4408 2017-09-06 Florian Weimer <fweimer@redhat.com>
4410 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
4411 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
4413 (test_gai): Adjust query names. Add additional tests.
4414 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
4415 test_get2. Adjust query names. Add additional tests.
4416 (test_no_inet6): New function, extracted from threadfunc.
4417 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
4418 Add additional tests.
4420 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4423 * localedata/unicode-gen/utf8_gen.py: Set the width for
4424 characters with Prepended_Concatenation_Mark property to 1
4425 * localedata/charmaps/UTF-8: Updated using the improved script.
4427 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4430 * localedata/unicode-gen/utf8_gen.py: Improve the script to
4431 use the range notation for all ranges of neighbouring characters
4432 with the same width.
4434 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4436 * sysdeps/generic/math-type-macros-double.h: Include
4437 <math-svid-compat.h>.
4438 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4439 * sysdeps/generic/math-type-macros-float.h: Include
4440 <math-svid-compat.h>.
4441 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4442 * sysdeps/generic/math-type-macros-ldouble.h: Include
4443 <math-svid-compat.h>.
4444 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4445 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
4447 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
4448 * math/w_acosf_compat.c: Likewise.
4449 * math/w_acosh_compat.c: Likewise.
4450 * math/w_acoshf_compat.c: Likewise.
4451 * math/w_acoshl_compat.c: Likewise.
4452 * math/w_acosl_compat.c: Likewise.
4453 * math/w_asin_compat.c: Likewise.
4454 * math/w_asinf_compat.c: Likewise.
4455 * math/w_asinl_compat.c: Likewise.
4456 * math/w_atan2_compat.c: Likewise.
4457 * math/w_atan2f_compat.c: Likewise.
4458 * math/w_atan2l_compat.c: Likewise.
4459 * math/w_atanh_compat.c: Likewise.
4460 * math/w_atanhf_compat.c: Likewise.
4461 * math/w_atanhl_compat.c: Likewise.
4462 * math/w_cosh_compat.c: Likewise.
4463 * math/w_coshf_compat.c: Likewise.
4464 * math/w_coshl_compat.c: Likewise.
4465 * math/w_exp10_compat.c: Likewise.
4466 * math/w_exp10f_compat.c: Likewise.
4467 * math/w_exp10l_compat.c: Likewise.
4468 * math/w_exp2_compat.c: Likewise.
4469 * math/w_exp2f_compat.c: Likewise.
4470 * math/w_exp2l_compat.c: Likewise.
4471 * math/w_fmod_compat.c: Likewise.
4472 * math/w_fmodf_compat.c: Likewise.
4473 * math/w_fmodl_compat.c: Likewise.
4474 * math/w_hypot_compat.c: Likewise.
4475 * math/w_hypotf_compat.c: Likewise.
4476 * math/w_hypotl_compat.c: Likewise.
4477 * math/w_j0_compat.c: Likewise.
4478 * math/w_j0f_compat.c: Likewise.
4479 * math/w_j0l_compat.c: Likewise.
4480 * math/w_j1_compat.c: Likewise.
4481 * math/w_j1f_compat.c: Likewise.
4482 * math/w_j1l_compat.c: Likewise.
4483 * math/w_jn_compat.c: Likewise.
4484 * math/w_jnf_compat.c: Likewise.
4485 * math/w_jnl_compat.c: Likewise.
4486 * math/w_lgamma_r_compat.c: Likewise.
4487 * math/w_lgammaf_r_compat.c: Likewise.
4488 * math/w_lgammal_r_compat.c: Likewise.
4489 * math/w_log10_compat.c: Likewise.
4490 * math/w_log10f_compat.c: Likewise.
4491 * math/w_log10l_compat.c: Likewise.
4492 * math/w_log2_compat.c: Likewise.
4493 * math/w_log2f_compat.c: Likewise.
4494 * math/w_log2l_compat.c: Likewise.
4495 * math/w_log_compat.c: Likewise.
4496 * math/w_logf_compat.c: Likewise.
4497 * math/w_logl_compat.c: Likewise.
4498 * math/w_pow_compat.c: Likewise.
4499 * math/w_powf_compat.c: Likewise.
4500 * math/w_powl_compat.c: Likewise.
4501 * math/w_remainder_compat.c: Likewise.
4502 * math/w_remainderf_compat.c: Likewise.
4503 * math/w_remainderl_compat.c: Likewise.
4504 * math/w_sinh_compat.c: Likewise.
4505 * math/w_sinhf_compat.c: Likewise.
4506 * math/w_sinhl_compat.c: Likewise.
4507 * math/w_sqrt_compat.c: Likewise.
4508 * math/w_sqrtf_compat.c: Likewise.
4509 * math/w_sqrtl_compat.c: Likewise.
4510 * math/w_tgamma_compat.c: Likewise.
4511 * math/w_tgammaf_compat.c: Likewise.
4512 * math/w_tgammal_compat.c: Likewise.
4513 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
4515 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
4516 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
4518 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
4519 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
4521 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
4522 * sysdeps/i386/fpu/w_sqrt.c: New file.
4523 * sysdeps/ia64/fpu/w_acos.c: Likewise.
4524 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4525 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4526 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4527 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4528 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4529 * sysdeps/ia64/fpu/w_asin.c: Likewise.
4530 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4531 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4532 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4533 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4534 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4535 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4536 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4537 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4538 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4539 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4540 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4541 * sysdeps/ia64/fpu/w_exp.c: Likewise.
4542 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4543 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4544 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4545 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4546 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4547 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4548 * sysdeps/ia64/fpu/w_expf.c: Likewise.
4549 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4550 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4551 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4552 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4553 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4554 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4555 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4556 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4557 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4558 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4559 * sysdeps/ia64/fpu/w_log.c: Likewise.
4560 * sysdeps/ia64/fpu/w_log10.c: Likewise.
4561 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4562 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4563 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4564 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4565 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4566 * sysdeps/ia64/fpu/w_logf.c: Likewise.
4567 * sysdeps/ia64/fpu/w_logl.c: Likewise.
4568 * sysdeps/ia64/fpu/w_pow.c: Likewise.
4569 * sysdeps/ia64/fpu/w_powf.c: Likewise.
4570 * sysdeps/ia64/fpu/w_powl.c: Likewise.
4571 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4572 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4573 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4574 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4575 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4576 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4577 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4578 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4579 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4580 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
4581 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
4582 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
4583 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
4585 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4586 * sysdeps/ieee754/k_standard.c: Likewise.
4587 * sysdeps/ieee754/k_standardf.c: Likewise.
4588 * sysdeps/ieee754/k_standardl.c: Likewise.
4589 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4590 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4591 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4592 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
4593 long_double_symbol call on [LIBM_SVID_COMPAT].
4594 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4595 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4596 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4597 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4598 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4599 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4600 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4601 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4602 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4603 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4604 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4605 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4606 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4607 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4608 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4609 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4610 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4611 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4612 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4613 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4614 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4615 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4617 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4619 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4620 * malloc/tst-mallocstate.c: Convert from test-skeleton
4621 to test-driver. Ifdef code using TEST_COMPAT macro.
4622 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4623 * math/test-matherr.c: Likewise.
4625 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4628 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4629 comparing word with byte-swapped constant.
4631 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4634 * locale/iso-639.def: add Miskito.
4635 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4636 * localedata/locales/miq_NI: New file.
4638 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4641 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4642 (__mkdir): Likewise.
4643 * io/chmod.c (__chmod): Add libc_hidden_def.
4644 * io/mkdir.c (__mkdir): Likewise.
4645 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4646 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4647 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4648 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4650 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4652 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4656 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4657 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4659 2017-09-04 Florian Weimer <fweimer@redhat.com>
4661 * math/math.h: Issue warning if log is defined.
4663 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4665 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4666 kernel version to 4.13.
4668 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4670 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4671 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
4673 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
4674 just <bits/types.h>.
4675 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
4676 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
4677 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
4678 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
4679 * misc/preadv2.c: Include <errno.h>.
4680 * misc/preadv64v2.c: Include <errno.h>.
4681 * misc/pwritev2.c: Include <errno.h>.
4682 * misc/pwritev64v2.c: Include <errno.h>.
4683 * sysdeps/posix/preadv2.c: Include <errno.h>.
4684 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4685 Fix <unistd.h> inclusion.
4686 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4687 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4688 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4689 __strtoul_internal): New functions.
4690 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4691 * sysdeps/posix/system.c: Include <sigsetops.h>.
4692 * sysdeps/mach/hurd/i386/Makefile
4693 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4694 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4695 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4696 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4697 __feraiseexcept_renamed to feraiseexcept instead of
4699 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4700 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4701 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4702 RWF_NOWAIT): Define to 0 if undefined already.
4703 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4705 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4706 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4708 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4710 * manual/math.texi (pow10): Do not document.
4713 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4714 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4715 * math/libm-test-exp10.inc (pow10_test): Remove.
4716 (do_test): Do not call pow10.
4717 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4718 [NO_LONG_DOUBLE] (pow10l): Likewise.
4719 * math/w_exp10f_compat.c (pow10f): Likewise.
4720 * math/w_exp10l_compat.c (pow10l): Likewise.
4721 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4722 (pow10): Make into compat symbol.
4723 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4724 (pow10f): Make into compat symbol.
4725 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4726 (pow10l): Make into compat symbol.
4727 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4729 (CFLAGS-nldbl-pow10.c): Remove variable..
4730 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4731 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4732 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4733 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4734 Undefine and redefine.
4735 (pow10l): Make into compat symbol.
4736 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4737 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4738 * sysdeps/arm/libm-test-ulps: Likewise.
4739 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4740 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4741 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4742 * sysdeps/microblaze/libm-test-ulps: Likewise.
4743 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4744 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4745 * sysdeps/nios2/libm-test-ulps: Likewise.
4746 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4747 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4748 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4749 * sysdeps/sh/libm-test-ulps: Likewise.
4750 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4751 * sysdeps/tile/libm-test-ulps: Likewise.
4752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4756 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4758 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4760 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4761 "../ChangeLog.old/ChangeLog.8".
4762 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4763 "../ChangeLog.old/ChangeLog.14".
4765 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4767 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4770 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4772 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4774 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4776 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4777 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4779 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4781 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4784 2017-09-01 Zack Weinberg <zackw@panix.com>
4786 * math/math.h (HUGE_VAL): Improve commentary.
4788 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4789 Andreas Schwab <schwab@suse.de>
4792 * include/stdio.h (__gen_tempfd): New function.
4793 * stdio-common/Makefile (routines): Add gentempfd.
4794 * stdio-common/gentempfd.c: New file.
4795 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4796 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4799 2017-09-01 Florian Weimer <fweimer@redhat.com>
4803 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4804 result to determine success or failure, not the errno value.
4805 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4806 (tst-nss-files-hosts-erange): Link with -ldl.
4807 * nss/tst-nss-files-hosts-erange.c: New file.
4808 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4809 (do_test): Add NO_DATA tests.
4810 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4813 2017-09-01 Florian Weimer <fweimer@redhat.com>
4816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4817 coming from gethostbyname2_r.
4819 2017-09-01 Florian Weimer <fweimer@redhat.com>
4821 * support/namespace.h (struct support_chroot_configuration): Add
4823 (struct support_chroot): Add path_hosts, path_host_conf.
4824 * support/support_chroot.c (write_file): New function.
4825 (support_chroot_create): Call it to process /etc/resolv.conf,
4826 /etc/hosts, /etc/host.conf.
4827 (support_chroot_free): Update.
4829 2017-09-01 Florian Weimer <fweimer@redhat.com>
4831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4832 status indicates it is set.
4834 2017-09-01 Florian Weimer <fweimer@redhat.com>
4836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4837 function lookup failures more reliable.
4839 2017-09-01 Florian Weimer <fweimer@redhat.com>
4841 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4842 (getcanonname): Likewise.
4843 (gaih_inet): Likewise.
4845 2017-09-01 Florian Weimer <fweimer@redhat.com>
4847 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4848 (getcanonname): Likewise.
4849 (gaih_inet): Likewise.
4851 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4852 Richard Henderson <rth@twiddle.net>
4854 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4855 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4856 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4857 (IREG_SIZE, OREG_SIZE): New macros.
4858 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4859 (IREG_SIZE, OREG_SIZE): New macros.
4860 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4861 (IREG_SIZE): New macro.
4862 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4863 (IREG_SIZE): New macro.
4864 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4866 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4867 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4868 (__CONCATX): Handle exceptions correctly on large values that may
4870 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4871 Initialize if not already set.
4872 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4874 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4876 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4877 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4879 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4881 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4883 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4885 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4887 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4889 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4891 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4892 (NO_CANCELLATION): Likewise.
4893 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4895 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4897 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4900 (NO_CANCELLATION): Likewise.
4901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4902 (NO_CANCELLATION): Likewise.
4903 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4905 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4907 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4909 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4911 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4913 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4914 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4916 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4918 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4921 2017-08-31 Florian Weimer <fweimer@redhat.com>
4923 * include/libc-symbols.h (internal_function): Remove.
4925 2017-08-31 Florian Weimer <fweimer@redhat.com>
4927 * stdlib/fmtmsg.c (internal_addseverity): Remove
4930 2017-08-31 Florian Weimer <fweimer@redhat.com>
4932 * stdio-common/printf_fp.c (group_number): Remove
4934 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4936 2017-08-31 Florian Weimer <fweimer@redhat.com>
4938 * posix/fnmatch.c (internal_function): Remove definition.
4939 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4940 * posix/regcomp.c (peek_token, init_word_char)
4941 (duplicate_node_closure, fetch_token, peek_token)
4942 (peek_token_bracket, build_range_exp, build_collating_symbol):
4944 * posix/regex_internal.c (re_string_construct_common)
4945 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4946 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4947 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4948 (re_string_translate_buffer, re_string_reconstruct)
4949 (re_string_peek_byte_case, re_string_fetch_byte_case)
4950 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4951 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4952 (re_node_set_add_intersect, re_node_set_init_union)
4953 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4954 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4955 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4956 (re_acquire_state_context): Likewise.
4957 * posix/regex_internal.h (internal_function): Remove definition.
4958 (re_string_realloc_buffers, build_wcs_buffer)
4959 (build_wcs_upper_buffer, build_upper_buffer)
4960 (re_string_translate_buffer, re_string_context_at)
4961 (re_string_char_size_at, re_string_wchar_at)
4962 (re_string_elem_size_at): Likewise.
4963 * posix/regexec.c (match_ctx_init, match_ctx_clean)
4964 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
4965 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
4966 (re_search_internal, re_search_2_stub, re_search_stub)
4967 (re_copy_regs, prune_impossible_nodes, check_matching)
4968 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
4969 (free_fail_stack_return, sift_states_iter_mb)
4970 (sift_states_backward, build_sifted_states)
4971 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
4972 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
4973 (check_subexp_limits, sift_states_bkref, merge_state_array)
4974 (find_recover_state, transit_state, merge_state_with_log)
4975 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
4976 (transit_state_mb, transit_state_bkref, get_subexp)
4977 (get_subexp_sub, find_subexp_node, check_arrival)
4978 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
4979 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
4980 (check_node_accept_bytes, find_collation_sequence_value)
4981 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
4982 (acquire_init_state_context, check_halt_node_context)
4983 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
4984 (sub_epsilon_src_nodes): Likewise.
4985 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
4986 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
4987 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
4988 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
4989 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
4990 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
4991 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
4992 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4993 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4994 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
4996 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
4998 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
4999 (PWRITEV): Likewise.
5000 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
5001 (PWRITEV): Likewise.
5002 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
5003 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5005 2017-08-31 Florian Weimer <fweimer@redhat.com>
5007 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
5008 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
5009 Remove internal_function.
5010 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
5011 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
5012 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
5013 (__deallocate_stack, __libc_pthread_init)
5014 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
5015 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
5016 (__libc_disable_asynccancel, __librt_disable_asynccancel):
5018 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
5019 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
5020 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
5022 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
5023 (__pthread_mutex_unlock_usercnt): Likewise.
5025 2017-08-31 Florian Weimer <fweimer@redhat.com>
5027 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
5028 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
5029 (fts_safe_changedir): Remove internal_function.
5030 * io/ftw.c (internal_function): Remove definition.
5031 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
5033 2017-08-31 Florian Weimer <fweimer@redhat.com>
5035 * inet/deadline.c (__deadline_current_time)
5036 (__deadline_from_timeval, __deadline_to_ms): Remove
5038 * inet/getnameinfo.c (nrl_domainname): Likewise.
5039 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
5040 * inet/inet6_option.c (add_pad): Likewise.
5041 * inet/net-internal.h (__deadline_current_time)
5042 (__deadline_from_timeval, __deadline_to_ms): Likewise.
5043 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
5044 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
5045 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
5047 2017-08-31 Joseph Myers <joseph@codesourcery.com>
5049 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
5050 include <bits/nan.h>.
5051 * math/Makefile (headers): Remove bits/nan.h.
5052 * bits/nan.h: Remove.
5053 * sysdeps/ieee754/bits/nan.h: Likewise.
5054 * sysdeps/mips/bits/nan.h: Likewise.
5056 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
5057 not include <bits/inf.h>.
5058 * math/Makefile (headers): Remove bits/inf.h.
5059 * bits/inf.h: Remove.
5060 * sysdeps/ieee754/bits/inf.h: Likewise.
5062 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
5063 bits/huge_vall.h or bits/huge_val_flt128.h.
5064 (HUGE_VAL): Define directly here.
5065 [__USE_ISOC99] (HUGE_VALF): Likewise.
5066 [__USE_ISOC99] (HUGE_VALL): Likewise.
5067 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5068 (HUGE_VAL_F128): Likewise.
5069 * math/Makefile (headers): Remove bits/huge_val.h,
5070 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
5071 * bits/huge_val.h: Remove.
5072 * bits/huge_val_flt128.h: Likewise.
5073 * bits/huge_valf.h: Likewise.
5074 * bits/huge_vall.h: Likewise.
5075 * sysdeps/ia64/bits/huge_vall.h: Likewise.
5076 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5077 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
5078 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
5079 * sysdeps/sh/bits/huge_val.h: Likewise.
5080 * sysdeps/sparc/bits/huge_vall.h: Likewise.
5081 * sysdeps/x86/bits/huge_vall.h: Likewise.
5083 2017-08-31 Florian Weimer <fweimer@redhat.com>
5085 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
5087 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
5089 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
5090 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5091 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
5092 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
5093 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5094 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5095 * elf/dl-libc.c (dlerror_run): Likewise.
5096 * elf/dl-load.c (add_name_to_object, decompose_rpath)
5097 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
5098 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
5099 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
5101 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
5102 (_dl_higher_prime_number, _dl_strtoul): Likewise.
5103 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
5104 * elf/dl-profile.c (_dl_start_profile): Likewise.
5105 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
5106 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
5108 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
5109 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
5110 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
5111 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
5112 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
5113 (_dl_allocate_tls_storage): Likewise.
5114 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
5115 (_dl_check_all_versions): Likewise.
5116 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5117 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
5118 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
5119 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5120 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
5121 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
5122 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
5123 internal_function from __dl_start.
5124 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
5125 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5126 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
5127 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
5128 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
5129 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
5130 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
5131 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
5132 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
5133 (_dl_next_ld_env_entry, _dl_important_hwcaps)
5134 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
5135 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
5136 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
5137 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
5138 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
5140 (struct rtld_global_ro): Remove internal_function from the
5141 _dl_lookup_symbol_x member.
5142 (_dl_symbol_value): Remove. No longer defined anywhere.
5143 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
5145 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5146 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5147 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
5148 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
5149 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
5150 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
5151 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
5152 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
5153 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
5154 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5155 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5156 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5158 2017-08-31 Florian Weimer <fweimer@redhat.com>
5160 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
5161 Remove internal_function.
5162 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5164 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5167 2017-08-31 Florian Weimer <fweimer@redhat.com>
5169 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
5170 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
5171 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
5173 2017-08-31 Florian Weimer <fweimer@redhat.com>
5175 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
5176 (__gai_enqueue_request): Remove internal_function.
5177 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
5178 (__gai_remove_request, __gai_notify, __gai_notify_only)
5179 (__gai_sigqueue): Likewise.
5180 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
5181 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5182 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
5183 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5186 2017-08-31 Florian Weimer <fweimer@redhat.com>
5188 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
5189 * include/dirent.h (__opendirat, __getdents, __getdents64)
5190 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
5191 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
5192 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5193 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
5195 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
5197 2017-08-31 Florian Weimer <fweimer@redhat.com>
5199 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
5201 (GETCWD_RETURN_TYPE): Likewise.
5203 2017-08-31 Florian Weimer <fweimer@redhat.com>
5205 * include/time.h (__tz_compute, __strptime_internal): Remove
5207 * time/strptime_l.c (__strptime_internal): Likewise.
5208 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
5210 2017-08-31 Florian Weimer <fweimer@redhat.com>
5212 * iconv/gconv.c (__gconv): Remove internal_function.
5213 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
5214 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
5215 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
5216 (__gconv_release_cache): Likewise.
5217 * iconv/gconv_close.c (__gconv_close): Likewise.
5218 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
5219 (read_conf_file, __gconv_get_path): Likewise.
5220 * iconv/gconv_db.c (derivation_lookup, add_derivation)
5221 (__gconv_release_step, gen_steps, increment_counter)
5222 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
5223 (__gconv_close_transform, free_modules_db): Likewise.
5224 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
5226 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
5227 (__gconv_find_transform, __gconv_lookup_cache)
5228 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
5229 (__gconv_close_transform, __gconv_release_cache)
5230 (__gconv_loaded_object, __gconv_release_shlib)
5231 (__gconv_compare_alias): Likewise.
5232 * iconv/gconv_open.c (__gconv_open): Likewise.
5233 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
5234 * iconv/iconvconfig.c (add_module): Likewise.
5235 * intl/dcigettext.c (plural_lookup, guess_category_value)
5236 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
5237 * intl/eval-plural.h (plural_eval): Likewise.
5238 * intl/finddomain.c (_nl_find_domain): Likewise.
5239 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
5240 (_nl_load_domain, _nl_find_msg): Likewise.
5241 (internal_function): Remove definition.
5242 * intl/loadinfo.h (internal_function): Likewise.
5243 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
5245 * intl/localealias.c (internal_function): Remove definition.
5246 (read_alias_file): Remove internal_function.
5247 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
5248 * intl/plural-exp.h (internal_function): Remove definition.
5249 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
5251 * intl/plural.c: Regenerate.
5252 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
5253 * locale/coll-lookup.c (__collidx_table_lookup)
5254 (__collseq_table_lookup): Likewise.
5255 * locale/coll-lookup.h (__collidx_table_lookup)
5256 (__collseq_table_lookup): Likewise.
5257 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
5258 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5259 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
5260 (_nl_unload_locale): Likewise.
5261 * locale/localeinfo.h (struct __locale_data): Remove
5262 internal_function from cleanup member.
5263 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
5264 (_nl_remove_locale, _nl_load_locale_from_archive)
5265 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
5266 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
5267 (_nl_cleanup_time): Remove internal_function.
5268 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
5269 (_nl_parse_alt_digit): Likewise.
5270 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
5271 (_nl_select_era_entry): Likewise.
5272 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
5273 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5274 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5275 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5276 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5278 2017-08-31 Florian Weimer <fweimer@redhat.com>
5280 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
5281 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
5282 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
5283 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
5285 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
5286 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
5287 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
5288 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
5290 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
5292 2017-08-31 Florian Weimer <fweimer@redhat.com>
5294 * misc/getttyent.c (skip, value): Remove internal_function.
5295 * misc/syslog.c (openlog_internal): Likewise.
5296 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
5298 2017-08-31 Florian Weimer <fweimer@redhat.com>
5300 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
5301 (__nss_rewrite_field): Remove internal_function.
5302 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5303 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5304 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5305 * nss/nsswitch.c (nss_parse_file, nss_getline)
5306 (nss_parse_service_list, nss_new_service): Likewise.
5307 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
5308 * nss/valid_field.c (__nss_valid_field): Likewise.
5309 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5311 2017-08-31 Florian Weimer <fweimer@redhat.com>
5313 * malloc/arena.c (__malloc_fork_lock_parent)
5314 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
5315 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
5316 internal_function from defintions.
5317 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
5318 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
5319 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
5320 internal_function from declarations.
5321 * malloc/malloc.c (internal_function): Do not define.
5322 (mem2mem_check): Remove internal_function from declaration.
5323 (munmap_chunk, mremap_chunk): Remove internal_function.
5324 * malloc/mtrace.c (tr_where): Likewise.
5326 2017-08-31 Florian Weimer <fweimer@redhat.com>
5328 * include/rpc/pmap_clnt.h (__get_socket): Remove
5330 * sunrpc/auth_des.c (synchronize): Likewise.
5331 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
5332 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
5333 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
5334 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
5335 (key_call): Likewise.
5336 * sunrpc/pm_getport.c (__get_socket): Likewise.
5337 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
5338 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
5339 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
5340 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
5341 (invalidate): Likewise.
5342 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
5343 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
5344 (set_input_fragment, get_input_bytes): Likewise.
5346 2017-08-31 Florian Weimer <fweimer@redhat.com>
5348 * malloc/malloc.c (_int_free): Remove locked variable and related
5351 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
5354 * Makerules (build-module-helper-objlist): Filter out
5355 $(elf-objpfx)sofini.os.
5356 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
5359 2017-08-31 Florian Weimer <fweimer@redhat.com>
5361 * libio/fcloseall.c: Assume weak_alias is defined.
5362 * libio/feof.c: Likewise.
5363 * libio/fileno.c: Likewise.
5364 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
5365 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5367 (_IO_file_open): Call __open directly.
5368 (_IO_new_file_sync): Assume ESPIPE is defined.
5369 (_IO_file_seekoff_maybe_mmap): Call __read directly.
5370 (_IO_new_file_write): Call __write directly.
5371 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
5372 * libio/ftello64.c (__ftello64): Assume EIO is defined.
5373 * libio/genops.c: Assume _LIBC is defined.
5374 (save_for_backup): Remove internal_function.
5375 * libio/getc.c: Assume weak_alias is defined.
5376 * libio/getwc.c: Likewise.
5377 * libio/iofclose.c: Assume _LIBC is defined.
5378 * libio/iofdopen.c: Likewise.
5379 (_IO_fcntl): Remove macro definition.
5380 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
5381 Call __fcntl directly.
5382 * libio/iofflush.c: Assume weak_alias is defined.
5383 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
5385 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
5386 * libio/iofgets.c: Likewise.
5387 * libio/iofopen.c: Assume _LIBC is defined.
5388 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
5389 * libio/iofputs.c: Assume weak_alias is defined.
5390 * libio/iofread.c: Likewise.
5391 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
5392 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5393 * libio/ioftell.c: Assume weak_alias is defined.
5394 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
5395 * libio/iofwide.c: Assume _LIBC is defined.
5396 (_IO_fwide): Drop SHARED conditional because it is implied by
5398 * libio/iofwrite.c: Assume weak_alias is defined.
5399 * libio/iogetdelim.c: Likewise.
5400 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
5401 * libio/iogetwline.c (wmemcpy): Remove macro definition.
5402 (_IO_getwline): Call __wmemcpy directly.
5403 * libio/iopopen.c: Assume _LIBC is defined.
5404 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5405 (_IO_close): Remove macro definitions.
5406 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
5408 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
5410 * libio/ioputs.c: Assume weak_alias is defined.
5411 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
5412 * libio/iosetbuffer.c: Assume weak_alias is defined.
5413 * libio/iosetvbuf.c: Likewise.
5414 * libio/ioungetc.c: Likewise.
5415 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
5416 libc_hidden_def, libc_hidden_weak, NULL are defined.
5417 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
5418 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
5420 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5422 (_IO_old_file_init_internal): Drop SHARED conditional because it
5423 is implied by SHLIB_COMPAT.
5424 (_IO_old_file_fopen): Call __open directly.
5425 (_IO_old_file_sync): Assume ESPIPE is defined.
5426 (_IO_old_file_write): Call __write directly.
5427 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
5428 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
5429 Call __fcntl directly.
5430 * libio/oldiofgetpos.c: Assume weak_alias is defined.
5431 (_IO_old_fgetpos): Assume EIO is defined.
5432 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
5433 (_IO_old_fgetpos64): Assume EIO is defined.
5434 * libio/oldiofsetpos.c: Assume weak_alias is defined.
5435 (_IO_old_fsetpos): Assume EIO is defined.
5436 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
5437 (_IO_old_fsetpos64): Assume EIO is defined.
5438 * libio/oldiopopen.c: Assume _LIBC is defined.
5439 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5440 (_IO_close): Remove macro definitions.
5441 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
5443 (_IO_old_proc_close): Call __close, __waitpid directly.
5444 * libio/put.c: Assume weak_alias is defined.
5445 * libio/stdfiles.c: Assume _LIBC is defined.
5446 * libio/stdio.c: Likewise.
5447 * libio/wfileops.c: Likewise.
5448 (_IO_wfile_sync): Assume ESPIPE is defined.
5449 * libio/wgenops.c: Assume _LIBC is defined.
5450 (save_for_wbackup): Remove internal_function.
5452 2017-08-31 Florian Weimer <fweimer@redhat.com>
5454 * malloc/malloc.c (top_check): Change return type to void. Remove
5456 * malloc/hooks.c (top_check): Likewise.
5457 (malloc_check, realloc_check, memalign_check): Adjust.
5459 2017-08-30 Joseph Myers <joseph@codesourcery.com>
5462 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5463 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
5464 sigcontext and namespace requirements.
5465 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5466 * sysdeps/m68k/sys/ucontext.h: Likewise.
5467 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
5468 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
5469 <bits/sigcontext.h>.
5470 (__ctx): Define earlier.
5471 (mcontext_t): Define structure contents rather than using struct
5473 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
5474 __glibc_reserved1 instead of __reserved.
5475 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
5476 <bits/sigcontext.h>.
5477 (__ctx): Define earlier.
5478 (mcontext_t): Define structure contents rather than using struct
5480 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
5481 mcontext_t instead of struct sigcontext.
5482 * sysdeps/unix/sysv/linux/arm/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/hppa/sys/ucontext.h: Do not include
5488 <bits/sigcontext.h>.
5489 (__ctx): Define earlier.
5490 (mcontext_t): Define structure contents rather than using struct
5492 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
5493 mcontext_t instead of struct sigcontext.
5494 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
5495 mcontext_t instead of struct sigcontext.
5496 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5497 <bits/sigcontext.h>.
5499 (struct __ia64_fpreg_mcontext): New type.
5500 (mcontext_t): Define structure contents rather than using struct
5502 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
5503 (uc_sigmask): Define using __ctx.
5504 (uc_stack): Likewise.
5505 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
5506 <bits/sigcontext.h>.
5507 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5508 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
5509 <bits/sigcontext.h>.
5510 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
5511 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
5512 <bits/sigcontext.h>.
5513 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
5514 <bits/sigcontext.h>.
5515 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
5516 <bits/sigcontext.h>.
5517 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
5518 <bits/sigcontext.h>.
5519 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
5520 <bits/sigcontext.h>.
5521 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
5522 <bits/sigcontext.h>.
5523 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
5524 <bits/sigcontext.h>.
5525 (__ctx): Define earlier.
5526 (mcontext_t): Define structure contents rather than using struct
5528 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
5529 <bits/sigcontext.h>. Include <bits/types.h>.
5530 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
5531 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
5532 (test-xfail-XPG42/ucontext.h/conform): Likewise.
5533 (test-xfail-UNIX98/signal.h/conform): Likewise.
5534 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5535 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5536 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5537 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5538 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5539 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5540 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5541 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5542 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5544 2017-08-30 Florian Weimer <fweimer@redhat.com>
5546 * malloc/dynarray_emplace_enlarge.c
5547 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
5548 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5549 * malloc/tst-dynarray.c (test_long_overflow): New function.
5552 2017-08-30 Florian Weimer <fweimer@redhat.com>
5554 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
5555 (set_arena_corrupt): Remove definitions.
5556 (mtrim): Do not check for corrupt arena.
5557 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
5560 2017-08-30 Florian Weimer <fweimer@redhat.com>
5563 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
5565 (ptmalloc_init): Do not set or use check_action.
5566 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
5567 call to malloc_printerr. Remove return statement.
5568 (free_check): Likewise. Remove arena unlock.
5569 (top_check): Update comment. Adjust call to malloc_printerr.
5570 Remove heap repair code.
5571 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
5572 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
5573 (sysmalloc): Adjust call to malloc_printerr.
5574 (munmap_chunk, __libc_realloc): Likewise. Remove return
5576 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
5577 Remove errout label and corresponding gotos.
5578 (_int_free): Likewise. Remove arena unlock.
5579 (do_set_mallopt_check): Do not set check_action.
5580 (malloc_printerr): Adjust parameter list. Do not mark arena as
5582 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
5584 * manual/probes.texi (Memory Allocation Probes): Remove
5585 memory_mallopt_check_action.
5587 2017-08-30 Steve Ellcey <sellcey@cavium.com>
5589 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
5590 Use pointer to uint64_t instead of long int for sp.
5592 2017-08-30 Florian Weimer <fweimer@redhat.com>
5595 * malloc/malloc.c (malloc_printerr): Always terminate the process,
5596 without printing a backtrace. Do not leak any information in the
5598 * manual/memory.texi (Heap Consistency Checking): Update.
5599 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5601 2017-08-30 Florian Weimer <fweimer@redhat.com>
5603 Do not scale NPTL tests with available number of CPUs.
5604 * nptl/tst-cond16.c (count): Set to constant value of 8.
5605 * nptl/tst-cond18.c (count): Likewise.
5607 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5610 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5611 Define to take a second argument that is a macro that
5612 concatentates a suffix, not the suffix itself.
5613 (__CONCAT_d): New macro.
5614 (__CONCAT_f): Likewise.
5615 (__CONCAT_l): Likewise.
5617 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5619 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5622 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5623 Aurelien Jarno <aurelien@aurel32.net>
5624 Maciej W. Rozycki <macro@imgtec.com>
5627 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5628 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5629 `mips16-syscall6' and `mips16-syscall7'.
5630 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5631 (CFLAGS-mips16-syscall7.c): Remove.
5632 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5633 Remove `__mips16_syscall5', `__mips16_syscall6' and
5634 `__mips16_syscall7'.
5635 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5636 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5637 `__mips_syscall_return'.
5638 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5639 (__mips16_syscall1): Likewise.
5640 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5641 (__mips16_syscall2): Likewise.
5642 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5643 (__mips16_syscall3): Likewise.
5644 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5645 (__mips16_syscall4): Likewise.
5646 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5648 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5650 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5652 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5653 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5654 `__mips16_syscall5'. Remove prototype.
5655 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5656 `__mips16_syscall6'. Remove prototype.
5657 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5658 `__mips16_syscall7'. Remove prototype.
5659 (__nomips16, __mips16_syscall_return): Move to...
5660 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5661 (__nomips16, __mips_syscall_return): ... here.
5662 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5663 `__mips16_syscall_return' to `__mips_syscall_return'.
5664 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5665 `internal_syscall##nr'.
5666 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5667 `internal_syscall##nr'.
5668 (FORCE_FRAME_POINTER): Remove.
5669 (__mips_syscall5): New prototype.
5670 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5671 (__mips_syscall6): New prototype.
5672 (internal_syscall6): Rewrite to call `__mips_syscall6'.
5673 (__mips_syscall7): New prototype.
5674 (internal_syscall7): Rewrite to call `__mips_syscall7'.
5675 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
5676 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
5677 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
5678 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
5679 (sysdep_routines): Add libc-do-syscall.
5680 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
5681 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
5683 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5686 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5687 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5688 (advise_stack_range): New function.
5689 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5690 stack non required to advise_stack_range at allocatestack.c
5692 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5694 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5696 2017-08-29 Florian Weimer <fweimer@redhat.com>
5699 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5700 __end_fct. Mangle __end_fct after setting it to NULL.
5701 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5702 (modules-names, modules-names-tests): Add
5703 tst-gconv-init-failure-mod.
5704 (gconv-modules): New target.
5705 (tst-gconv-init-failure-mod.so): Link against libsupport.
5706 (tst-gconv-init-failure): Depend on gconv-modules,
5707 tst-gconv-init-failure-mod.so.
5708 * iconv/tst-gconv-init-failure-mod.c: New file.
5709 * iconv/tst-gconv-init-failure.c: Likewise.
5710 * iconv/test-gconv-modules: Likewise.
5712 2017-08-29 Florian Weimer <fweimer@redhat.com>
5715 * iconv/gconv_db.c (free_derivation): Remove redundant
5717 (gen_steps): Unconditionally mangle __btowc_fct after
5719 (increment_counter): Likewise. Do not call init_fct for internal
5722 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5725 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5726 (_MSUF_): Remove macro.
5727 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5729 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5730 (__REDIRFROM_X): New macro.
5731 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5733 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5734 (__REDIRTO_X): Likewise.
5735 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5737 (__MATH_REDIRCALL_2): Likewise.
5738 (__MATH_REDIRCALL_INTERNAL): Likewise.
5739 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5740 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5741 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5742 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5743 * math/test-finite-macros.c: New file.
5744 * math/Makefile (tests): Add test-finite-macros.
5745 (CFLAGS-test-finite-macros.c): New variable.
5747 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5748 Jeff Law <law@redhat.com>
5751 Mangle NULL pointers in iconv/gconv.
5752 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5753 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5754 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5755 is non-NULL before demangling the end_fct. Check for NULL
5756 end_fct after demangling.
5757 (__gconv_release_step): Demangle the end_fct before checking
5758 it for NULL. Remove assert on __shlibc_handle != NULL.
5759 (gen_steps): Don't check btowc_fct for NULL before mangling.
5760 Demangle init_fct before checking for NULL.
5761 (increment_counter): Likewise.
5762 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5763 end_fct for NULL before mangling.
5764 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5767 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5770 * locale/iso-639.def: add Morisyen.
5772 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5775 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5776 (iszero): New C++ implementation that does not use
5777 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5778 signaling nans are enabled, since __builtin_types_compatible_p
5779 is a C-only feature.
5780 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5781 defined, include ieee754_float128.h for access to the union and
5782 member ieee854_float128.ieee.
5783 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5784 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5785 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5786 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5787 options of test-math-zero on powerpc64le.
5789 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5791 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5792 Change double to float.
5794 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5796 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5798 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5799 conditional code; define contents only for [LIBM_SVID_COMPAT].
5801 2017-08-28 Florian Weimer <fweimer@redhat.com>
5803 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5804 (abi-lp64_be-options): Remove.
5805 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5806 (abi-hard-options): Likewise.
5807 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5808 (abi-o32_hard-options, abi-o32_soft_2008-options)
5809 (abi-o32_hard_2008-options, abi-n32_soft-options)
5810 (abi-n32_hard-options, abi-n32_soft_2008-options)
5811 (abi-n32_hard_2008-options, abi-n64_soft-options)
5812 (abi-n64_hard-options, abi-n64_soft_2008-options)
5813 (abi-n64_hard_2008-options): Likewise.
5814 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5815 (abi-64-v1-options, abi-64-v2-options): Likewise.
5816 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5817 (abi-64-options): Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5819 (abi-64-options): Likewise.
5820 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5821 (abi-64-options): Likewise.
5822 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5823 (abi-64-options, abi-x32-options): Likewise.
5825 2017-08-28 Florian Weimer <fweimer@redhat.com>
5827 Store supported list of SYS_* system calls in the source tree.
5828 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5829 (bits/syscall.h): Generate from list file.
5830 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5831 [$(subdir) = misc] (tests): Add tst-syscall-list.
5832 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5833 [$(subdir) = misc] (tst-syscall-list-macros.list)
5834 [$(subdir) = misc] (tst-syscall-list-nr.list)
5835 (tst-syscall-list-sys.list): Helper targets for new
5836 tst-syscall-list test.
5837 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5838 tst-syscall-list.sh.
5839 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5840 target. Do not include bits/syscall.d.
5841 [$(subdir) = misc] (generated): Do not update.
5842 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5843 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5844 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5845 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5847 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5849 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5850 (tst-cxa_atexit, tst-on_exit): Likewise.
5851 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5852 tst-cxa_atexit, and tst-on_exit.
5853 * stdlib/tst-atexit-common.c: New file.
5854 * stdlib/tst-atexit.c: New file.
5855 * stdlib/tst-at_quick_exit.c: New file.
5856 * stdlib/tst-cxa_atexit.c: New file.
5857 * stdlib/tst-on_exit.c: New file.
5859 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5861 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5862 * mach/stack_chk_fail_local.c: New file.
5863 * hurd/stack_chk_fail_local.c: New file.
5864 * mach/Machrules ($(interface-library)-routines): Add
5865 stack_chk_fail_local.
5866 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5867 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5868 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5869 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5870 * hurd/Makefile (CFLAGS-hurdstartup.o,
5871 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5873 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5875 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5876 (index_cpu_*, index_arch_*): Removed.
5878 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5880 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5881 Use uint64_t instead of unsigned long.
5883 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5885 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5886 [__HAVE_DISTINCT_FLOAT128].
5888 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5889 of <bits/math-finite.h>.
5890 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5891 inclusion of <bits/math-finite.h>.
5892 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5893 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5894 __NO_LONG_DOUBLE_MATH].
5895 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5896 (__MATH_REDIRCALL_2): Likewise.
5897 (__MATH_REDIRCALL_INTERNAL): Likewise.
5898 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5899 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5900 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5914 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5915 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5919 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5920 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5921 w_sqrtf_compat-ppc32.
5923 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5925 * math/math.h [defined __cplusplus] (issignaling): In the long
5926 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5927 is not defined. Call __issignaling, otherwise.
5929 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5931 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5932 syscall definitions and replace __builtin_expect with __glibc_likely.
5933 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5935 (SYSCALL_CANCELLABLE): Removedefinition
5936 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5938 (PSEUDO_END): Likewise.
5939 [IS_IN (libpthread)] (CENABLE): Likewise.
5940 [IS_IN (libpthread)] (CDISABLE): Likewise.
5941 [IS_IN (libc)] (CENABLE): Likewise.
5942 [IS_IN (libc)] (CENABLE): Likewise.
5943 [IS_IN (librt)] (CDISABLE): Likewise.
5944 [IS_IN (librt)] (CDISABLE): Likewise.
5945 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5946 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5948 (PSEUDO_END): Likewise.
5949 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5950 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5951 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5952 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5953 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5954 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5955 (CENABLE): Likewise.
5956 (CDISABLE): Likewise.
5957 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5958 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
5960 (PSEUDO_END): Likewise.
5961 [IS_IN (libpthread)] (CENABLE): Likewise.
5962 [IS_IN (libpthread)] (CDISABLE): Likewise.
5963 [IS_IN (libc)] (CENABLE): Likewise.
5964 [IS_IN (libc)] (CENABLE): Likewise.
5965 [IS_IN (librt)] (CDISABLE): Likewise.
5966 [IS_IN (librt)] (CDISABLE): Likewise.
5967 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5968 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
5970 (PSEUDO_END): Likewise.
5971 [IS_IN (libpthread)] (CENABLE): Likewise.
5972 [IS_IN (libpthread)] (CDISABLE): Likewise.
5973 [IS_IN (libc)] (CENABLE): Likewise.
5974 [IS_IN (libc)] (CENABLE): Likewise.
5975 [IS_IN (librt)] (CDISABLE): Likewise.
5976 [IS_IN (librt)] (CDISABLE): Likewise.
5977 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5978 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
5980 (PSEUDO_END): Likewise.
5981 [IS_IN (libpthread)] (CENABLE): Likewise.
5982 [IS_IN (libpthread)] (CDISABLE): Likewise.
5983 [IS_IN (libc)] (CENABLE): Likewise.
5984 [IS_IN (libc)] (CENABLE): Likewise.
5985 [IS_IN (librt)] (CDISABLE): Likewise.
5986 [IS_IN (librt)] (CDISABLE): Likewise.
5987 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5988 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
5990 (PSEUDO_END): Likewise.
5991 [IS_IN (libpthread)] (CENABLE): Likewise.
5992 [IS_IN (libpthread)] (CDISABLE): Likewise.
5993 [IS_IN (libc)] (CENABLE): Likewise.
5994 [IS_IN (libc)] (CENABLE): Likewise.
5995 [IS_IN (librt)] (CDISABLE): Likewise.
5996 [IS_IN (librt)] (CDISABLE): Likewise.
5997 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5998 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
6000 (PSEUDO_END): Likewise.
6001 [IS_IN (libpthread)] (CENABLE): Likewise.
6002 [IS_IN (libpthread)] (CDISABLE): Likewise.
6003 [IS_IN (libc)] (CENABLE): Likewise.
6004 [IS_IN (libc)] (CENABLE): Likewise.
6005 [IS_IN (librt)] (CDISABLE): Likewise.
6006 [IS_IN (librt)] (CDISABLE): Likewise.
6007 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6008 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
6010 (PSEUDO_END): Likewise.
6011 [IS_IN (libpthread)] (CENABLE): Likewise.
6012 [IS_IN (libpthread)] (CDISABLE): Likewise.
6013 [IS_IN (libc)] (CENABLE): Likewise.
6014 [IS_IN (libc)] (CENABLE): Likewise.
6015 [IS_IN (librt)] (CDISABLE): Likewise.
6016 [IS_IN (librt)] (CDISABLE): Likewise.
6017 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6018 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
6020 (PSEUDO_END): Likewise.
6021 [IS_IN (libpthread)] (CENABLE): Likewise.
6022 [IS_IN (libpthread)] (CDISABLE): Likewise.
6023 [IS_IN (libc)] (CENABLE): Likewise.
6024 [IS_IN (libc)] (CENABLE): Likewise.
6025 [IS_IN (librt)] (CDISABLE): Likewise.
6026 [IS_IN (librt)] (CDISABLE): Likewise.
6027 (SINGLE_THREAD_P): Likewise.
6028 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
6030 (PSEUDO_END): Likewise.
6031 [IS_IN (libpthread)] (CENABLE): Likewise.
6032 [IS_IN (libpthread)] (CDISABLE): Likewise.
6033 [IS_IN (libc)] (CENABLE): Likewise.
6034 [IS_IN (libc)] (CENABLE): Likewise.
6035 [IS_IN (librt)] (CDISABLE): Likewise.
6036 [IS_IN (librt)] (CDISABLE): Likewise.
6037 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6038 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
6040 (PSEUDO_END): Likewise.
6041 [IS_IN (libpthread)] (CENABLE): Likewise.
6042 [IS_IN (libpthread)] (CDISABLE): Likewise.
6043 [IS_IN (libc)] (CENABLE): Likewise.
6044 [IS_IN (libc)] (CENABLE): Likewise.
6045 [IS_IN (librt)] (CDISABLE): Likewise.
6046 [IS_IN (librt)] (CDISABLE): Likewise.
6047 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6048 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
6049 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6050 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
6051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
6053 (PSEUDO_END): Likewise.
6054 [IS_IN (libpthread)] (CENABLE): Likewise.
6055 [IS_IN (libpthread)] (CDISABLE): Likewise.
6056 [IS_IN (libc)] (CENABLE): Likewise.
6057 [IS_IN (libc)] (CENABLE): Likewise.
6058 [IS_IN (librt)] (CDISABLE): Likewise.
6059 [IS_IN (librt)] (CDISABLE): Likewise.
6060 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
6063 (PSEUDO_END): Likewise.
6064 [IS_IN (libpthread)] (CENABLE): Likewise.
6065 [IS_IN (libpthread)] (CDISABLE): Likewise.
6066 [IS_IN (libc)] (CENABLE): Likewise.
6067 [IS_IN (libc)] (CENABLE): Likewise.
6068 [IS_IN (librt)] (CDISABLE): Likewise.
6069 [IS_IN (librt)] (CDISABLE): Likewise.
6070 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6071 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
6073 (PSEUDO_END): Likewise.
6074 [IS_IN (libpthread)] (CENABLE): Likewise.
6075 [IS_IN (libpthread)] (CDISABLE): Likewise.
6076 [IS_IN (libc)] (CENABLE): Likewise.
6077 [IS_IN (libc)] (CENABLE): Likewise.
6078 [IS_IN (librt)] (CDISABLE): Likewise.
6079 [IS_IN (librt)] (CDISABLE): Likewise.
6080 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
6082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6083 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
6084 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
6086 (PSEUDO_END): Likewise.
6087 [IS_IN (libpthread)] (CENABLE): Likewise.
6088 [IS_IN (libpthread)] (CDISABLE): Likewise.
6089 [IS_IN (libc)] (CENABLE): Likewise.
6090 [IS_IN (libc)] (CENABLE): Likewise.
6091 [IS_IN (librt)] (CDISABLE): Likewise.
6092 [IS_IN (librt)] (CDISABLE): Likewise.
6093 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6094 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
6096 (PSEUDO_END): Likewise.
6097 [IS_IN (libpthread)] (CENABLE): Likewise.
6098 [IS_IN (libpthread)] (CDISABLE): Likewise.
6099 [IS_IN (libc)] (CENABLE): Likewise.
6100 [IS_IN (libc)] (CENABLE): Likewise.
6101 [IS_IN (librt)] (CDISABLE): Likewise.
6102 [IS_IN (librt)] (CDISABLE): Likewise.
6103 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6105 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
6107 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
6109 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6113 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6116 * string/stratcliff.c (do_test): Declare size, nchars, inner,
6117 middle and outer with size_t instead of int. Repleace %d and
6118 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
6119 "MAX (outer, nchars - 64)" to support unsigned outer and
6120 nchars. Also exit loop when outer == 0.
6122 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6124 * include/fcntl.h (__fcntl_nocancel): Remove definition.
6125 * include/signal.h (__sigsuspend_nocancel): Likewise.
6126 * include/time.h (__nanosleep_nocancel): Likewise.
6127 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
6128 * login/utmp_file.c: Include non cancellable syscall header.
6129 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
6132 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6134 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
6135 .byte sequences with AVX512F instructions.
6136 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
6137 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6138 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
6141 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6144 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
6145 Steve Ellcey <sellcey@cavium.com>
6147 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
6148 Use PTR_REG macro in cmp instruction.
6150 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6152 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
6153 Change the return type of the ifunc resolver to match the return
6154 type of the target function.
6156 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6158 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
6159 (preadv64): Likewise.
6160 (pwrite64(: Likewise.
6161 (pwritev64): Likewise.
6163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6164 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
6165 (LOAD_ARGS_0): Likewise.
6166 (LOAD_ARGS_1): Likewise.
6167 (LOAD_ARGS_2): Likewise.
6168 (LOAD_ARGS_3): Likewise.
6169 (LOAD_ARGS_4): Likewise.
6170 (LOAD_ARGS_5): Likewise.
6171 (LOAD_ARGS_6): Likewise.
6172 (LOAD_REGS_0): Likewise.
6173 (LOAD_REGS_1): Likewise.
6174 (LOAD_REGS_2): Likewise.
6175 (LOAD_REGS_3): Likewise.
6176 (LOAD_REGS_4): Likewise.
6177 (LOAD_REGS_5): Likewise.
6178 (LOAD_REGS_6): Likewise.
6179 (ASM_ARGS_0): Likewise.
6180 (ASM_ARGS_1): Likewise.
6181 (ASM_ARGS_2): Likewise.
6182 (ASM_ARGS_3): Likewise.
6183 (ASM_ARGS_4): Likewise.
6184 (ASM_ARGS_5): Likewise.
6185 (ASM_ARGS_6): Likewise.
6186 (LOAD_ARGS_TYPES_1): Likewise.
6187 (LOAD_ARGS_TYPES_2): Likewise.
6188 (LOAD_ARGS_TYPES_3): Likewise.
6189 (LOAD_ARGS_TYPES_4): Likewise.
6190 (LOAD_ARGS_TYPES_5): Likewise.
6191 (LOAD_ARGS_TYPES_6): Likewise.
6192 (LOAD_REGS_TYPES_1): Likewise.
6193 (LOAD_REGS_TYPES_2): Likewise.
6194 (LOAD_REGS_TYPES_3): Likewise.
6195 (LOAD_REGS_TYPES_4): Likewise.
6196 (LOAD_REGS_TYPES_5): Likewise.
6197 (LOAD_REGS_TYPES_6): Likewise.
6198 (TYPEFY): New define.
6200 (internal_syscall0): Likewise.
6201 (internal_syscall1): Likewise.
6202 (internal_syscall2): Likewise.
6203 (internal_syscall3): Likewise.
6204 (internal_syscall4): Likewise.
6205 (internal_syscall5): Likewise.
6206 (internal_syscall6): Likewise.
6207 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
6208 (INTERNAL_SYSCALL_NCS): Remove define.
6209 (internal_syscall1): Add define.
6211 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6213 * math/w_remainder_compat.c: Remove duplicate inclusion of
6215 * math/w_remainderf_compat.c: Likewise.
6216 * math/w_remainderl_compat.c: Likewise.
6218 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6222 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6225 * math/tgmath.h (__floating_type): Simplify definitions.
6226 (__real_integer_type): New macro.
6227 (__complex_integer_type): Likewise.
6228 (__expr_is_real): Likewise.
6229 (__tgmath_real_type_sub): Update comment to describe handling of
6231 (__tgmath_complex_type_sub): New macro.
6232 (__tgmath_complex_type): Likewise.
6233 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6234 (__TGMATH_CF128): Use __expr_is_real.
6235 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
6237 (__TGMATH_BINARY_REAL_IMAG): Likewise.
6238 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
6239 * math/gen-tgmath-tests.py (Type.create_type): Create complex
6242 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6244 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
6246 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
6248 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
6251 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
6252 nanosleep_not_cancel with __nanosleep_nocancel.
6253 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
6254 (__nanosleep_nocancel): New macro.
6255 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
6257 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
6259 (__nanosleep_nocancel): New prototype.
6261 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
6262 pause_not_cancel with __pause_nocancel.
6263 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
6264 (__pause_nocancel): New macro.
6265 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
6267 (__pause_nocancel): New prototype.
6268 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
6270 2017-08-22 Martin Sebor <msebor@redhat.com>
6272 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
6273 to return a pointer to the same type as the target function.
6275 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6279 * include/printf.h (__printf_fphex): Add attribute_hidden.
6280 (__guess_grouping): New prototype.
6281 * stdio-common/printf_fp.c (__guess_grouping): Removed.
6282 * stdio-common/reg-printf.c (__register_printf_specifier): Add
6283 libc_hidden_proto and libc_hidden_def.
6284 * stdlib/strfmon_l.c (__guess_grouping): Removed.
6285 (__vstrfmon_l): Remove the third argument passed to
6288 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6290 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
6291 definition for issignaling that does not rely on __MATH_TG,
6292 since __MATH_TG uses __builtin_types_compatible_p, which is only
6293 available in C mode.
6294 (CFLAGS-test-math-issignaling.cc): New variable.
6295 * math/Makefile [CXX] (tests): Add test-math-issignaling.
6296 * math/test-math-issignaling.cc: New test for C++ implementation
6297 of type-generic issignaling.
6298 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
6299 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
6300 options of test-math-issignaling on powerpc64le.
6302 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6304 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6306 (hidden_proto): Likewise.
6307 (hidden_tls_proto): Likewise.
6308 (__hidden_proto): Likewise.
6310 2017-08-22 Florian Weimer <fweimer@redhat.com>
6312 math: Statically link tests of internal functionality.
6313 * math/Makefile (tests): Remove atest-exp, atest-sincos,
6315 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
6316 (gmp-objs): Remove assignment.
6317 (atest-exp, atest-sincos, atest-exp2): Remove targets.
6319 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6322 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
6324 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
6326 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
6329 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
6330 variable definitions above inclusion of ../Rules.
6332 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6334 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
6335 case calling __builtin_unreachable.
6337 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6339 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
6341 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
6342 (__waitpid_nocancel): New macro.
6343 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
6345 (__waitpid_nocancel): Replace macro with a function.
6346 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
6349 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
6351 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
6352 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
6354 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
6355 __writev_nocancel_nostatus.
6356 (write_call_graph): Likewise.
6357 (write_bb_counts): Likewise.
6358 * resolv/herror.c (herror): Likewise.
6359 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
6361 (__writev_nocancel_nostatus): New macro.
6362 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
6364 (__writev_nocancel_nostatus): New function.
6366 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6369 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6371 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6373 (hidden_proto): Likewise.
6374 (hidden_tls_proto): Likewise.
6375 (__hidden_proto): Likewise.
6378 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
6379 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6388 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
6389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6390 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6391 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6392 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6393 GLIBC_2.0 sqrtl symbol.
6395 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
6396 [__USE_MISC] (_LIB_VERSION): Likewise.
6397 [__USE_MISC] (struct exception): Likewise.
6398 [__USE_MISC] (matherr): Likewise.
6399 [__USE_MISC] (DOMAIN): Likewise.
6400 [__USE_MISC] (SING): Likewise.
6401 [__USE_MISC] (OVERFLOW): Likewise.
6402 [__USE_MISC] (UNDERFLOW): Likewise.
6403 [__USE_MISC] (TLOSS): Likewise.
6404 [__USE_MISC] (PLOSS): Likewise.
6405 [__USE_MISC] (HUGE): Likewise.
6406 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
6407 * math/math-svid-compat.h: New file.
6408 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
6410 * include/math.h [!_ISOMAC] (__matherr): Remove.
6411 * manual/arith.texi (FP Exceptions): Do not document matherr.
6412 * math/Makefile (tests): Change test-matherr to test-matherr-3.
6413 (tests-internal): New variable.
6414 (install-lib): Do not add libieee.a.
6415 (non-lib.a): Likewise.
6416 (extra-objs): Do not add libieee.a and ieee-math.o.
6417 (CPPFLAGS-s_lib_version.c): Remove variable.
6418 ($(objpfx)libieee.a): Remove rule.
6419 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
6420 * math/ieee-math.c: Remove.
6421 * math/libm-test-support.c (matherr): Remove.
6422 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
6423 and license notices. Include <math-svid-compat.h> and
6425 (matherr): Undefine as macro. Use compat_symbol_reference.
6426 (_LIB_VERSION): Likewise.
6427 * math/test-matherr-2.c: New file.
6428 * math/test-matherr-3.c: Likewise.
6429 * sysdeps/generic/math_private.h (__kernel_standard): Remove
6431 (__kernel_standard_f): Likewise.
6432 (__kernel_standard_l): Likewise.
6433 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
6434 <math_private.h>. Include <math-svid-compat.h>.
6435 (_LIB_VERSION): Undefine as macro.
6436 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
6437 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
6438 [LIBM_SVID_COMPAT], use compat_symbol.
6439 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
6440 <math_private.h>. Include <math-svid-compat.h>.
6441 (matherr): Undefine as macro.
6442 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
6444 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
6445 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
6446 compat_symbol_reference.
6447 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
6448 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
6449 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
6450 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
6451 (MATHERR_D): Remove declaration.
6452 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
6453 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
6454 [LIBM_BUILD] (pmatherrf): Likewise.
6455 [LIBM_BUILD] (pmatherr): Likewise.
6456 [LIBM_BUILD] (pmatherrl): Likewise.
6459 (OVERFLOW): Likewise.
6460 (UNDERFLOW): Likewise.
6463 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
6464 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
6466 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
6467 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
6469 * math/lgamma-compat.h: Include <math-svid-compat.h>.
6470 * math/w_acos_compat.c: Likewise.
6471 * math/w_acosf_compat.c: Likewise.
6472 * math/w_acosh_compat.c: Likewise.
6473 * math/w_acoshf_compat.c: Likewise.
6474 * math/w_acoshl_compat.c: Likewise.
6475 * math/w_acosl_compat.c: Likewise.
6476 * math/w_asin_compat.c: Likewise.
6477 * math/w_asinf_compat.c: Likewise.
6478 * math/w_asinl_compat.c: Likewise.
6479 * math/w_atan2_compat.c: Likewise.
6480 * math/w_atan2f_compat.c: Likewise.
6481 * math/w_atan2l_compat.c: Likewise.
6482 * math/w_atanh_compat.c: Likewise.
6483 * math/w_atanhf_compat.c: Likewise.
6484 * math/w_atanhl_compat.c: Likewise.
6485 * math/w_cosh_compat.c: Likewise.
6486 * math/w_coshf_compat.c: Likewise.
6487 * math/w_coshl_compat.c: Likewise.
6488 * math/w_exp10_compat.c: Likewise.
6489 * math/w_exp10f_compat.c: Likewise.
6490 * math/w_exp10l_compat.c: Likewise.
6491 * math/w_exp2_compat.c: Likewise.
6492 * math/w_exp2f_compat.c: Likewise.
6493 * math/w_exp2l_compat.c: Likewise.
6494 * math/w_fmod_compat.c: Likewise.
6495 * math/w_fmodf_compat.c: Likewise.
6496 * math/w_fmodl_compat.c: Likewise.
6497 * math/w_hypot_compat.c: Likewise.
6498 * math/w_hypotf_compat.c: Likewise.
6499 * math/w_hypotl_compat.c: Likewise.
6500 * math/w_j0_compat.c: Likewise.
6501 * math/w_j0f_compat.c: Likewise.
6502 * math/w_j0l_compat.c: Likewise.
6503 * math/w_j1_compat.c: Likewise.
6504 * math/w_j1f_compat.c: Likewise.
6505 * math/w_j1l_compat.c: Likewise.
6506 * math/w_jn_compat.c: Likewise.
6507 * math/w_jnf_compat.c: Likewise.
6508 * math/w_jnl_compat.c: Likewise.
6509 * math/w_lgamma_main.c: Likewise.
6510 * math/w_lgamma_r_compat.c: Likewise.
6511 * math/w_lgammaf_main.c: Likewise.
6512 * math/w_lgammaf_r_compat.c: Likewise.
6513 * math/w_lgammal_main.c: Likewise.
6514 * math/w_lgammal_r_compat.c: Likewise.
6515 * math/w_log10_compat.c: Likewise.
6516 * math/w_log10f_compat.c: Likewise.
6517 * math/w_log10l_compat.c: Likewise.
6518 * math/w_log2_compat.c: Likewise.
6519 * math/w_log2f_compat.c: Likewise.
6520 * math/w_log2l_compat.c: Likewise.
6521 * math/w_log_compat.c: Likewise.
6522 * math/w_logf_compat.c: Likewise.
6523 * math/w_logl_compat.c: Likewise.
6524 * math/w_pow_compat.c: Likewise.
6525 * math/w_powf_compat.c: Likewise.
6526 * math/w_powl_compat.c: Likewise.
6527 * math/w_remainder_compat.c: Likewise.
6528 * math/w_remainderf_compat.c: Likewise.
6529 * math/w_remainderl_compat.c: Likewise.
6530 * math/w_scalb_compat.c: Likewise.
6531 * math/w_scalbf_compat.c: Likewise.
6532 * math/w_scalbl_compat.c: Likewise.
6533 * math/w_sinh_compat.c: Likewise.
6534 * math/w_sinhf_compat.c: Likewise.
6535 * math/w_sinhl_compat.c: Likewise.
6536 * math/w_sqrt_compat.c: Likewise.
6537 * math/w_sqrtf_compat.c: Likewise.
6538 * math/w_sqrtl_compat.c: Likewise.
6539 * math/w_tgamma_compat.c: Likewise.
6540 * math/w_tgammaf_compat.c: Likewise.
6541 * math/w_tgammal_compat.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6543 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6544 * sysdeps/ieee754/k_standard.c: Likewise.
6545 * sysdeps/ieee754/k_standardf.c: Likewise.
6546 * sysdeps/ieee754/k_standardl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6550 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6552 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6553 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6554 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6555 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6560 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6561 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6562 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6563 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6565 2017-08-21 Florian Weimer <fweimer@redhat.com>
6568 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
6569 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
6570 Move before inclusion of ../Rules.
6572 2017-08-21 Florian Weimer <fweimer@redhat.com>
6575 * assert/assert.h (assert): Use static_cast (bool) for C++.
6576 Use the ternary operator in the warning branch for GNU C.
6577 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
6578 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
6579 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
6580 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
6581 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
6583 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6586 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6587 (__syscall_clock_gettime): Add attribute_hidden.
6588 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
6589 (__start_context): Likewise.
6591 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6593 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6595 (hidden_proto): Likewise.
6596 (hidden_tls_proto): Likewise.
6597 (__hidden_proto): Likewise.
6599 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6601 * include/libc-symbols.h (attribute_hidden): Enable hidden
6602 visibility in libc.a compiled with PIE.
6604 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6607 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6608 Add attribute_hidden.
6610 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6613 * Makerules (all-nonlib): Add $(others-extras).
6614 * catgets/Makefile (others-extras): New.
6615 * elf/Makefile (others-extras): Likewise.
6616 * nss/Makefile (others-extras): Likewise.
6618 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6621 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6622 * elf/dl-open.c: Include <libc-internal.h>.
6623 (__libc_multiple_libcs): Removed.
6624 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6626 * include/libc-internal.h (__libc_multiple_libcs): New.
6627 * misc/sbrk.c: Include <libc-internal.h>.
6628 (__libc_multiple_libcs): Removed.
6630 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6633 * grp/initgroups.c (__nss_group_database): Removed.
6634 (__nss_initgroups_database): Likewise.
6635 * nscd/gai.c (__nss_hosts_database): Likewise.
6636 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6637 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6638 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6639 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6640 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6641 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6643 * nss/nsswitch.c (__nss_database_custom): Define only if
6644 USE_NSCD is defined.
6645 (__nss_configure_lookup): Use __nss_database_custom only if
6646 USE_NSCD is defined.
6647 * nss/nsswitch.h (__nss_database_custom): Declare only if
6648 USE_NSCD is defined. Add attribute_hidden.
6649 (__nss_setent): Add attribute_hidden.
6650 (__nss_endent): Likewise.
6651 (__nss_getent_r): Likewise.
6652 (__nss_getent): Likewise.
6653 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6655 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6658 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6659 libc_hidden_proto and libc_hidden_def.
6661 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6664 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6665 Add libc_hidden_proto.
6666 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6667 Add libc_hidden_def.
6669 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6672 * gmon/Makefile (routines): Remove bb_init_func and
6674 (elide-routines.os): Removed.
6675 * gmon/bb_exit_func.c: Likewise.
6676 * gmon/bb_init_func.c: Likewise.
6677 * include/sys/gmon.h (__bb): Likewise.
6678 (__bb_init_func): Likewise.
6679 (__bb_exit_func): Likewise.
6680 * sysdeps/alpha/bb_init_func.S: Likewise.
6682 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6684 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6685 * include/setjmp.h (____longjmp_chk): Here. Add
6688 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6691 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6693 (__strspn_sse2): Likewise.
6695 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6697 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6698 (close_not_cancel_no_status): Likewise.
6699 (__close_nocancel): New macro.
6700 (__close_nocancel_nostatus): Likewise.
6701 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6703 (close_not_cancel): Likewise.
6704 (close_not_cancel_no_status): Likewise.
6705 (__close_nocancel): New prototype.
6706 (__close_nocancel_nostatus): New function.
6707 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6708 * catgets/open_catalog.c (__open_catalog): Replace
6709 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6710 * gmon/gmon.c (write_gmon): Likewise.
6711 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6712 * intl/loadmsgcat.c (close): Likewise.
6713 * io/ftw.c (open_dir_stream): Likewise.
6714 (ftw_startup): Likewise.
6715 * libio/fileops.c (_IO_file_open): Likewise.
6716 (_IO_file_close_mmap): Likewise.
6717 (_IO_file_close): Likewise.
6718 * libio/iopopen.c (_IO_dup2): Likewise.
6719 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6720 * locale/loadlocale.c (_nl_load_locale): Likewise.
6721 * login/utmp_file.c (pututline_file): Likewise.
6722 (endutent_file): Likewise.
6723 * misc/daemon.c (daemon): Likewise.
6724 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6725 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6726 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6727 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6728 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6729 * nscd/nscd_helper.c (open_socket): Likewise.
6730 (__nscd_open_socket): Likewise.
6731 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6732 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6733 (__nscd_innetgr): Likewise.
6734 * nss/nss_db/db-open.c (internal_setent): Likewise.
6735 * resolv/res-close.c (__res_iclose): Likewise.
6736 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6737 * sysdeps/posix/closedir.c (__closedir): Likewise.
6738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6739 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6740 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6741 (opendir_tail): Likewise.
6742 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6743 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6744 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6745 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6746 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6747 (gethostid): Likewise.
6748 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6749 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6752 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6753 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6754 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6756 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6757 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6758 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6760 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6761 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6763 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6765 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6766 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6767 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6770 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6771 (openat_not_cancel_3): Likewise.
6772 (openat64_not_cancel_3): Likewise).
6773 (openat_not_cancel_3): Likewise).
6774 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6776 (openat_not_cancel_3): Likewise.
6777 (openat64_not_cancel): Likewise.
6778 (openat64_not_cancel_3): Likewise.
6779 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6780 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6781 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6782 __open{64}_nocancel.
6783 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6784 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6785 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6787 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6790 * include/argz.h (__argz_create_sep): New function prototype.
6791 (__argz_append): Likewise.
6792 (__argz_add): Likewise.
6793 (__argz_add_sep): Likewise.
6794 (__argz_delete): Likewise.
6795 (__argz_insert): Likewise.
6796 (__argz_replace): Likewise.
6797 * string/argz.h (__argz_create_sep): Removed.
6798 (__argz_append): Likewise.
6799 (__argz_add): Likewise.
6800 (__argz_add_sep): Likewise.
6801 (__argz_delete): Likewise.
6802 (__argz_insert): Likewise.
6803 (__argz_replace): Likewise.
6805 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6807 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6808 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6809 (GNU_PROPERTY_STACK_SIZE): Likewie.
6810 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6811 (GNU_PROPERTY_LOPROC): Likewise.
6812 (GNU_PROPERTY_HIPROC): Likewise.
6813 (GNU_PROPERTY_LOUSER): Likewise.
6814 (GNU_PROPERTY_HIUSER): Likewise.
6815 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6816 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6817 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6818 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6819 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6820 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6821 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6822 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6823 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6824 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6825 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6826 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6827 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6828 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6829 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6830 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6831 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6832 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6833 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6834 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6835 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6836 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6837 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6839 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6841 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6844 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6847 * math/math.h (isinf): Check if in C or C++ mode before using
6848 __builtin_types_compatible_p, since this is a C mode feature.
6850 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6852 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6853 (__write_nocancel): New macro.
6854 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6855 Rewrite as a function prototype.
6856 (write_not_cancel): Remove macro.
6857 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6858 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6859 (write_gmon): Likewise.
6860 * libio/fileops.c (_IO_new_file_write): Likewise.
6861 * login/utmp_file.c (pututline_file): Likewise.
6862 (updwtmp_file): Likewise.
6863 * stdio-common/psiginfo.c (psiginfo): Likewise.
6864 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6865 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6866 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6868 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6871 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6872 (__read_nocancel): New macro.
6873 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6875 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6877 (__read_nocancel): New prototype.
6878 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6879 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6880 with __read_nocancel.
6881 * intl/loadmsgcat.c (read): Likewise.
6882 * libio/fileops.c (_IO_file_read): Likewise.
6883 * locale/loadlocale.c (_nl_load_locale): Likewise.
6884 * login/utmp_file.c (getutent_r_file): Likewise.
6885 (internal_getut_r): Likewise.
6886 (getutline_r_file): Likewise.
6887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6888 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6889 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6892 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6893 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6894 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6896 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6898 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6900 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6902 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6904 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6907 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6908 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6911 2017-08-17 DJ Delorie <dj@redhat.com>
6913 * bug17079.c: Update to new test harness.
6914 * test-digits-dots.c: Likewise.
6915 * test-netdb.c: Likewise.
6916 * tst-field.c: Likewise.
6917 * tst-nss-getpwent.c: Likewise.
6918 * tst-nss-static.c: Likewise.
6919 * tst-nss-test1.c: Likewise.
6920 * tst-nss-test2.c: Likewise.
6921 * tst-nss-test3.c: Likewise.
6922 * tst-nss-test4.c: Likewise.
6923 * tst-nss-test5.c: Likewise.
6925 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6927 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6928 (open_not_cancel_2): Likewise.
6929 (open_nocancel): New macro.
6930 (open64_nocancel): Likewise.
6931 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6932 (open_not_cancel_2): Likewise.
6933 (__open_nocancel): New prototype.
6934 (__open64_nocancel): Likewise.
6935 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6937 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6938 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6939 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6940 with __open_nocancel.
6941 * csu/check_fds.c (check_one_fd): Likewise.
6942 * gmon/gmon.c (write_gmon): Likewise.
6943 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6944 * intl/loadmsgcat.c (open): Likewise.
6945 * libio/fileops.c (_IO_file_open): Likewise.
6946 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6947 * locale/loadlocale.c (_nl_load_locale): Likewise.
6948 * login/utmp_file.c (setutent_file): Likewise.
6949 * misc/daemon.c (daemon): Likewise.
6950 * nss/nss_db/db-open.c (internal_setent): Likewise.
6951 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6952 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6953 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6954 (__opendir): Likewise.
6955 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6956 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6957 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6958 (gethostid): Likewise.
6959 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6963 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
6964 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6965 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6967 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6969 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6971 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6973 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6975 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6977 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6980 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
6982 * benchtests/bench-skeleton.c (main): Add support for
6983 latency benchmarking.
6984 * benchtests/scripts/bench.py: Add support for latency benchmarking.
6986 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
6988 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
6991 2017-08-17 Florian Weimer <fweimer@redhat.com>
6993 * include/sys/socket.h (__opensock): Remove internal_function.
6994 * socket/opensock.c (__opensock): Likewise.
6995 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
6997 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7000 * signal/bits/types/__sigval_t.h: New file.
7001 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
7002 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
7003 and define sigval_t using __sigval_t.
7004 * include/bits/types/__sigval_t.h: New file.
7005 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
7006 instead of <bits/types/__sigval_t.h>.
7007 (struct sigevent): Use __sigval_t instead of sigval_t.
7008 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
7009 instead of <bits/types/__sigval_t.h>.
7010 (siginfo_t): Use __sigval_t instead of sigval_t.
7011 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
7012 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7013 (struct sigevent): Use __sigval_t instead of sigval_t.
7014 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
7015 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7016 (siginfo_t): Use __sigval_t instead of sigval_t.
7017 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
7019 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7021 * NEWS: Remove "[Add new features here]" for 2.27.
7023 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7025 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
7028 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7030 * NEWS: Mention x86-64 FMA optimization.
7032 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7035 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7037 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
7038 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
7039 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
7041 2017-08-16 Andreas Schwab <schwab@suse.de>
7045 * elf/ldd.bash.in: Never run file directly.
7047 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
7050 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
7051 (L(SP_INF_0)): Likewise.
7053 2017-08-15 Florian Weimer <fweimer@redhat.com>
7055 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
7058 2017-08-15 Florian Weimer <fweimer@redhat.com>
7060 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
7061 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
7062 BROKEN_THREAD_SIGNALS code.
7063 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
7064 request_list): Remove caller_pid member used for
7065 BROKEN_THREAD_SIGNALS.
7066 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
7067 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7068 Remove BROKEN_THREAD_SIGNALS support.
7069 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7070 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
7072 2017-08-15 Florian Weimer <fweimer@redhat.com>
7074 * gmon/Makefile (tests): Add tst-gmon.
7075 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
7077 (tests-special): Add tst-gmon-prof.out.
7078 (tst-gmon.out): Depend on clean-tst-gmon-data.
7079 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
7080 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
7081 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
7083 * aclocal.m4 (GPROF): Set and substitute.
7084 * config.amke.in (GPROF): Set.
7085 * configure: Regenerate.
7087 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
7089 * elf/elf.h A (NT_PPC_TAR): New macro.
7090 (NT_PPC_PPR): Likewise.
7091 (NT_PPC_DSCR): Likewise.
7092 (NT_PPC_EBB): Likewise.
7093 (NT_PPC_PMU): Likewise.
7094 (NT_PPC_TM_CGPR): Likewise.
7095 (NT_PPC_TM_CFPR): Likewise.
7096 (NT_PPC_TM_CVMX): Likewise.
7097 (NT_PPC_TM_CVSX): Likewise.
7098 (NT_PPC_TM_SPR): Likewise.
7099 (NT_PPC_TM_CTAR): Likewise.
7100 (NT_PPC_TM_CPPR): Likewise.
7101 (NT_PPC_TM_CDSCR): Likewise.
7103 2017-08-15 Florian Weimer <fweimer@redhat.com>
7105 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
7106 regparm (2) instead of internal_function.
7107 (_MCOUNT_DECL): Adjust.
7109 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
7111 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
7112 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7114 2017-08-14 Joseph Myers <joseph@codesourcery.com>
7116 * conform/data/sys/wait.h-data (si_value): Do not expect for
7119 2017-08-14 Florian Weimer <fweimer@redhat.com>
7122 NSS: Create stubs for accidentally exported lookup functions.
7123 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
7125 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
7126 (ether_hostton): Call __nss_ethers_lookup2 instead.
7127 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
7128 (ether_ntohost): Call __nss_ethers_lookup2 instead.
7129 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
7130 (setup): Call __nss_netgroup_lookup2 instead.
7131 * nss/Makefile (routines): Add compat-lookup.
7132 * nss/Versions (GLIBC_2.27): Add symbol version.
7133 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
7134 (DB_COMPAT_FCT): Remove.
7135 * nss/compat-lookup.c: New file.
7136 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
7138 * nss/service-lookup.c (NO_COMPAT): Remove definition.
7139 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
7140 (netname2user): Call __nss_publickey_lookup2 instead.
7141 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
7142 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
7145 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7146 Sergei Trofimovich <slyfox@inbox.ru>
7149 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
7150 Rename to MMAP2_PAGE_UNIT.
7151 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
7152 __OFF_T_MATCHES_OFF64_T is not defined.
7153 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
7155 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
7156 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
7158 2017-08-14 Florian Weimer <fweimer@redhat.com>
7160 i386: Do not set internal_function.
7161 * config.h.in (USE_REGPARMS, internal_function): Remove.
7162 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
7163 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
7165 2017-08-14 Florian Weimer <fweimer@redhat.com>
7167 * elf/dl-init.c (_dl_init): Remove internal_function.
7168 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
7169 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
7171 2017-08-14 Florian Weimer <fweimer@redhat.com>
7173 * elf/rtld.c (_dl_start): Remove internal_function.
7174 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
7177 2017-08-14 Florian Weimer <fweimer@redhat.com>
7179 * elf/dl-fini.c (_dl_fini): Remove internal_function
7180 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
7182 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
7184 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
7185 (bit_cpu_SHSTK): Likewise.
7186 (index_cpu_IBT): Likewise.
7187 (index_cpu_SHSTK): Likewise.
7188 (reg_IBT): Likewise.
7189 (reg_SHSTK): Likewise.
7190 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7191 Handle index_cpu_IBT and index_cpu_SHSTK.
7193 2017-08-14 Mike FABIAN <mfabian@redhat.com>
7196 * po/fr.po: Fix spelling mistake.
7198 2017-08-13 Florian Weimer <fweimer@redhat.com>
7200 * elf/dl-addr.c (_dl_addr): Remove internal_function.
7201 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
7202 (_dl_catch_error, _dl_receive_error): Likewise.
7203 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
7204 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
7205 (_dl_deallocate_tls): Likewise.
7206 * include/dlfcn.h (_dl_addr): Likewise.
7207 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
7208 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
7209 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
7212 2017-08-13 Florian Weimer <fweimer@redhat.com>
7214 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
7215 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
7217 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
7219 2017-08-13 Florian Weimer <fweimer@redhat.com>
7221 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
7223 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
7224 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
7225 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
7226 internal_function from _dl_make_stack_executable_hook member.
7227 (_dl_make_stack_executable): Remove internal_function.
7228 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
7230 * sysdeps/unix/sysv/linux/dl-execstack.c
7231 (_dl_make_stack_executable): Likewise.
7233 2017-08-13 Florian Weimer <fweimer@redhat.com>
7235 * sysdeps/unix/sysv/linux/netlinkaccess.h
7236 (__netlink_assert_response): Remove internal_function.
7237 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7238 (__netlink_assert_response): Likewise.
7240 2017-08-13 Florian Weimer <fweimer@redhat.com>
7242 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
7244 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
7246 2017-08-13 Florian Weimer <fweimer@redhat.com>
7248 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
7250 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
7251 * inet/netgroup.h (__internal_setnetgrent)
7252 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7253 * inet/getnetgrent_r.c (__internal_setnetgrent)
7254 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7255 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
7256 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
7257 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
7258 * nss/nsswitch.h (db_lookup_function): Likewise.
7260 2017-08-13 Florian Weimer <fweimer@redhat.com>
7262 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
7263 Remove internal_function.
7264 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
7265 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
7266 message argument on the stack.
7267 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
7270 2017-08-12 Mike FABIAN <mfabian@redhat.com>
7272 Adapt test case data to the changes in the thousands
7276 * localedata/tst-langinfo.sh: Adapt test case data.
7277 * stdlib/tst-strfmon_l.c: Likewise.
7278 * stdlib/tst-strtod4.c: Likewise.
7279 * stdlib/tst-strtod5i.c: Likewise.
7281 2017-08-11 Florian Weimer <fweimer@redhat.com>
7284 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
7285 Suppress pedantic warning resulting from statement expression.
7286 (__ASSERT_FUNCTION): Add missing __extension__.
7288 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7290 * benchtests/bench-memmove-large.c: Print output in JSON
7292 * benchtests/bench-memmove.c: Likewise.
7294 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
7295 * benchtests/bench-memchr.c (do_one_test): Likewise.
7296 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
7297 * benchtests/bench-memcpy.c (do_one_test): Likewise.
7298 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
7299 * benchtests/bench-memmove.c (do_one_test): Likewise.
7300 * benchtests/bench-memset-large.c (do_one_test): Likewise.
7301 * benchtests/bench-memset.c (do_one_test): Likewise.
7302 * benchtests/bench-string.h (test_init): Remove memsets.
7304 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7307 (Computing the Width of an Integer Data Type): Rename section to
7308 "Width of an Integer Type". Remove inaccurate statement regarding
7309 lack of C language facilities for determining width of integer
7310 types, and reorder content to improve flow and context of
7313 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7315 * lang.texi (va_copy): Change standard from ISO to C99.
7316 (__va_copy): Add standard and header annotation.
7317 Update description for clarity of origins and current use.
7319 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7322 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
7323 xssqrtqp requires operands to be in Vector Registers
7324 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
7325 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
7326 (__ieee754_sqrtf128): Likewise.
7328 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7330 * sysdeps/aarch64/memcmp.S (memcmp):
7331 Rewrite of optimized memcmp.
7333 2017-08-10 Florian Weimer <fweimer@redhat.com>
7335 Introduce ld.so exceptions.
7336 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
7337 (_dl_exception_create, _dl_exception_create_format)
7338 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
7339 (_dl_catch_exception): Declare.
7340 (_dl_catch_error): Update comment.
7341 * elf/dl-error-skeleton.c (struct catch): Replace objname,
7342 errstring, malloced members with exception member.
7343 (_dl_out_of_memory): Remove.
7344 (fatal_error): New function, extracted from _dl_signal_error.
7345 (_dl_signal_exception, _dl_signal_cexception): New functions.
7346 (_dl_signal_error): Call _dl_exception_create to allocate an
7348 (_dl_catch_exception): New function, based on _dl_catch_error.
7349 (_dl_catch_error): Implement using _dl_catch_exception.
7350 * elf/dl-exception.c: New file.
7351 * elf/Makefile (dl-routines): Add dl-exception.
7352 (elide-routines.os): Likewise.
7353 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
7354 _dl_exception_create_format, _dl_exception_free.
7355 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
7356 _dl_signal_exception.
7357 * elf/dl-lookup.c (make_string): Remove.
7358 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
7359 _dl_signal_cexception, _dl_exception_free.
7360 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
7361 _dl_signal_exception.
7362 * elf/dl-sym.c (do_sym): Likewise.
7363 * elf/dl-version.c (make_string): Remove.
7364 (match_symbol): Use _dl_exception_create_format,
7365 _dl_signal_cexception, _dl_exception_free.
7366 (_dl_check_map_versions): Likewise.
7367 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
7368 _dl_catch_exception.
7369 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7370 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7371 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7372 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7373 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7374 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7375 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7376 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7378 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7385 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7386 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7387 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7389 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7391 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7393 2017-08-10 Florian Weimer <fweimer@redhat.com>
7395 * inet/net-internal.h (__inet6_scopeid_pton): Remove
7396 attribute_hidden, internal_function.
7397 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
7400 2017-08-10 Florian Weimer <fweimer@redhat.com>
7402 * malloc/malloc.c (get_max_fast): Reimplement as an inline
7403 function which calls __builtin_unreachable.
7405 2017-08-10 Mike FABIAN <mfabian@redhat.com>
7407 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
7408 Indian monetary formatting
7409 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
7412 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
7414 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
7415 Fix typo in comment.
7418 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
7419 PTRACE_SEIZE_DEVEL): Remove.
7420 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
7421 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7424 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7426 2017-08-09 Joseph Myers <joseph@codesourcery.com>
7428 * posix/bits/types.h (__qaddr_t): Remove.
7431 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
7432 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7434 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
7435 (ucontext_t): Use __ctx with uc_flags.
7436 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
7438 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7440 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
7441 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7443 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
7444 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7446 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
7448 (ucontext_t): Use __ctx with uc_flags.
7449 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
7450 (ucontext_t): Use __ctx with uc_flags.
7451 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
7452 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
7453 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
7454 (ucontext_t): Use __ctx with uc_flags.
7455 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
7456 undefine further down.
7457 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7459 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
7460 undefine further down.
7461 (ucontext_t): Use __ctx with uc_flags.
7462 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
7463 undefine further down.
7464 (ucontext_t): Use __ctx with uc_flags.
7465 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
7466 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
7467 Rename uc_pad to __glibc_reserved1.
7468 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
7469 undefine further down.
7470 (ucontext_t): Use __ctx with uc_flags.
7471 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
7473 (ucontext_t): Use __ctx with uc_flags.
7474 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
7475 __ctx with uc_flags.
7476 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
7477 (ucontext_t): Use __ctx with uc_flags.
7478 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
7479 __ctx with uc_flags.
7481 2017-08-09 Florian Weimer <fweimer@redhat.com>
7484 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
7485 before early return.
7487 2017-08-09 Andreas Schwab <schwab@suse.de>
7490 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
7494 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
7495 tst-compat-forwarder.
7496 (modules-names): Add tst-compat-forwarder-mod.
7497 ($(objpfx)tst-compat-forwarder): Depend on
7498 $(objpfx)tst-compat-forwarder-mod.so.
7499 * nptl/tst-compat-forwarder.c: New file.
7500 * nptl/tst-compat-forwarder-mod.c: New file.
7502 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
7504 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
7507 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
7508 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7510 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7512 (__libc_ifunc_impl_list): Add __memcpy_falkor.
7513 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
7514 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
7515 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7517 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
7520 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7523 * manual/setjmp.texi (getcontex): Document uc_stack value
7524 compatibility differences.
7526 2017-08-08 Joseph Myers <joseph@codesourcery.com>
7528 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
7529 (old_malloc_hook): Likewise.
7530 (old_memalign_hook): Likewise.
7531 (old_realloc_hook): Likewise.
7532 (struct hdr): Likewise.
7534 (freehook): Likewise.
7535 (mallochook): Likewise.
7536 (memalignhook): Likewise.
7537 (reallochook): Likewise.
7539 * malloc/mtrace.c (mallwatch): Likewise.
7540 (tr_old_free_hook): Likewise.
7541 (tr_old_malloc_hook): Likewise.
7542 (tr_old_realloc_hook): Likewise.
7543 (tr_old_memalign_hook): Likewise.
7544 (tr_where): Likewise.
7545 (lock_and_info): Likewise.
7546 (tr_freehook): Likewise.
7547 (tr_mallochook): Likewise.
7548 (tr_reallochook): Likewise.
7549 (tr_memalignhook): Likewise.
7550 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
7551 * misc/mmap.c (__mmap): Likewise.
7552 * misc/mmap64.c (__mmap64): Likewise.
7553 * misc/mprotect.c (__mprotect): Likewise.
7554 * misc/msync.c (msync): Likewise.
7555 * misc/munmap.c (__munmap): Likewise.
7556 * posix/posix_madvise.c (posix_madvise): Likewise.
7557 * socket/send.c (__send): Likewise.
7558 * socket/sendto.c (__sendto): Likewise.
7559 * socket/setsockopt.c (__setsockopt): Likewise.
7560 * string/memcmp.c (__ptr_t): Remove macro.
7561 (MEMCMP): Use void * instead of ptr_t.
7562 * string/memrchr.c (__ptr_t): Remove macro.
7563 (__memrchr): Use void * instead of ptr_t.
7564 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
7565 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
7566 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
7567 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
7568 * sysdeps/mach/msync.c (msync): Likewise.
7569 * sysdeps/mach/munmap.c (__munmap): Likewise.
7570 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
7572 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7573 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
7574 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
7575 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
7576 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7577 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7578 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
7579 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
7581 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7582 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
7583 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
7584 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
7585 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
7586 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
7587 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
7588 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
7589 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
7591 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
7592 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
7593 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
7594 (MEMCMP): Use void * instead of ptr_t.
7595 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
7596 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7598 2017-08-08 Florian Weimer <fweimer@redhat.com>
7600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7603 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7606 * csu/libc-tls.c: Include <startup.h> first.
7607 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7608 * elf/dl-tunables.c: Include <startup.h> first.
7609 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7610 * sysdeps/generic/startup.h: New file.
7611 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7612 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7613 (I386_USE_SYSENTER): New. Defined to 0.
7615 2017-08-08 Andreas Schwab <schwab@suse.de>
7618 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7619 * nptl/pt-system.c (system): Likewise.
7621 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7624 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7626 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7627 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7628 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7629 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7630 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7631 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7632 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7634 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7637 * bits/sigaction.h (struct sigaction): Define sa_handler and
7638 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
7639 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7640 [__USE_XOPEN_EXTENDED].
7641 (SA_RESTART): Likewise.
7642 (SA_NODEFER): Likewise.
7643 (SA_RESETHAND): Likewise.
7644 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
7645 (struct sigaction): Define sa_handler and sa_sigaction using union
7646 also for [__USE_XOPEN_EXTENDED].
7647 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7648 [__USE_XOPEN_EXTENDED].
7649 (SA_RESTART): Likewise.
7650 (SA_NODEFER): Likewise.
7651 (SA_RESETHAND): Likewise.
7652 * sysdeps/unix/sysv/linux/bits/sigaction.h
7653 (struct sigaction): Define sa_handler and sa_sigaction using union
7654 also for [__USE_XOPEN_EXTENDED].
7655 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7656 [__USE_XOPEN_EXTENDED].
7657 (SA_RESTART): Likewise.
7658 (SA_NODEFER): Likewise.
7659 (SA_RESETHAND): Likewise.
7660 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7661 (struct sigaction): Define sa_handler and sa_sigaction using union
7662 also for [__USE_XOPEN_EXTENDED].
7663 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7664 [__USE_XOPEN_EXTENDED].
7665 (SA_RESTART): Likewise.
7666 (SA_NODEFER): Likewise.
7667 (SA_RESETHAND): Likewise.
7668 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7669 (struct sigaction): Define sa_handler and sa_sigaction using union
7670 also for [__USE_XOPEN_EXTENDED].
7671 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7672 [__USE_XOPEN_EXTENDED].
7673 (SA_RESTART): Likewise.
7674 (SA_NODEFER): Likewise.
7675 (SA_RESETHAND): Likewise.
7676 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7677 (struct sigaction): Define sa_handler and sa_sigaction using union
7678 also for [__USE_XOPEN_EXTENDED].
7679 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7680 [__USE_XOPEN_EXTENDED].
7681 (SA_RESTART): Likewise.
7682 (SA_NODEFER): Likewise.
7683 (SA_RESETHAND): Likewise.
7684 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7685 (struct sigaction): Define sa_handler and sa_sigaction using union
7686 also for [__USE_XOPEN_EXTENDED].
7687 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7688 [__USE_XOPEN_EXTENDED].
7689 (SA_RESTART): Likewise.
7690 (SA_NODEFER): Likewise.
7691 (SA_RESETHAND): Likewise.
7692 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7693 (struct sigaction): Define sa_handler and sa_sigaction using union
7694 also for [__USE_XOPEN_EXTENDED].
7695 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7696 [__USE_XOPEN_EXTENDED].
7697 (SA_RESTART): Likewise.
7698 (SA_NODEFER): Likewise. Define directly rather than as alias.
7699 (SA_RESETHAND): Likewise.
7700 (SA_INTERRUPT): Define only for [__USE_MISC].
7701 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7702 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7704 (SA_STACK): Define only for [__USE_MISC].
7705 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7706 (struct sigaction): Define sa_handler and sa_sigaction using union
7707 also for [__USE_XOPEN_EXTENDED].
7708 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7709 [__USE_XOPEN_EXTENDED].
7710 (SA_RESTART): Likewise.
7711 (SA_NODEFER): Likewise.
7712 (SA_RESETHAND): Likewise.
7713 (SA_NOPTRACE): Define only for [__USE_MISC].
7715 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7716 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7717 (struct catalog_info): Likewise.
7718 * inet/htontest.c (lo): Likewise.
7720 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7721 * inet/inet_net.c (inet_network): Likewise.
7722 * inet/inet_netof.c (inet_netof): Likewise.
7723 * inet/rcmd.c (__ivaliduser): Likewise.
7724 (iruserok): Likewise.
7725 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7726 * locale/programs/locale-spec.c (locale_special): Likewise.
7727 * nis/nis_findserv.c (struct findserv_req): Likewise.
7728 (__nis_findfastest_with_timeout): Likewise.
7729 * nss/test-netdb.c (test_network): Likewise.
7730 * resolv/inet_neta.c (inet_neta): Likewise.
7731 * resolv/ns_date.c (ns_datetosecs): Likewise.
7732 (SECS_PER_DAY): Likewise.
7733 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7735 * resolv/res_comp.c (__putlong): Likewise.
7736 (__putshort): Likewise.
7737 (_getlong): Likewise.
7738 (_getshort): Likewise.
7739 * resolv/res_debug.c (p_time): Likewise.
7740 (precsize_ntoa): Likewise.
7741 (precsize_aton): Likewise.
7742 (latlon2ul): Likewise.
7743 (loc_aton): Likewise.
7744 (loc_ntoa): Likewise.
7745 * resolv/res_hconf.c (struct netaddr): Likewise.
7746 (_res_hconf_reorder_addrs): Likewise.
7747 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7748 (clnttcp_control): Likewise.
7749 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7750 (clntudp_control): Likewise.
7751 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7752 (clntunix_control): Likewise.
7753 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7754 * sunrpc/rpc/auth.h (union des_block): Likewise.
7755 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7756 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7757 (xdrrec_create): Likewise.
7758 (xdrrec_endofrecord): Likewise.
7759 (flush_out): Likewise.
7760 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7761 (xdrstdio_putlong): Likewise.
7762 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7765 * misc/sys/cdefs.h (__long_double_t): Remove.
7766 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7767 instead of __long_double_t,
7768 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7770 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7772 * benchtests/scripts/compare_strings.py: Avoid display error when
7773 running on a text terminal.
7775 * benchtests/scripts/compare_strings.py (main): Add an
7776 optional -base option.
7777 (process_results): New argument base_func.
7779 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7781 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7782 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7784 2017-08-07 Andreas Schwab <schwab@suse.de>
7786 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7787 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7788 * intl/Makefile ($(objpfx)tst-gettext.out)
7789 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7790 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7791 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7792 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7793 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7794 * posix/Makefile ($(objpfx)globtest.out)
7795 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7796 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7797 ($(objpfx)tst-printf.out): Likewise.
7798 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7799 ($(objpfx)tst-setcontext3.out): Likewise.
7801 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7803 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7804 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7805 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7806 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7807 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7809 (CFLAGS-doasin-fma.c): New.
7810 (CFLAGS-dosincos-fma.c): Likewise.
7811 (CFLAGS-e_asin-fma.c): Likewise.
7812 (CFLAGS-e_atan2-fma.c): Likewise.
7813 (CFLAGS-e_exp-fma.c): Likewise.
7814 (CFLAGS-e_log-fma.c): Likewise.
7815 (CFLAGS-e_pow-fma.c): Likewise.
7816 (CFLAGS-halfulp-fma.c): Likewise.
7817 (CFLAGS-mpa-fma.c): Likewise.
7818 (CFLAGS-mpatan-fma.c): Likewise.
7819 (CFLAGS-mpatan2-fma.c): Likewise.
7820 (CFLAGS-mpexp-fma.c): Likewise.
7821 (CFLAGS-mplog-fma.c): Likewise.
7822 (CFLAGS-mpsqrt-fma.c): Likewise.
7823 (CFLAGS-mptan-fma.c): Likewise.
7824 (CFLAGS-s_atan-fma.c): Likewise.
7825 (CFLAGS-sincos32-fma.c): Likewise.
7826 (CFLAGS-slowexp-fma.c): Likewise.
7827 (CFLAGS-slowpow-fma.c): Likewise.
7828 (CFLAGS-s_sin-fma.c): Likewise.
7829 (CFLAGS-s_tan-fma.c): Likewise.
7830 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7831 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7832 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7833 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7834 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7835 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7836 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7837 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7838 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7839 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7840 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7841 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7842 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7843 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7844 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7845 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7846 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7847 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7850 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7851 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7852 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7853 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7854 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7856 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7857 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7858 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7859 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7860 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7862 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7864 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7865 (min_of_type_f): New macro.
7866 (min_of_type_): Likewise.
7867 (min_of_type_l): Likewise.
7868 (min_of_type_f128): Likewise.
7869 (min_of_type): Define using __MATH_TG and taking an expression
7871 (math_check_force_underflow): Pass expression instead of type to
7873 (math_check_force_underflow_nonneg): Likewise.
7875 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7877 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7878 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7879 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7881 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7884 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7885 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7886 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7887 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7888 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7889 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7890 memmove_chk-nonshared and memset_chk-nonshared
7891 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7892 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7893 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7894 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7895 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7896 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7897 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7898 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7899 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7900 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7901 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7902 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7903 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7904 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7905 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7906 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7907 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7908 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7909 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7910 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7911 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7912 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7913 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7914 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7915 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7916 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7917 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7918 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7919 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7920 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7921 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7922 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7923 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7924 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7925 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7926 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7927 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7928 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7929 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7930 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7931 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7932 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7933 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7934 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7935 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7936 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7937 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7938 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7939 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7940 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7941 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7942 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7943 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7944 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7945 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7946 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7947 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7948 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7949 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7950 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7951 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7952 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7953 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7954 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7955 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7956 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7957 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7958 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7959 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
7960 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
7961 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
7962 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7963 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7964 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7965 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7966 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7967 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7968 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7969 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7970 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7971 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7972 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7973 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7974 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7975 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7976 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7977 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7978 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7979 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7980 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7981 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7982 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7983 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7984 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7985 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7986 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7987 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7988 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7989 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7990 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7991 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7992 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7993 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7994 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7995 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7996 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7997 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7998 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8000 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8002 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
8003 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
8004 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
8005 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
8006 svml_d_log2_core-sse2, svml_d_log4_core-sse,
8007 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
8008 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
8009 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
8010 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
8011 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
8012 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
8013 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
8014 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
8015 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
8016 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
8017 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
8018 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
8019 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
8020 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
8021 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
8022 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
8023 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
8024 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
8025 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
8026 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
8027 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
8028 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
8029 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
8030 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
8031 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
8032 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
8033 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
8034 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
8035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
8036 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
8037 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
8038 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
8039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
8040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
8041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
8042 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
8043 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
8044 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
8045 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
8046 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
8047 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
8048 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
8049 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
8050 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
8051 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
8052 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
8053 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
8054 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
8055 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
8056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
8057 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
8058 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
8059 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
8060 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
8062 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
8063 Don't include <sysdep.h> nor <init-arch.h>.
8064 (_ZGVbN2v_cos): Removed.
8065 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
8067 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
8068 Don't include <sysdep.h> nor <init-arch.h>.
8069 (_ZGVdN4v_cos): Removed.
8070 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
8072 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
8073 Don't include <sysdep.h> nor <init-arch.h>.
8074 (_ZGVeN8v_cos): Removed.
8075 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
8077 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
8078 Don't include <sysdep.h> nor <init-arch.h>.
8079 (_ZGVbN2v_exp): Removed.
8080 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
8082 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
8083 Don't include <sysdep.h> nor <init-arch.h>.
8084 (_ZGVdN4v_exp): Removed.
8085 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
8087 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
8088 Don't include <sysdep.h> nor <init-arch.h>.
8089 (_ZGVeN8v_exp): Removed.
8090 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
8092 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
8093 Don't include <sysdep.h> nor <init-arch.h>.
8094 (_ZGVbN2v_log): Removed.
8095 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
8097 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
8098 Don't include <sysdep.h> nor <init-arch.h>.
8099 (_ZGVdN4v_log): Removed.
8100 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
8102 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
8103 Don't include <sysdep.h> nor <init-arch.h>.
8104 (_ZGVeN8v_log): Removed.
8105 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
8107 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
8108 Don't include <sysdep.h> nor <init-arch.h>.
8109 (_ZGVbN2vv_pow): Removed.
8110 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
8112 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
8113 Don't include <sysdep.h> nor <init-arch.h>.
8114 (_ZGVdN4vv_pow): Removed.
8115 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
8117 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
8118 Don't include <sysdep.h> nor <init-arch.h>.
8119 (_ZGVeN8vv_pow): Removed.
8120 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
8122 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
8123 Don't include <sysdep.h> nor <init-arch.h>.
8124 (_ZGVbN2v_sin): Removed.
8125 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
8127 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
8128 Don't include <sysdep.h> nor <init-arch.h>.
8129 (_ZGVbN4v_sin): Removed.
8130 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
8132 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
8133 Don't include <sysdep.h> nor <init-arch.h>.
8134 (_ZGVbN8v_sin): Removed.
8135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
8137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
8138 Don't include <sysdep.h> nor <init-arch.h>.
8139 (_ZGVbN2vvv_sincos): Removed.
8140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
8142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
8143 Don't include <sysdep.h> nor <init-arch.h>.
8144 (_ZGVdN4vvv_sincos): Removed.
8145 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
8147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
8148 Don't include <sysdep.h> nor <init-arch.h>.
8149 (_ZGVeN8vvv_sincos): Removed.
8150 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
8152 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
8153 Don't include <sysdep.h> nor <init-arch.h>.
8154 (_ZGVeN16v_cosf): Removed.
8155 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
8157 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
8158 Don't include <sysdep.h> nor <init-arch.h>.
8159 (_ZGVbN4v_cosf): Removed.
8160 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
8162 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
8163 Don't include <sysdep.h> nor <init-arch.h>.
8164 (_ZGVdN8v_cosf): Removed.
8165 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
8167 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
8168 Don't include <sysdep.h> nor <init-arch.h>.
8169 (_ZGVeN16v_expf): Removed.
8170 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
8172 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
8173 Don't include <sysdep.h> nor <init-arch.h>.
8174 (_ZGVbN4v_expf): Removed.
8175 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
8177 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
8178 Don't include <sysdep.h> nor <init-arch.h>.
8179 (_ZGVdN8v_expf): Removed.
8180 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
8182 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
8183 Don't include <sysdep.h> nor <init-arch.h>.
8184 (_ZGVeN16v_logf): Removed.
8185 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
8187 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
8188 Don't include <sysdep.h> nor <init-arch.h>.
8189 (_ZGVbN4v_logf): Removed.
8190 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
8192 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
8193 Don't include <sysdep.h> nor <init-arch.h>.
8194 (_ZGVdN8v_logf): Removed.
8195 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
8197 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
8198 Don't include <sysdep.h> nor <init-arch.h>.
8199 (_ZGVeN16vv_powf): Removed.
8200 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
8202 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
8203 Don't include <sysdep.h> nor <init-arch.h>.
8204 (_ZGVbN4vv_powf): Removed.
8205 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
8207 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
8208 Don't include <sysdep.h> nor <init-arch.h>.
8209 (_ZGVdN8vv_powf): Removed.
8210 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
8212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
8213 Don't include <sysdep.h> nor <init-arch.h>.
8214 (_ZGVeN16vvv_sincosf): Removed.
8215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
8217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
8218 Don't include <sysdep.h> nor <init-arch.h>.
8219 (_ZGVbN4vvv_sincosf): Removed.
8220 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
8222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
8223 Don't include <sysdep.h> nor <init-arch.h>.
8224 (_ZGVdN8vvv_sincosf): Removed.
8225 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
8227 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
8228 Don't include <sysdep.h> nor <init-arch.h>.
8229 (_ZGVeN16v_sinf): Removed.
8230 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
8232 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
8233 Don't include <sysdep.h> nor <init-arch.h>.
8234 (_ZGVbN4v_sinf): Removed.
8235 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
8237 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
8238 Don't include <sysdep.h> nor <init-arch.h>.
8239 (_ZGVdN8v_sinf): Removed.
8241 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8243 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8244 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
8245 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
8246 s_rint-sse4_1 and s_rintf-sse4_1.
8247 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
8248 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8249 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8250 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8251 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8252 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
8253 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
8254 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8255 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8256 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
8257 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
8258 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8260 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
8261 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
8262 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8264 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
8265 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
8266 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8268 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
8269 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
8270 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8271 (__floorf): Removed.
8272 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
8273 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
8274 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8275 (__nearbyint): Removed.
8276 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
8277 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
8278 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8279 (__nearbyintf): Removed.
8280 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
8281 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
8282 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8284 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
8285 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
8286 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8289 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8291 * sysdeps/i386/start.S (_start): Check Check PIC instead of
8292 SHARED. Avoid dynamic relocation against main in static PIE.
8294 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8297 * elf/Makefile (CFLAGS-tst-prelink.c): New.
8298 (LDFLAGS-tst-prelink): Likewise.
8300 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8302 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
8303 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
8304 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
8305 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8306 (INTERNAL_SYSCALL_NCS): Likewise.
8307 (LOADARGS_1): Likewise.
8308 (LOADARGS_5): Likewise.
8309 (RESTOREARGS_1): Likewise.
8310 (RESTOREARGS_5): Likewise.
8312 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8314 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
8315 (MEMPCPY_SYMBOL): Likewise.
8316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8317 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
8318 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
8320 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8321 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8323 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
8324 (__hidden_ver1): Don't use in libc.a.
8325 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8326 (__mempcpy): Don't create a weak alias in libc.a.
8327 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
8329 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
8330 (__hidden_ver1): Don't use in libc.a.
8332 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8334 * config.make.in (have-insert): New.
8335 * configure.ac (libc_cv_insert): New. Set to yes if linker
8336 supports INSERT in linker script.
8337 (AC_SUBST(libc_cv_insert): New.
8338 * configure: Regenerated.
8339 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
8340 if $(have-insert) == yes.
8342 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8344 * elf/Makefile (tests): Add vismain only if
8345 $(have-protected-data) == yes.
8346 (tests-pie): Likewise.
8348 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8351 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8352 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
8354 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8357 * sysdeps/i386/i586/memset.S
8358 (__memset_zero_constant_len_parameter): Removed.
8359 * sysdeps/i386/i686/memset.S
8360 (__memset_zero_constant_len_parameter): Likewise.
8361 * sysdeps/i386/i686/multiarch/memset_chk.S
8362 (__memset_zero_constant_len_parameter): Likewise.
8363 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
8366 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8368 * stdlib/getentropy.c (getentropy): Change return type to int.
8370 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8372 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8374 2017-08-03 Joseph Myers <joseph@codesourcery.com>
8376 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
8378 * math/s_nexttowardf.c (__nexttowardf): Likewise.
8379 * sysdeps/generic/math_private.h (ieee_double_shape_type):
8381 (ieee_float_shape_type): Likewise.
8382 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
8383 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
8384 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8385 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8386 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8387 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
8388 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
8389 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8390 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8392 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8393 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8394 (__ieee754_yn): Likewise.
8395 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8396 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8397 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
8399 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8400 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
8401 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
8402 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
8404 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8405 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
8406 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
8407 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
8408 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
8409 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
8411 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8412 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
8413 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8414 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
8415 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8416 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
8417 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
8418 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
8419 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
8420 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8421 (__issignaling): Likewise.
8422 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
8423 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
8424 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8426 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8427 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8428 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
8429 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
8431 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
8433 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
8434 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
8435 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
8436 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8437 (__erfcf): Likewise.
8438 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8439 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8440 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
8441 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
8443 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
8444 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
8446 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8447 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
8448 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8449 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
8450 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
8451 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8452 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
8453 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
8455 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
8457 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8459 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
8460 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8462 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8464 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8465 (__ieee754_ynl): Likewise.
8466 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8467 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
8469 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
8471 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8472 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
8473 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8475 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8476 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
8477 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
8478 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
8479 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
8480 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8481 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
8482 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
8484 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8485 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
8486 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
8488 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
8489 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
8490 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8491 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8492 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
8493 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8495 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8497 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8499 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8501 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
8502 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8503 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8504 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
8505 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8506 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
8507 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
8509 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8511 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8512 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8514 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8515 (__ieee754_remainderl): Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8518 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8521 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8524 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8525 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
8526 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8527 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8528 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8529 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8531 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8532 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
8533 (__ieee754_y0l): Likewise.
8536 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8537 (__ieee754_y1l): Likewise.
8540 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8541 (__ieee754_ynl): Likewise.
8542 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8543 (__ieee754_lgammal_r): Likewise.
8544 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
8546 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8547 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
8548 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8549 (__erfcl): Likewise.
8550 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
8553 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
8554 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
8555 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8556 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
8557 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
8558 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8559 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8561 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
8562 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8563 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
8564 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
8565 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8567 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
8568 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
8570 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
8571 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
8572 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
8573 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8574 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8576 2017-08-03 Florian Weimer <fweimer@redhat.com>
8579 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
8580 on memory allocation failure.
8582 2017-08-03 Alan Modra <amodra@gmail.com>
8584 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
8585 tst-tlsopt-powerpc.c with function name change and no test harness.
8586 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
8587 Call tls_get_addr_opt_test.
8588 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
8589 (modules-names): Add mod-tlsopt-powerpc.
8590 (mod-tlsopt-powerpc.so-no-z-defs): Define.
8591 (tst-tlsopt-powerpc): Depend on .so.
8592 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
8593 define. Expand use in TLS_GD and TLS_LD.
8595 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8597 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8599 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8601 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8604 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8605 comparing size with that of double.
8606 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8607 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8608 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8609 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8610 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8611 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8612 unsigned __int128 types.
8614 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8616 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8617 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8618 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8619 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8620 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8622 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8624 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8626 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8628 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8630 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8631 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8632 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8633 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8634 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8635 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8638 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8641 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8642 bit-field expressions passed to sizeof or typeof.
8643 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8644 (__TGMATH_F128): Likewise.
8645 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8646 (__TGMATH_CF128): Likewise.
8647 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8648 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8649 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8650 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8651 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8652 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8653 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8654 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8655 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8656 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8657 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8658 (__TGMATH_UNARY_IMAG): Likewise.
8659 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8660 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8661 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8663 (define_vars_for_type): Handle bit_field type specially.
8664 (Tests.__init__): Declare structure with bit-field element.
8666 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8669 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8670 (MEMCPY_CHK): Define only if SHARED is defined.
8671 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
8673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
8676 See ChangeLog.18 for earlier changes.