1 2017-10-25 Mike FABIAN <mfabian@redhat.com>
3 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
4 (Use first letters of yesstr and nostr correctly instead of using
7 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
10 (Use first letters of yesstr and nostr correctly).
12 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
15 also check for the first characters of yesstr and nostr.
16 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
17 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
19 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22 also check for Chinese characters.
24 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27 match also for the contents of yesstr and nostr. As the first letter
28 of yesstr and nostr is equal, checking only for the first letter
31 2017-10-25 Mike FABIAN <mfabian@redhat.com>
33 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
34 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
36 2017-10-25 Mike FABIAN <mfabian@redhat.com>
38 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
41 2017-10-25 Mike FABIAN <mfabian@redhat.com>
43 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
44 instead of using English.
46 2017-10-25 Mike FABIAN <mfabian@redhat.com>
48 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
49 by including the first letters of nostr and yesexpr in the regexp.
50 Also make it more readable by using ASCII where possible.
52 2017-10-25 Mike FABIAN <mfabian@redhat.com>
54 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
55 the first letter of nostr in the regexp. It agrees with CLDR now.
56 Also make it more readable by using ASCII where possible.
58 2017-10-24 Mike FABIAN <mfabian@redhat.com>
60 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
61 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
62 these strings contain a U+17D6 (which somewhat looks like a colon)
63 instead of a real colon to separate the full words for “yes”
64 and “no” from the single letter responses.
66 2017-10-24 Mike FABIAN <mfabian@redhat.com>
68 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
69 it agree with CLDR (include the first letter of yesstr).
70 Also make it more readable by using ASCII where possible.
72 2017-10-24 Mike FABIAN <mfabian@redhat.com>
74 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
75 and improve yesexpr and noexpr. The yesstr and nostr apparently
76 came from CLDR. And CLDR has a bug there: these strings contain
77 a U+0903 (which looks like a colon) instead of a real colon
78 to separate the full words for “yes” and “no” from the single
81 2017-10-24 Mike FABIAN <mfabian@redhat.com>
83 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
84 letters of the full yesstr and nostr in yesexpr and noexpr.
86 2017-10-24 Mike FABIAN <mfabian@redhat.com>
88 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
89 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
90 * localedata/locales/an_ES: Make source more readable by using ASCII
93 2017-10-24 Mike FABIAN <mfabian@redhat.com>
96 * localedata/locales/yuw_PG: New file.
97 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
98 * locale/iso-639.def: Add Yau (Uruwa).
100 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
102 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
104 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
106 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
107 (__libc_realloc): Likewise.
108 (_mid_memalign): Likewise.
109 (__libc_calloc): Likewise.
111 2017-10-23 Mike FABIAN <mfabian@redhat.com>
113 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
114 by adding the generic +1 and -0 as in all other locales.
115 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
116 day names and make it more readable by using ASCII where possible.
118 2017-10-24 Joseph Myers <joseph@codesourcery.com>
120 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
121 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
123 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
125 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
126 WNOHANG in waitpid call.
128 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
130 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
131 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
133 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
134 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
135 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
136 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
137 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
138 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
139 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
140 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
143 2017-10-23 Michael Collison <michael.collison@arm.com>
145 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
147 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
148 with __builtin_sqrtf.
149 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
151 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
152 with __builtin_ceilf.
153 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
154 with __builtin_floor.
155 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
156 with __builtin_floorf.
157 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
159 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
161 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
163 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
164 with __builtin_fmaxf.
165 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
167 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
168 with __builtin_fminf.
169 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
170 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
171 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
172 with builtin_rint and conversion to int.
173 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
174 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
175 with builtin_llround.
176 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
177 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
178 with builtin_rint and conversion to long int.
179 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
180 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
182 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
183 with builtin_lroundf.
184 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
185 statements with __builtin_nearbyint.
186 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
187 statements with __builtin_nearbyintf.
188 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
190 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
191 with __builtin_rintf.
192 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
193 with __builtin_round.
194 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
195 with __builtin_roundf.
196 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
197 with __builtin_trunc.
198 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
199 with __builtin_truncf.
200 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
201 and s_l[l]round[f].c too.
203 2017-10-23 Alan Modra <amodra@gmail.com>
205 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
206 Adjust stack after restoring regs. Add missing LR cfi_restore.
208 2017-10-23 Alan Modra <amodra@gmail.com>
210 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
211 Move LR save and frame setup/teardown and LR restore to
212 immediately around memset call. Provide cfi.
214 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
216 * sysdeps/i386/fpu/e_powf.S: Removed.
217 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
218 * sysdeps/i386/fpu/w_powf.c: Likewise.
219 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
220 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
221 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
223 (CFLAGS-e_powf-sse2.c): New.
224 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
225 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
227 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
229 * sysdeps/i386/fpu/e_log2f.S: Removed.
230 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
231 * sysdeps/i386/fpu/w_log2f.c: Likewise.
232 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
233 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
234 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
236 (CFLAGS-e_log2f-sse2.c): New.
237 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
238 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
240 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
242 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
244 (CFLAGS-e_powf-fma.c): New.
245 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
246 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
248 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
250 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
252 (CFLAGS-e_log2f-fma.c): New.
253 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
254 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
256 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
258 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
260 (CFLAGS-e_logf-fma.c): New.
261 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
262 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
264 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
266 * sysdeps/i386/fpu/e_logf.S: Removed.
267 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
268 * sysdeps/i386/fpu/w_logf.c: Likewise.
269 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
270 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
271 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
272 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
274 (CFLAGS-e_logf-sse2.c): New.
275 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
276 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
278 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
280 * sysdeps/i386/fpu/e_exp2f.S: Removed.
281 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
282 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
283 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
284 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
286 (CFLAGS-e_exp2f-sse2.c): New.
287 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
288 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
290 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
294 (CFLAGS-e_exp2f-fma.c): New.
295 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
296 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
298 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
300 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
301 * sysdeps/i386/fpu/e_expf.S: Likewise.
302 * sysdeps/i386/fpu/math_errf.c: Likewise.
303 * sysdeps/i386/fpu/w_expf.c: Likewise.
304 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
305 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
306 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
307 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
308 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
309 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
311 (CFLAGS-e_expf-sse2.c): New.
312 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
313 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
315 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
317 * sysdeps/x86_64/fpu/e_expf.S: Removed.
318 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
319 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
320 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
322 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
324 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
325 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
327 (__redirect_expf): This.
328 (SYMBOL_NAME): Changed to expf.
329 (__ieee754_expf): Renamed to ...
332 (__ieee754_expf): Add strong_alias.
333 (__expf_finite): Likewise.
335 Include <sysdeps/ieee754/flt-32/e_expf.c>.
337 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
340 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
343 2017-10-21 Florian Weimer <fweimer@redhat.com>
345 * posix/Makefile (tests): Add tst-glob-tilde.
346 (tests-special): Add tst-glob-tilde-mem.out
347 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
348 (tst-glob-tilde-mem.out): Add mtrace check.
349 * posix/tst-glob-tilde.c: New file.
351 2017-10-20 Joseph Myers <joseph@codesourcery.com>
353 * bits/floatn-common.h: New file.
354 * math/Makefile (headers): Add bits/floatn-common.h.
355 * bits/floatn.h: Include <bits/floatn-common.h>.
356 * sysdeps/ia64/bits/floatn.h: Likewise.
357 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
358 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
359 * sysdeps/powerpc/bits/floatn.h: Likewise.
360 * sysdeps/x86/bits/floatn.h: Likewise.
362 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
364 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
365 indicates whether compiler emits an warning for alias for
366 functions with incompatible types.
369 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
370 the auxiliary process is terminated by a signal before calling _exit
373 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
376 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
378 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
379 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
380 and bit_arch_XSAVEC_Usable if needed.
381 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
382 and bit_arch_Use_dl_runtime_resolve_opt.
383 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
385 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
386 (bit_arch_Prefer_No_AVX512): Updated.
387 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
388 (bit_arch_XSAVEC_Usable): New.
389 (STATE_SAVE_OFFSET): Likewise.
390 (STATE_SAVE_MASK): Likewise.
391 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
392 (cpu_features): Add xsave_state_size and xsave_state_full_size.
393 (index_arch_Use_dl_runtime_resolve_opt): Removed.
394 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
395 (index_arch_XSAVEC_Usable): New.
396 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
397 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
398 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
400 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
401 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
402 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
403 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
404 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
405 _dl_runtime_resolve_xsavec.
406 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
408 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
410 (REGISTER_SAVE_BND0): Removed.
411 (REGISTER_SAVE_BND1): Likewise.
412 (REGISTER_SAVE_BND3): Likewise.
413 (REGISTER_SAVE_RAX): Always defined to 0.
415 (_dl_runtime_resolve_avx): Likewise.
416 (_dl_runtime_resolve_avx_slow): Likewise.
417 (_dl_runtime_resolve_avx_opt): Likewise.
418 (_dl_runtime_resolve_avx512): Likewise.
419 (_dl_runtime_resolve_avx512_opt): Likewise.
420 (_dl_runtime_resolve_sse): Likewise.
421 (_dl_runtime_resolve_sse_vex): Likewise.
423 (_dl_runtime_resolve_fxsave): Likewise.
424 (USE_XSAVE): Likewise.
425 (_dl_runtime_resolve_xsave): Likewise.
426 (USE_XSAVEC): Likewise.
427 (_dl_runtime_resolve_xsavec): Likewise.
428 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
430 (_dl_runtime_resolve_avx512_opt): Likewise.
431 (_dl_runtime_resolve_avx): Likewise.
432 (_dl_runtime_resolve_avx_opt): Likewise.
433 (_dl_runtime_resolve_sse): Likewise.
434 (_dl_runtime_resolve_sse_vex): Likewise.
435 (_dl_runtime_resolve_fxsave): New.
436 (_dl_runtime_resolve_xsave): Likewise.
437 (_dl_runtime_resolve_xsavec): Likewise.
439 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
443 * posix/glob.c (__glob): Fix one-byte overflow.
445 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
447 * malloc/malloc.c (sysdep-cancel.h): Add include.
449 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
451 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
453 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
455 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
456 (tests): Remove $(objpfx)ga_test depdendency.
457 * resolv/ga_test.c: Remove file.
459 2017-10-20 Mike FABIAN <mfabian@redhat.com>
462 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
463 * localedata/locales/kab_DZ: New file.
465 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
467 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
468 _dl_relocate_static_pie instead of _dl_start to compute load
469 address in static PIE.
471 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
473 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
475 2017-10-20 Mike FABIAN <mfabian@redhat.com>
478 * localedata/SUPPORTED: Add shn_MM/UTF-8.
479 * localedata/locales/shn_MM: New file.
481 2017-10-20 Florian Weimer <fweimer@redhat.com>
484 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
485 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
486 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
487 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
488 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
489 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
491 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
493 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
495 2017-10-19 Joseph Myers <joseph@codesourcery.com>
497 * sysdeps/mips/ieee754/bits/floatn.h: New file.
500 * sysdeps/mips/bits/long-double.h: Move to ....
501 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
503 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
505 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
507 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
508 H.J. Lu <hongjiu.lu@intel.com>
511 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
512 GLRO(dl_platform) to NULL.
513 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
514 (modules-names): Add tst-platformmod-1 and
515 x86_64/tst-platformmod-2.
516 (CFLAGS-tst-platform-1.c): New.
517 (CFLAGS-tst-platformmod-1.c): Likewise.
518 (CFLAGS-tst-platformmod-2.c): Likewise.
519 (LDFLAGS-tst-platformmod-2.so): Likewise.
520 ($(objpfx)tst-platform-1): Likewise.
521 ($(objpfx)tst-platform-1.out): Likewise.
522 (tst-platform-1-ENV): Likewise.
523 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
524 * sysdeps/x86_64/tst-platform-1.c: New file.
525 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
526 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
528 2017-10-19 Mike FABIAN <mfabian@redhat.com>
531 * locale/iso-639.def: Add Karbi.
532 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
533 * localedata/locales/mjw_IN: New file.
535 2017-10-18 Joseph Myers <joseph@codesourcery.com>
537 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
538 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
539 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
540 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
541 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
542 (libm_alias_ldouble_other_r): Also create _Float128 alias.
543 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
545 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
546 (libm_alias_ldouble_other_r): Also create _Float128 alias.
547 * manual/math.texi (Mathematics): Document additional architecture
548 support for _Float128.
549 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
550 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
551 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
553 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
554 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
555 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
557 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
560 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
562 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
563 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
565 2017-10-18 Renlin Li <renlin.li@arm.com>
567 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
568 _DYNAMIC symbol to calculate load address.
570 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
572 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
573 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
575 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
576 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
578 2017-10-18 Mike FABIAN <mfabian@redhat.com>
581 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
582 and improve readability by using more ASCII.
583 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
584 and improve readability by using more ASCII.
586 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
588 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
589 not all targets support atomics on bool.
591 2017-10-17 Joseph Myers <joseph@codesourcery.com>
593 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
594 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
596 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
597 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
598 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
599 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
600 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
601 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
603 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
605 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
608 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
611 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
612 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
613 (do_check_remalloced_chunk): Fix build bug.
614 (do_check_malloc_state): Add assert that checks arena->top.
615 (malloc_consolidate): Remove initialization.
616 (int_mallinfo): Remove call to malloc_consolidate.
617 (__libc_mallopt): Clarify why malloc_consolidate is needed.
619 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
621 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
622 (have_fastchunks): Remove.
623 (clear_fastchunks): Remove.
624 (set_fastchunks): Remove.
625 (malloc_state): Add have_fastchunks.
626 (malloc_init_state): Use have_fastchunks.
627 (do_check_malloc_state): Remove incorrect invariant checks.
628 (_int_malloc): Use have_fastchunks.
629 (_int_free): Likewise.
630 (malloc_consolidate): Likewise.
632 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
634 * malloc/malloc.c (tcache_put): Inline.
635 (tcache_get): Inline.
637 2017-10-17 Jordi Mallach <jordi@gnu.org>
639 Aurelien Jarno <aurelien@aurel32.net>
641 * localedata/locales/ca_ES@valencia: New file.
642 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
644 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
647 * math/math.h: Let signbit use the builtin in C++ mode with gcc
650 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
652 * scripts/build-many-glibcs.py (Context.add_all_configs):
653 Add arm-linux-gnueabihf multiarch extra_glibcs.
655 * sysdeps/generic/ifunc-init.h: New file.
656 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
658 2017-10-17 Mike FABIAN <mfabian@redhat.com>
661 * localedata/locales/el_GR: Set n_cs_precedes to 0.
662 * localedata/locales/el_CY: copy "el_GR" because it is identical.
663 * stdlib/tst-strfmon_l.c: adapt test case.
665 2017-10-16 Joseph Myers <joseph@codesourcery.com>
667 * sysdeps/generic/float128-abi.h: New file.
668 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
669 non-__prefixed symbols to ....
670 * math/Versions: ... here. Include <float128-abi.h>.
671 * stdlib/Versions ... and here. Include <float128-abi.h>
673 2017-10-16 Florian Weimer <fweimer@redhat.com>
675 * version.h (VERSION): Switch to ".9000" as the development
678 2017-10-16 Florian Weimer <fweimer@redhat.com>
681 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
682 compat_symbol_reference to access non-default version.
684 2017-10-16 Florian Weimer <fweimer@redhat.com>
686 * malloc/Makefile (others-extras): Set to mcheck-init.o.
688 2017-10-16 Carlos O'Donell <carlos@redhat.com>
690 * include/shlib-compat.h (compat_symbol_reference): Update
693 2017-10-16 Joseph Myers <joseph@codesourcery.com>
695 * math/Makefile (test-types): Add
696 $(type-float128-$(float128-alias-fcts)).
697 * math/test-float128.h (TYPE_STR): Define conditional on
698 [FLT128_MANT_DIG == LDBL_MANT_DIG].
700 (ULP_I_IDX): Likewise.
702 * stdlib/strtold.c: Include <bits/floatn.h>
703 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
704 and later undefine as macro. Define as weak alias if
706 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
707 and later undefine as macro. Define as weak alias if
709 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
710 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
711 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
712 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
713 Define and later undefine as macro. Define as weak alias if
715 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
717 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
718 Define and later undefine as macro. Define as weak alias if
720 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
721 Define and later undefine as macro. Define as weak alias if
724 2017-10-15 Carlos O'Donell <carlos@redhat.com>
726 * localedata/collate-test.c (allocate_arrays): Don't use \n in
727 record_verbose messages.
729 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
732 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
733 to silence -O3 -Wall warning with GCC 7.
735 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
737 * Makeconfig (+link-static-before-libc): Use the first of
738 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
739 * gmon/Makefile (tests): Add tst-gmon-static.
740 (tests-static): Likewise.
741 (CFLAGS-tst-gmon-static.c): New.
742 (CRT-tst-gmon-static): Likewise.
743 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
744 (tst-gmon-static-ENV): Likewise.
745 (tests-special): Likewise.
746 ($(objpfx)tst-gmon-static.out): Likewise.
747 (clean-tst-gmon-static-data): Likewise.
748 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
749 * gmon/tst-gmon-static-gprof.sh: New file.
750 * gmon/tst-gmon-static.c: Likewise.
752 2017-10-13 Carlos O'Donell <carlos@redhat.com>
755 * locale/programs/linereader.c (get_string): Don't warn on
756 non-symbolic character.
758 2017-10-13 Carlos O'Donell <carlos@redhat.com>
761 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
764 2017-10-13 Carlos O'Donell <carlos@redhat.com>
767 * locale/programs/record-status.h: New file
768 * locale/programs/locale.c: Add comment.
769 * locale/programs/charmap-dir.c: Don't include error.h.
770 (charmap_opendir): Use record_error.
771 * locale/programs/charmap.c: Don't include error.h.
772 (charmap_read): Use record_error, and record_warning.
773 (parse_charmap): Likewise.
774 * locale/programs/ld-address.c: Don't include error.h.
775 (address_finish): Use record_error, and record_warning.
776 * locale/programs/ld-collate.c: Don't include error.h.
777 (collate_finish): Use record_error, and record_error_at_line.
778 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
779 (ctype_class_new): Likewise.
780 (ctype_map_new): Likewise.
781 (set_one_default): Likewise.
782 (set_class_defaults): Likewise.
783 (translit_flatten): Likewise.
784 (allocate_arrays): Use record_error, and record_verbose.
785 * locale/programs/ld-identification.c: Don't include error.h.
786 (indentation_finish): Use record_error and record_warning.
787 * locale/programs/ld-measurement.c: Don't include error.h.
788 (measurement_finish): Use record_error.
789 * locale/programs/ld-messages.c
790 (message_finish): Likewise.
791 * locale/programs/ld-monetary.c
792 (monetary_finish): Likewise.
793 * locale/programs/ld-name.c (name_finish): Use record_error
795 * locale/programs/ld-numeric.c
796 (numeric_finish): Use record_error.
797 * locale/programs/ld-paper.c: Don't include error.h.
798 (paper_finish): Use record_error.
799 * locale/programs/ld-telephone.c: Don't include error.h.
800 (telephone_finish): Use record_error.
801 * locale/programs/ld-time.c (time_finish): Likewise.
802 * locale/programs/linereader.h (lr_error): Make inline func.
803 * locale/programs/localedef.c: Define recorded_warning_count,
804 and recorded_error_count.
805 (main): Use record_error. Use recorded_error_count and
806 recorded_warning_count to issue correct error returns.
807 (add_to_readlist): Use record_error.
808 (find_locale): Likewise.
809 (load_locale): Likewise.
810 * locale/programs/localedef.h: Remove be_quiet
812 * locale/programs/locarchive.c (compare_from_file): Use
814 * locale/programs/locfile.c (write_locale_data): Use
816 * locale/programs/repertoire.c: Dont include error.h.
817 (repertoire_complain): Use record_error.
818 * localedata/tst-fmon.sh: Expect failures from localedef.
819 * localedata/tst-locale.sh: Likewise.
820 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
822 2017-10-12 Carlos O'Donell <carlos@redhat.com>
824 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
828 (i18n_ctype): ...this.
829 (i18n-report): Rename to...
830 (i18n_ctype-report): ...this.
831 * localedata/locales/i18n_ctype: Regenerate.
832 * localedata/locales/i18n: copy i18n_ctype.
834 2017-10-13 Joseph Myers <joseph@codesourcery.com>
836 * stdlib/strfroml.c: Include <bits/floatn.h>.
837 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
838 Define before include of <stdlib.h> and undefine afterwards, then
839 define as weak alias.
841 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
842 Undefine and restore default definition. Use
843 libm_alias_ldouble_other.
845 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
848 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
851 2017-10-13 James Clarke <jrtc27@jrtc27.com>
853 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
854 Assign sym_map to be map for local symbols, as TLS relocations
855 use sym_map to determine whether the symbol is defined and to
856 extract the TLS information.
857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
858 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
860 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
863 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
864 (math_force_eval): Add powerpc version.
867 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
870 * stdio-common/tst-printf.sh: Likewise.
871 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
872 ifdef clause in order to set the carry bit right. Replace r0 by
873 0 without changing the behavior.
875 2017-10-13 Joseph Myers <joseph@codesourcery.com>
877 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
878 <libm-alias-ldouble.h>.
879 (fabsl): Define using libm_alias_ldouble.
880 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
881 <libm-alias-ldouble.h>.
882 (fabsl): Define using libm_alias_ldouble.
884 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
885 Remove conditional code.
887 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
888 Rename to __clog10_internal_l.
889 (__clog10_internal_l): Define aliases using
890 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
893 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
895 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
896 * benchtests/sincosf-inputs: New file.
897 * benchtests/cosf-inputs: New file.
898 * benchtests/sinf-inputs: New file.
900 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
902 * posix/tst-spawn.c (do_test): Wait for both children.
904 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
907 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
908 tests-pie): Add tst-gmon-pie.
909 (CFLAGS-tst-gmon-pie.c): New.
910 (CRT-tst-gmon-pie): Likewise.
911 (tst-gmon-pie-ENV): Likewise.
912 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
913 ($(objpfx)tst-gmon-pie.out): Likewise.
914 (clean-tst-gmon-pie-data): Likewise.
915 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
916 * gmon/gmon.c [PIC]: Include <link.h>.
917 [PIC] (callback): New function.
918 (write_hist): Add an argument for load address. Subtract load
920 (write_call_graph): Likewise.
921 (write_gmon): Call __dl_iterate_phdr to get load address, pass
922 it to write_hist and write_call_graph.
923 * gmon/tst-gmon-pie.c: New file.
925 2017-10-11 Joseph Myers <joseph@codesourcery.com>
927 * math/Makefile (test-types-basic): New variable.
928 (test-types): Likewise.
929 (libm-test-support): Use $(test-types) instead of $(types).
930 (libm-tests-base-normal): Likewise.
931 (libm-tests-base-finite): Likewise.
932 (libm-tests-base-inline): Likewise.
933 (generated): Likewise.
934 ($(objpfx)libm-test-support-$(t).c): Likewise.
935 (libm-tests-for-type iterator): Likewise.
936 (libm-test-support iterator): Likewise.
937 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
938 (ulp_idx): Use ULP_IDX.
939 * math/test-ldouble.h: Include <float.h>.
940 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
941 (ULP_IDX): New macro.
942 (ULP_I_IDX): Likewise.
943 * math/test-double.h (ULP_IDX): Likewise.
944 (ULP_I_IDX): Likewise.
945 * math/test-float.h (ULP_IDX): Likewise.
946 (ULP_I_IDX): Likewise.
947 * math/test-float128.h (ULP_IDX): Likewise.
948 (ULP_I_IDX): Likewise.
950 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
952 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
953 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
954 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
955 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
956 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
957 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
958 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
959 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
961 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
962 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
963 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
964 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
966 (SINGLE_THREAD_BY_GLOBAL): Define.
967 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
969 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
971 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
973 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
975 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
976 (SINGLE_THREAD_BY_GLOBAL): Likewise.
977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
980 2017-10-11 Andreas Schwab <schwab@suse.de>
982 * nis/Makefile (aux): Remove.
983 * nscd/Makefile (aux): Add nscd_hash.
984 (nscd-modules): Likewise.
985 ($(objpfx)nscd): Don't depend on libnsl.
986 * nscd/nscd_hash.c: New file.
987 * nscd/nscd_hash.h: Likewise.
988 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
989 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
990 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
991 instead of <nis/rpcsvc/nis.h>.
992 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
994 2017-10-11 Florian Weimer <fweimer@redhat.com>
997 Avoid large NSS buffers with many addresses, aliases.
998 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
999 using dynarrays and struct alloc_buffer.
1000 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
1001 (tst-nss-files-hosts-multi): Link with -ldl.
1002 * nss/tst-nss-files-hosts-multi.c: New file.
1004 2017-10-11 Florian Weimer <fweimer@redhat.com>
1007 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
1008 scratch_buffer. Eliminate gotos.
1010 2017-10-11 Joseph Myers <joseph@codesourcery.com>
1012 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
1013 libm_alias_ldouble_other.
1014 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
1015 undefine and redefine.
1016 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
1017 (exp10l): Do not define here.
1018 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
1019 (weak_alias): Undefine and redefine.
1020 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
1021 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
1022 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
1023 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
1025 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
1026 [!__fma] (fma): Define using libm_alias_double.
1027 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
1028 [!__fmaf] (fmaf): Define using libm_alias_float.
1029 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
1030 (fmal): Define using libm_alias_ldouble.
1032 2017-10-10 Joseph Myers <joseph@codesourcery.com>
1034 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
1036 (libm_alias_double_other): Likewise.
1037 (libm_alias_double_r): Use libm_alias_double_other_r.
1038 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
1040 (libm_alias_float_other): Likewise.
1041 (libm_alias_float_r): Use libm_alias_float_other_r.
1042 * sysdeps/generic/libm-alias-float128.h
1043 (libm_alias_float128_other_r): New macro.
1044 (libm_alias_float128_other): Likewise.
1045 (libm_alias_float128_r): Use libm_alias_float128_other_r.
1046 * sysdeps/generic/libm-alias-ldouble.h
1047 (libm_alias_ldouble_other_r): New macro.
1048 (libm_alias_ldouble_other): Likewise.
1049 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1050 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
1051 (libm_alias_double_other_r): New macro.
1052 (libm_alias_double_other): Likewise.
1053 (libm_alias_double_r): Use libm_alias_double_other_r.
1054 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
1055 (libm_alias_ldouble_other_r): New macro.
1056 (libm_alias_ldouble_other): Likewise.
1057 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
1058 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
1059 [!USE_AS_COMPAT]: Use libm_alias_double_other.
1060 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
1061 [!USE_AS_COMPAT]: Use libm_alias_float_other.
1062 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
1063 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
1064 * math/w_exp2f.c: Use libm_alias_float_other.
1065 * math/w_expf.c: Likewise.
1066 * math/w_log2f.c: Likewise.
1067 * math/w_logf.c: Likewise.
1068 * math/w_powf.c: Likewise.
1069 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
1070 [!__exp2f]: Use libm_alias_float_other.
1071 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
1072 [!__expf]: Use libm_alias_float_other.
1073 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
1074 [!__log2f]: Use libm_alias_float_other.
1075 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
1076 [!__logf]: Use libm_alias_float_other.
1077 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
1078 [!__powf]: Use libm_alias_float_other.
1080 2017-10-10 Florian Weimer <fweimer@redhat.com>
1082 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
1084 (_nss_files_gethostbyname3_r): Call it.
1086 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1088 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
1089 error. Remove default definition of declare_mgen_alias.
1090 [!declare_mgen_alias_r]: Likewise.
1091 * sysdeps/generic/math-type-macros-double.h
1092 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
1093 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
1094 (declare_mgen_alias_r): Likewise.
1095 * sysdeps/generic/math-type-macros-float128.h
1096 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1097 * sysdeps/generic/math-type-macros-ldouble.h
1098 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
1099 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
1101 (declare_mgen_alias_r_s): Likewise.
1102 (declare_mgen_alias_r): Likewise.
1103 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
1104 (lgamma_r): Define using libm_alias_double_r.
1105 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
1106 (lgammaf_r): Define using libm_alias_float_r.
1107 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
1108 (lgammal_r): Define using libm_alias_ldouble_r.
1109 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
1110 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1112 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1114 * lib/glob.c (__glob_pattern_type): Remove now-spurious
1117 2017-10-09 Joseph Myers <joseph@codesourcery.com>
1119 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
1121 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
1124 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
1125 [__cplusplus >= 201103] (__USE_ISOC99): Define.
1126 * math/Makefile (test-math-cxx11): New test.
1127 * math/test-math-cxx11.cc: New file.
1129 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
1131 * login/openpty.c (openpty): Close slave pty file descriptor on error.
1133 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
1134 call to allocate the slave pty file descriptor.
1136 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1138 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
1139 [!__fma] (fma): Define using libm_alias_double.
1140 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
1141 [!__fma] (fma): Define using libm_alias_double.
1143 * sysdeps/ieee754/float128/float128_private.h: Include
1144 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
1145 (libm_alias_ldouble_r): Undefine and redefine.
1146 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
1147 <libm-alias-ldouble.h>.
1148 (asinhl): Define using libm_alias_ldouble.
1149 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
1150 <libm-alias-ldouble.h>.
1151 (atanl): Define using libm_alias_ldouble.
1152 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
1153 <libm-alias-ldouble.h>.
1154 (cbrtl): Define using libm_alias_ldouble.
1155 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
1156 <libm-alias-ldouble.h>.
1157 (ceill): Define using libm_alias_ldouble.
1158 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
1159 <libm-alias-ldouble.h>.
1160 (copysignl): Define using libm_alias_ldouble.
1161 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
1162 <libm-alias-ldouble.h>.
1163 (cosl): Define using libm_alias_ldouble.
1164 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
1165 <libm-alias-ldouble.h>.
1166 (erfl): Define using libm_alias_ldouble.
1168 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
1169 <libm-alias-ldouble.h>.
1170 (expm1l): Define using libm_alias_ldouble.
1171 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
1172 <libm-alias-ldouble.h>.
1173 (fabsl): Define using libm_alias_ldouble.
1174 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
1175 <libm-alias-ldouble.h>.
1176 (floorl): Define using libm_alias_ldouble.
1177 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
1178 <libm-alias-ldouble.h>.
1179 (fmal): Define using libm_alias_ldouble.
1180 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
1181 <libm-alias-ldouble.h>.
1182 (frexpl): Define using libm_alias_ldouble.
1183 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
1185 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
1186 <libm-alias-ldouble.h>.
1187 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
1189 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
1190 <libm-alias-ldouble.h>.
1191 (getpayloadl): Define using libm_alias_ldouble.
1192 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
1193 <libm-alias-ldouble.h>.
1194 (llrintl): Define using libm_alias_ldouble.
1195 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
1196 <libm-alias-ldouble.h>.
1197 (llroundl): Define using libm_alias_ldouble.
1198 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
1199 <libm-alias-ldouble.h>.
1200 (logbl): Define using libm_alias_ldouble.
1201 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
1202 <libm-alias-ldouble.h>.
1203 (lrintl): Define using libm_alias_ldouble.
1204 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
1205 <libm-alias-ldouble.h>.
1206 (lroundl): Define using libm_alias_ldouble.
1207 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
1208 <libm-alias-ldouble.h>.
1209 (modfl): Define using libm_alias_ldouble.
1210 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
1211 <libm-alias-ldouble.h>.
1212 (nearbyintl): Define using libm_alias_ldouble.
1213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
1214 <libm-alias-ldouble.h>.
1215 (nextafterl): Define using libm_alias_ldouble.
1216 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
1217 <libm-alias-ldouble.h>.
1218 (nextupl): Define using libm_alias_ldouble.
1219 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
1220 <libm-alias-ldouble.h>.
1221 (remquol): Define using libm_alias_ldouble.
1222 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
1223 <libm-alias-ldouble.h>.
1224 (rintl): Define using libm_alias_ldouble.
1225 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
1226 <libm-alias-ldouble.h>.
1227 (roundevenl): Define using libm_alias_ldouble.
1228 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
1229 <libm-alias-ldouble.h>.
1230 (roundl): Define using libm_alias_ldouble.
1231 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
1232 using libm_alias_ldouble.
1233 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
1234 <libm-alias-ldouble.h>.
1235 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
1236 Define using libm_alias_ldouble.
1237 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
1238 <libm-alias-ldouble.h>.
1239 (sincosl): Define using libm_alias_ldouble.
1240 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
1241 <libm-alias-ldouble.h>.
1242 (sinl): Define using libm_alias_ldouble.
1243 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
1244 <libm-alias-ldouble.h>.
1245 (tanhl): Define using libm_alias_ldouble.
1246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
1247 <libm-alias-ldouble.h>.
1248 (tanl): Define using libm_alias_ldouble.
1249 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1250 <libm-alias-ldouble.h>.
1251 (totalorderl): Define using libm_alias_ldouble.
1252 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1253 <libm-alias-ldouble.h>.
1254 (totalordermagl): Define using libm_alias_ldouble.
1255 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
1256 <libm-alias-ldouble.h>.
1257 (truncl): Define using libm_alias_ldouble.
1258 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
1260 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
1262 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
1263 <libm-alias-ldouble.h>.
1264 (weak_alias): Do not undefine and redefine.
1265 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1266 (copysignl): Define with long_double_symbol only if [IS_IN
1268 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
1269 <libm-alias-ldouble.h>.
1270 (weak_alias): Do not undefine and redefine.
1271 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1272 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
1273 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
1274 <libm-alias-ldouble.h>.
1275 (weak_alias): Do not undefine and redefine.
1276 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
1277 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
1278 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
1279 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
1282 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
1283 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
1285 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
1286 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
1288 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
1289 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
1295 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
1297 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
1303 2017-10-06 Carlos O'Donell <carlos@redhat.com>
1306 * malloc/malloc.c (tcache_shutting_down): Use bool type.
1307 (tcache_thread_freeres): Set tcache_shutting_down before
1309 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
1310 * malloc/tst-malloc-tcache-leak.c: New file.
1312 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1314 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
1315 back to powerpc32 file.
1316 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1317 (memrchr): Add __memrchr_power8 to ifunc list.
1318 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
1319 extra bytes for unaligned inputs.
1321 2017-10-06 Joseph Myers <joseph@codesourcery.com>
1323 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
1324 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1329 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1331 * sysdeps/arm/libm-test-ulps: Update.
1333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
1334 <libm-alias-ldouble.h>.
1335 (asinhl): Define using libm_alias_ldouble.
1336 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
1337 <libm-alias-ldouble.h>.
1338 (cbrtl): Define using libm_alias_ldouble.
1339 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
1340 <libm-alias-ldouble.h>.
1341 (copysignl): Define using libm_alias_ldouble.
1342 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
1343 <libm-alias-ldouble.h>.
1344 (cosl): Define using libm_alias_ldouble.
1345 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
1346 <libm-alias-ldouble.h>.
1347 (erfl): Define using libm_alias_ldouble.
1349 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
1350 <libm-alias-ldouble.h>.
1351 (fmal): Define using libm_alias_ldouble.
1352 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
1353 <libm-alias-ldouble.h>.
1354 (frexpl): Define using libm_alias_ldouble.
1355 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
1357 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
1358 <libm-alias-ldouble.h>.
1359 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
1361 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
1362 <libm-alias-ldouble.h>.
1363 (getpayloadl): Define using libm_alias_ldouble.
1364 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
1365 <libm-alias-ldouble.h>.
1366 (llrintl): Define using libm_alias_ldouble.
1367 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
1368 <libm-alias-ldouble.h>.
1369 (llroundl): Define using libm_alias_ldouble.
1370 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
1371 <libm-alias-ldouble.h>.
1372 (lrintl): Define using libm_alias_ldouble.
1373 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
1374 <libm-alias-ldouble.h>.
1375 (lroundl): Define using libm_alias_ldouble.
1376 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
1377 <libm-alias-ldouble.h>.
1378 (modfl): Define using libm_alias_ldouble.
1379 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
1380 <libm-alias-ldouble.h>.
1381 (nextupl): Define using libm_alias_ldouble.
1382 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
1383 <libm-alias-ldouble.h>.
1384 (remquol): Define using libm_alias_ldouble.
1385 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
1386 <libm-alias-ldouble.h>.
1387 (roundevenl): Define using libm_alias_ldouble.
1388 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
1389 <libm-alias-ldouble.h>.
1390 (roundl): Define using libm_alias_ldouble.
1391 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
1392 using libm_alias_ldouble.
1393 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
1394 <libm-alias-ldouble.h>.
1395 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
1396 <libm-alias-ldouble.h>.
1397 (setpayloadsigl): Define using libm_alias_ldouble.
1398 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
1399 <libm-alias-ldouble.h>.
1400 (sincosl): Define using libm_alias_ldouble.
1401 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
1402 <libm-alias-ldouble.h>.
1403 (sinl): Define using libm_alias_ldouble.
1404 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
1405 <libm-alias-ldouble.h>.
1406 (tanhl): Define using libm_alias_ldouble.
1407 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
1408 <libm-alias-ldouble.h>.
1409 (tanl): Define using libm_alias_ldouble.
1410 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1411 <libm-alias-ldouble.h>.
1412 (totalorderl): Define using libm_alias_ldouble.
1413 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1414 <libm-alias-ldouble.h>.
1415 (totalordermagl): Define using libm_alias_ldouble.
1416 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
1418 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
1421 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
1423 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
1425 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1426 (__libc_ifunc_impl_list): Likewise.
1427 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1428 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
1430 * benchtests/bench-memmove-walk.c: New file.
1431 * benchtests/Makefile (string-benchset): Add it.
1433 * benchtests/bench-memset-walk.c: New file.
1434 * benchtests/Makefile (string-benchset): Add it.
1436 * benchtests/bench-memcpy-walk.c: New file.
1437 * benchtests/Makefile (string-benchset): Add it.
1439 2017-10-05 Florian Weimer <fweimer@redhat.com>
1441 nscd: Eliminate compilation time dependency in the build output.
1442 * nscd/nscd_stat.c (STATDATA_VERSION)
1443 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
1444 (STATDATA_VERSION_FULL): New macro definitions.
1445 (compilation): Remove.
1446 (struct statdata): Adjust version member.
1447 (send_stats): Set version from STATDATA_VERSION_FULL.
1448 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
1450 2017-10-05 Joseph Myers <joseph@codesourcery.com>
1452 * configure.ac (--enable-add-ons): Remove option.
1453 (machine): Do not mention add-ons in comment.
1454 (LIBC_PRECONFIGURE): Likewise.
1455 (add_ons): Remove variable and sanity checks and logic to locate
1457 (add_ons_automatic): Remove variable.
1458 (configured_add_ons): Likewise.
1459 (add_ons_sfx): Likewise.
1460 (add_ons_pfx): Likewise.
1461 (add_on_subdirs): Likewise.
1462 (sysnames_add_ons): Likewise. Remove loop over add-ons and
1463 consideration of add-ons in Implies handling.
1464 (sysdeps_add_ons): Likewise.
1465 * configure: Regenerated.
1466 * libidn/configure.ac: Remove.
1467 * libidn/configure: Likewise.
1468 * sysdeps/unix/inet/configure.ac: New file.
1469 * sysdeps/unix/inet/configure: New generated file.
1470 * sysdeps/unix/inet/Subdirs: Add libidn.
1471 * Makeconfig (sysdeps-srcdirs): Remove variable.
1472 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
1473 ($(common-objpfx)config.status): Do not depend on add-on files.
1474 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
1476 (all-subdirs): Do not include $(add-on-subdirs).
1477 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
1478 * config.make.in (add-ons): Remove variable.
1479 (add-on-subdirs): Likewise.
1480 (sysdeps-add-ons): Likewise.
1481 * manual/Makefile (add-chapters): Remove.
1482 ($(objpfx)texis): Do not depend on $(add-chapters).
1483 (nonexamples): Do not handle $(add-chapters).
1484 (examples): Do not handle $(add-ons).
1485 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
1487 * manual/install.texi (Installation): Do not mention add-ons.
1488 (--enable-add-ons): Do not document configure option.
1489 * INSTALL: Regenerated.
1490 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
1491 * manual/maint.texi (Hierarchy Conventions): Do not mention
1493 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
1495 * scripts/gen-sorted.awk: Do not handle Subdirs files from
1497 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
1498 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
1500 2017-10-05 Andreas Schwab <schwab@suse.de>
1503 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
1504 (_IO_flush_all_lockp): Always lock list_all_lock.
1505 (_IO_flush_all_linebuffered): Likewise.
1506 (_IO_unbuffer_all): Likewise.
1508 2017-10-05 Florian Weimer <fweimer@redhat.com>
1511 Do not flush stdio streams on abort.
1512 * stdlib/abort.c (fflush): Remove macro definition.
1513 (abort): Remove stages related to stdio flushing.
1515 2017-10-05 Florian Weimer <fweimer@redhat.com>
1517 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
1519 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1521 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1523 2017-10-05 Florian Weimer <fweimer@redhat.com>
1525 * support/support_format_hostent.c (support_format_hostent): Add
1526 more error information for NETDB_INTERNAL.
1528 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1530 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
1531 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
1532 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
1533 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
1534 AC_DEFINE if multi-arch is enabled.
1535 * sysdeps/i386/configure: Regenerated.
1537 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1539 * Makeconfig (+link-static-before-libc): Use
1540 $(DEFAULT-LDFLAGS-$(@F)).
1541 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
1542 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
1543 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
1545 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1547 * elf/Makefile (tests): Add tst-main1.
1548 (modules-names): Add tst-main1mod.
1549 ($(objpfx)tst-main1): New.
1550 (CRT-tst-main1): Likewise.
1551 (LDFLAGS-tst-main1): Likewise.
1552 (LDLIBS-tst-main1): Likewise.
1553 (tst-main1mod.so-no-z-defs): Likewise.
1554 * elf/tst-main1.c: New file.
1555 * elf/tst-main1mod.c: Likewise.
1557 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
1559 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
1561 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1563 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
1564 (fma): Define using libm_alias_double.
1565 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
1566 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
1568 (fmal): Do not define as compat symbol here.
1569 * sysdeps/alpha/fpu/s_fma.c: New file.
1571 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1573 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
1575 2017-10-04 Joseph Myers <joseph@codesourcery.com>
1578 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
1580 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1582 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
1583 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1584 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
1585 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
1586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1587 Include <math_ldbl_opt.h>
1588 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
1590 (compat_symbol): Undefine and redefine.
1591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
1593 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
1594 (compat_symbol): Undefine and redefine.
1595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
1596 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
1597 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
1599 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
1600 GLIBC_2.0 copysignl symbol.
1601 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1602 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
1604 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
1606 2017-10-04 Florian Weimer <fweimer@redhat.com>
1608 * scripts/check-local-headers.sh: Ignore nspr4 header file
1609 directory in addition to nspr.
1611 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
1614 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
1615 * configure: Regenerate.
1616 * crypt/Makefile (nss-cpp-flags): New variable.
1617 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
1618 (CPPFLAGS-md5-crypt.c): Use it.
1619 * scripts/check-local-headers.sh: Ignore nspr header file
1622 2017-10-04 Andreas Schwab <schwab@suse.de>
1624 * nis/Makefile (services): Remove compat.
1625 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
1626 ($(objpfx)libnss_compat.so): Remove rule.
1627 * nis/Versions (libnss_compat): Remove.
1628 * nss/Makefile (services): Add compat.
1629 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
1630 * nss/Versions (libnss_compat): Define.
1631 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
1632 Don't include <rpc/types.h>. Replace bool_t by bool.
1633 * nss/nss_compat/compat-initgroups.c: Likewise.
1634 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
1635 instead of <rpcsrv/ypclnt.h>.
1636 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
1637 yp_get_default_domain.
1638 * nss/nss_compat/compat-pwd.c: Likewise.
1639 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
1640 yp_get_default_domain.
1641 * nss/nss_compat/nisdomain.c: New file.
1642 * nss/nss_compat/nisdomain.h: Likewise.
1644 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1647 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
1648 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1650 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1653 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
1654 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
1656 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1658 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
1659 "movl main@GOTOFF(%ebx), %eax".
1661 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1663 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
1664 allow undefined _DYNAMIC in PIE libc.a.
1665 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
1668 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1670 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
1673 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1675 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
1678 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1680 * math/test-math-iscanonical.cc (error): Replace bool with int.
1682 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1684 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
1685 (modf): Define using libm_alias_double, only if [!__modf].
1686 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
1687 <libm-alias-double.h>.
1688 (modf): Define using libm_alias_double, only if [!__modf].
1689 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
1691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
1692 (weak_alias): Do not undefine and redefine.
1693 (strong_alias): Likewise.
1694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
1695 (weak_alias): Likewise.
1696 (strong_alias): Likewise.
1698 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
1699 (logb): Define using libm_alias_double, only if [!__logb].
1700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
1701 <libm-alias-double.h>.
1702 (logb): Define using libm_alias_double, only if [!__logb].
1703 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
1705 (weak_alias): Do not undefine and redefine.
1706 (strong_alias): Likewise.
1707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
1708 (weak_alias): Likewise.
1709 (strong_alias): Likewise.
1711 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1713 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
1714 Check SHARED instead PIC.
1716 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1718 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
1719 [!__fmaf] (fmaf): Define using libm_alias_float.
1721 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
1722 (frexp): Define using libm_alias_double.
1723 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
1724 <libm-alias-double.h>.
1725 (frexp): Define using libm_alias_double.
1726 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
1729 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1732 * math/math.h: Trivial fix for unbalanced parentheses in comment.
1733 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
1734 (CFLAGS-test-math-iscanonical.cc): New variable.
1735 * math/test-math-iscanonical.cc: New file.
1736 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
1737 Provide a C++ implementation based on function overloading,
1738 rather than using __MATH_TG, which uses C-only builtins.
1739 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
1741 * sysdeps/powerpc/powerpc64le/Makefile
1742 (CFLAGS-test-math-iscanonical.cc): New variable.
1744 2017-10-03 Joseph Myers <joseph@codesourcery.com>
1746 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
1747 (ceil): Define using libm_alias_double.
1748 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
1749 (floor): Define using libm_alias_double.
1750 * sysdeps/ieee754/dbl-64/s_llround.c: Include
1751 <libm-alias-double.h>.
1752 (llround): Define using libm_alias_double.
1753 * sysdeps/ieee754/dbl-64/s_lround.c: Include
1754 <libm-alias-double.h>.
1755 (lround): Define using libm_alias_double.
1756 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
1757 <libm-alias-double.h>.
1758 (nearbyint): Define using libm_alias_double.
1759 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
1760 <libm-alias-double.h>.
1761 (remquo): Define using libm_alias_double.
1762 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
1763 (rint): Define using libm_alias_double.
1764 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
1765 (round): Define using libm_alias_double.
1766 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
1767 (trunc): Define using libm_alias_double.
1768 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
1769 <libm-alias-double.h>.
1770 (ceil): Define using libm_alias_double.
1771 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
1772 <libm-alias-double.h>.
1773 (floor): Define using libm_alias_double.
1774 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
1775 <libm-alias-double.h>.
1776 (llround): Define using libm_alias_double.
1777 [_LP64] (lround): Likewise.
1778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
1779 <libm-alias-double.h>.
1780 [!_LP64] (lround): Define using libm_alias_double.
1781 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
1782 <libm-alias-double.h>.
1783 (nearbyint): Define using libm_alias_double.
1784 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
1785 <libm-alias-double.h>.
1786 (remquo): Define using libm_alias_double.
1787 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
1788 <libm-alias-double.h>.
1789 (rint): Define using libm_alias_double.
1790 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
1791 <libm-alias-double.h>.
1792 (round): Define using libm_alias_double.
1793 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
1794 <libm-alias-double.h>.
1795 (trunc): Define using libm_alias_double.
1796 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
1797 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
1798 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
1799 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
1800 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
1801 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
1802 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
1803 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
1804 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
1806 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1808 * math/w_remainder.c: New file.
1809 * math/w_remainderf.c: New file.
1810 * math/w_remainderl.c: New file.
1812 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
1814 * elf/rtld.c (BOOTSTRAP_MAP): New.
1815 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
1816 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1818 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1820 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1823 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1825 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
1826 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
1827 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
1828 rtld_hidden_data_ver): Define to empty.
1829 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
1830 __assert_perror_fail): Likewise.
1831 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1832 (__rewinddir): Likewise.
1833 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1834 (__profile_frequency): Likewise.
1835 * include/setjmp.h (__sigsetjmp): Likewise.
1836 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
1837 __libc_sigaction): Likewise.
1838 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
1839 not set hidden attribute.
1840 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
1841 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
1842 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
1843 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
1844 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
1845 __fxstatat64): Likewise.
1846 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1847 (__uname): Likewise.
1848 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
1849 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
1850 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
1851 (NO_RTLD_HIDDEN): Set.
1852 * sysdeps/mach/hurd/configure: Refresh.
1853 * config.h.in: Refresh.
1855 2017-10-02 Joseph Myers <joseph@codesourcery.com>
1857 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
1858 (atan): Define using libm_alias_double.
1859 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
1860 (tan): Define using libm_alias_double.
1861 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
1862 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
1864 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
1865 define as weak alias of __atan. Do not define any aliases if
1867 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
1868 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
1869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
1870 as weak alias of __tan. Do not define any aliases if [__tan].
1871 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
1872 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
1873 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
1875 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
1876 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
1877 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
1878 and define as weak alias of __atan.
1879 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
1881 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
1882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
1883 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
1884 define as weak alias of __tan.
1886 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1888 * math/w_lgamma.c: New file.
1889 * math/w_lgammaf.c: New file.
1890 * math/w_lgammal.c: New file.
1892 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1894 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
1895 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
1896 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
1897 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
1898 * sysdeps/ieee754/flt-32/w_logf.c: New file.
1899 * sysdeps/ieee754/flt-32/w_powf.c: New file.
1900 * sysdeps/i386/fpu/w_log2f.c: New file.
1901 * sysdeps/i386/fpu/w_logf.c: New file.
1902 * sysdeps/i386/fpu/w_powf.c: New file.
1903 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
1904 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
1905 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
1907 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1908 H.J. Lu <hongjiu.lu@intel.com>
1910 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
1911 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
1912 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
1913 * sysdeps/ieee754/flt-32/w_expf.c: New file.
1914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
1916 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
1917 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
1918 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
1919 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
1920 * sysdeps/i386/fpu/w_exp2f.c: New file.
1921 * sysdeps/i386/fpu/w_expf.c: New file.
1922 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
1923 * sysdeps/x86_64/fpu/w_expf.c: New file.
1925 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1927 * math/Versions (logf): New libm symbol at GLIBC_2.27.
1930 * math/w_log2f.c: New file.
1931 * math/w_logf.c: New file.
1932 * math/w_powf.c: New file.
1933 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
1934 * math/w_logf_compat.c (__logf_compat): Likewise.
1935 * math/w_powf_compat.c (__powf_compat): Likewise.
1936 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
1937 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1938 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1939 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1940 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1941 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1942 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1943 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1944 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1945 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1946 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1947 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1948 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1949 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1950 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1959 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1960 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1961 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1963 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1968 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1969 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1970 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1972 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1974 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1975 (sysdep_routines): Add memrchr_power8.
1976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1977 (memrchr): Add __memrchr_power8 to list of memrchr functions.
1978 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
1980 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
1981 (memrchr): Add __memrchr_power8 to ifunc list.
1982 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
1984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1987 * sysdeps/unix/sysv/linux/posix_fadvise64.c
1988 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
1990 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1991 (__posix_fallocate64_l64): Likewise.
1993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
1996 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1997 (__sched_setaffinity_new): Add libc_hidden_proto and
2000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2003 * include/glob.h (__glob64): Add libc_hidden_proto.
2004 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
2007 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2010 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
2013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2016 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
2018 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2021 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
2024 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2027 * csu/version.c (__libc_print_version): Add attribute_hidden.
2029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2032 * include/libc-internal.h (__init_misc): Add attribute_hidden.
2034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2037 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
2039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2042 * nscd/nscd_helper.c (__nis_hash): New prototype.
2044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2047 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
2048 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
2050 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2051 * termios/tcgetattr.c (__tcgetattr): Likewise.
2053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2056 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
2057 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
2058 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
2059 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
2060 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
2062 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2065 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
2067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2070 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
2071 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
2073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2076 * intl/hash-string.h (__hash_string): Add attribute_hidden.
2078 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2081 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
2082 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
2084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2087 * include/ifreq.h: New file.
2088 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
2089 (__ifreq): Likewise.
2090 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
2091 (__ifreq): Likewise.
2093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2096 * include/idna.h: New file.
2097 * inet/getnameinfo.c: Include <idna.h> instead of
2099 (__idna_to_unicode_lzlz): Removed.
2100 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
2102 (__idna_to_ascii_lz): Removed.
2103 (__idna_to_unicode_lzlz): Likewise.
2105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2108 * include/plural-exp.h: New file.
2109 * intl/plural-exp.c: Include <plural-exp.h> instead of
2112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2115 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
2116 "getsourcefilter.h".
2117 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
2118 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
2119 "getsourcefilter.h".
2120 (__get_sol): Removed.
2122 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2125 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
2127 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
2129 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2132 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
2135 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2138 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
2140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2143 * include/search.h (__tdestroy): Add libc_hidden_proto.
2144 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
2146 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2149 * include/assert.h (__assert_fail_base): Add attribute_hidden.
2151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2154 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
2157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2160 * include/signal.h (__kill): Add libc_hidden_proto.
2161 (__sigblock): Likewise.
2162 (__sigprocmask): Likewise.
2163 (__sigaltstack): Likewise.
2164 * signal/kill.c (__kill): Add libc_hidden_def.
2165 * signal/sigblock.c (__sigblock): Likewise.
2166 * signal/sigprocmask.c (__sigprocmask): Likewise.
2167 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2168 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2169 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2170 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2171 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
2173 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2175 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2176 (__sigprocmask): Likewise.
2177 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
2179 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2180 (__sigprocmask): Likewise.
2181 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2187 * include/string.h (__strsep): Add libc_hidden_proto.
2188 * string/strsep.c (__strsep): Add libc_hidden_def.
2190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2193 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
2195 (__spawni): Likewise.
2197 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2200 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
2201 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
2204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2207 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
2209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2212 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
2213 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
2214 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2215 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
2216 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
2218 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
2219 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
2221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2224 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
2225 (__dcigettext): Likewise.
2227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2230 * include/sys/sysinfo.h (__get_nprocs_conf): Add
2232 (__get_nprocs): Likewise.
2233 (__get_phys_pages): Likewise.
2234 (__get_avphys_pages): Likewise.
2235 (__get_child_max): Add attribute_hidden.
2236 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
2237 (__get_nprocs): Likewise.
2238 (__get_phys_pages): Likewise.
2239 (__get_avphys_pages): Likewise.
2240 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
2242 (__get_nprocs): Likewise.
2243 (__get_phys_pages): Likewise.
2244 (__get_avphys_pages): Likewise.
2245 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
2247 (__get_nprocs_conf): Likewise.
2248 (__get_phys_pages): Likewise.
2249 (__get_avphys_pages): Likewise.
2251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2254 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
2256 (__netlink_close): Likewise.
2257 (__netlink_free_handle): Likewise.
2258 (__netlink_request): Likewise.
2260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2263 * include/rpc/rpc.h (__rpc_thread_variables): Add
2265 (__rpc_thread_svc_cleanup): Likewise.
2266 (__rpc_thread_clnt_cleanup): Likewise.
2267 (__rpc_thread_key_cleanup): Likewise.
2269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2272 * include/sys/uio.h (__readv): Add libc_hidden_proto.
2273 (__writev): Likewise.
2274 * misc/readv.c (__readv): Add libc_hidden_def.
2275 * misc/writev.c (__writev): Likewise.
2276 * sysdeps/posix/readv.c (__readv): Likewise.
2277 * sysdeps/posix/writev.c (__writev): Likewise.
2278 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
2279 (__readv): Likewise.
2280 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
2281 (__writev): Likewise.
2283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2286 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
2287 (__regcomp): Add libc_hidden_proto.
2288 (__regexec): Likewise.
2289 (__regfree): Likewise.
2290 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
2291 (__regfree): Likewise.
2292 * posix/regexec.c (__regexec): Likewise.
2294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2297 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
2298 (__getutent): Likewise.
2299 (__getutid): Likewise.
2300 (__getutline): Likewise.
2301 (__pututline): Likewise.
2302 (__getutent_r): Likewise.
2303 (__getutid_r): Likewise.
2304 (__getutline_r): Likewise.
2305 (__utmpname): Add attribute_hidden.
2306 (__setutent): Likewise.
2307 (__endutent): Likewise.
2308 * login/getutent.c (__getutent): Add libc_hidden_def.
2309 * login/getutent_r.c (__getutent_r): Likewise.
2310 (__pututline): Likewise.
2311 * login/getutid.c (__getutid): Likewise.
2312 * login/getutid_r.c (__getutid_r): Likewise.
2313 * login/getutline.c (__getutline): Likewise.
2314 * login/getutline_r.c (__getutline_r): Likewise.
2315 * login/updwtmp.c (__updwtmp): Likewise.
2317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2320 * include/dirent.h (__opendir): Always add attribute_hidden.
2321 (__fdopendir): Likewise.
2322 (__closedir): Likewise.
2323 (__readdir): Likewise.
2324 (__readdir64): Add libc_hidden_proto.
2325 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
2326 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
2327 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
2328 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
2331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2334 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
2335 * include/netdb.h (__gethostbyaddr_r): Likewise.
2336 (__gethostbyname_r): Likewise.
2337 (__gethostbyname2_r): Likewise.
2338 (__getnetbyaddr_r): Likewise.
2339 (__getnetbyname_r): Likewise.
2340 (__getservbyname_r): Likewise.
2341 (__getservbyport_r): Likewise.
2342 (__getprotobyname_r): Likewise.
2343 (__getprotobynumber_r): Likewise.
2344 (__getnetgrent_r): Likewise.
2345 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
2346 (__getrpcbynumber_r): Likewise.
2347 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
2349 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2352 * include/stdio.h (__fcloseall): Add attribute_hidden.
2353 (__getline): Likewise.
2354 (__path_search): Likewise.
2355 (__gen_tempname): Likewise.
2356 (__libc_message): Likewise.
2357 (__flockfile): Likewise.
2358 (__funlockfile): Likewise.
2359 (__fxprintf): Likewise.
2360 (__fxprintf_nocancel): Likewise.
2362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2365 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
2366 (__sgetsgent_r): Likewise.
2368 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2371 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
2372 (__statfs64): Likewise.
2373 (__fstatfs64): Likewise.
2374 * include/sys/statvfs.h (__statvfs64): Likewise.
2375 (__fstatvfs64): Likewise.
2376 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
2377 (__statfs_filesize_max): Likewise.
2378 (__statfs_symlinks): Likewise.
2379 (__statfs_chown_restricted): Likewise.
2381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2384 * include/time.h (__tzstring): Add attribute_hidden.
2385 (__tzfile_read): Likewise.
2386 (__tzfile_compute): Likewise.
2387 (__tzfile_default): Likewise.
2388 (__tzset_parse_tz): Likewise.
2389 (__offtime): Likewise.
2390 (__asctime_r): Likewise.
2391 (__tzset): Likewise.
2392 (__tz_convert): Likewise.
2393 (__getdate_r): Likewise.
2394 (__getclktck): Likewise.
2396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2399 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
2400 (__nscd_unmap): Likewise.
2401 (__nscd_cache_search): Likewise.
2402 (__nscd_get_nl_timestamp): Likewise.
2403 (__nscd_getpwnam_r): Likewise.
2404 (__nscd_getpwuid_r): Likewise.
2405 (__nscd_getgrnam_r): Likewise.
2406 (__nscd_getgrgid_r): Likewise.
2407 (__nscd_gethostbyname_r): Likewise.
2408 (__nscd_gethostbyname2_r): Likewise.
2409 (__nscd_gethostbyaddr_r): Likewise.
2410 (__nscd_getai): Likewise.
2411 (__nscd_getgrouplist): Likewise.
2412 (__nscd_getservbyname_r): Likewise.
2413 (__nscd_getservbyport_r): Likewise.
2414 (__nscd_innetgr): Likewise.
2415 (__nscd_setnetgrent): Likewise.
2417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2420 * include/gmp.h: Declare internal functions only if _ISOMAC is
2422 (__mpn_extract_double): Add attribute_hidden.
2423 (__mpn_extract_long_double): Likewise.
2424 (__mpn_extract_float128): Likewise.
2425 (__mpn_construct_float): Likewise.
2426 (__mpn_construct_double): Likewise.
2427 (__mpn_construct_long_double): Likewise.
2428 (__mpn_construct_float128): Likewise.
2429 (mpn_add_1): Likewise.
2430 (mpn_addmul_1): Likewise.
2431 (mpn_add_n): Likewise.
2432 (mpn_cmp): Likewise.
2433 (mpn_divrem): Likewise.
2434 (mpn_lshift): Likewise.
2435 (mpn_mul): Likewise.
2436 (mpn_mul_1): Likewise.
2437 (mpn_rshift): Likewise.
2438 (mpn_sub_1): Likewise.
2439 (mpn_submul_1): Likewise.
2440 (mpn_sub_n): Likewise.
2442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2445 * include/wchar.h (__wcsnlen): Add attribute_hidden.
2446 (__wcscat): Likewise.
2447 (__btowc): Likewise.
2448 (__wcrtomb): Likewise.
2449 (__mbsrtowcs): Likewise.
2450 (__wcsrtombs): Likewise.
2451 (__mbsnrtowcs): Likewise.
2452 (__wcsnrtombs): Likewise.
2453 (__wcsncpy): Likewise.
2454 (__wcpncpy): Likewise.
2455 (__wmemcpy): Likewise.
2456 (__wmempcpy): Likewise.
2457 (__wmemmove): Likewise.
2458 (__wcschrnul): Likewise.
2459 (__vfwscanf): Likewise.
2460 (__vswprintf): Likewise.
2461 (__fwprintf): Likewise.
2462 (__vfwprintf): Likewise.
2464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2467 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
2468 (__getgrgid_r): Likewise.
2469 (__getgrnam_r): Likewise.
2470 * include/pwd.h (__getpwuid_r): Likewise.
2471 (__getpwnam_r): Likewise.
2472 (__fgetpwent_r): Likewise.
2473 * include/shadow.h (__getspnam_r): Likewise.
2474 (__sgetspent_r): Likewise.
2475 (__fgetspent_r): Likewise.
2477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2480 * include/unistd.h (__access): Add attribute_hidden.
2481 (__lseek64): Likewise.
2482 (__libc_pread64): Likewise.
2483 (__pipe2): Likewise.
2484 (__sleep): Likewise.
2485 (__chdir): Likewise.
2486 (__fchdir): Likewise.
2487 (__getcwd): Likewise.
2488 (__rmdir): Likewise.
2489 (__execvpe): Likewise.
2490 (__execve): Likewise.
2491 (__setsid): Likewise.
2492 (__getuid): Likewise.
2493 (__geteuid): Likewise.
2494 (__getgid): Likewise.
2495 (__getegid): Likewise.
2496 (__getgroups): Likewise.
2497 (__group_member): Likewise.
2498 (__ttyname_r): Likewise.
2499 (__isatty): Likewise.
2500 (__readlink): Likewise.
2501 (__unlink): Likewise.
2502 (__gethostname): Likewise.
2503 (__profil): Likewise.
2504 (__getdtablesize): Likewise.
2506 (__ftruncate): Likewise.
2507 (__ftruncate64): Likewise.
2509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2512 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
2513 * argp/argp-fs-xinl.c: Likewise.
2514 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
2515 * argp/argp-parse.c: Include <argp.h>.
2516 * argp/argp-xinl.c: Likewise.
2517 * include/argp-fmtstream.h: New file.
2518 * include/argp.h (__argp_error): Add attribute_hidden.
2519 (__argp_failure): Likewise.
2520 (__argp_input): Likewise.
2521 (__argp_state_help): Likewise.
2523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2526 * include/wchar.h (____wcstof_l_internal): New prototype.
2527 (____wcstod_l_internal): Likewise.
2528 (____wcstold_l_internal): Likewise.
2529 (____wcstol_l_internal): Likewise.
2530 (____wcstoul_l_internal): Likewise.
2531 (____wcstoll_l_internal): Likewise.
2532 (____wcstoull_l_internal): Likewise.
2533 (____wcstof128_l_internal): Likewise.
2534 * sysdeps/ieee754/float128/wcstof128.c
2535 (____wcstof128_l_internal): Removed.
2536 * sysdeps/ieee754/float128/wcstof128_l.c
2537 (____wcstof128_l_internal): Likewise.
2538 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
2539 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
2540 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
2541 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
2542 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
2543 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
2544 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
2545 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
2546 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
2547 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
2549 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2552 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
2553 instead of <sys/statvfs.h>.
2554 (__internal_statvfs): Removed.
2555 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
2556 instead of <sys/statvfs.h>.
2557 (__internal_statvfs64): Removed.
2558 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
2559 "internal_statvfs.h" instead of <sys/statvfs.h>.
2560 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
2561 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
2562 instead of <sys/statvfs.h>.
2563 (__internal_statvfs): Removed.
2564 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
2565 instead of <sys/statvfs.h>.
2566 (__internal_statvfs64): Removed.
2568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2571 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
2572 (__gconv_close): Likewise.
2573 (__gconv): Likewise.
2574 (__gconv_find_transform): Likewise.
2575 (__gconv_lookup_cache): Likewise.
2576 (__gconv_compare_alias_cache): Likewise.
2577 (__gconv_load_cache): Likewise.
2578 (__gconv_get_path): Likewise.
2579 (__gconv_close_transform): Likewise.
2580 (__gconv_release_cache): Likewise.
2581 (__gconv_find_shlib): Likewise.
2582 (__gconv_release_shlib): Likewise.
2583 (__gconv_get_builtin_trans): Likewise.
2584 (__gconv_compare_alias): Likewise.
2585 * include/dlfcn.h (_dlerror_run): Likewise.
2586 * include/stdio.h (__fortify_fail_abort): Likewise.
2587 * include/time.h (__tz_compute): Likewise.
2588 (__strptime_internal): Likewise.
2589 * intl/gettextP.h (_nl_find_domain): Likewise.
2590 (_nl_load_domain): Likewise.
2591 (_nl_find_msg): Likewise.
2592 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
2593 (EXTRACT_PLURAL_EXPRESSION): Likewise.
2594 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
2595 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
2596 (__gai_find_request): Likewise.
2597 (__gai_remove_request): Likewise.
2598 (__gai_notify): Likewise.
2599 (__gai_notify_only): Likewise.
2600 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2601 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
2602 (_dl_non_dynamic_init): Likewise.
2603 (_dl_aux_init): Likewise.
2604 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
2605 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2607 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
2608 (__wcsmbs_clone_conv): Likewise.
2609 (__wcsmbs_named_conv): Likewise.
2611 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2614 * include/stdlib.h (__random): Add attribute_hidden.
2615 (__random_r): Likewise.
2616 (__srandom_r): Likewise.
2617 (__initstate_r): Likewise.
2618 (__setstate_r): Likewise.
2619 (__erand48_r): Likewise.
2620 (__nrand48_r): Likewise.
2621 (__jrand48_r): Likewise.
2622 (__srand48_r): Likewise.
2623 (__seed48_r): Likewise.
2624 (__lcong48_r): Likewise.
2625 (__drand48_iterate): Likewise.
2626 (__setenv): Likewise.
2627 (__unsetenv): Likewise.
2628 (__clearenv): Likewise.
2629 (__ptsname_r): Likewise.
2630 (__posix_openpt): Likewise.
2631 (__add_to_environ): Likewise.
2632 (__realpath): Add libc_hidden_proto.
2633 (__ecvt_r): Likewise.
2634 (__fcvt_r): Likewise.
2635 (__qecvt_r): Likewise.
2636 (__qfcvt_r): Likewise.
2637 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
2638 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
2640 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
2643 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
2644 * include/time.h (__mktime_internal): Likewise.
2645 * libio/iolibio.h (__fopen_internal): Likewise.
2647 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
2649 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
2651 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
2652 Correct offset used to restore PIC register.
2654 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
2657 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
2658 code to load address of __getcontext_ret when generating PIC code.
2660 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
2662 * elf/Makefile (tests-static-internal): Add
2663 tst-tls1-static-non-pie.
2664 (LDFLAGS-tst-tls1-static-non-pie): New.
2665 * elf/tst-tls1-static-non-pie.c: New file.
2667 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2669 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
2670 (asinh): Define using libm_alias_double.
2671 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
2672 (cbrt): Define using libm_alias_double.
2673 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
2674 <libm-alias-double.h>.
2675 (copysign): Define using libm_alias_double.
2676 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
2677 (erf): Define using libm_alias_double.
2679 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
2680 (expm1): Define using libm_alias_double.
2681 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
2682 (fabs): Define using libm_alias_double.
2683 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
2685 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
2686 <libm-alias-double.h>.
2687 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
2689 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
2690 <libm-alias-double.h>.
2691 (getpayload): Define using libm_alias_double.
2692 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
2693 <libm-alias-double.h>.
2694 (llrint): Define using libm_alias_double.
2695 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
2696 (lrint): Define using libm_alias_double.
2697 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
2698 <libm-alias-double.h>.
2699 (nextup): Define using libm_alias_double.
2700 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
2701 <libm-alias-double.h>.
2702 (roundeven): Define using libm_alias_double.
2703 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
2705 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
2706 <libm-alias-double.h>.
2707 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
2708 using libm_alias_double.
2709 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
2710 (cos): Define using libm_alias_double.
2712 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
2713 <libm-alias-double.h>.
2714 (sincos): Define using libm_alias_double.
2715 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
2716 (tanh): Define using libm_alias_double.
2717 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2718 <libm-alias-double.h>.
2719 (totalorder): Define using libm_alias_double.
2720 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2721 <libm-alias-double.h>.
2722 (totalordermag): Define using libm_alias_double.
2723 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
2725 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
2727 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
2728 <libm-alias-double.h>.
2729 (getpayload): Define using libm_alias_double.
2730 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
2731 <libm-alias-double.h>.
2732 (roundeven): Define using libm_alias_double.
2733 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
2734 <libm-alias-double.h>.
2735 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2736 <libm-alias-double.h>.
2737 (totalorder): Define using libm_alias_double.
2738 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2739 <libm-alias-double.h>.
2740 (totalordermag): Define using libm_alias_double.
2741 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
2742 libc compat symbol here.
2743 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
2744 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
2745 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
2746 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
2747 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
2748 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
2749 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
2750 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
2751 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
2752 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
2754 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2756 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
2757 _dl_relocate_static_pie instead of _dl_start to compute load
2758 address in static PIE. Return 0 if _DYNAMIC is undefined for
2761 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2763 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
2764 _DYNAMIC is undefined for static executable.
2766 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
2768 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
2770 2017-09-29 Joseph Myers <joseph@codesourcery.com>
2772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2774 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2776 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2777 (__ieee754_lgamma_r): Use fabs rather than __fabs.
2778 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2779 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2780 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2781 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
2782 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2783 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2784 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
2785 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2786 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2787 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2788 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
2789 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
2790 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2791 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2792 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
2794 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
2796 * math/bits/cmathcalls.h (cimag): Remove inline.
2797 (creal): Remove inline.
2798 (conj): Remove inline.
2800 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2802 * math/Makefile (type-float-routines): Add e_powf_log2_data.
2803 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
2804 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
2805 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
2806 (issignalingf_inline): Likewise.
2807 (POWF_LOG2_TABLE_BITS): Likewise.
2808 (POWF_LOG2_POLY_ORDER): Likewise.
2809 (POWF_SCALE_BITS): Likewise.
2810 (POWF_SCALE): Likewise.
2811 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
2812 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
2813 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
2815 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2817 * math/Makefile (type-float-routines): Add e_log2f_data.
2818 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
2819 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
2820 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
2821 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
2822 * sysdeps/i386/fpu/e_log2f_data.c: New file.
2823 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
2824 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
2826 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2828 * math/Makefile (type-float-routines): Add e_logf_data.
2829 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
2830 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
2831 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
2832 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
2833 * sysdeps/i386/fpu/e_logf_data.c: New file.
2834 * sysdeps/ia64/fpu/e_logf_data.c: New file.
2835 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
2837 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
2839 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
2840 undefined _DYNAMIC in PIE libc.a.
2841 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
2844 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2846 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
2847 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
2848 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
2849 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
2850 (__signbit): Remove.
2851 (__signbitl): Remove.
2852 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
2853 (__signbit): Remove.
2854 (__signbitl): Remove.
2855 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
2856 (__signbit): Remove.
2857 (__signbitl): Remove.
2858 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
2859 (__signbit): Remove.
2860 (__signbitl): Remove.
2861 * sysdeps/tile/bits/mathinline.h: Delete file.
2862 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
2863 (__signbit): Remove.
2864 (__signbitl): Remove.
2866 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
2868 * math/math.h: Improve handling of C99 isgreater macros.
2869 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
2870 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
2871 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2872 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2873 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2875 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2877 * sysdeps/aarch64/libm-test-ulps: Update.
2879 2017-09-28 Joseph Myers <joseph@codesourcery.com>
2882 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2883 math_opt_barrier on argument when doing arithmetic on it.
2884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2885 Likewise. Use math_force_eval not math_opt_barrier after
2887 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
2888 math_opt_barrier on argument when doing arithmetic on it.
2889 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2892 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
2894 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
2896 (__freeifaddrs): Likewise.
2898 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2900 * include/dirent.h (__dirfd): New declaration.
2901 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
2903 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
2904 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
2905 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
2906 * include/unistd.h (__revoke): New declaration.
2907 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
2909 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2910 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
2912 * include/dirent.h (__seekdir): New declaration.
2913 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
2914 redefine as weak alias.
2915 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
2917 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
2918 and use libc_hidden_def on them.
2919 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
2921 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
2922 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
2923 instead of getifaddrs and freeifaddrs.
2925 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2928 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
2929 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
2930 (__dso_handle): Remove declaration.
2931 * dlfcn/tstatexit.c (__dso_handle): Removed.
2932 (main): Don't check __dso_handle.
2933 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
2934 (main): Don't check __dso_handle.
2935 * include/dso_handle.h: New file.
2936 * malloc/mtrace.c: Include <dso_handle.h>.
2937 (mtrace): Pass __dso_handle directly.
2938 * nptl/pthread_atfork.c: Include <dso_handle.h>.
2939 (__dso_handle): Remove declaration.
2940 (__pthread_atfork): Pass __dso_handle directly.
2941 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
2942 (__dso_handle): Removed.
2943 * posix/wordexp-test.c: Include <dso_handle.h>.
2944 (__dso_handle): Remove declaration.
2945 (__app_register_atfork): Pass __dso_handle directly.
2946 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
2947 (__dso_handle): Remove declaration.
2948 (at_quick_exit): Pass __dso_handle directly.
2949 * stdlib/atexit.c: Include <dso_handle.h>.
2950 (__dso_handle): Remove declaration.
2951 (atexit): Pass __dso_handle directly.
2952 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
2953 (__dso_handle): Removed.
2955 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2957 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
2960 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
2962 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
2963 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
2964 values to correct default value for given type.
2966 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
2969 * elf/Makefile (tests): Add tst-debug1.
2970 ($(objpfx)tst-debug1): New.
2971 ($(objpfx)tst-debug1.out): Likewise.
2972 ($(objpfx)tst-debug1mod1.so): Likewise.
2973 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
2975 * elf/tst-debug1.c: New file.
2977 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2979 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
2980 Define using __ifunc.
2982 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2984 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
2987 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2990 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2992 2017-09-26 Florian Weimer <fweimer@redhat.com>
2994 * resolv/Makefile (tests-internal): Fix typo in comment.
2996 2017-09-26 Florian Weimer <fweimer@redhat.com>
2998 * resolv/nss_dns/dns-host.c: Fix typo in comment.
3000 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3002 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
3003 Use an union instead of a max_align_t array for __space,
3004 so that __space is the same size on all platforms.
3005 * malloc/scratch_buffer_grow_preserve.c
3006 (__libc_scratch_buffer_grow_preserve): Likewise.
3009 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
3011 * posix/Makefile (routines): Add glob-lstat-compat and
3012 glob64-lstat-compat.
3013 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
3014 * posix/glob-lstat-compat.c: New file.
3015 * posix/glob64-lstat-compat.c: Likewise.
3016 * posix/tst-glob_lstat_compat.c: Likewise.
3017 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
3018 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
3019 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
3020 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
3022 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
3023 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
3024 * posix/glob.c (glob_lstat): New function.
3025 (glob): Rename to __glob and add versioned symbol to 2.27.
3026 (glob_in_dir): Use glob_lstat.
3027 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
3028 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3029 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
3031 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
3032 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
3033 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
3034 gl_lstat on glob call.
3035 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
3037 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3038 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3039 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3040 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3041 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3042 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3044 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3045 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3046 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3047 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3048 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3051 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3053 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3054 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3055 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3056 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3057 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3060 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3064 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
3066 * configure.ac (AS): Require binutils 2.25 or later.
3067 * configure: Regenerated.
3069 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3072 * stdlib/test-atexit-race-common.c (do_test): Minimize required
3075 2017-09-25 DJ Delorie <dj@redhat.com>
3078 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
3081 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3083 * sysdeps/ieee754/dbl-64/sincos32.h
3084 [SINCCOS32_H]: Remove define.
3085 [SINCOS32_H]: Define.
3087 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3089 * math/Versions (expf): New libm symbol at GLIBC_2.27.
3091 * math/w_exp2f.c: New file.
3092 * math/w_expf.c: New file.
3093 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
3094 * math/w_expf_compat.c (__expf_compat): Likewise.
3095 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
3096 * sysdeps/ia64/fpu/e_expf.S: Likewise.
3097 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3098 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3099 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3100 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3104 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3106 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3107 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3108 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3117 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3118 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3119 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3120 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3121 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3126 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3127 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3128 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3130 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3132 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
3133 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
3134 (roundtoint, converttoint): Likewise.
3135 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
3136 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
3137 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
3138 * sysdeps/ieee754/flt-32/math_config.h: New file.
3139 * sysdeps/ieee754/flt-32/math_errf.c: New file.
3140 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
3141 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
3142 * sysdeps/i386/fpu/math_errf.c: New file.
3143 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
3144 * sysdeps/ia64/fpu/math_errf.c: New file.
3145 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
3146 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
3148 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3150 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
3151 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
3152 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
3153 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
3154 to make sure that these symbols are defined.
3155 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
3157 (__need_NULL): Do not define.
3158 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
3160 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
3161 CMGROUP_MAX, cmsgcred): Do not define.
3162 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
3164 * bits/socket.h: Likewise.
3165 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
3166 __gettimeofday instead of gettimeofday.
3167 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
3168 instead of settimeofday.
3170 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3172 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
3173 (asinhf): Define using libm_alias_float.
3174 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
3175 (atanf): Define using libm_alias_float.
3176 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
3177 (cbrtf): Define using libm_alias_float.
3178 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
3179 (ceilf): Define using libm_alias_float.
3180 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
3181 <libm-alias-float.h>.
3182 (copysignf): Define using libm_alias_float.
3183 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
3184 (cosf): Define using libm_alias_float.
3185 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
3186 (erff): Define using libm_alias_float.
3188 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
3189 (expm1f): Define using libm_alias_float.
3190 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
3191 (fabsf): Define using libm_alias_float.
3192 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
3193 (floorf): Define using libm_alias_float.
3194 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
3195 (frexpf): Define using libm_alias_float.
3196 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
3198 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
3199 <libm-alias-float.h>.
3200 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
3202 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
3203 <libm-alias-float.h>.
3204 (getpayloadf): Define using libm_alias_float.
3205 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
3206 <libm-alias-float.h>.
3207 (llrintf): Define using libm_alias_float.
3208 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
3209 <libm-alias-float.h>.
3210 (llroundf): Define using libm_alias_float.
3211 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
3212 (logbf): Define using libm_alias_float.
3213 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
3214 (lrintf): Define using libm_alias_float.
3215 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
3216 (lroundf): Define using libm_alias_float.
3217 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
3218 (modff): Define using libm_alias_float.
3219 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
3220 <libm-alias-float.h>.
3221 (nearbyintf): Define using libm_alias_float.
3222 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
3223 <libm-alias-float.h>.
3224 (nextafterf): Define using libm_alias_float.
3225 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
3226 <libm-alias-float.h>.
3227 (nextupf): Define using libm_alias_float.
3228 * sysdeps/ieee754/flt-32/s_remquof.c: Include
3229 <libm-alias-float.h>.
3230 (remquof): Define using libm_alias_float.
3231 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
3232 (rintf): Define using libm_alias_float.
3233 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
3234 <libm-alias-float.h>.
3235 (roundevenf): Define using libm_alias_float.
3236 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
3237 (roundf): Define using libm_alias_float.
3238 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
3239 using libm_alias_float.
3240 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
3241 <libm-alias-float.h>.
3242 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
3243 Define using libm_alias_float.
3244 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
3245 <libm-alias-float.h>.
3246 (sincosf): Define using libm_alias_float.
3247 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
3248 (sinf): Define using libm_alias_float.
3249 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
3250 (tanf): Define using libm_alias_float.
3251 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
3252 (tanhf): Define using libm_alias_float.
3253 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3254 <libm-alias-float.h>.
3255 (totalorderf): Define using libm_alias_float.
3256 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3257 <libm-alias-float.h>.
3258 (totalordermagf): Define using libm_alias_float.
3259 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
3260 (truncf): Define using libm_alias_float.
3261 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
3263 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
3266 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3269 math/math.h: Let fpclassify use the builtin in C++ mode, even
3270 when optimazing for size.
3272 2017-09-22 Joseph Myers <joseph@codesourcery.com>
3274 * csu/Makefile (generated): Do not add version-info.h.
3275 (before-compile): Likewise.
3276 (all-Banner-files): Remove variable.
3277 ($(objpfx)version-info.h): Remove rule.
3278 * csu/version.c (banner): Do not include "version-info.h".
3279 * libidn/Banner: Remove.
3280 * manual/contrib.texi (Simon Josefsson): New entry.
3282 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3285 Remove conditionals on LDBL_MANT_DIG.
3286 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
3287 (__ieee754_lgammal_r): Likewise.
3289 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
3293 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
3294 _Float128 and L(). Replace _Float128 with long double and L(x)
3295 with xL, throughout the file.
3296 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3297 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3298 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3299 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3301 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
3304 sysdeps/ieee754/ldbl-128ibm.
3305 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
3306 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
3307 of including it. Keep _Float128 and L() intact. These will be
3308 reviewed by a separate patch.
3309 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3310 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3311 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3312 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
3314 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
3317 (__finitef128): Define to __redirect___finitef128.
3318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
3319 (__isinff128): Define to __redirect___isinff128.
3320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
3321 (__isnanf128): Define to __redirect___isnanf128.
3323 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3325 * sysdeps/powerpc/powerpc64le/Makefile
3326 (CFLAGS-tst-strtod-nan-locale.c): New variable.
3327 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
3329 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3330 Carlos O'Donell <carlos@redhat.com>
3333 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
3334 * stdlib/test-dlclose-exit-race.c: New file.
3335 * stdlib/test-dlclose-exit-race-helper.c: New file.
3336 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
3338 2017-09-21 Joseph Myers <joseph@codesourcery.com>
3340 * crypt/Banner: Remove file.
3341 * nptl/Banner: Likewise.
3342 * resolv/Banner: Likewise.
3343 * soft-fp/Banner: Likewise.
3344 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
3345 ($(objpfx)version.d): Remove dependency on banner.h.
3346 ($(objpfx)version.os): Likewise.
3347 * nptl/version.c (banner): Do not include banner.h.
3348 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
3349 Jelinek and BIND code.
3351 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3352 Carlos O'Donell <carlos@redhat.com>
3354 * support/xdlfcn.h: New file.
3355 * support/xdlfcn.c: New file.
3356 * support/Makefile (libsupport-routines): Add xdlfcn.
3357 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
3359 2017-09-20 Joseph Myers <joseph@codesourcery.com>
3362 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3363 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
3364 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
3365 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
3366 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3367 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
3368 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
3369 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3371 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
3372 Ricky Zhou <rickyz@google.com>
3373 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
3376 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
3378 (__new_exitfn): Fail registration when we finished at_exit processing.
3379 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3380 * stdlib/on_exit.c (__on_exit): Likewise.
3381 * stdlib/exit.c (__exit_funcs_done): New variable.
3382 (__run_exit_handlers): Use __exit_funcs_lock.
3383 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
3385 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
3386 (test-cxa_atexit-race, test-on_exit-race): New tests.
3387 * stdlib/test-atexit-race-common.c: New file.
3388 * stdlib/test-atexit-race.c: New file.
3389 * stdlib/test-at_quick_exit-race.c: New file.
3390 * stdlib/test-cxa_atexit-race.c: New file.
3391 * stdlib/test-on_exit-race.c: New file.
3393 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
3395 * benchtests/Makefile: Add exp2f and log2f benchmarks.
3396 * benchtests/exp2f-inputs: Copy of expf-inputs.
3397 * benchtests/log2f-inputs: Copy of logf-inputs.
3399 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3401 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
3402 Explicitly take address of first element of array arguments in
3403 call to INLINE_SYSCALL.
3405 2017-09-19 Andreas Schwab <schwab@suse.de>
3408 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
3410 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
3412 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
3413 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
3414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3415 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
3416 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3417 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3418 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3419 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
3420 * posix/Makefile (tests): Add tst-fexecve.
3421 * posix/tst-fexecve.c: New file.
3423 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3425 * benchtests/Makefile: Add logf benchmark.
3426 * benchtests/logf-inputs: Add reduced trace from wrf_r.
3428 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3430 * benchtests/Makefile: Add expf benchmark.
3431 * benchtests/expf-inputs: Add reduced trace from wrf_r.
3433 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3435 * csu/Makefile: Add -funwind-tables to libc-start.c.
3436 * debug/Makefile: Add -funwind-tables to backtrace.c.
3437 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
3438 * sysdeps/arm/Makefile: Likewise.
3439 * sysdeps/i386/Makefile: Likewise.
3440 * sysdeps/m68k/Makefile: Likewise.
3441 * sysdeps/mips/Makefile: Likewise.
3442 * sysdeps/nios2/Makefile: Likewise.
3443 * sysdeps/sh/Makefile: Likewise.
3444 * sysdeps/sparc/Makefile: Likewise.
3446 2017-09-19 Joseph Myers <joseph@codesourcery.com>
3448 * benchtests/Makefile (bench-math): Add trunc and truncf.
3449 (CFLAGS-bench-trunc.c): New variable.
3450 (CFLAGS-bench-truncf.c): Likewise.
3451 * benchtests/trunc-inputs: New file.
3452 * benchtests/truncf-inputs: Likewise.
3454 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3456 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
3458 2017-09-18 Joseph Myers <joseph@codesourcery.com>
3460 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
3461 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
3463 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3464 (exp10l): Define as weak alias.
3465 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
3466 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
3468 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
3469 (remainderl): Define as weak alias.
3471 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
3472 (fmal): Define using libm_alias_ldouble.
3473 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
3474 (acoshl): Define using libm_alias_ldouble.
3475 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
3476 (acosl): Define using libm_alias_ldouble.
3477 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
3478 (asinl): Define using libm_alias_ldouble.
3479 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
3480 (atan2l): Define using libm_alias_ldouble.
3481 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
3482 (atanhl): Define using libm_alias_ldouble.
3483 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
3484 (coshl): Define using libm_alias_ldouble.
3485 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
3486 (exp10l): Define using libm_alias_ldouble.
3487 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
3488 (exp2l): Define using libm_alias_ldouble.
3489 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
3490 (expl): Define using libm_alias_ldouble.
3491 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
3492 (fmodl): Define using libm_alias_ldouble.
3493 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
3494 (hypotl): Define using libm_alias_ldouble.
3495 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
3496 (j0l): Define using libm_alias_ldouble.
3498 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
3499 (j1l): Define using libm_alias_ldouble.
3501 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
3502 (jnl): Define using libm_alias_ldouble.
3504 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
3505 (log10l): Define using libm_alias_ldouble.
3506 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
3507 (log2l): Define using libm_alias_ldouble.
3508 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
3509 (logl): Define using libm_alias_ldouble.
3510 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
3511 (powl): Define using libm_alias_ldouble.
3512 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
3513 (remainderl): Define using libm_alias_ldouble.
3514 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
3515 (sinhl): Define using libm_alias_ldouble.
3516 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
3517 (sqrtl): Define using libm_alias_ldouble.
3518 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
3519 (tgammal): Define using libm_alias_ldouble.
3520 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
3521 (exp10l): Do not use long_double_symbol here.
3522 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3523 [LIBM_SVID_COMPAT] (remainderl): Likewise.
3524 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
3525 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3526 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3527 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3528 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3529 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3530 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3531 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
3532 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3533 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3534 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3535 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3536 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3537 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3538 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3539 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3540 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3541 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3542 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3543 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3545 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
3547 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
3548 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
3550 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3552 * io/read.c (read): Add libc_hidden_weak.
3553 * sysdeps/mach/hurd/read.c (read): Likewise.
3554 * io/write.c (write): Likewise.
3555 * sysdeps/mach/hurd/write.c (write): Likewise.
3556 * io/pread64.c (__pread64): Likewise.
3557 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
3558 * posix/pread64.c (__pread64): Add libc_hidden_def.
3560 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3562 * benchtests/scripts/compare_strings.py: New option -g.
3563 (draw_graph): Print a message that a graph is being generated.
3564 (process_results): Generate graph only if -g is passed.
3565 (main): Process option -g.
3567 * benchtests/scripts/compare_strings.py (process_results):
3568 Better spacing for output.
3570 * benchtests/scripts/compare_strings.py: Use argparse.
3571 * benchtests/README: Document existence of compare_strings.py.
3573 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3575 * math/s_fma.c: Include <libm-alias-double.h>.
3576 (fma): Define using libm_alias_double.
3577 * math/s_nextafter.c: Include <libm-alias-double.h>.
3578 (nextafter): Define using libm_alias_double.
3579 * math/w_acos_compat.c: Include <libm-alias-double.h>.
3580 (acos): Define using libm_alias_double.
3581 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
3582 (aocsh): Define using libm_alias_double.
3583 * math/w_asin_compat.c: Include <libm-alias-double.h>.
3584 (asin): Define using libm_alias_double.
3585 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
3586 (atan2): Define using libm_alias_double.
3587 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
3588 (atanh): Define using libm_alias_double.
3589 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
3590 (cosh): Define using libm_alias_double.
3591 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
3592 (exp10): Define using libm_alias_double.
3593 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
3594 (exp2): Define using libm_alias_double.
3595 * math/w_exp_compat.c: Include <libm-alias-double.h>.
3596 (exp): Define using libm_alias_double.
3597 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
3598 (fmod): Define using libm_alias_double.
3599 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
3600 (hypot): Define using libm_alias_double.
3601 * math/w_j0_compat.c: Include <libm-alias-double.h>.
3602 (j0): Define using libm_alias_double.
3604 * math/w_j1_compat.c: Include <libm-alias-double.h>.
3605 (j1): Define using libm_alias_double.
3607 * math/w_jn_compat.c: Include <libm-alias-double.h>.
3608 (jn): Define using libm_alias_double.
3610 * math/w_log10_compat.c: Include <libm-alias-double.h>.
3611 (log10): Define using libm_alias_double.
3612 * math/w_log2_compat.c: Include <libm-alias-double.h>.
3613 (log2): Define using libm_alias_double.
3614 * math/w_log_compat.c: Include <libm-alias-double.h>.
3615 (log): Define using libm_alias_double.
3616 * math/w_pow_compat.c: Include <libm-alias-double.h>.
3617 (pow): Define using libm_alias_double.
3618 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
3619 (remainder): Define using libm_alias_double.
3620 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
3621 (sinh): Define using libm_alias_double.
3622 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
3623 (sqrt): Define using libm_alias_double.
3624 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
3625 (tgamma): Define using libm_alias_double.
3626 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
3627 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
3628 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
3629 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
3630 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
3631 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
3632 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
3633 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3634 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3635 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3636 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3637 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3638 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3639 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3640 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3641 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3642 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3643 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3644 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3645 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3646 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3647 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3648 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3649 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3650 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3652 * math/e_acoshl.c: Remove.
3653 * math/e_acosl.c: Likewise.
3654 * math/e_asinl.c: Likewise.
3655 * math/e_atan2l.c: Likewise.
3656 * math/e_atanhl.c: Likewise.
3657 * math/e_coshl.c: Likewise.
3658 * math/e_expl.c: Likewise.
3659 * math/e_fmodl.c: Likewise.
3660 * math/e_gammal_r.c: Likewise.
3661 * math/e_hypotl.c: Likewise.
3662 * math/e_j0l.c: Likewise.
3663 * math/e_j1l.c: Likewise.
3664 * math/e_jnl.c: Likewise.
3665 * math/e_lgammal_r.c: Likewise.
3666 * math/e_log10l.c: Likewise.
3667 * math/e_log2l.c: Likewise.
3668 * math/e_logl.c: Likewise.
3669 * math/e_powl.c: Likewise.
3670 * math/e_rem_pio2l.c: Likewise.
3671 * math/e_sinhl.c: Likewise.
3672 * math/e_sqrtf128.c: Likewise.
3673 * math/e_sqrtl.c: Likewise.
3674 * math/k_cosl.c: Likewise.
3675 * math/k_sinl.c: Likewise.
3676 * math/k_tanl.c: Likewise.
3677 * math/s_asinhl.c: Likewise.
3678 * math/s_atanl.c: Likewise.
3679 * math/s_cbrtl.c: Likewise.
3680 * math/s_erfl.c: Likewise.
3681 * math/s_expm1l.c: Likewise.
3682 * math/s_log1pl.c: Likewise.
3683 * math/s_tanhl.c: Likewise.
3685 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
3689 [$(subdir) = math] (sysdep_calls): New variable. Has the
3690 previous contents of sysdep_routines, but re-sorted..
3691 [$(subdir) = math] (sysdep_routines): Re-use the contents from
3693 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
3694 defined in sysdep_calls and replace by the respective m_* names.
3695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
3696 (compat_symbol): Undefine to avoid duplicated compat symbols in
3699 2017-09-15 Joseph Myers <joseph@codesourcery.com>
3701 * math/s_fmaf.c: Include <libm-alias-float.h>.
3702 (fmaf): Define using libm_alias_float.
3703 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
3704 (acosf): Define using libm_alias_float.
3705 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
3706 (acoshf): Define using libm_alias_float.
3707 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
3708 (asinf): Define using libm_alias_float.
3709 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
3710 (atan2f): Define using libm_alias_float.
3711 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
3712 (atanhf): Define using libm_alias_float.
3713 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
3714 (coshf): Define using libm_alias_float.
3715 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
3716 (exp10f): Define using libm_alias_float.
3717 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
3718 (fmodf): Define using libm_alias_float.
3719 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
3720 (hypotf): Define using libm_alias_float.
3721 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
3722 (j0f): Define using libm_alias_float.
3724 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
3725 (j1f): Define using libm_alias_float.
3727 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
3728 (jnf): Define using libm_alias_float.
3730 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
3731 (log10f): Define using libm_alias_float.
3732 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
3733 (log2f): Define using libm_alias_float.
3734 * math/w_logf_compat.c: Include <libm-alias-float.h>.
3735 (logf): Define using libm_alias_float.
3736 * math/w_powf_compat.c: Include <libm-alias-float.h>.
3737 (powf): Define using libm_alias_float.
3738 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
3739 (remainderf): Define using libm_alias_float.
3740 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
3741 (sinhf): Define using libm_alias_float.
3742 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
3743 (sqrtf): Define using libm_alias_float.
3744 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
3745 (tgammaf): Define using libm_alias_float.
3747 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3749 * include/math.h (roundeven): Change hidden_proto call to
3751 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
3753 [NO_LONG_DOUBLE] (__j0l): New strong alias.
3754 (y0): Rename to __y0 and define as weak alias.
3755 [NO_LONG_DOUBLE] (__y0l): New strong alias.
3756 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
3758 (y0f): Rename to __y0f and define as weak alias.
3759 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
3761 [NO_LONG_DOUBLE] (__j1l): New strong alias.
3762 (y1): Rename to __y1 and define as weak alias.
3763 [NO_LONG_DOUBLE] (__y1l): New strong alias.
3764 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
3766 (y1f): Rename to __y1f and define as weak alias.
3767 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
3769 [NO_LONG_DOUBLE] (__jnl): New strong alias.
3770 (yn): Rename to __yn and define as weak alias.
3771 [NO_LONG_DOUBLE] (__ynl): New strong alias.
3772 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
3774 (ynf): Rename to __ynf and define as weak alias.
3775 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
3776 (fromfp): Define as weak alias.
3777 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
3778 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
3779 (fromfpx): Define as weak alias.
3780 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
3781 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
3782 __getpayload and define as weak alias.
3783 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3784 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
3785 __roundeven and define as weak alias.
3786 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3787 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
3789 (setpayload): Define as weak alias.
3790 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
3791 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
3793 (setpayloadsig): Define as weak alias.
3794 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
3795 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
3796 __totalorder and define as weak alias.
3797 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3798 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
3799 to __totalordermag and define as weak alias.
3800 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3801 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
3802 (ufromfp): Define as weak alias.
3803 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
3804 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
3806 (ufromfpx): Define as weak alias.
3807 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
3808 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
3809 Rename to __getpayload and define as weak alias.
3810 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
3811 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
3812 Rename to __roundeven and define as weak alias.
3813 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
3814 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
3815 Rename to __totalorder and define as weak alias.
3816 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
3817 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
3818 (totalordermag): Rename to __totalordermag and define as weak
3820 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
3821 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
3823 (__roundevenl): Likewise.
3824 (__totalorderl): Likewise.
3825 (__totalordermagl): Likewise
3826 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
3828 (fromfpf128): Define as weak alias.
3829 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
3831 (fromfpxf128): Define as weak alias.
3832 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
3834 (setpayloadf128): Define as weak alias.
3835 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
3836 __setpayloadsigf128.
3837 (setpayloadsigf128): Define as weak alias.
3838 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
3840 (ufromfpf128): Define as weak alias.
3841 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
3843 (ufromfpxf128): Define as weak alias.
3844 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
3845 (fromfpf): Define as weak alias.
3846 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
3848 (fromfpxf): Define as weak alias.
3849 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
3850 __getpayloadf and define as weak alias.
3851 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
3852 __roundevenf and define as weak alias.
3853 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
3855 (setpayloadf): Define as weak alias.
3856 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
3858 (setpayloadsigf): Define as weak alias.
3859 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
3860 __totalorderf and define as weak alias.
3861 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
3862 Rename to __totalordermagf and define as weak alias.
3863 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
3865 (ufromfpf): Define as weak alias.
3866 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
3868 (ufromfpxf): Define as weak alias.
3869 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
3871 (fromfpl): Define as weak alias.
3872 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
3874 (fromfpxl): Define as weak alias.
3875 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
3876 to __getpayloadl and define as weak alias.
3877 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
3878 __roundevenl and define as weak alias.
3879 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
3881 (setpayloadl): Define as weak alias.
3882 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
3884 (setpayloadsigl): Define as weak alias.
3885 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
3886 to __totalorderl and define as weak alias.
3887 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
3888 Rename to __totalordermagl and define as weak alias.
3889 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
3891 (ufromfpl): Define as weak alias.
3892 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
3894 (ufromfpxl): Define as weak alias.
3895 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
3897 (fromfpl): Define as weak alias.
3898 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
3900 (fromfpxl): Define as weak alias.
3901 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
3902 Rename to __getpayloadl and define as weak alias.
3903 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
3904 to __roundevenl and define as weak alias. Call __roundeven
3905 instead of roundeven.
3906 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
3908 (setpayloadl): Define as weak alias.
3909 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
3911 (setpayloadsigl): Define as weak alias.
3912 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
3913 Rename to __totalorderl and define as weak alias.
3914 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
3915 Rename to __totalordermagl and define as weak alias.
3916 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
3918 (ufromfpl): Define as weak alias.
3919 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
3921 (ufromfpxl): Define as weak alias.
3922 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
3924 (fromfpl): Define as weak alias.
3925 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
3927 (fromfpxl): Define as weak alias.
3928 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
3929 __getpayloadl and define as weak alias.
3930 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
3931 __roundevenl and define as weak alias.
3932 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
3934 (setpayloadl): Define as weak alias.
3935 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
3937 (setpayloadsigl): Define as weak alias.
3938 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
3939 __totalorderl and define as weak alias.
3940 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
3941 Rename to __totalordermagl and define as weak alias.
3942 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
3944 (ufromfpl): Define as weak alias.
3945 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
3947 (ufromfpxl): Define as weak alias.
3949 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3951 * benchtests/bench-string.h (realloc_bufs): New function.
3952 (test_init): Call it.
3953 * benchtests/bench-memset-large.c (do_test): Likewise.
3954 * benchtests/bench-memset.c (do_test): Likewise.
3956 * benchtests/bench-memset-large.c: Print output in JSON
3958 * benchtests/bench-memset.c: Likewise.
3960 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3963 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
3964 * iconvdata/Makefile: Add IBM858.
3965 * iconvdata/gconv-modules: Likewise.
3966 * iconvdata/tst-tables.sh: Likewise.
3967 * iconvdata/ibm858.c: New file.
3968 * localedata/charmaps/IBM858: Likewise.
3970 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
3973 * locales/niu_NZ (LC_TIME): copy "niu_NU".
3974 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
3976 2017-09-14 Mike FABIAN <mfabian@redhat.com>
3979 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
3980 and add tel_int_fmt.
3982 2017-09-14 Joseph Myers <joseph@codesourcery.com>
3984 * sysdeps/generic/libm-alias-float128.h: New file.
3985 * sysdeps/generic/math-type-macros-float128.h: Include
3986 <libm-alias-float128.h>.
3987 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
3989 2017-09-13 Joseph Myers <joseph@codesourcery.com>
3991 * sysdeps/generic/libm-alias-ldouble.h: New file.
3992 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
3993 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
3994 * sysdeps/generic/math-type-macros-ldouble.h: Include
3995 <libm-alias-ldouble.h>.
3996 [!declare_mgen_alias] (declare_mgen_alias): Define to use
3999 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
4001 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
4002 * math/w_exp_compat.c: ... here.
4003 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
4004 * math/w_expf_compat.c: ... here.
4005 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
4006 * math/w_expl_compat.c: ... here.
4007 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
4008 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
4009 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
4010 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
4012 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4014 * math/w_scalbln_template.c (strong_alias): Do not undefine and
4016 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
4018 (ldexpl): Only define as compat symbol for libc, not libm.
4019 (scalbnl): Define as compat symbol for libc here.
4020 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
4021 define for [IS_IN (libc)].
4022 (__ldexpl_2): Remove alias.
4023 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
4024 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
4025 name in long_double_symbol call.
4026 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
4027 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4028 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4029 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
4030 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
4032 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
4033 Define as compat symbol.
4035 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4037 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
4038 * sysdeps/unix/sysv/linux/alpha/Makefile
4039 [$(subdir) = csu] (sysdep_routines): Remove rule.
4041 2017-09-13 Joseph Myers <joseph@codesourcery.com>
4043 * sysdeps/generic/libm-alias-double.h: New file.
4044 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
4045 * sysdeps/generic/math-type-macros-double.h: Include
4046 <libm-alias-double.h>.
4047 [declare_mgen_alias] (declare_mgen_alias): Define to use
4049 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
4050 (M_LIBM_NEED_COMPAT): Remove macro.
4051 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
4052 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
4053 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
4055 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4056 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4057 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4058 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4059 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4060 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4061 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4062 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4063 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4064 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4065 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4066 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4067 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4068 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4069 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4070 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4071 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4072 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4073 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4074 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4075 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4076 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4077 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4078 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4079 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4080 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4081 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
4082 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
4083 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
4085 (declare_mgen_alias): New macro.
4086 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
4087 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
4088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
4089 (M_LIBM_NEED_COMPAT): Remove macro.
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
4091 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
4093 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
4094 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
4096 2017-09-12 Joseph Myers <joseph@codesourcery.com>
4098 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
4099 (declare_mgen_alias_2): Remove.
4100 * sysdeps/generic/math-type-macros-double.h
4101 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
4103 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
4105 (ldexp): Define with declare_mgen_alias.
4108 2017-09-12 Steve Ellcey <sellcey@cavium.com>
4110 * grp/initgroups.c: Include config.h.
4111 (DEFAULT_CONFIG): New macro.
4112 (internal_getgrouplist): Use DEFAULT_CONFIG.
4113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4114 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
4115 (DEFAULT_DEFCONFIG): New macro.
4116 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
4117 * nss/grp-lookup.c: Include config.h
4118 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
4119 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
4120 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
4121 * manual/nss.texi: Update default values section.
4123 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
4126 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
4128 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
4129 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4130 Handle MathVec_Prefer_No_AVX512.
4131 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
4132 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
4135 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
4137 * posix/sched_primax.c (__sched_get_priority_max): Add
4139 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
4140 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4141 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4142 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
4143 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
4144 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
4145 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
4146 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
4149 2017-09-11 Joseph Myers <joseph@codesourcery.com>
4151 * sysdeps/generic/libm-alias-float.h: New file.
4152 * sysdeps/generic/math-type-macros-float.h: Include
4153 <libm-alias-float.h>.
4154 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
4156 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
4159 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
4160 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
4161 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
4162 (HWCAP_IMPORTANT): Likewise.
4163 (HWCAP_X86_64): New enum.
4164 (HWCAP_X86_AVX512_1): Updated.
4165 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
4166 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
4167 (modules-names): Add x86_64/tst-x86_64mod-1.
4168 (LDFLAGS-tst-x86_64mod-1.so): New.
4169 ($(objpfx)tst-x86_64-1): Likewise.
4170 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
4171 (tst-x86_64-1-clean): Likewise.
4172 * sysdeps/x86_64/tst-x86_64-1.c: New file.
4173 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
4175 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4177 * po/sv.po: Update translations.
4178 * po/fr.po: Likewise.
4180 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4182 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
4184 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
4186 * elf/rtld-Rules: Fix $(error) use.
4188 2017-09-09 Mike FABIAN <mfabian@redhat.com>
4191 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
4192 * locale/iso-639.def: Change “Bengali” to “Bangla”.
4193 * localedata/locales/bn_BD: “Bengali” was still used in some
4194 comments. Change it to “Bangla”.
4196 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
4198 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
4200 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4202 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
4203 thunderx2t99p1 to list of cpu names.
4204 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4205 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
4207 2017-09-08 Steve Ellcey <sellcey@cavium.com>
4209 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
4210 Use strcmp instead of tunable_is_name.
4212 2017-09-08 Joseph Myers <joseph@codesourcery.com>
4214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4215 (F_GET_RW_HINT): New macro.
4216 [__USE_GNU] (F_SET_RW_HINT): Likewise.
4217 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
4218 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
4219 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
4220 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
4221 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
4222 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
4223 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
4224 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
4226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4227 (F_ADD_SEALS): New macro.
4228 [__USE_GNU] (F_GET_SEALS): Likewise.
4229 [__USE_GNU] (F_SEAL_SEAL): Likewise.
4230 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
4231 [__USE_GNU] (F_SEAL_GROW): Likewise.
4232 [__USE_GNU] (F_SEAL_WRITE): Likewise.
4234 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4236 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
4237 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
4238 * posix/glob_internal.h (__glob_pattern_type):
4239 * posix/glob.c (glob):
4240 * posix/glob_pattern_p.c (__glob_pattern_p):
4243 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
4244 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4245 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
4246 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
4247 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
4249 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
4250 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
4251 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4252 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4253 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4254 * sysdeps/wordsize-64/glob.c: Likewise.
4255 * sysdeps/wordsize-64/glob64.c: Likewise.
4256 * sysdeps/wordsize-64/globfree.c: Likewise.
4257 * sysdeps/wordsize-64/globfree64.c: Likewise.
4258 * sysdeps/unix/sysv/linux/glob.c: New file.
4259 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
4260 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
4261 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
4262 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
4263 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
4264 adds !GLOB_NO_OLD_VERSION as an extra condition.
4265 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
4266 using relative path instead of absolute one.
4267 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
4268 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4269 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4270 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
4271 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
4272 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
4275 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
4276 (glob): Use the same scratch buffer for both getlogin_r and
4277 getpwnam_r. Don’t require preallocation of the login name. This
4278 simplifies storage allocation, and corrects the handling of
4282 * posix/glob.c (glob): Port recent patches to platforms
4284 (glob): Fix longstanding misuse of errno after getpwnam_r, which
4285 returns an error number rather than setting errno.
4287 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
4288 instead of GCC extension.
4289 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
4290 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
4291 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
4295 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
4296 * posix/bug-glob1.c: Remove file.
4297 * posix/tst-glob_symlinks.c: New file.
4298 * posix/glob.c (__lstat64): New macro.
4299 (is_dir): New function.
4300 (glob, glob_in_dir): Match symlinks even if they are dangling.
4301 (link_stat, link_exists_p): Remove. All uses removed.
4305 * posix/glob.c (struct readdir_result): Remove skip_entry member.
4306 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
4311 * posix/Makefile (routines): Add globfree, globfree64, and
4313 * posix/flexmember.h: New file.
4314 * posix/glob_internal.h: Likewise.
4315 * posix/glob_pattern_p.c: Likewise.
4316 * posix/globfree.c: Likewise.
4317 * posix/globfree64.c: Likewise.
4318 * sysdeps/gnu/globfree64.c: Likewise.
4319 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
4320 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
4321 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
4322 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
4323 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
4324 * sysdeps/wordsize-64/globfree.c: Likewise.
4325 * sysdeps/wordsize-64/globfree64.c: Likewise.
4326 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
4327 [NDEBUG): Remove comments.
4328 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
4329 (dirent_type): New type. Use uint_fast8_t not
4330 uint8_t, as C99 does not require uint8_t.
4331 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
4332 (struct readdir_result): Use dirent_type. Do not define skip_entry
4333 unless it is needed; this saves a byte on platforms lacking d_ino.
4334 (readdir_result_type, readdir_result_skip_entry):
4335 New functions, replacing ...
4336 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
4337 these functions, which were removed. This makes the callers
4338 easier to read. All callers changed.
4339 (D_INO_TO_RESULT): Now empty if there is no d_ino.
4340 (size_add_wrapv, glob_use_alloca): New static functions.
4341 (glob, glob_in_dir): Check for size_t overflow in several places,
4342 and fix some size_t checks that were not quite right.
4343 Remove old code using SHELL since Bash no longer
4345 (glob, prefix_array): Separate MS code better.
4346 (glob_in_dir): Remove old Amiga and VMS code.
4347 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
4349 (glob_in_dir): Do not rely on undefined behavior in accessing
4350 struct members beyond their bounds. Use a flexible array member
4352 (link_stat): Rename from link_exists2_p and return -1/0 instead of
4353 0/1. Caller changed.
4354 (glob): Fix memory leaks.
4355 * posix/glob64 (globfree64): Move to separate file.
4356 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
4357 (globfree64): Remove hidden alias.
4358 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
4360 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
4362 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
4364 Move compat code to separate file.
4365 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
4368 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
4370 * resolv/tst-resolv-qtypes.c (domain): Changed to
4371 "const char domain[] =".
4373 2017-09-07 Joseph Myers <joseph@codesourcery.com>
4375 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4378 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
4379 (TCP_MD5SIG_EXT): Likewise.
4380 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
4381 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
4382 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
4384 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
4386 2017-09-07 Mike FABIAN <mfabian@redhat.com>
4388 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
4390 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
4393 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
4395 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4397 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
4398 before assuming that the file is empty. Avoid testing buffer content
4401 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4404 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4406 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
4408 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
4410 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
4412 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
4414 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
4416 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
4419 2017-09-06 Florian Weimer <fweimer@redhat.com>
4421 * malloc/dynarray_emplace_enlarge.c
4422 (__libc_dynarray_emplace_enlarge): Add missing else.
4424 2017-09-06 Florian Weimer <fweimer@redhat.com>
4427 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
4428 case of failure to obtain the global conf object.
4430 2017-09-06 Florian Weimer <fweimer@redhat.com>
4433 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
4434 dynarray allocation failure.
4436 2017-09-06 Florian Weimer <fweimer@redhat.com>
4438 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
4439 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
4440 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
4442 (response): Call them. Add 'p', '6' flag processing.
4443 (test_reverse): New function.
4444 (test_get2_any): Call it.
4445 (test_no_inet6): Add 'p' test.
4446 (test_inet6): Likewise.
4448 2017-09-06 Florian Weimer <fweimer@redhat.com>
4450 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
4451 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
4453 (test_gai): Adjust query names. Add additional tests.
4454 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
4455 test_get2. Adjust query names. Add additional tests.
4456 (test_no_inet6): New function, extracted from threadfunc.
4457 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
4458 Add additional tests.
4460 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4463 * localedata/unicode-gen/utf8_gen.py: Set the width for
4464 characters with Prepended_Concatenation_Mark property to 1
4465 * localedata/charmaps/UTF-8: Updated using the improved script.
4467 2017-09-06 Mike FABIAN <mfabian@redhat.com>
4470 * localedata/unicode-gen/utf8_gen.py: Improve the script to
4471 use the range notation for all ranges of neighbouring characters
4472 with the same width.
4474 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4476 * sysdeps/generic/math-type-macros-double.h: Include
4477 <math-svid-compat.h>.
4478 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4479 * sysdeps/generic/math-type-macros-float.h: Include
4480 <math-svid-compat.h>.
4481 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4482 * sysdeps/generic/math-type-macros-ldouble.h: Include
4483 <math-svid-compat.h>.
4484 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
4485 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
4487 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
4488 * math/w_acosf_compat.c: Likewise.
4489 * math/w_acosh_compat.c: Likewise.
4490 * math/w_acoshf_compat.c: Likewise.
4491 * math/w_acoshl_compat.c: Likewise.
4492 * math/w_acosl_compat.c: Likewise.
4493 * math/w_asin_compat.c: Likewise.
4494 * math/w_asinf_compat.c: Likewise.
4495 * math/w_asinl_compat.c: Likewise.
4496 * math/w_atan2_compat.c: Likewise.
4497 * math/w_atan2f_compat.c: Likewise.
4498 * math/w_atan2l_compat.c: Likewise.
4499 * math/w_atanh_compat.c: Likewise.
4500 * math/w_atanhf_compat.c: Likewise.
4501 * math/w_atanhl_compat.c: Likewise.
4502 * math/w_cosh_compat.c: Likewise.
4503 * math/w_coshf_compat.c: Likewise.
4504 * math/w_coshl_compat.c: Likewise.
4505 * math/w_exp10_compat.c: Likewise.
4506 * math/w_exp10f_compat.c: Likewise.
4507 * math/w_exp10l_compat.c: Likewise.
4508 * math/w_exp2_compat.c: Likewise.
4509 * math/w_exp2f_compat.c: Likewise.
4510 * math/w_exp2l_compat.c: Likewise.
4511 * math/w_fmod_compat.c: Likewise.
4512 * math/w_fmodf_compat.c: Likewise.
4513 * math/w_fmodl_compat.c: Likewise.
4514 * math/w_hypot_compat.c: Likewise.
4515 * math/w_hypotf_compat.c: Likewise.
4516 * math/w_hypotl_compat.c: Likewise.
4517 * math/w_j0_compat.c: Likewise.
4518 * math/w_j0f_compat.c: Likewise.
4519 * math/w_j0l_compat.c: Likewise.
4520 * math/w_j1_compat.c: Likewise.
4521 * math/w_j1f_compat.c: Likewise.
4522 * math/w_j1l_compat.c: Likewise.
4523 * math/w_jn_compat.c: Likewise.
4524 * math/w_jnf_compat.c: Likewise.
4525 * math/w_jnl_compat.c: Likewise.
4526 * math/w_lgamma_r_compat.c: Likewise.
4527 * math/w_lgammaf_r_compat.c: Likewise.
4528 * math/w_lgammal_r_compat.c: Likewise.
4529 * math/w_log10_compat.c: Likewise.
4530 * math/w_log10f_compat.c: Likewise.
4531 * math/w_log10l_compat.c: Likewise.
4532 * math/w_log2_compat.c: Likewise.
4533 * math/w_log2f_compat.c: Likewise.
4534 * math/w_log2l_compat.c: Likewise.
4535 * math/w_log_compat.c: Likewise.
4536 * math/w_logf_compat.c: Likewise.
4537 * math/w_logl_compat.c: Likewise.
4538 * math/w_pow_compat.c: Likewise.
4539 * math/w_powf_compat.c: Likewise.
4540 * math/w_powl_compat.c: Likewise.
4541 * math/w_remainder_compat.c: Likewise.
4542 * math/w_remainderf_compat.c: Likewise.
4543 * math/w_remainderl_compat.c: Likewise.
4544 * math/w_sinh_compat.c: Likewise.
4545 * math/w_sinhf_compat.c: Likewise.
4546 * math/w_sinhl_compat.c: Likewise.
4547 * math/w_sqrt_compat.c: Likewise.
4548 * math/w_sqrtf_compat.c: Likewise.
4549 * math/w_sqrtl_compat.c: Likewise.
4550 * math/w_tgamma_compat.c: Likewise.
4551 * math/w_tgammaf_compat.c: Likewise.
4552 * math/w_tgammal_compat.c: Likewise.
4553 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
4555 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
4556 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
4558 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
4559 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
4561 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
4562 * sysdeps/i386/fpu/w_sqrt.c: New file.
4563 * sysdeps/ia64/fpu/w_acos.c: Likewise.
4564 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4565 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4566 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4567 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4568 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4569 * sysdeps/ia64/fpu/w_asin.c: Likewise.
4570 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4571 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4572 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4573 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4574 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4575 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4576 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4577 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4578 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4579 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4580 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4581 * sysdeps/ia64/fpu/w_exp.c: Likewise.
4582 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4583 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4584 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4585 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4586 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4587 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4588 * sysdeps/ia64/fpu/w_expf.c: Likewise.
4589 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4590 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4591 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4592 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4593 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4594 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4595 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4596 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4597 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4598 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4599 * sysdeps/ia64/fpu/w_log.c: Likewise.
4600 * sysdeps/ia64/fpu/w_log10.c: Likewise.
4601 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4602 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4603 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4604 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4605 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4606 * sysdeps/ia64/fpu/w_logf.c: Likewise.
4607 * sysdeps/ia64/fpu/w_logl.c: Likewise.
4608 * sysdeps/ia64/fpu/w_pow.c: Likewise.
4609 * sysdeps/ia64/fpu/w_powf.c: Likewise.
4610 * sysdeps/ia64/fpu/w_powl.c: Likewise.
4611 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4612 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4613 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4614 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4615 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4616 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4617 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4618 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4619 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4620 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
4621 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
4622 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
4625 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4626 * sysdeps/ieee754/k_standard.c: Likewise.
4627 * sysdeps/ieee754/k_standardf.c: Likewise.
4628 * sysdeps/ieee754/k_standardl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4631 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4632 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
4633 long_double_symbol call on [LIBM_SVID_COMPAT].
4634 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4635 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4636 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4637 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4638 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4639 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4640 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4641 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4642 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4643 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4644 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4645 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4646 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4647 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4648 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4649 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4650 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4651 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4652 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4653 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4654 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
4655 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
4657 2017-09-05 Steve Ellcey <sellcey@cavium.com>
4659 * include/shlib-compat.h (TEST_COMPAT): New Macro.
4660 * malloc/tst-mallocstate.c: Convert from test-skeleton
4661 to test-driver. Ifdef code using TEST_COMPAT macro.
4662 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
4663 * math/test-matherr.c: Likewise.
4665 2017-09-05 Joseph Myers <joseph@codesourcery.com>
4668 * debug/pcprofiledump.c (main): Use byte-swapped mask when
4669 comparing word with byte-swapped constant.
4671 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
4674 * locale/iso-639.def: add Miskito.
4675 * localedata/SUPPORTED: Add miq_NI/UTF-8.
4676 * localedata/locales/miq_NI: New file.
4678 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
4681 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
4682 (__mkdir): Likewise.
4683 * io/chmod.c (__chmod): Add libc_hidden_def.
4684 * io/mkdir.c (__mkdir): Likewise.
4685 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4686 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4687 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
4688 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
4690 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4692 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4696 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
4697 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4699 2017-09-04 Florian Weimer <fweimer@redhat.com>
4701 * math/math.h: Issue warning if log is defined.
4703 2017-09-04 Joseph Myers <joseph@codesourcery.com>
4705 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4706 kernel version to 4.13.
4708 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4710 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
4711 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
4713 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
4714 just <bits/types.h>.
4715 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
4716 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
4717 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
4718 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
4719 * misc/preadv2.c: Include <errno.h>.
4720 * misc/preadv64v2.c: Include <errno.h>.
4721 * misc/pwritev2.c: Include <errno.h>.
4722 * misc/pwritev64v2.c: Include <errno.h>.
4723 * sysdeps/posix/preadv2.c: Include <errno.h>.
4724 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
4725 Fix <unistd.h> inclusion.
4726 * sysdeps/posix/pwritev2.c: Include <errno.h>.
4727 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
4728 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
4729 __strtoul_internal): New functions.
4730 * sysdeps/posix/pause.c: Include <sigsetops.h>.
4731 * sysdeps/posix/system.c: Include <sigsetops.h>.
4732 * sysdeps/mach/hurd/i386/Makefile
4733 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4734 [$(subdir) = csu] (sysdep-only-routines): Likewise.
4735 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4736 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
4737 __feraiseexcept_renamed to feraiseexcept instead of
4739 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
4740 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
4741 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
4742 RWF_NOWAIT): Define to 0 if undefined already.
4743 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
4745 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
4746 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
4748 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4750 * manual/math.texi (pow10): Do not document.
4753 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
4754 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
4755 * math/libm-test-exp10.inc (pow10_test): Remove.
4756 (do_test): Do not call pow10.
4757 * math/w_exp10_compat.c (pow10): Make into compat symbol.
4758 [NO_LONG_DOUBLE] (pow10l): Likewise.
4759 * math/w_exp10f_compat.c (pow10f): Likewise.
4760 * math/w_exp10l_compat.c (pow10l): Likewise.
4761 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
4762 (pow10): Make into compat symbol.
4763 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
4764 (pow10f): Make into compat symbol.
4765 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
4766 (pow10l): Make into compat symbol.
4767 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
4769 (CFLAGS-nldbl-pow10.c): Remove variable..
4770 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
4771 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
4772 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
4773 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
4774 Undefine and redefine.
4775 (pow10l): Make into compat symbol.
4776 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
4777 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4778 * sysdeps/arm/libm-test-ulps: Likewise.
4779 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
4780 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4781 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4782 * sysdeps/microblaze/libm-test-ulps: Likewise.
4783 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4784 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4785 * sysdeps/nios2/libm-test-ulps: Likewise.
4786 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4787 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4788 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4789 * sysdeps/sh/libm-test-ulps: Likewise.
4790 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4791 * sysdeps/tile/libm-test-ulps: Likewise.
4792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4794 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4796 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
4798 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4800 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
4801 "../ChangeLog.old/ChangeLog.8".
4802 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
4803 "../ChangeLog.old/ChangeLog.14".
4805 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4807 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
4810 2017-09-01 Joseph Myers <joseph@codesourcery.com>
4812 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
4814 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
4816 * csu/version.c (banner): Remove "by Roland McGrath et al.".
4817 * nptl/Banner: Remove "by Ulrich Drepper et al.".
4819 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4821 * stdlib/tst-atexit-common.c (do_test): Test support for at least
4824 2017-09-01 Zack Weinberg <zackw@panix.com>
4826 * math/math.h (HUGE_VAL): Improve commentary.
4828 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4829 Andreas Schwab <schwab@suse.de>
4832 * include/stdio.h (__gen_tempfd): New function.
4833 * stdio-common/Makefile (routines): Add gentempfd.
4834 * stdio-common/gentempfd.c: New file.
4835 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
4836 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
4839 2017-09-01 Florian Weimer <fweimer@redhat.com>
4843 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
4844 result to determine success or failure, not the errno value.
4845 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
4846 (tst-nss-files-hosts-erange): Link with -ldl.
4847 * nss/tst-nss-files-hosts-erange.c: New file.
4848 * nss/tst-resolv-basic.c (response): Handle nodata.example.
4849 (do_test): Add NO_DATA tests.
4850 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
4853 2017-09-01 Florian Weimer <fweimer@redhat.com>
4856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
4857 coming from gethostbyname2_r.
4859 2017-09-01 Florian Weimer <fweimer@redhat.com>
4861 * support/namespace.h (struct support_chroot_configuration): Add
4863 (struct support_chroot): Add path_hosts, path_host_conf.
4864 * support/support_chroot.c (write_file): New function.
4865 (support_chroot_create): Call it to process /etc/resolv.conf,
4866 /etc/hosts, /etc/host.conf.
4867 (support_chroot_free): Update.
4869 2017-09-01 Florian Weimer <fweimer@redhat.com>
4871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
4872 status indicates it is set.
4874 2017-09-01 Florian Weimer <fweimer@redhat.com>
4876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
4877 function lookup failures more reliable.
4879 2017-09-01 Florian Weimer <fweimer@redhat.com>
4881 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
4882 (getcanonname): Likewise.
4883 (gaih_inet): Likewise.
4885 2017-09-01 Florian Weimer <fweimer@redhat.com>
4887 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
4888 (getcanonname): Likewise.
4889 (gaih_inet): Likewise.
4891 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4892 Richard Henderson <rth@twiddle.net>
4894 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
4895 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
4896 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
4897 (IREG_SIZE, OREG_SIZE): New macros.
4898 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
4899 (IREG_SIZE, OREG_SIZE): New macros.
4900 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
4901 (IREG_SIZE): New macro.
4902 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
4903 (IREG_SIZE): New macro.
4904 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
4906 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
4907 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4908 (__CONCATX): Handle exceptions correctly on large values that may
4910 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
4911 Initialize if not already set.
4912 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
4914 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4916 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
4917 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
4919 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
4921 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
4923 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
4925 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
4927 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
4929 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
4931 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
4932 (NO_CANCELLATION): Likewise.
4933 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
4935 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
4937 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
4939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
4940 (NO_CANCELLATION): Likewise.
4941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
4942 (NO_CANCELLATION): Likewise.
4943 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
4945 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
4947 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
4949 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
4951 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
4953 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
4954 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
4956 2017-08-31 Steve Ellcey <sellcey@cavium.com>
4958 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
4961 2017-08-31 Florian Weimer <fweimer@redhat.com>
4963 * include/libc-symbols.h (internal_function): Remove.
4965 2017-08-31 Florian Weimer <fweimer@redhat.com>
4967 * stdlib/fmtmsg.c (internal_addseverity): Remove
4970 2017-08-31 Florian Weimer <fweimer@redhat.com>
4972 * stdio-common/printf_fp.c (group_number): Remove
4974 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4976 2017-08-31 Florian Weimer <fweimer@redhat.com>
4978 * posix/fnmatch.c (internal_function): Remove definition.
4979 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
4980 * posix/regcomp.c (peek_token, init_word_char)
4981 (duplicate_node_closure, fetch_token, peek_token)
4982 (peek_token_bracket, build_range_exp, build_collating_symbol):
4984 * posix/regex_internal.c (re_string_construct_common)
4985 (create_ci_newstate, create_cd_newstate, re_string_allocate)
4986 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
4987 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
4988 (re_string_translate_buffer, re_string_reconstruct)
4989 (re_string_peek_byte_case, re_string_fetch_byte_case)
4990 (re_string_destruct, re_string_context_at, re_node_set_alloc)
4991 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
4992 (re_node_set_add_intersect, re_node_set_init_union)
4993 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
4994 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
4995 (re_dfa_add_node, calc_state_hash, re_acquire_state)
4996 (re_acquire_state_context): Likewise.
4997 * posix/regex_internal.h (internal_function): Remove definition.
4998 (re_string_realloc_buffers, build_wcs_buffer)
4999 (build_wcs_upper_buffer, build_upper_buffer)
5000 (re_string_translate_buffer, re_string_context_at)
5001 (re_string_char_size_at, re_string_wchar_at)
5002 (re_string_elem_size_at): Likewise.
5003 * posix/regexec.c (match_ctx_init, match_ctx_clean)
5004 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
5005 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
5006 (re_search_internal, re_search_2_stub, re_search_stub)
5007 (re_copy_regs, prune_impossible_nodes, check_matching)
5008 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
5009 (free_fail_stack_return, sift_states_iter_mb)
5010 (sift_states_backward, build_sifted_states)
5011 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
5012 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
5013 (check_subexp_limits, sift_states_bkref, merge_state_array)
5014 (find_recover_state, transit_state, merge_state_with_log)
5015 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
5016 (transit_state_mb, transit_state_bkref, get_subexp)
5017 (get_subexp_sub, find_subexp_node, check_arrival)
5018 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
5019 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
5020 (check_node_accept_bytes, find_collation_sequence_value)
5021 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
5022 (acquire_init_state_context, check_halt_node_context)
5023 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
5024 (sub_epsilon_src_nodes): Likewise.
5025 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
5026 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
5027 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
5028 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
5029 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
5030 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
5031 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
5032 * sysdeps/posix/ttyname.c (getttyname): Likewise.
5033 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5034 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
5036 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
5038 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
5039 (PWRITEV): Likewise.
5040 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
5041 (PWRITEV): Likewise.
5042 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
5043 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5045 2017-08-31 Florian Weimer <fweimer@redhat.com>
5047 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
5048 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
5049 Remove internal_function.
5050 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
5051 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
5052 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
5053 (__deallocate_stack, __libc_pthread_init)
5054 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
5055 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
5056 (__libc_disable_asynccancel, __librt_disable_asynccancel):
5058 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
5059 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
5060 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
5062 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
5063 (__pthread_mutex_unlock_usercnt): Likewise.
5065 2017-08-31 Florian Weimer <fweimer@redhat.com>
5067 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
5068 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
5069 (fts_safe_changedir): Remove internal_function.
5070 * io/ftw.c (internal_function): Remove definition.
5071 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
5073 2017-08-31 Florian Weimer <fweimer@redhat.com>
5075 * inet/deadline.c (__deadline_current_time)
5076 (__deadline_from_timeval, __deadline_to_ms): Remove
5078 * inet/getnameinfo.c (nrl_domainname): Likewise.
5079 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
5080 * inet/inet6_option.c (add_pad): Likewise.
5081 * inet/net-internal.h (__deadline_current_time)
5082 (__deadline_from_timeval, __deadline_to_ms): Likewise.
5083 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
5084 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
5085 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
5087 2017-08-31 Joseph Myers <joseph@codesourcery.com>
5089 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
5090 include <bits/nan.h>.
5091 * math/Makefile (headers): Remove bits/nan.h.
5092 * bits/nan.h: Remove.
5093 * sysdeps/ieee754/bits/nan.h: Likewise.
5094 * sysdeps/mips/bits/nan.h: Likewise.
5096 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
5097 not include <bits/inf.h>.
5098 * math/Makefile (headers): Remove bits/inf.h.
5099 * bits/inf.h: Remove.
5100 * sysdeps/ieee754/bits/inf.h: Likewise.
5102 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
5103 bits/huge_vall.h or bits/huge_val_flt128.h.
5104 (HUGE_VAL): Define directly here.
5105 [__USE_ISOC99] (HUGE_VALF): Likewise.
5106 [__USE_ISOC99] (HUGE_VALL): Likewise.
5107 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5108 (HUGE_VAL_F128): Likewise.
5109 * math/Makefile (headers): Remove bits/huge_val.h,
5110 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
5111 * bits/huge_val.h: Remove.
5112 * bits/huge_val_flt128.h: Likewise.
5113 * bits/huge_valf.h: Likewise.
5114 * bits/huge_vall.h: Likewise.
5115 * sysdeps/ia64/bits/huge_vall.h: Likewise.
5116 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5117 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
5118 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
5119 * sysdeps/sh/bits/huge_val.h: Likewise.
5120 * sysdeps/sparc/bits/huge_vall.h: Likewise.
5121 * sysdeps/x86/bits/huge_vall.h: Likewise.
5123 2017-08-31 Florian Weimer <fweimer@redhat.com>
5125 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
5127 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
5129 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
5130 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5131 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
5132 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
5133 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5134 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5135 * elf/dl-libc.c (dlerror_run): Likewise.
5136 * elf/dl-load.c (add_name_to_object, decompose_rpath)
5137 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
5138 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
5139 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
5141 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
5142 (_dl_higher_prime_number, _dl_strtoul): Likewise.
5143 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
5144 * elf/dl-profile.c (_dl_start_profile): Likewise.
5145 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
5146 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
5148 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
5149 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
5150 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
5151 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
5152 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
5153 (_dl_allocate_tls_storage): Likewise.
5154 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
5155 (_dl_check_all_versions): Likewise.
5156 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5157 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
5158 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
5159 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5160 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
5161 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
5162 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
5163 internal_function from __dl_start.
5164 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
5165 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5166 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
5167 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
5168 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
5169 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
5170 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
5171 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
5172 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
5173 (_dl_next_ld_env_entry, _dl_important_hwcaps)
5174 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
5175 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
5176 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
5177 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
5178 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
5180 (struct rtld_global_ro): Remove internal_function from the
5181 _dl_lookup_symbol_x member.
5182 (_dl_symbol_value): Remove. No longer defined anywhere.
5183 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
5185 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5186 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5187 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
5188 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
5189 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
5190 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
5191 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
5192 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
5193 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
5194 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5195 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
5196 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5198 2017-08-31 Florian Weimer <fweimer@redhat.com>
5200 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
5201 Remove internal_function.
5202 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5204 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
5207 2017-08-31 Florian Weimer <fweimer@redhat.com>
5209 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
5210 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
5211 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
5213 2017-08-31 Florian Weimer <fweimer@redhat.com>
5215 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
5216 (__gai_enqueue_request): Remove internal_function.
5217 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
5218 (__gai_remove_request, __gai_notify, __gai_notify_only)
5219 (__gai_sigqueue): Likewise.
5220 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
5221 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5222 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
5223 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5226 2017-08-31 Florian Weimer <fweimer@redhat.com>
5228 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
5229 * include/dirent.h (__opendirat, __getdents, __getdents64)
5230 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
5231 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
5232 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
5233 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
5235 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
5237 2017-08-31 Florian Weimer <fweimer@redhat.com>
5239 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
5241 (GETCWD_RETURN_TYPE): Likewise.
5243 2017-08-31 Florian Weimer <fweimer@redhat.com>
5245 * include/time.h (__tz_compute, __strptime_internal): Remove
5247 * time/strptime_l.c (__strptime_internal): Likewise.
5248 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
5250 2017-08-31 Florian Weimer <fweimer@redhat.com>
5252 * iconv/gconv.c (__gconv): Remove internal_function.
5253 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
5254 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
5255 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
5256 (__gconv_release_cache): Likewise.
5257 * iconv/gconv_close.c (__gconv_close): Likewise.
5258 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
5259 (read_conf_file, __gconv_get_path): Likewise.
5260 * iconv/gconv_db.c (derivation_lookup, add_derivation)
5261 (__gconv_release_step, gen_steps, increment_counter)
5262 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
5263 (__gconv_close_transform, free_modules_db): Likewise.
5264 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
5266 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
5267 (__gconv_find_transform, __gconv_lookup_cache)
5268 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
5269 (__gconv_close_transform, __gconv_release_cache)
5270 (__gconv_loaded_object, __gconv_release_shlib)
5271 (__gconv_compare_alias): Likewise.
5272 * iconv/gconv_open.c (__gconv_open): Likewise.
5273 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
5274 * iconv/iconvconfig.c (add_module): Likewise.
5275 * intl/dcigettext.c (plural_lookup, guess_category_value)
5276 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
5277 * intl/eval-plural.h (plural_eval): Likewise.
5278 * intl/finddomain.c (_nl_find_domain): Likewise.
5279 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
5280 (_nl_load_domain, _nl_find_msg): Likewise.
5281 (internal_function): Remove definition.
5282 * intl/loadinfo.h (internal_function): Likewise.
5283 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
5285 * intl/localealias.c (internal_function): Remove definition.
5286 (read_alias_file): Remove internal_function.
5287 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
5288 * intl/plural-exp.h (internal_function): Remove definition.
5289 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
5291 * intl/plural.c: Regenerate.
5292 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
5293 * locale/coll-lookup.c (__collidx_table_lookup)
5294 (__collseq_table_lookup): Likewise.
5295 * locale/coll-lookup.h (__collidx_table_lookup)
5296 (__collseq_table_lookup): Likewise.
5297 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
5298 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5299 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
5300 (_nl_unload_locale): Likewise.
5301 * locale/localeinfo.h (struct __locale_data): Remove
5302 internal_function from cleanup member.
5303 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
5304 (_nl_remove_locale, _nl_load_locale_from_archive)
5305 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
5306 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
5307 (_nl_cleanup_time): Remove internal_function.
5308 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
5309 (_nl_parse_alt_digit): Likewise.
5310 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
5311 (_nl_select_era_entry): Likewise.
5312 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
5313 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5314 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5315 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
5316 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
5318 2017-08-31 Florian Weimer <fweimer@redhat.com>
5320 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
5321 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
5322 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
5323 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
5325 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
5326 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
5327 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
5328 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
5330 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
5332 2017-08-31 Florian Weimer <fweimer@redhat.com>
5334 * misc/getttyent.c (skip, value): Remove internal_function.
5335 * misc/syslog.c (openlog_internal): Likewise.
5336 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
5338 2017-08-31 Florian Weimer <fweimer@redhat.com>
5340 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
5341 (__nss_rewrite_field): Remove internal_function.
5342 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5343 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5344 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5345 * nss/nsswitch.c (nss_parse_file, nss_getline)
5346 (nss_parse_service_list, nss_new_service): Likewise.
5347 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
5348 * nss/valid_field.c (__nss_valid_field): Likewise.
5349 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5351 2017-08-31 Florian Weimer <fweimer@redhat.com>
5353 * malloc/arena.c (__malloc_fork_lock_parent)
5354 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
5355 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
5356 internal_function from defintions.
5357 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
5358 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
5359 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
5360 internal_function from declarations.
5361 * malloc/malloc.c (internal_function): Do not define.
5362 (mem2mem_check): Remove internal_function from declaration.
5363 (munmap_chunk, mremap_chunk): Remove internal_function.
5364 * malloc/mtrace.c (tr_where): Likewise.
5366 2017-08-31 Florian Weimer <fweimer@redhat.com>
5368 * include/rpc/pmap_clnt.h (__get_socket): Remove
5370 * sunrpc/auth_des.c (synchronize): Likewise.
5371 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
5372 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
5373 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
5374 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
5375 (key_call): Likewise.
5376 * sunrpc/pm_getport.c (__get_socket): Likewise.
5377 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
5378 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
5379 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
5380 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
5381 (invalidate): Likewise.
5382 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
5383 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
5384 (set_input_fragment, get_input_bytes): Likewise.
5386 2017-08-31 Florian Weimer <fweimer@redhat.com>
5388 * malloc/malloc.c (_int_free): Remove locked variable and related
5391 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
5394 * Makerules (build-module-helper-objlist): Filter out
5395 $(elf-objpfx)sofini.os.
5396 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
5399 2017-08-31 Florian Weimer <fweimer@redhat.com>
5401 * libio/fcloseall.c: Assume weak_alias is defined.
5402 * libio/feof.c: Likewise.
5403 * libio/fileno.c: Likewise.
5404 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
5405 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5407 (_IO_file_open): Call __open directly.
5408 (_IO_new_file_sync): Assume ESPIPE is defined.
5409 (_IO_file_seekoff_maybe_mmap): Call __read directly.
5410 (_IO_new_file_write): Call __write directly.
5411 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
5412 * libio/ftello64.c (__ftello64): Assume EIO is defined.
5413 * libio/genops.c: Assume _LIBC is defined.
5414 (save_for_backup): Remove internal_function.
5415 * libio/getc.c: Assume weak_alias is defined.
5416 * libio/getwc.c: Likewise.
5417 * libio/iofclose.c: Assume _LIBC is defined.
5418 * libio/iofdopen.c: Likewise.
5419 (_IO_fcntl): Remove macro definition.
5420 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
5421 Call __fcntl directly.
5422 * libio/iofflush.c: Assume weak_alias is defined.
5423 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
5425 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
5426 * libio/iofgets.c: Likewise.
5427 * libio/iofopen.c: Assume _LIBC is defined.
5428 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
5429 * libio/iofputs.c: Assume weak_alias is defined.
5430 * libio/iofread.c: Likewise.
5431 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
5432 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5433 * libio/ioftell.c: Assume weak_alias is defined.
5434 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
5435 * libio/iofwide.c: Assume _LIBC is defined.
5436 (_IO_fwide): Drop SHARED conditional because it is implied by
5438 * libio/iofwrite.c: Assume weak_alias is defined.
5439 * libio/iogetdelim.c: Likewise.
5440 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
5441 * libio/iogetwline.c (wmemcpy): Remove macro definition.
5442 (_IO_getwline): Call __wmemcpy directly.
5443 * libio/iopopen.c: Assume _LIBC is defined.
5444 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5445 (_IO_close): Remove macro definitions.
5446 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
5448 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
5450 * libio/ioputs.c: Assume weak_alias is defined.
5451 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
5452 * libio/iosetbuffer.c: Assume weak_alias is defined.
5453 * libio/iosetvbuf.c: Likewise.
5454 * libio/ioungetc.c: Likewise.
5455 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
5456 libc_hidden_def, libc_hidden_weak, NULL are defined.
5457 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
5458 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
5460 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
5462 (_IO_old_file_init_internal): Drop SHARED conditional because it
5463 is implied by SHLIB_COMPAT.
5464 (_IO_old_file_fopen): Call __open directly.
5465 (_IO_old_file_sync): Assume ESPIPE is defined.
5466 (_IO_old_file_write): Call __write directly.
5467 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
5468 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
5469 Call __fcntl directly.
5470 * libio/oldiofgetpos.c: Assume weak_alias is defined.
5471 (_IO_old_fgetpos): Assume EIO is defined.
5472 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
5473 (_IO_old_fgetpos64): Assume EIO is defined.
5474 * libio/oldiofsetpos.c: Assume weak_alias is defined.
5475 (_IO_old_fsetpos): Assume EIO is defined.
5476 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
5477 (_IO_old_fsetpos64): Assume EIO is defined.
5478 * libio/oldiopopen.c: Assume _LIBC is defined.
5479 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
5480 (_IO_close): Remove macro definitions.
5481 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
5483 (_IO_old_proc_close): Call __close, __waitpid directly.
5484 * libio/put.c: Assume weak_alias is defined.
5485 * libio/stdfiles.c: Assume _LIBC is defined.
5486 * libio/stdio.c: Likewise.
5487 * libio/wfileops.c: Likewise.
5488 (_IO_wfile_sync): Assume ESPIPE is defined.
5489 * libio/wgenops.c: Assume _LIBC is defined.
5490 (save_for_wbackup): Remove internal_function.
5492 2017-08-31 Florian Weimer <fweimer@redhat.com>
5494 * malloc/malloc.c (top_check): Change return type to void. Remove
5496 * malloc/hooks.c (top_check): Likewise.
5497 (malloc_check, realloc_check, memalign_check): Adjust.
5499 2017-08-30 Joseph Myers <joseph@codesourcery.com>
5502 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5503 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
5504 sigcontext and namespace requirements.
5505 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
5506 * sysdeps/m68k/sys/ucontext.h: Likewise.
5507 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
5508 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
5509 <bits/sigcontext.h>.
5510 (__ctx): Define earlier.
5511 (mcontext_t): Define structure contents rather than using struct
5513 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
5514 __glibc_reserved1 instead of __reserved.
5515 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
5516 <bits/sigcontext.h>.
5517 (__ctx): Define earlier.
5518 (mcontext_t): Define structure contents rather than using struct
5520 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
5521 mcontext_t instead of struct sigcontext.
5522 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
5523 <bits/sigcontext.h>.
5524 (__ctx): Define earlier.
5525 (mcontext_t): Define structure contents rather than using struct
5527 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
5528 <bits/sigcontext.h>.
5529 (__ctx): Define earlier.
5530 (mcontext_t): Define structure contents rather than using struct
5532 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
5533 mcontext_t instead of struct sigcontext.
5534 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
5535 mcontext_t instead of struct sigcontext.
5536 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5537 <bits/sigcontext.h>.
5539 (struct __ia64_fpreg_mcontext): New type.
5540 (mcontext_t): Define structure contents rather than using struct
5542 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
5543 (uc_sigmask): Define using __ctx.
5544 (uc_stack): Likewise.
5545 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
5546 <bits/sigcontext.h>.
5547 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5548 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
5549 <bits/sigcontext.h>.
5550 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
5551 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
5552 <bits/sigcontext.h>.
5553 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
5554 <bits/sigcontext.h>.
5555 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
5556 <bits/sigcontext.h>.
5557 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
5558 <bits/sigcontext.h>.
5559 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
5560 <bits/sigcontext.h>.
5561 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
5562 <bits/sigcontext.h>.
5563 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
5564 <bits/sigcontext.h>.
5565 (__ctx): Define earlier.
5566 (mcontext_t): Define structure contents rather than using struct
5568 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
5569 <bits/sigcontext.h>. Include <bits/types.h>.
5570 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
5571 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
5572 (test-xfail-XPG42/ucontext.h/conform): Likewise.
5573 (test-xfail-UNIX98/signal.h/conform): Likewise.
5574 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5575 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5576 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5577 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5578 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5579 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5580 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5581 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5582 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5584 2017-08-30 Florian Weimer <fweimer@redhat.com>
5586 * malloc/dynarray_emplace_enlarge.c
5587 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
5588 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5589 * malloc/tst-dynarray.c (test_long_overflow): New function.
5592 2017-08-30 Florian Weimer <fweimer@redhat.com>
5594 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
5595 (set_arena_corrupt): Remove definitions.
5596 (mtrim): Do not check for corrupt arena.
5597 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
5600 2017-08-30 Florian Weimer <fweimer@redhat.com>
5603 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
5605 (ptmalloc_init): Do not set or use check_action.
5606 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
5607 call to malloc_printerr. Remove return statement.
5608 (free_check): Likewise. Remove arena unlock.
5609 (top_check): Update comment. Adjust call to malloc_printerr.
5610 Remove heap repair code.
5611 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
5612 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
5613 (sysmalloc): Adjust call to malloc_printerr.
5614 (munmap_chunk, __libc_realloc): Likewise. Remove return
5616 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
5617 Remove errout label and corresponding gotos.
5618 (_int_free): Likewise. Remove arena unlock.
5619 (do_set_mallopt_check): Do not set check_action.
5620 (malloc_printerr): Adjust parameter list. Do not mark arena as
5622 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
5624 * manual/probes.texi (Memory Allocation Probes): Remove
5625 memory_mallopt_check_action.
5627 2017-08-30 Steve Ellcey <sellcey@cavium.com>
5629 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
5630 Use pointer to uint64_t instead of long int for sp.
5632 2017-08-30 Florian Weimer <fweimer@redhat.com>
5635 * malloc/malloc.c (malloc_printerr): Always terminate the process,
5636 without printing a backtrace. Do not leak any information in the
5638 * manual/memory.texi (Heap Consistency Checking): Update.
5639 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
5641 2017-08-30 Florian Weimer <fweimer@redhat.com>
5643 Do not scale NPTL tests with available number of CPUs.
5644 * nptl/tst-cond16.c (count): Set to constant value of 8.
5645 * nptl/tst-cond18.c (count): Likewise.
5647 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5650 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
5651 Define to take a second argument that is a macro that
5652 concatentates a suffix, not the suffix itself.
5653 (__CONCAT_d): New macro.
5654 (__CONCAT_f): Likewise.
5655 (__CONCAT_l): Likewise.
5657 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
5659 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
5662 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5663 Aurelien Jarno <aurelien@aurel32.net>
5664 Maciej W. Rozycki <macro@imgtec.com>
5667 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
5668 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
5669 `mips16-syscall6' and `mips16-syscall7'.
5670 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
5671 (CFLAGS-mips16-syscall7.c): Remove.
5672 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
5673 Remove `__mips16_syscall5', `__mips16_syscall6' and
5674 `__mips16_syscall7'.
5675 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
5676 (__mips16_syscall0): Rename `__mips16_syscall_return' to
5677 `__mips_syscall_return'.
5678 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
5679 (__mips16_syscall1): Likewise.
5680 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
5681 (__mips16_syscall2): Likewise.
5682 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
5683 (__mips16_syscall3): Likewise.
5684 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
5685 (__mips16_syscall4): Likewise.
5686 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
5688 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
5690 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
5692 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
5693 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
5694 `__mips16_syscall5'. Remove prototype.
5695 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
5696 `__mips16_syscall6'. Remove prototype.
5697 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
5698 `__mips16_syscall7'. Remove prototype.
5699 (__nomips16, __mips16_syscall_return): Move to...
5700 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
5701 (__nomips16, __mips_syscall_return): ... here.
5702 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
5703 `__mips16_syscall_return' to `__mips_syscall_return'.
5704 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
5705 `internal_syscall##nr'.
5706 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
5707 `internal_syscall##nr'.
5708 (FORCE_FRAME_POINTER): Remove.
5709 (__mips_syscall5): New prototype.
5710 (internal_syscall5): Rewrite to call `__mips_syscall5'.
5711 (__mips_syscall6): New prototype.
5712 (internal_syscall6): Rewrite to call `__mips_syscall6'.
5713 (__mips_syscall7): New prototype.
5714 (internal_syscall7): Rewrite to call `__mips_syscall7'.
5715 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
5716 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
5717 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
5718 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
5719 (sysdep_routines): Add libc-do-syscall.
5720 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
5721 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
5723 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5726 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
5727 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
5728 (advise_stack_range): New function.
5729 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
5730 stack non required to advise_stack_range at allocatestack.c
5732 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5734 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
5736 2017-08-29 Florian Weimer <fweimer@redhat.com>
5739 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
5740 __end_fct. Mangle __end_fct after setting it to NULL.
5741 * iconv/Makefile (tests): Add tst-gconv-init-failure.
5742 (modules-names, modules-names-tests): Add
5743 tst-gconv-init-failure-mod.
5744 (gconv-modules): New target.
5745 (tst-gconv-init-failure-mod.so): Link against libsupport.
5746 (tst-gconv-init-failure): Depend on gconv-modules,
5747 tst-gconv-init-failure-mod.so.
5748 * iconv/tst-gconv-init-failure-mod.c: New file.
5749 * iconv/tst-gconv-init-failure.c: Likewise.
5750 * iconv/test-gconv-modules: Likewise.
5752 2017-08-29 Florian Weimer <fweimer@redhat.com>
5755 * iconv/gconv_db.c (free_derivation): Remove redundant
5757 (gen_steps): Unconditionally mangle __btowc_fct after
5759 (increment_counter): Likewise. Do not call init_fct for internal
5762 2017-08-29 Joseph Myers <joseph@codesourcery.com>
5765 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5766 (_MSUF_): Remove macro.
5767 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
5769 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
5770 (__REDIRFROM_X): New macro.
5771 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
5773 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
5774 (__REDIRTO_X): Likewise.
5775 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
5777 (__MATH_REDIRCALL_2): Likewise.
5778 (__MATH_REDIRCALL_INTERNAL): Likewise.
5779 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5780 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
5781 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
5782 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5783 * math/test-finite-macros.c: New file.
5784 * math/Makefile (tests): Add test-finite-macros.
5785 (CFLAGS-test-finite-macros.c): New variable.
5787 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
5788 Jeff Law <law@redhat.com>
5791 Mangle NULL pointers in iconv/gconv.
5792 * iconv/gconv_cache.c (find_module): Demangle init_fct before
5793 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
5794 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
5795 is non-NULL before demangling the end_fct. Check for NULL
5796 end_fct after demangling.
5797 (__gconv_release_step): Demangle the end_fct before checking
5798 it for NULL. Remove assert on __shlibc_handle != NULL.
5799 (gen_steps): Don't check btowc_fct for NULL before mangling.
5800 Demangle init_fct before checking for NULL.
5801 (increment_counter): Likewise.
5802 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
5803 end_fct for NULL before mangling.
5804 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
5807 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
5810 * locale/iso-639.def: add Morisyen.
5812 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5815 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
5816 (iszero): New C++ implementation that does not use
5817 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
5818 signaling nans are enabled, since __builtin_types_compatible_p
5819 is a C-only feature.
5820 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
5821 defined, include ieee754_float128.h for access to the union and
5822 member ieee854_float128.ieee.
5823 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
5824 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
5825 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
5826 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
5827 options of test-math-zero on powerpc64le.
5829 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
5831 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
5832 Change double to float.
5834 2017-08-28 Joseph Myers <joseph@codesourcery.com>
5836 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
5838 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
5839 conditional code; define contents only for [LIBM_SVID_COMPAT].
5841 2017-08-28 Florian Weimer <fweimer@redhat.com>
5843 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
5844 (abi-lp64_be-options): Remove.
5845 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
5846 (abi-hard-options): Likewise.
5847 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
5848 (abi-o32_hard-options, abi-o32_soft_2008-options)
5849 (abi-o32_hard_2008-options, abi-n32_soft-options)
5850 (abi-n32_hard-options, abi-n32_soft_2008-options)
5851 (abi-n32_hard_2008-options, abi-n64_soft-options)
5852 (abi-n64_hard-options, abi-n64_soft_2008-options)
5853 (abi-n64_hard_2008-options): Likewise.
5854 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
5855 (abi-64-v1-options, abi-64-v2-options): Likewise.
5856 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
5857 (abi-64-options): Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
5859 (abi-64-options): Likewise.
5860 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
5861 (abi-64-options): Likewise.
5862 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
5863 (abi-64-options, abi-x32-options): Likewise.
5865 2017-08-28 Florian Weimer <fweimer@redhat.com>
5867 Store supported list of SYS_* system calls in the source tree.
5868 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5869 (bits/syscall.h): Generate from list file.
5870 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
5871 [$(subdir) = misc] (tests): Add tst-syscall-list.
5872 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
5873 [$(subdir) = misc] (tst-syscall-list-macros.list)
5874 [$(subdir) = misc] (tst-syscall-list-nr.list)
5875 (tst-syscall-list-sys.list): Helper targets for new
5876 tst-syscall-list test.
5877 [$(subdir) = misc] (tst-syscall-list.out): Run test script
5878 tst-syscall-list.sh.
5879 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
5880 target. Do not include bits/syscall.d.
5881 [$(subdir) = misc] (generated): Do not update.
5882 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
5883 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
5884 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
5885 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
5887 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5889 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
5890 (tst-cxa_atexit, tst-on_exit): Likewise.
5891 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
5892 tst-cxa_atexit, and tst-on_exit.
5893 * stdlib/tst-atexit-common.c: New file.
5894 * stdlib/tst-atexit.c: New file.
5895 * stdlib/tst-at_quick_exit.c: New file.
5896 * stdlib/tst-cxa_atexit.c: New file.
5897 * stdlib/tst-on_exit.c: New file.
5899 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5901 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
5902 * mach/stack_chk_fail_local.c: New file.
5903 * hurd/stack_chk_fail_local.c: New file.
5904 * mach/Machrules ($(interface-library)-routines): Add
5905 stack_chk_fail_local.
5906 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
5907 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
5908 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
5909 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
5910 * hurd/Makefile (CFLAGS-hurdstartup.o,
5911 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
5913 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
5915 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5916 (index_cpu_*, index_arch_*): Removed.
5918 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5920 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
5921 Use uint64_t instead of unsigned long.
5923 2017-08-25 Joseph Myers <joseph@codesourcery.com>
5925 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
5926 [__HAVE_DISTINCT_FLOAT128].
5928 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
5929 of <bits/math-finite.h>.
5930 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
5931 inclusion of <bits/math-finite.h>.
5932 * math/bits/math-finite.h (__REDIRTO_X): Do not define
5933 conditionally on [__MATH_DECLARING_LDOUBLE && defined
5934 __NO_LONG_DOUBLE_MATH].
5935 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
5936 (__MATH_REDIRCALL_2): Likewise.
5937 (__MATH_REDIRCALL_INTERNAL): Likewise.
5938 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
5939 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
5940 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
5942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5954 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5955 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5956 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5957 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5959 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
5960 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
5961 w_sqrtf_compat-ppc32.
5963 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5965 * math/math.h [defined __cplusplus] (issignaling): In the long
5966 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
5967 is not defined. Call __issignaling, otherwise.
5969 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5971 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
5972 syscall definitions and replace __builtin_expect with __glibc_likely.
5973 * sysdeps/unix/syscall-template.S: Update comment about cancellable
5975 (SYSCALL_CANCELLABLE): Removedefinition
5976 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
5978 (PSEUDO_END): Likewise.
5979 [IS_IN (libpthread)] (CENABLE): Likewise.
5980 [IS_IN (libpthread)] (CDISABLE): Likewise.
5981 [IS_IN (libc)] (CENABLE): Likewise.
5982 [IS_IN (libc)] (CENABLE): Likewise.
5983 [IS_IN (librt)] (CDISABLE): Likewise.
5984 [IS_IN (librt)] (CDISABLE): Likewise.
5985 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5986 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
5988 (PSEUDO_END): Likewise.
5989 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
5990 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
5991 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5992 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
5993 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5994 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
5995 (CENABLE): Likewise.
5996 (CDISABLE): Likewise.
5997 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
5998 * sysdeps/unix/sysv/linux/arm/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/hppa/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/i386/sysdep-cancel.h (PSEUDO): Remove
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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6028 * sysdeps/unix/sysv/linux/ia64/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/m68k/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/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
6050 (PSEUDO_END): Likewise.
6051 [IS_IN (libpthread)] (CENABLE): Likewise.
6052 [IS_IN (libpthread)] (CDISABLE): Likewise.
6053 [IS_IN (libc)] (CENABLE): Likewise.
6054 [IS_IN (libc)] (CENABLE): Likewise.
6055 [IS_IN (librt)] (CDISABLE): Likewise.
6056 [IS_IN (librt)] (CDISABLE): Likewise.
6057 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6058 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
6060 (PSEUDO_END): Likewise.
6061 [IS_IN (libpthread)] (CENABLE): Likewise.
6062 [IS_IN (libpthread)] (CDISABLE): Likewise.
6063 [IS_IN (libc)] (CENABLE): Likewise.
6064 [IS_IN (libc)] (CENABLE): Likewise.
6065 [IS_IN (librt)] (CDISABLE): Likewise.
6066 [IS_IN (librt)] (CDISABLE): Likewise.
6067 (SINGLE_THREAD_P): Likewise.
6068 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
6070 (PSEUDO_END): Likewise.
6071 [IS_IN (libpthread)] (CENABLE): Likewise.
6072 [IS_IN (libpthread)] (CDISABLE): Likewise.
6073 [IS_IN (libc)] (CENABLE): Likewise.
6074 [IS_IN (libc)] (CENABLE): Likewise.
6075 [IS_IN (librt)] (CDISABLE): Likewise.
6076 [IS_IN (librt)] (CDISABLE): Likewise.
6077 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6078 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
6080 (PSEUDO_END): Likewise.
6081 [IS_IN (libpthread)] (CENABLE): Likewise.
6082 [IS_IN (libpthread)] (CDISABLE): Likewise.
6083 [IS_IN (libc)] (CENABLE): Likewise.
6084 [IS_IN (libc)] (CENABLE): Likewise.
6085 [IS_IN (librt)] (CDISABLE): Likewise.
6086 [IS_IN (librt)] (CDISABLE): Likewise.
6087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6088 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
6089 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6090 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
6091 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
6093 (PSEUDO_END): Likewise.
6094 [IS_IN (libpthread)] (CENABLE): Likewise.
6095 [IS_IN (libpthread)] (CDISABLE): Likewise.
6096 [IS_IN (libc)] (CENABLE): Likewise.
6097 [IS_IN (libc)] (CENABLE): Likewise.
6098 [IS_IN (librt)] (CDISABLE): Likewise.
6099 [IS_IN (librt)] (CDISABLE): Likewise.
6100 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
6103 (PSEUDO_END): Likewise.
6104 [IS_IN (libpthread)] (CENABLE): Likewise.
6105 [IS_IN (libpthread)] (CDISABLE): Likewise.
6106 [IS_IN (libc)] (CENABLE): Likewise.
6107 [IS_IN (libc)] (CENABLE): Likewise.
6108 [IS_IN (librt)] (CDISABLE): Likewise.
6109 [IS_IN (librt)] (CDISABLE): Likewise.
6110 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6111 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
6113 (PSEUDO_END): Likewise.
6114 [IS_IN (libpthread)] (CENABLE): Likewise.
6115 [IS_IN (libpthread)] (CDISABLE): Likewise.
6116 [IS_IN (libc)] (CENABLE): Likewise.
6117 [IS_IN (libc)] (CENABLE): Likewise.
6118 [IS_IN (librt)] (CDISABLE): Likewise.
6119 [IS_IN (librt)] (CDISABLE): Likewise.
6120 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6121 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
6122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6123 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
6124 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
6126 (PSEUDO_END): Likewise.
6127 [IS_IN (libpthread)] (CENABLE): Likewise.
6128 [IS_IN (libpthread)] (CDISABLE): Likewise.
6129 [IS_IN (libc)] (CENABLE): Likewise.
6130 [IS_IN (libc)] (CENABLE): Likewise.
6131 [IS_IN (librt)] (CDISABLE): Likewise.
6132 [IS_IN (librt)] (CDISABLE): Likewise.
6133 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6134 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
6136 (PSEUDO_END): Likewise.
6137 [IS_IN (libpthread)] (CENABLE): Likewise.
6138 [IS_IN (libpthread)] (CDISABLE): Likewise.
6139 [IS_IN (libc)] (CENABLE): Likewise.
6140 [IS_IN (libc)] (CENABLE): Likewise.
6141 [IS_IN (librt)] (CDISABLE): Likewise.
6142 [IS_IN (librt)] (CDISABLE): Likewise.
6143 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
6145 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
6147 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
6149 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6151 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6153 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6156 * string/stratcliff.c (do_test): Declare size, nchars, inner,
6157 middle and outer with size_t instead of int. Repleace %d and
6158 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
6159 "MAX (outer, nchars - 64)" to support unsigned outer and
6160 nchars. Also exit loop when outer == 0.
6162 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6164 * include/fcntl.h (__fcntl_nocancel): Remove definition.
6165 * include/signal.h (__sigsuspend_nocancel): Likewise.
6166 * include/time.h (__nanosleep_nocancel): Likewise.
6167 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
6168 * login/utmp_file.c: Include non cancellable syscall header.
6169 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
6172 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
6174 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
6175 .byte sequences with AVX512F instructions.
6176 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
6177 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6178 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6179 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
6181 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6184 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
6185 Steve Ellcey <sellcey@cavium.com>
6187 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
6188 Use PTR_REG macro in cmp instruction.
6190 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6192 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
6193 Change the return type of the ifunc resolver to match the return
6194 type of the target function.
6196 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6198 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
6199 (preadv64): Likewise.
6200 (pwrite64(: Likewise.
6201 (pwritev64): Likewise.
6203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6204 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
6205 (LOAD_ARGS_0): Likewise.
6206 (LOAD_ARGS_1): Likewise.
6207 (LOAD_ARGS_2): Likewise.
6208 (LOAD_ARGS_3): Likewise.
6209 (LOAD_ARGS_4): Likewise.
6210 (LOAD_ARGS_5): Likewise.
6211 (LOAD_ARGS_6): Likewise.
6212 (LOAD_REGS_0): Likewise.
6213 (LOAD_REGS_1): Likewise.
6214 (LOAD_REGS_2): Likewise.
6215 (LOAD_REGS_3): Likewise.
6216 (LOAD_REGS_4): Likewise.
6217 (LOAD_REGS_5): Likewise.
6218 (LOAD_REGS_6): Likewise.
6219 (ASM_ARGS_0): Likewise.
6220 (ASM_ARGS_1): Likewise.
6221 (ASM_ARGS_2): Likewise.
6222 (ASM_ARGS_3): Likewise.
6223 (ASM_ARGS_4): Likewise.
6224 (ASM_ARGS_5): Likewise.
6225 (ASM_ARGS_6): Likewise.
6226 (LOAD_ARGS_TYPES_1): Likewise.
6227 (LOAD_ARGS_TYPES_2): Likewise.
6228 (LOAD_ARGS_TYPES_3): Likewise.
6229 (LOAD_ARGS_TYPES_4): Likewise.
6230 (LOAD_ARGS_TYPES_5): Likewise.
6231 (LOAD_ARGS_TYPES_6): Likewise.
6232 (LOAD_REGS_TYPES_1): Likewise.
6233 (LOAD_REGS_TYPES_2): Likewise.
6234 (LOAD_REGS_TYPES_3): Likewise.
6235 (LOAD_REGS_TYPES_4): Likewise.
6236 (LOAD_REGS_TYPES_5): Likewise.
6237 (LOAD_REGS_TYPES_6): Likewise.
6238 (TYPEFY): New define.
6240 (internal_syscall0): Likewise.
6241 (internal_syscall1): Likewise.
6242 (internal_syscall2): Likewise.
6243 (internal_syscall3): Likewise.
6244 (internal_syscall4): Likewise.
6245 (internal_syscall5): Likewise.
6246 (internal_syscall6): Likewise.
6247 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
6248 (INTERNAL_SYSCALL_NCS): Remove define.
6249 (internal_syscall1): Add define.
6251 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6253 * math/w_remainder_compat.c: Remove duplicate inclusion of
6255 * math/w_remainderf_compat.c: Likewise.
6256 * math/w_remainderl_compat.c: Likewise.
6258 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6262 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6265 * math/tgmath.h (__floating_type): Simplify definitions.
6266 (__real_integer_type): New macro.
6267 (__complex_integer_type): Likewise.
6268 (__expr_is_real): Likewise.
6269 (__tgmath_real_type_sub): Update comment to describe handling of
6271 (__tgmath_complex_type_sub): New macro.
6272 (__tgmath_complex_type): Likewise.
6273 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6274 (__TGMATH_CF128): Use __expr_is_real.
6275 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
6277 (__TGMATH_BINARY_REAL_IMAG): Likewise.
6278 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
6279 * math/gen-tgmath-tests.py (Type.create_type): Create complex
6282 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6284 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
6286 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
6288 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
6291 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
6292 nanosleep_not_cancel with __nanosleep_nocancel.
6293 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
6294 (__nanosleep_nocancel): New macro.
6295 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
6297 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
6299 (__nanosleep_nocancel): New prototype.
6301 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
6302 pause_not_cancel with __pause_nocancel.
6303 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
6304 (__pause_nocancel): New macro.
6305 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
6307 (__pause_nocancel): New prototype.
6308 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
6310 2017-08-22 Martin Sebor <msebor@redhat.com>
6312 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
6313 to return a pointer to the same type as the target function.
6315 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6319 * include/printf.h (__printf_fphex): Add attribute_hidden.
6320 (__guess_grouping): New prototype.
6321 * stdio-common/printf_fp.c (__guess_grouping): Removed.
6322 * stdio-common/reg-printf.c (__register_printf_specifier): Add
6323 libc_hidden_proto and libc_hidden_def.
6324 * stdlib/strfmon_l.c (__guess_grouping): Removed.
6325 (__vstrfmon_l): Remove the third argument passed to
6328 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6330 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
6331 definition for issignaling that does not rely on __MATH_TG,
6332 since __MATH_TG uses __builtin_types_compatible_p, which is only
6333 available in C mode.
6334 (CFLAGS-test-math-issignaling.cc): New variable.
6335 * math/Makefile [CXX] (tests): Add test-math-issignaling.
6336 * math/test-math-issignaling.cc: New test for C++ implementation
6337 of type-generic issignaling.
6338 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
6339 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
6340 options of test-math-issignaling on powerpc64le.
6342 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
6344 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6346 (hidden_proto): Likewise.
6347 (hidden_tls_proto): Likewise.
6348 (__hidden_proto): Likewise.
6350 2017-08-22 Florian Weimer <fweimer@redhat.com>
6352 math: Statically link tests of internal functionality.
6353 * math/Makefile (tests): Remove atest-exp, atest-sincos,
6355 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
6356 (gmp-objs): Remove assignment.
6357 (atest-exp, atest-sincos, atest-exp2): Remove targets.
6359 2017-08-22 Joseph Myers <joseph@codesourcery.com>
6362 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
6364 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
6366 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
6369 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
6370 variable definitions above inclusion of ../Rules.
6372 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6374 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
6375 case calling __builtin_unreachable.
6377 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6379 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
6381 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
6382 (__waitpid_nocancel): New macro.
6383 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
6385 (__waitpid_nocancel): Replace macro with a function.
6386 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
6389 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
6391 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
6392 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
6394 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
6395 __writev_nocancel_nostatus.
6396 (write_call_graph): Likewise.
6397 (write_bb_counts): Likewise.
6398 * resolv/herror.c (herror): Likewise.
6399 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
6401 (__writev_nocancel_nostatus): New macro.
6402 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
6404 (__writev_nocancel_nostatus): New function.
6406 2017-08-21 Joseph Myers <joseph@codesourcery.com>
6409 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6411 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6413 (hidden_proto): Likewise.
6414 (hidden_tls_proto): Likewise.
6415 (__hidden_proto): Likewise.
6418 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
6419 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6428 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
6429 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6430 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6431 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6432 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6433 GLIBC_2.0 sqrtl symbol.
6435 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
6436 [__USE_MISC] (_LIB_VERSION): Likewise.
6437 [__USE_MISC] (struct exception): Likewise.
6438 [__USE_MISC] (matherr): Likewise.
6439 [__USE_MISC] (DOMAIN): Likewise.
6440 [__USE_MISC] (SING): Likewise.
6441 [__USE_MISC] (OVERFLOW): Likewise.
6442 [__USE_MISC] (UNDERFLOW): Likewise.
6443 [__USE_MISC] (TLOSS): Likewise.
6444 [__USE_MISC] (PLOSS): Likewise.
6445 [__USE_MISC] (HUGE): Likewise.
6446 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
6447 * math/math-svid-compat.h: New file.
6448 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
6450 * include/math.h [!_ISOMAC] (__matherr): Remove.
6451 * manual/arith.texi (FP Exceptions): Do not document matherr.
6452 * math/Makefile (tests): Change test-matherr to test-matherr-3.
6453 (tests-internal): New variable.
6454 (install-lib): Do not add libieee.a.
6455 (non-lib.a): Likewise.
6456 (extra-objs): Do not add libieee.a and ieee-math.o.
6457 (CPPFLAGS-s_lib_version.c): Remove variable.
6458 ($(objpfx)libieee.a): Remove rule.
6459 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
6460 * math/ieee-math.c: Remove.
6461 * math/libm-test-support.c (matherr): Remove.
6462 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
6463 and license notices. Include <math-svid-compat.h> and
6465 (matherr): Undefine as macro. Use compat_symbol_reference.
6466 (_LIB_VERSION): Likewise.
6467 * math/test-matherr-2.c: New file.
6468 * math/test-matherr-3.c: Likewise.
6469 * sysdeps/generic/math_private.h (__kernel_standard): Remove
6471 (__kernel_standard_f): Likewise.
6472 (__kernel_standard_l): Likewise.
6473 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
6474 <math_private.h>. Include <math-svid-compat.h>.
6475 (_LIB_VERSION): Undefine as macro.
6476 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
6477 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
6478 [LIBM_SVID_COMPAT], use compat_symbol.
6479 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
6480 <math_private.h>. Include <math-svid-compat.h>.
6481 (matherr): Undefine as macro.
6482 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
6484 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
6485 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
6486 compat_symbol_reference.
6487 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
6488 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
6489 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
6490 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
6491 (MATHERR_D): Remove declaration.
6492 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
6493 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
6494 [LIBM_BUILD] (pmatherrf): Likewise.
6495 [LIBM_BUILD] (pmatherr): Likewise.
6496 [LIBM_BUILD] (pmatherrl): Likewise.
6499 (OVERFLOW): Likewise.
6500 (UNDERFLOW): Likewise.
6503 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
6504 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
6506 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
6507 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
6509 * math/lgamma-compat.h: Include <math-svid-compat.h>.
6510 * math/w_acos_compat.c: Likewise.
6511 * math/w_acosf_compat.c: Likewise.
6512 * math/w_acosh_compat.c: Likewise.
6513 * math/w_acoshf_compat.c: Likewise.
6514 * math/w_acoshl_compat.c: Likewise.
6515 * math/w_acosl_compat.c: Likewise.
6516 * math/w_asin_compat.c: Likewise.
6517 * math/w_asinf_compat.c: Likewise.
6518 * math/w_asinl_compat.c: Likewise.
6519 * math/w_atan2_compat.c: Likewise.
6520 * math/w_atan2f_compat.c: Likewise.
6521 * math/w_atan2l_compat.c: Likewise.
6522 * math/w_atanh_compat.c: Likewise.
6523 * math/w_atanhf_compat.c: Likewise.
6524 * math/w_atanhl_compat.c: Likewise.
6525 * math/w_cosh_compat.c: Likewise.
6526 * math/w_coshf_compat.c: Likewise.
6527 * math/w_coshl_compat.c: Likewise.
6528 * math/w_exp10_compat.c: Likewise.
6529 * math/w_exp10f_compat.c: Likewise.
6530 * math/w_exp10l_compat.c: Likewise.
6531 * math/w_exp2_compat.c: Likewise.
6532 * math/w_exp2f_compat.c: Likewise.
6533 * math/w_exp2l_compat.c: Likewise.
6534 * math/w_fmod_compat.c: Likewise.
6535 * math/w_fmodf_compat.c: Likewise.
6536 * math/w_fmodl_compat.c: Likewise.
6537 * math/w_hypot_compat.c: Likewise.
6538 * math/w_hypotf_compat.c: Likewise.
6539 * math/w_hypotl_compat.c: Likewise.
6540 * math/w_j0_compat.c: Likewise.
6541 * math/w_j0f_compat.c: Likewise.
6542 * math/w_j0l_compat.c: Likewise.
6543 * math/w_j1_compat.c: Likewise.
6544 * math/w_j1f_compat.c: Likewise.
6545 * math/w_j1l_compat.c: Likewise.
6546 * math/w_jn_compat.c: Likewise.
6547 * math/w_jnf_compat.c: Likewise.
6548 * math/w_jnl_compat.c: Likewise.
6549 * math/w_lgamma_main.c: Likewise.
6550 * math/w_lgamma_r_compat.c: Likewise.
6551 * math/w_lgammaf_main.c: Likewise.
6552 * math/w_lgammaf_r_compat.c: Likewise.
6553 * math/w_lgammal_main.c: Likewise.
6554 * math/w_lgammal_r_compat.c: Likewise.
6555 * math/w_log10_compat.c: Likewise.
6556 * math/w_log10f_compat.c: Likewise.
6557 * math/w_log10l_compat.c: Likewise.
6558 * math/w_log2_compat.c: Likewise.
6559 * math/w_log2f_compat.c: Likewise.
6560 * math/w_log2l_compat.c: Likewise.
6561 * math/w_log_compat.c: Likewise.
6562 * math/w_logf_compat.c: Likewise.
6563 * math/w_logl_compat.c: Likewise.
6564 * math/w_pow_compat.c: Likewise.
6565 * math/w_powf_compat.c: Likewise.
6566 * math/w_powl_compat.c: Likewise.
6567 * math/w_remainder_compat.c: Likewise.
6568 * math/w_remainderf_compat.c: Likewise.
6569 * math/w_remainderl_compat.c: Likewise.
6570 * math/w_scalb_compat.c: Likewise.
6571 * math/w_scalbf_compat.c: Likewise.
6572 * math/w_scalbl_compat.c: Likewise.
6573 * math/w_sinh_compat.c: Likewise.
6574 * math/w_sinhf_compat.c: Likewise.
6575 * math/w_sinhl_compat.c: Likewise.
6576 * math/w_sqrt_compat.c: Likewise.
6577 * math/w_sqrtf_compat.c: Likewise.
6578 * math/w_sqrtl_compat.c: Likewise.
6579 * math/w_tgamma_compat.c: Likewise.
6580 * math/w_tgammaf_compat.c: Likewise.
6581 * math/w_tgammal_compat.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6583 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6584 * sysdeps/ieee754/k_standard.c: Likewise.
6585 * sysdeps/ieee754/k_standardf.c: Likewise.
6586 * sysdeps/ieee754/k_standardl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6589 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6590 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6591 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6592 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6593 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6594 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6595 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6600 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6601 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6602 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6603 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6605 2017-08-21 Florian Weimer <fweimer@redhat.com>
6608 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
6609 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
6610 Move before inclusion of ../Rules.
6612 2017-08-21 Florian Weimer <fweimer@redhat.com>
6615 * assert/assert.h (assert): Use static_cast (bool) for C++.
6616 Use the ternary operator in the warning branch for GNU C.
6617 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
6618 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
6619 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
6620 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
6621 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
6623 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6626 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6627 (__syscall_clock_gettime): Add attribute_hidden.
6628 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
6629 (__start_context): Likewise.
6631 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6633 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
6635 (hidden_proto): Likewise.
6636 (hidden_tls_proto): Likewise.
6637 (__hidden_proto): Likewise.
6639 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6641 * include/libc-symbols.h (attribute_hidden): Enable hidden
6642 visibility in libc.a compiled with PIE.
6644 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6647 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
6648 Add attribute_hidden.
6650 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6653 * Makerules (all-nonlib): Add $(others-extras).
6654 * catgets/Makefile (others-extras): New.
6655 * elf/Makefile (others-extras): Likewise.
6656 * nss/Makefile (others-extras): Likewise.
6658 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6661 * csu/libc-start.c (__libc_multiple_libcs): Removed.
6662 * elf/dl-open.c: Include <libc-internal.h>.
6663 (__libc_multiple_libcs): Removed.
6664 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
6666 * include/libc-internal.h (__libc_multiple_libcs): New.
6667 * misc/sbrk.c: Include <libc-internal.h>.
6668 (__libc_multiple_libcs): Removed.
6670 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
6673 * grp/initgroups.c (__nss_group_database): Removed.
6674 (__nss_initgroups_database): Likewise.
6675 * nscd/gai.c (__nss_hosts_database): Likewise.
6676 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6677 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
6678 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
6679 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
6680 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
6681 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
6683 * nss/nsswitch.c (__nss_database_custom): Define only if
6684 USE_NSCD is defined.
6685 (__nss_configure_lookup): Use __nss_database_custom only if
6686 USE_NSCD is defined.
6687 * nss/nsswitch.h (__nss_database_custom): Declare only if
6688 USE_NSCD is defined. Add attribute_hidden.
6689 (__nss_setent): Add attribute_hidden.
6690 (__nss_endent): Likewise.
6691 (__nss_getent_r): Likewise.
6692 (__nss_getent): Likewise.
6693 (DEFINE_DATABASE): Declare __nss_##arg##_database.
6695 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6698 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
6699 libc_hidden_proto and libc_hidden_def.
6701 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6704 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
6705 Add libc_hidden_proto.
6706 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
6707 Add libc_hidden_def.
6709 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6712 * gmon/Makefile (routines): Remove bb_init_func and
6714 (elide-routines.os): Removed.
6715 * gmon/bb_exit_func.c: Likewise.
6716 * gmon/bb_init_func.c: Likewise.
6717 * include/sys/gmon.h (__bb): Likewise.
6718 (__bb_init_func): Likewise.
6719 (__bb_exit_func): Likewise.
6720 * sysdeps/alpha/bb_init_func.S: Likewise.
6722 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
6724 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
6725 * include/setjmp.h (____longjmp_chk): Here. Add
6728 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
6731 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
6733 (__strspn_sse2): Likewise.
6735 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6737 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
6738 (close_not_cancel_no_status): Likewise.
6739 (__close_nocancel): New macro.
6740 (__close_nocancel_nostatus): Likewise.
6741 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
6743 (close_not_cancel): Likewise.
6744 (close_not_cancel_no_status): Likewise.
6745 (__close_nocancel): New prototype.
6746 (__close_nocancel_nostatus): New function.
6747 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
6748 * catgets/open_catalog.c (__open_catalog): Replace
6749 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
6750 * gmon/gmon.c (write_gmon): Likewise.
6751 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6752 * intl/loadmsgcat.c (close): Likewise.
6753 * io/ftw.c (open_dir_stream): Likewise.
6754 (ftw_startup): Likewise.
6755 * libio/fileops.c (_IO_file_open): Likewise.
6756 (_IO_file_close_mmap): Likewise.
6757 (_IO_file_close): Likewise.
6758 * libio/iopopen.c (_IO_dup2): Likewise.
6759 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6760 * locale/loadlocale.c (_nl_load_locale): Likewise.
6761 * login/utmp_file.c (pututline_file): Likewise.
6762 (endutent_file): Likewise.
6763 * misc/daemon.c (daemon): Likewise.
6764 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6765 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6766 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6767 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6768 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6769 * nscd/nscd_helper.c (open_socket): Likewise.
6770 (__nscd_open_socket): Likewise.
6771 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6772 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
6773 (__nscd_innetgr): Likewise.
6774 * nss/nss_db/db-open.c (internal_setent): Likewise.
6775 * resolv/res-close.c (__res_iclose): Likewise.
6776 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
6777 * sysdeps/posix/closedir.c (__closedir): Likewise.
6778 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6779 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6780 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6781 (opendir_tail): Likewise.
6782 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6783 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
6784 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6785 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6786 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6787 (gethostid): Likewise.
6788 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6789 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6791 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6792 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
6793 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6794 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6796 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
6797 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
6798 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6800 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
6801 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6803 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6805 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6806 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6807 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6810 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
6811 (openat_not_cancel_3): Likewise.
6812 (openat64_not_cancel_3): Likewise).
6813 (openat_not_cancel_3): Likewise).
6814 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
6816 (openat_not_cancel_3): Likewise.
6817 (openat64_not_cancel): Likewise.
6818 (openat64_not_cancel_3): Likewise.
6819 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
6820 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
6821 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
6822 __open{64}_nocancel.
6823 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6824 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6825 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6827 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6830 * include/argz.h (__argz_create_sep): New function prototype.
6831 (__argz_append): Likewise.
6832 (__argz_add): Likewise.
6833 (__argz_add_sep): Likewise.
6834 (__argz_delete): Likewise.
6835 (__argz_insert): Likewise.
6836 (__argz_replace): Likewise.
6837 * string/argz.h (__argz_create_sep): Removed.
6838 (__argz_append): Likewise.
6839 (__argz_add): Likewise.
6840 (__argz_add_sep): Likewise.
6841 (__argz_delete): Likewise.
6842 (__argz_insert): Likewise.
6843 (__argz_replace): Likewise.
6845 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6847 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
6848 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
6849 (GNU_PROPERTY_STACK_SIZE): Likewie.
6850 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
6851 (GNU_PROPERTY_LOPROC): Likewise.
6852 (GNU_PROPERTY_HIPROC): Likewise.
6853 (GNU_PROPERTY_LOUSER): Likewise.
6854 (GNU_PROPERTY_HIUSER): Likewise.
6855 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
6856 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
6857 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
6858 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
6859 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
6860 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
6861 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
6862 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
6863 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
6864 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
6865 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
6866 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
6867 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
6868 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
6869 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
6870 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
6871 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
6872 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
6873 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
6874 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
6875 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
6876 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
6877 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
6879 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6881 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
6884 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6887 * math/math.h (isinf): Check if in C or C++ mode before using
6888 __builtin_types_compatible_p, since this is a C mode feature.
6890 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6892 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
6893 (__write_nocancel): New macro.
6894 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
6895 Rewrite as a function prototype.
6896 (write_not_cancel): Remove macro.
6897 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
6898 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
6899 (write_gmon): Likewise.
6900 * libio/fileops.c (_IO_new_file_write): Likewise.
6901 * login/utmp_file.c (pututline_file): Likewise.
6902 (updwtmp_file): Likewise.
6903 * stdio-common/psiginfo.c (psiginfo): Likewise.
6904 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6905 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6906 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6908 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6911 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
6912 (__read_nocancel): New macro.
6913 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6915 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
6917 (__read_nocancel): New prototype.
6918 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
6919 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
6920 with __read_nocancel.
6921 * intl/loadmsgcat.c (read): Likewise.
6922 * libio/fileops.c (_IO_file_read): Likewise.
6923 * locale/loadlocale.c (_nl_load_locale): Likewise.
6924 * login/utmp_file.c (getutent_r_file): Likewise.
6925 (internal_getut_r): Likewise.
6926 (getutline_r_file): Likewise.
6927 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6928 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6929 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
6930 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6932 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
6933 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
6934 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
6936 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
6938 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
6940 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6942 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
6944 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
6947 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
6948 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
6951 2017-08-17 DJ Delorie <dj@redhat.com>
6953 * bug17079.c: Update to new test harness.
6954 * test-digits-dots.c: Likewise.
6955 * test-netdb.c: Likewise.
6956 * tst-field.c: Likewise.
6957 * tst-nss-getpwent.c: Likewise.
6958 * tst-nss-static.c: Likewise.
6959 * tst-nss-test1.c: Likewise.
6960 * tst-nss-test2.c: Likewise.
6961 * tst-nss-test3.c: Likewise.
6962 * tst-nss-test4.c: Likewise.
6963 * tst-nss-test5.c: Likewise.
6965 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6967 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
6968 (open_not_cancel_2): Likewise.
6969 (open_nocancel): New macro.
6970 (open64_nocancel): Likewise.
6971 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
6972 (open_not_cancel_2): Likewise.
6973 (__open_nocancel): New prototype.
6974 (__open64_nocancel): Likewise.
6975 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6977 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
6978 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
6979 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
6980 with __open_nocancel.
6981 * csu/check_fds.c (check_one_fd): Likewise.
6982 * gmon/gmon.c (write_gmon): Likewise.
6983 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
6984 * intl/loadmsgcat.c (open): Likewise.
6985 * libio/fileops.c (_IO_file_open): Likewise.
6986 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6987 * locale/loadlocale.c (_nl_load_locale): Likewise.
6988 * login/utmp_file.c (setutent_file): Likewise.
6989 * misc/daemon.c (daemon): Likewise.
6990 * nss/nss_db/db-open.c (internal_setent): Likewise.
6991 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
6992 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
6993 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
6994 (__opendir): Likewise.
6995 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6996 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
6997 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
6998 (gethostid): Likewise.
6999 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
7000 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7003 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
7004 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
7005 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
7007 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
7009 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
7011 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7013 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7015 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7017 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7018 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
7020 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
7022 * benchtests/bench-skeleton.c (main): Add support for
7023 latency benchmarking.
7024 * benchtests/scripts/bench.py: Add support for latency benchmarking.
7026 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
7028 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
7031 2017-08-17 Florian Weimer <fweimer@redhat.com>
7033 * include/sys/socket.h (__opensock): Remove internal_function.
7034 * socket/opensock.c (__opensock): Likewise.
7035 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
7037 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7040 * signal/bits/types/__sigval_t.h: New file.
7041 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
7042 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
7043 and define sigval_t using __sigval_t.
7044 * include/bits/types/__sigval_t.h: New file.
7045 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
7046 instead of <bits/types/__sigval_t.h>.
7047 (struct sigevent): Use __sigval_t instead of sigval_t.
7048 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
7049 instead of <bits/types/__sigval_t.h>.
7050 (siginfo_t): Use __sigval_t instead of sigval_t.
7051 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
7052 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7053 (struct sigevent): Use __sigval_t instead of sigval_t.
7054 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
7055 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
7056 (siginfo_t): Use __sigval_t instead of sigval_t.
7057 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
7059 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7061 * NEWS: Remove "[Add new features here]" for 2.27.
7063 2017-08-16 Joseph Myers <joseph@codesourcery.com>
7065 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
7068 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7070 * NEWS: Mention x86-64 FMA optimization.
7072 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
7075 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7077 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
7078 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
7079 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
7081 2017-08-16 Andreas Schwab <schwab@suse.de>
7085 * elf/ldd.bash.in: Never run file directly.
7087 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
7090 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
7091 (L(SP_INF_0)): Likewise.
7093 2017-08-15 Florian Weimer <fweimer@redhat.com>
7095 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
7098 2017-08-15 Florian Weimer <fweimer@redhat.com>
7100 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
7101 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
7102 BROKEN_THREAD_SIGNALS code.
7103 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
7104 request_list): Remove caller_pid member used for
7105 BROKEN_THREAD_SIGNALS.
7106 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
7107 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7108 Remove BROKEN_THREAD_SIGNALS support.
7109 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7110 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
7112 2017-08-15 Florian Weimer <fweimer@redhat.com>
7114 * gmon/Makefile (tests): Add tst-gmon.
7115 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
7117 (tests-special): Add tst-gmon-prof.out.
7118 (tst-gmon.out): Depend on clean-tst-gmon-data.
7119 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
7120 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
7121 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
7123 * aclocal.m4 (GPROF): Set and substitute.
7124 * config.amke.in (GPROF): Set.
7125 * configure: Regenerate.
7127 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
7129 * elf/elf.h A (NT_PPC_TAR): New macro.
7130 (NT_PPC_PPR): Likewise.
7131 (NT_PPC_DSCR): Likewise.
7132 (NT_PPC_EBB): Likewise.
7133 (NT_PPC_PMU): Likewise.
7134 (NT_PPC_TM_CGPR): Likewise.
7135 (NT_PPC_TM_CFPR): Likewise.
7136 (NT_PPC_TM_CVMX): Likewise.
7137 (NT_PPC_TM_CVSX): Likewise.
7138 (NT_PPC_TM_SPR): Likewise.
7139 (NT_PPC_TM_CTAR): Likewise.
7140 (NT_PPC_TM_CPPR): Likewise.
7141 (NT_PPC_TM_CDSCR): Likewise.
7143 2017-08-15 Florian Weimer <fweimer@redhat.com>
7145 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
7146 regparm (2) instead of internal_function.
7147 (_MCOUNT_DECL): Adjust.
7149 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
7151 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
7152 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7154 2017-08-14 Joseph Myers <joseph@codesourcery.com>
7156 * conform/data/sys/wait.h-data (si_value): Do not expect for
7159 2017-08-14 Florian Weimer <fweimer@redhat.com>
7162 NSS: Create stubs for accidentally exported lookup functions.
7163 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
7165 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
7166 (ether_hostton): Call __nss_ethers_lookup2 instead.
7167 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
7168 (ether_ntohost): Call __nss_ethers_lookup2 instead.
7169 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
7170 (setup): Call __nss_netgroup_lookup2 instead.
7171 * nss/Makefile (routines): Add compat-lookup.
7172 * nss/Versions (GLIBC_2.27): Add symbol version.
7173 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
7174 (DB_COMPAT_FCT): Remove.
7175 * nss/compat-lookup.c: New file.
7176 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
7178 * nss/service-lookup.c (NO_COMPAT): Remove definition.
7179 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
7180 (netname2user): Call __nss_publickey_lookup2 instead.
7181 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
7182 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
7185 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7186 Sergei Trofimovich <slyfox@inbox.ru>
7189 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
7190 Rename to MMAP2_PAGE_UNIT.
7191 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
7192 __OFF_T_MATCHES_OFF64_T is not defined.
7193 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
7195 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
7196 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
7198 2017-08-14 Florian Weimer <fweimer@redhat.com>
7200 i386: Do not set internal_function.
7201 * config.h.in (USE_REGPARMS, internal_function): Remove.
7202 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
7203 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
7205 2017-08-14 Florian Weimer <fweimer@redhat.com>
7207 * elf/dl-init.c (_dl_init): Remove internal_function.
7208 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
7209 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
7211 2017-08-14 Florian Weimer <fweimer@redhat.com>
7213 * elf/rtld.c (_dl_start): Remove internal_function.
7214 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
7217 2017-08-14 Florian Weimer <fweimer@redhat.com>
7219 * elf/dl-fini.c (_dl_fini): Remove internal_function
7220 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
7222 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
7224 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
7225 (bit_cpu_SHSTK): Likewise.
7226 (index_cpu_IBT): Likewise.
7227 (index_cpu_SHSTK): Likewise.
7228 (reg_IBT): Likewise.
7229 (reg_SHSTK): Likewise.
7230 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7231 Handle index_cpu_IBT and index_cpu_SHSTK.
7233 2017-08-14 Mike FABIAN <mfabian@redhat.com>
7236 * po/fr.po: Fix spelling mistake.
7238 2017-08-13 Florian Weimer <fweimer@redhat.com>
7240 * elf/dl-addr.c (_dl_addr): Remove internal_function.
7241 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
7242 (_dl_catch_error, _dl_receive_error): Likewise.
7243 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
7244 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
7245 (_dl_deallocate_tls): Likewise.
7246 * include/dlfcn.h (_dl_addr): Likewise.
7247 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
7248 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
7249 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
7252 2017-08-13 Florian Weimer <fweimer@redhat.com>
7254 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
7255 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
7257 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
7259 2017-08-13 Florian Weimer <fweimer@redhat.com>
7261 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
7263 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
7264 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
7265 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
7266 internal_function from _dl_make_stack_executable_hook member.
7267 (_dl_make_stack_executable): Remove internal_function.
7268 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
7270 * sysdeps/unix/sysv/linux/dl-execstack.c
7271 (_dl_make_stack_executable): Likewise.
7273 2017-08-13 Florian Weimer <fweimer@redhat.com>
7275 * sysdeps/unix/sysv/linux/netlinkaccess.h
7276 (__netlink_assert_response): Remove internal_function.
7277 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7278 (__netlink_assert_response): Likewise.
7280 2017-08-13 Florian Weimer <fweimer@redhat.com>
7282 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
7284 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
7286 2017-08-13 Florian Weimer <fweimer@redhat.com>
7288 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
7290 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
7291 * inet/netgroup.h (__internal_setnetgrent)
7292 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7293 * inet/getnetgrent_r.c (__internal_setnetgrent)
7294 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
7295 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
7296 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
7297 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
7298 * nss/nsswitch.h (db_lookup_function): Likewise.
7300 2017-08-13 Florian Weimer <fweimer@redhat.com>
7302 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
7303 Remove internal_function.
7304 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
7305 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
7306 message argument on the stack.
7307 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
7310 2017-08-12 Mike FABIAN <mfabian@redhat.com>
7312 Adapt test case data to the changes in the thousands
7316 * localedata/tst-langinfo.sh: Adapt test case data.
7317 * stdlib/tst-strfmon_l.c: Likewise.
7318 * stdlib/tst-strtod4.c: Likewise.
7319 * stdlib/tst-strtod5i.c: Likewise.
7321 2017-08-11 Florian Weimer <fweimer@redhat.com>
7324 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
7325 Suppress pedantic warning resulting from statement expression.
7326 (__ASSERT_FUNCTION): Add missing __extension__.
7328 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7330 * benchtests/bench-memmove-large.c: Print output in JSON
7332 * benchtests/bench-memmove.c: Likewise.
7334 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
7335 * benchtests/bench-memchr.c (do_one_test): Likewise.
7336 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
7337 * benchtests/bench-memcpy.c (do_one_test): Likewise.
7338 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
7339 * benchtests/bench-memmove.c (do_one_test): Likewise.
7340 * benchtests/bench-memset-large.c (do_one_test): Likewise.
7341 * benchtests/bench-memset.c (do_one_test): Likewise.
7342 * benchtests/bench-string.h (test_init): Remove memsets.
7344 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7347 (Computing the Width of an Integer Data Type): Rename section to
7348 "Width of an Integer Type". Remove inaccurate statement regarding
7349 lack of C language facilities for determining width of integer
7350 types, and reorder content to improve flow and context of
7353 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
7355 * lang.texi (va_copy): Change standard from ISO to C99.
7356 (__va_copy): Add standard and header annotation.
7357 Update description for clarity of origins and current use.
7359 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7362 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
7363 xssqrtqp requires operands to be in Vector Registers
7364 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
7365 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
7366 (__ieee754_sqrtf128): Likewise.
7368 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7370 * sysdeps/aarch64/memcmp.S (memcmp):
7371 Rewrite of optimized memcmp.
7373 2017-08-10 Florian Weimer <fweimer@redhat.com>
7375 Introduce ld.so exceptions.
7376 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
7377 (_dl_exception_create, _dl_exception_create_format)
7378 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
7379 (_dl_catch_exception): Declare.
7380 (_dl_catch_error): Update comment.
7381 * elf/dl-error-skeleton.c (struct catch): Replace objname,
7382 errstring, malloced members with exception member.
7383 (_dl_out_of_memory): Remove.
7384 (fatal_error): New function, extracted from _dl_signal_error.
7385 (_dl_signal_exception, _dl_signal_cexception): New functions.
7386 (_dl_signal_error): Call _dl_exception_create to allocate an
7388 (_dl_catch_exception): New function, based on _dl_catch_error.
7389 (_dl_catch_error): Implement using _dl_catch_exception.
7390 * elf/dl-exception.c: New file.
7391 * elf/Makefile (dl-routines): Add dl-exception.
7392 (elide-routines.os): Likewise.
7393 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
7394 _dl_exception_create_format, _dl_exception_free.
7395 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
7396 _dl_signal_exception.
7397 * elf/dl-lookup.c (make_string): Remove.
7398 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
7399 _dl_signal_cexception, _dl_exception_free.
7400 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
7401 _dl_signal_exception.
7402 * elf/dl-sym.c (do_sym): Likewise.
7403 * elf/dl-version.c (make_string): Remove.
7404 (match_symbol): Use _dl_exception_create_format,
7405 _dl_signal_cexception, _dl_exception_free.
7406 (_dl_check_map_versions): Likewise.
7407 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
7408 _dl_catch_exception.
7409 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7410 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7411 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7412 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7413 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7414 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7415 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7416 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7418 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7425 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7426 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7427 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7429 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7431 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7433 2017-08-10 Florian Weimer <fweimer@redhat.com>
7435 * inet/net-internal.h (__inet6_scopeid_pton): Remove
7436 attribute_hidden, internal_function.
7437 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
7440 2017-08-10 Florian Weimer <fweimer@redhat.com>
7442 * malloc/malloc.c (get_max_fast): Reimplement as an inline
7443 function which calls __builtin_unreachable.
7445 2017-08-10 Mike FABIAN <mfabian@redhat.com>
7447 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
7448 Indian monetary formatting
7449 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
7452 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
7454 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
7455 Fix typo in comment.
7458 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
7459 PTRACE_SEIZE_DEVEL): Remove.
7460 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
7461 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7464 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7466 2017-08-09 Joseph Myers <joseph@codesourcery.com>
7468 * posix/bits/types.h (__qaddr_t): Remove.
7471 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
7472 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7474 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
7475 (ucontext_t): Use __ctx with uc_flags.
7476 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
7478 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7480 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
7481 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7483 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
7484 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7486 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
7488 (ucontext_t): Use __ctx with uc_flags.
7489 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
7490 (ucontext_t): Use __ctx with uc_flags.
7491 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
7492 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
7493 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
7494 (ucontext_t): Use __ctx with uc_flags.
7495 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
7496 undefine further down.
7497 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
7499 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
7500 undefine further down.
7501 (ucontext_t): Use __ctx with uc_flags.
7502 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
7503 undefine further down.
7504 (ucontext_t): Use __ctx with uc_flags.
7505 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
7506 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
7507 Rename uc_pad to __glibc_reserved1.
7508 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
7509 undefine further down.
7510 (ucontext_t): Use __ctx with uc_flags.
7511 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
7513 (ucontext_t): Use __ctx with uc_flags.
7514 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
7515 __ctx with uc_flags.
7516 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
7517 (ucontext_t): Use __ctx with uc_flags.
7518 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
7519 __ctx with uc_flags.
7521 2017-08-09 Florian Weimer <fweimer@redhat.com>
7524 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
7525 before early return.
7527 2017-08-09 Andreas Schwab <schwab@suse.de>
7530 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
7534 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
7535 tst-compat-forwarder.
7536 (modules-names): Add tst-compat-forwarder-mod.
7537 ($(objpfx)tst-compat-forwarder): Depend on
7538 $(objpfx)tst-compat-forwarder-mod.so.
7539 * nptl/tst-compat-forwarder.c: New file.
7540 * nptl/tst-compat-forwarder-mod.c: New file.
7542 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
7544 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
7547 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
7548 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7550 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7552 (__libc_ifunc_impl_list): Add __memcpy_falkor.
7553 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
7554 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
7555 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7557 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
7560 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7563 * manual/setjmp.texi (getcontex): Document uc_stack value
7564 compatibility differences.
7566 2017-08-08 Joseph Myers <joseph@codesourcery.com>
7568 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
7569 (old_malloc_hook): Likewise.
7570 (old_memalign_hook): Likewise.
7571 (old_realloc_hook): Likewise.
7572 (struct hdr): Likewise.
7574 (freehook): Likewise.
7575 (mallochook): Likewise.
7576 (memalignhook): Likewise.
7577 (reallochook): Likewise.
7579 * malloc/mtrace.c (mallwatch): Likewise.
7580 (tr_old_free_hook): Likewise.
7581 (tr_old_malloc_hook): Likewise.
7582 (tr_old_realloc_hook): Likewise.
7583 (tr_old_memalign_hook): Likewise.
7584 (tr_where): Likewise.
7585 (lock_and_info): Likewise.
7586 (tr_freehook): Likewise.
7587 (tr_mallochook): Likewise.
7588 (tr_reallochook): Likewise.
7589 (tr_memalignhook): Likewise.
7590 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
7591 * misc/mmap.c (__mmap): Likewise.
7592 * misc/mmap64.c (__mmap64): Likewise.
7593 * misc/mprotect.c (__mprotect): Likewise.
7594 * misc/msync.c (msync): Likewise.
7595 * misc/munmap.c (__munmap): Likewise.
7596 * posix/posix_madvise.c (posix_madvise): Likewise.
7597 * socket/send.c (__send): Likewise.
7598 * socket/sendto.c (__sendto): Likewise.
7599 * socket/setsockopt.c (__setsockopt): Likewise.
7600 * string/memcmp.c (__ptr_t): Remove macro.
7601 (MEMCMP): Use void * instead of ptr_t.
7602 * string/memrchr.c (__ptr_t): Remove macro.
7603 (__memrchr): Use void * instead of ptr_t.
7604 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
7605 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
7606 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
7607 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
7608 * sysdeps/mach/msync.c (msync): Likewise.
7609 * sysdeps/mach/munmap.c (__munmap): Likewise.
7610 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
7612 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7613 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
7614 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
7615 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
7616 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7617 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7618 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
7619 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
7621 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7622 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
7623 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
7624 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
7625 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
7626 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
7627 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
7628 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
7629 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
7631 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
7632 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
7633 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
7634 (MEMCMP): Use void * instead of ptr_t.
7635 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
7636 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
7638 2017-08-08 Florian Weimer <fweimer@redhat.com>
7640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
7643 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
7646 * csu/libc-tls.c: Include <startup.h> first.
7647 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
7648 * elf/dl-tunables.c: Include <startup.h> first.
7649 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
7650 * sysdeps/generic/startup.h: New file.
7651 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
7652 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
7653 (I386_USE_SYSENTER): New. Defined to 0.
7655 2017-08-08 Andreas Schwab <schwab@suse.de>
7658 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
7659 * nptl/pt-system.c (system): Likewise.
7661 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7664 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
7666 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7667 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7668 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
7669 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7670 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7671 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7672 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7674 2017-08-07 Joseph Myers <joseph@codesourcery.com>
7677 * bits/sigaction.h (struct sigaction): Define sa_handler and
7678 sa_sigaction using union 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/alpha/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/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.
7699 (SA_RESETHAND): Likewise.
7700 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
7701 (struct sigaction): Define sa_handler and sa_sigaction using union
7702 also for [__USE_XOPEN_EXTENDED].
7703 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7704 [__USE_XOPEN_EXTENDED].
7705 (SA_RESTART): Likewise.
7706 (SA_NODEFER): Likewise.
7707 (SA_RESETHAND): Likewise.
7708 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
7709 (struct sigaction): Define sa_handler and sa_sigaction using union
7710 also for [__USE_XOPEN_EXTENDED].
7711 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7712 [__USE_XOPEN_EXTENDED].
7713 (SA_RESTART): Likewise.
7714 (SA_NODEFER): Likewise.
7715 (SA_RESETHAND): Likewise.
7716 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7717 (struct sigaction): Define sa_handler and sa_sigaction using union
7718 also for [__USE_XOPEN_EXTENDED].
7719 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7720 [__USE_XOPEN_EXTENDED].
7721 (SA_RESTART): Likewise.
7722 (SA_NODEFER): Likewise.
7723 (SA_RESETHAND): Likewise.
7724 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7725 (struct sigaction): Define sa_handler and sa_sigaction using union
7726 also for [__USE_XOPEN_EXTENDED].
7727 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7728 [__USE_XOPEN_EXTENDED].
7729 (SA_RESTART): Likewise.
7730 (SA_NODEFER): Likewise.
7731 (SA_RESETHAND): Likewise.
7732 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7733 (struct sigaction): Define sa_handler and sa_sigaction using union
7734 also for [__USE_XOPEN_EXTENDED].
7735 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7736 [__USE_XOPEN_EXTENDED].
7737 (SA_RESTART): Likewise.
7738 (SA_NODEFER): Likewise. Define directly rather than as alias.
7739 (SA_RESETHAND): Likewise.
7740 (SA_INTERRUPT): Define only for [__USE_MISC].
7741 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
7742 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
7744 (SA_STACK): Define only for [__USE_MISC].
7745 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
7746 (struct sigaction): Define sa_handler and sa_sigaction using union
7747 also for [__USE_XOPEN_EXTENDED].
7748 (SA_ONSTACK): Change [__USE_UNIX98] condition to
7749 [__USE_XOPEN_EXTENDED].
7750 (SA_RESTART): Likewise.
7751 (SA_NODEFER): Likewise.
7752 (SA_RESETHAND): Likewise.
7753 (SA_NOPTRACE): Define only for [__USE_MISC].
7755 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
7756 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
7757 (struct catalog_info): Likewise.
7758 * inet/htontest.c (lo): Likewise.
7760 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7761 * inet/inet_net.c (inet_network): Likewise.
7762 * inet/inet_netof.c (inet_netof): Likewise.
7763 * inet/rcmd.c (__ivaliduser): Likewise.
7764 (iruserok): Likewise.
7765 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
7766 * locale/programs/locale-spec.c (locale_special): Likewise.
7767 * nis/nis_findserv.c (struct findserv_req): Likewise.
7768 (__nis_findfastest_with_timeout): Likewise.
7769 * nss/test-netdb.c (test_network): Likewise.
7770 * resolv/inet_neta.c (inet_neta): Likewise.
7771 * resolv/ns_date.c (ns_datetosecs): Likewise.
7772 (SECS_PER_DAY): Likewise.
7773 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
7775 * resolv/res_comp.c (__putlong): Likewise.
7776 (__putshort): Likewise.
7777 (_getlong): Likewise.
7778 (_getshort): Likewise.
7779 * resolv/res_debug.c (p_time): Likewise.
7780 (precsize_ntoa): Likewise.
7781 (precsize_aton): Likewise.
7782 (latlon2ul): Likewise.
7783 (loc_aton): Likewise.
7784 (loc_ntoa): Likewise.
7785 * resolv/res_hconf.c (struct netaddr): Likewise.
7786 (_res_hconf_reorder_addrs): Likewise.
7787 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7788 (clnttcp_control): Likewise.
7789 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7790 (clntudp_control): Likewise.
7791 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7792 (clntunix_control): Likewise.
7793 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7794 * sunrpc/rpc/auth.h (union des_block): Likewise.
7795 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
7796 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
7797 (xdrrec_create): Likewise.
7798 (xdrrec_endofrecord): Likewise.
7799 (flush_out): Likewise.
7800 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
7801 (xdrstdio_putlong): Likewise.
7802 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
7805 * misc/sys/cdefs.h (__long_double_t): Remove.
7806 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
7807 instead of __long_double_t,
7808 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
7810 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7812 * benchtests/scripts/compare_strings.py: Avoid display error when
7813 running on a text terminal.
7815 * benchtests/scripts/compare_strings.py (main): Add an
7816 optional -base option.
7817 (process_results): New argument base_func.
7819 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
7821 * benchtests/bench-memcpy-large.c (test_name): Likewise.
7822 * benchtests/bench-memcpy-random.c (test_name): Likewise.
7824 2017-08-07 Andreas Schwab <schwab@suse.de>
7826 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
7827 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7828 * intl/Makefile ($(objpfx)tst-gettext.out)
7829 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
7830 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
7831 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7832 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7833 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
7834 * posix/Makefile ($(objpfx)globtest.out)
7835 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
7836 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
7837 ($(objpfx)tst-printf.out): Likewise.
7838 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
7839 ($(objpfx)tst-setcontext3.out): Likewise.
7841 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
7843 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7844 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
7845 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
7846 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
7847 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
7849 (CFLAGS-doasin-fma.c): New.
7850 (CFLAGS-dosincos-fma.c): Likewise.
7851 (CFLAGS-e_asin-fma.c): Likewise.
7852 (CFLAGS-e_atan2-fma.c): Likewise.
7853 (CFLAGS-e_exp-fma.c): Likewise.
7854 (CFLAGS-e_log-fma.c): Likewise.
7855 (CFLAGS-e_pow-fma.c): Likewise.
7856 (CFLAGS-halfulp-fma.c): Likewise.
7857 (CFLAGS-mpa-fma.c): Likewise.
7858 (CFLAGS-mpatan-fma.c): Likewise.
7859 (CFLAGS-mpatan2-fma.c): Likewise.
7860 (CFLAGS-mpexp-fma.c): Likewise.
7861 (CFLAGS-mplog-fma.c): Likewise.
7862 (CFLAGS-mpsqrt-fma.c): Likewise.
7863 (CFLAGS-mptan-fma.c): Likewise.
7864 (CFLAGS-s_atan-fma.c): Likewise.
7865 (CFLAGS-sincos32-fma.c): Likewise.
7866 (CFLAGS-slowexp-fma.c): Likewise.
7867 (CFLAGS-slowpow-fma.c): Likewise.
7868 (CFLAGS-s_sin-fma.c): Likewise.
7869 (CFLAGS-s_tan-fma.c): Likewise.
7870 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
7871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
7872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
7873 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
7874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
7875 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
7876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
7877 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
7878 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
7879 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
7880 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
7881 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
7882 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
7883 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
7884 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
7885 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
7886 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
7887 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
7888 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
7889 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
7890 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
7891 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
7892 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
7893 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
7894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7895 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7896 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7897 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7898 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7899 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7902 2017-08-04 Joseph Myers <joseph@codesourcery.com>
7904 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
7905 (min_of_type_f): New macro.
7906 (min_of_type_): Likewise.
7907 (min_of_type_l): Likewise.
7908 (min_of_type_f128): Likewise.
7909 (min_of_type): Define using __MATH_TG and taking an expression
7911 (math_check_force_underflow): Pass expression instead of type to
7913 (math_check_force_underflow_nonneg): Likewise.
7915 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7917 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
7918 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
7919 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
7921 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
7923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7924 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
7925 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
7926 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
7927 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
7928 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
7929 memcpy_chk-nonshared, mempcpy_chk-nonshared,
7930 memmove_chk-nonshared and memset_chk-nonshared
7931 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
7932 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
7933 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
7934 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
7935 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
7936 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
7937 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
7938 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
7939 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
7940 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
7941 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
7942 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
7943 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
7944 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
7945 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
7946 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
7947 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
7948 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
7949 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
7950 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
7951 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
7952 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
7953 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
7954 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
7955 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
7956 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
7957 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
7958 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
7959 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
7960 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
7961 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
7962 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
7963 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
7964 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7965 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
7966 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
7967 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
7968 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
7969 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
7970 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
7971 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
7972 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
7973 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
7974 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
7975 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
7976 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
7977 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
7978 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
7979 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
7980 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
7981 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
7982 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
7983 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
7984 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
7985 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
7986 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
7987 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
7988 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
7989 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
7990 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
7991 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
7992 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
7993 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
7994 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
7995 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
7996 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
7997 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
7998 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
7999 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
8000 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
8001 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
8002 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8003 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8004 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8005 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8006 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8007 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8008 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8009 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8010 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8011 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8012 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8013 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8014 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8015 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8016 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8017 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8018 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8019 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8020 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8021 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8022 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8023 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8024 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8025 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8026 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8027 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8028 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8029 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8030 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8031 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8032 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8033 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8034 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8035 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8036 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8037 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8038 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8040 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8042 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
8043 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
8044 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
8045 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
8046 svml_d_log2_core-sse2, svml_d_log4_core-sse,
8047 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
8048 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
8049 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
8050 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
8051 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
8052 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
8053 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
8054 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
8055 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
8056 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
8057 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
8058 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
8059 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
8060 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
8061 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
8062 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
8063 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
8064 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
8065 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
8066 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
8067 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
8068 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
8069 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
8070 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
8071 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
8072 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
8073 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
8074 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
8075 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
8076 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
8077 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
8078 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
8079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
8080 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
8081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
8082 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
8083 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
8084 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
8085 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
8086 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
8087 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
8088 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
8089 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
8090 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
8091 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
8092 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
8093 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
8094 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
8095 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
8096 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
8097 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
8098 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
8099 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
8100 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
8102 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
8103 Don't include <sysdep.h> nor <init-arch.h>.
8104 (_ZGVbN2v_cos): Removed.
8105 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
8107 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
8108 Don't include <sysdep.h> nor <init-arch.h>.
8109 (_ZGVdN4v_cos): Removed.
8110 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
8112 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
8113 Don't include <sysdep.h> nor <init-arch.h>.
8114 (_ZGVeN8v_cos): Removed.
8115 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
8117 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
8118 Don't include <sysdep.h> nor <init-arch.h>.
8119 (_ZGVbN2v_exp): Removed.
8120 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
8122 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
8123 Don't include <sysdep.h> nor <init-arch.h>.
8124 (_ZGVdN4v_exp): Removed.
8125 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
8127 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
8128 Don't include <sysdep.h> nor <init-arch.h>.
8129 (_ZGVeN8v_exp): Removed.
8130 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
8132 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
8133 Don't include <sysdep.h> nor <init-arch.h>.
8134 (_ZGVbN2v_log): Removed.
8135 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
8137 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
8138 Don't include <sysdep.h> nor <init-arch.h>.
8139 (_ZGVdN4v_log): Removed.
8140 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
8142 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
8143 Don't include <sysdep.h> nor <init-arch.h>.
8144 (_ZGVeN8v_log): Removed.
8145 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
8147 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
8148 Don't include <sysdep.h> nor <init-arch.h>.
8149 (_ZGVbN2vv_pow): Removed.
8150 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
8152 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
8153 Don't include <sysdep.h> nor <init-arch.h>.
8154 (_ZGVdN4vv_pow): Removed.
8155 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
8157 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
8158 Don't include <sysdep.h> nor <init-arch.h>.
8159 (_ZGVeN8vv_pow): Removed.
8160 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
8162 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
8163 Don't include <sysdep.h> nor <init-arch.h>.
8164 (_ZGVbN2v_sin): Removed.
8165 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
8167 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
8168 Don't include <sysdep.h> nor <init-arch.h>.
8169 (_ZGVbN4v_sin): Removed.
8170 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
8172 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
8173 Don't include <sysdep.h> nor <init-arch.h>.
8174 (_ZGVbN8v_sin): Removed.
8175 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
8177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
8178 Don't include <sysdep.h> nor <init-arch.h>.
8179 (_ZGVbN2vvv_sincos): Removed.
8180 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
8182 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
8183 Don't include <sysdep.h> nor <init-arch.h>.
8184 (_ZGVdN4vvv_sincos): Removed.
8185 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
8187 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
8188 Don't include <sysdep.h> nor <init-arch.h>.
8189 (_ZGVeN8vvv_sincos): Removed.
8190 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
8192 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
8193 Don't include <sysdep.h> nor <init-arch.h>.
8194 (_ZGVeN16v_cosf): Removed.
8195 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
8197 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
8198 Don't include <sysdep.h> nor <init-arch.h>.
8199 (_ZGVbN4v_cosf): Removed.
8200 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
8202 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
8203 Don't include <sysdep.h> nor <init-arch.h>.
8204 (_ZGVdN8v_cosf): Removed.
8205 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
8207 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
8208 Don't include <sysdep.h> nor <init-arch.h>.
8209 (_ZGVeN16v_expf): Removed.
8210 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
8212 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
8213 Don't include <sysdep.h> nor <init-arch.h>.
8214 (_ZGVbN4v_expf): Removed.
8215 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
8217 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
8218 Don't include <sysdep.h> nor <init-arch.h>.
8219 (_ZGVdN8v_expf): Removed.
8220 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
8222 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
8223 Don't include <sysdep.h> nor <init-arch.h>.
8224 (_ZGVeN16v_logf): Removed.
8225 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
8227 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
8228 Don't include <sysdep.h> nor <init-arch.h>.
8229 (_ZGVbN4v_logf): Removed.
8230 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
8232 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
8233 Don't include <sysdep.h> nor <init-arch.h>.
8234 (_ZGVdN8v_logf): Removed.
8235 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
8237 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
8238 Don't include <sysdep.h> nor <init-arch.h>.
8239 (_ZGVeN16vv_powf): Removed.
8240 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
8242 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
8243 Don't include <sysdep.h> nor <init-arch.h>.
8244 (_ZGVbN4vv_powf): Removed.
8245 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
8247 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
8248 Don't include <sysdep.h> nor <init-arch.h>.
8249 (_ZGVdN8vv_powf): Removed.
8250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
8252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
8253 Don't include <sysdep.h> nor <init-arch.h>.
8254 (_ZGVeN16vvv_sincosf): Removed.
8255 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
8257 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
8258 Don't include <sysdep.h> nor <init-arch.h>.
8259 (_ZGVbN4vvv_sincosf): Removed.
8260 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
8262 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
8263 Don't include <sysdep.h> nor <init-arch.h>.
8264 (_ZGVdN8vvv_sincosf): Removed.
8265 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
8267 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
8268 Don't include <sysdep.h> nor <init-arch.h>.
8269 (_ZGVeN16v_sinf): Removed.
8270 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
8272 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
8273 Don't include <sysdep.h> nor <init-arch.h>.
8274 (_ZGVbN4v_sinf): Removed.
8275 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
8277 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
8278 Don't include <sysdep.h> nor <init-arch.h>.
8279 (_ZGVdN8v_sinf): Removed.
8281 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8283 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8284 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
8285 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
8286 s_rint-sse4_1 and s_rintf-sse4_1.
8287 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
8288 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8289 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8290 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8291 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8292 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
8293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
8294 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8295 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8296 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
8297 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
8298 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8300 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
8301 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
8302 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8304 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
8305 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
8306 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8308 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
8309 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
8310 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8311 (__floorf): Removed.
8312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
8313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
8314 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8315 (__nearbyint): Removed.
8316 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
8317 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
8318 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8319 (__nearbyintf): Removed.
8320 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
8321 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
8322 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8324 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
8325 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
8326 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
8329 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8331 * sysdeps/i386/start.S (_start): Check Check PIC instead of
8332 SHARED. Avoid dynamic relocation against main in static PIE.
8334 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8337 * elf/Makefile (CFLAGS-tst-prelink.c): New.
8338 (LDFLAGS-tst-prelink): Likewise.
8340 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8342 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
8343 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
8344 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
8345 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8346 (INTERNAL_SYSCALL_NCS): Likewise.
8347 (LOADARGS_1): Likewise.
8348 (LOADARGS_5): Likewise.
8349 (RESTOREARGS_1): Likewise.
8350 (RESTOREARGS_5): Likewise.
8352 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8354 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
8355 (MEMPCPY_SYMBOL): Likewise.
8356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8357 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
8358 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
8360 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8361 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8363 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
8364 (__hidden_ver1): Don't use in libc.a.
8365 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8366 (__mempcpy): Don't create a weak alias in libc.a.
8367 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
8369 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
8370 (__hidden_ver1): Don't use in libc.a.
8372 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8374 * config.make.in (have-insert): New.
8375 * configure.ac (libc_cv_insert): New. Set to yes if linker
8376 supports INSERT in linker script.
8377 (AC_SUBST(libc_cv_insert): New.
8378 * configure: Regenerated.
8379 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
8380 if $(have-insert) == yes.
8382 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8384 * elf/Makefile (tests): Add vismain only if
8385 $(have-protected-data) == yes.
8386 (tests-pie): Likewise.
8388 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8391 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8392 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
8394 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
8397 * sysdeps/i386/i586/memset.S
8398 (__memset_zero_constant_len_parameter): Removed.
8399 * sysdeps/i386/i686/memset.S
8400 (__memset_zero_constant_len_parameter): Likewise.
8401 * sysdeps/i386/i686/multiarch/memset_chk.S
8402 (__memset_zero_constant_len_parameter): Likewise.
8403 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
8406 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8408 * stdlib/getentropy.c (getentropy): Change return type to int.
8410 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
8412 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8414 2017-08-03 Joseph Myers <joseph@codesourcery.com>
8416 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
8418 * math/s_nexttowardf.c (__nexttowardf): Likewise.
8419 * sysdeps/generic/math_private.h (ieee_double_shape_type):
8421 (ieee_float_shape_type): Likewise.
8422 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
8423 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
8424 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8425 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8426 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8427 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
8428 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
8429 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8430 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8432 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8433 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8434 (__ieee754_yn): Likewise.
8435 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8436 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8437 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
8439 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8440 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
8441 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
8442 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
8444 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8445 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
8446 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
8447 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
8448 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
8449 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
8451 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8452 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
8453 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8454 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
8455 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8456 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
8457 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
8458 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
8459 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
8460 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8461 (__issignaling): Likewise.
8462 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
8463 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
8464 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8466 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8467 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8468 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
8469 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
8471 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
8473 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
8474 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
8475 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
8476 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8477 (__erfcf): Likewise.
8478 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8479 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8480 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
8481 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
8483 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
8484 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
8486 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8487 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
8488 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8489 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
8490 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
8491 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8492 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
8493 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
8495 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
8497 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8499 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
8500 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8502 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8504 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8505 (__ieee754_ynl): Likewise.
8506 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8507 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
8509 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
8511 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8512 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
8513 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8515 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8516 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
8517 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
8518 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
8519 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
8520 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8521 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
8522 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
8524 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8525 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
8526 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
8528 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
8529 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
8530 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8531 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8532 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
8533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8537 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8539 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8541 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
8542 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8543 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8544 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
8545 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8546 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
8549 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8551 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8552 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8554 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8555 (__ieee754_remainderl): Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8557 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8558 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8559 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8561 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8562 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8564 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8565 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
8566 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8567 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8568 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8569 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8571 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8572 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
8573 (__ieee754_y0l): Likewise.
8576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8577 (__ieee754_y1l): Likewise.
8580 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8581 (__ieee754_ynl): Likewise.
8582 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8583 (__ieee754_lgammal_r): Likewise.
8584 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
8586 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8587 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
8588 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8589 (__erfcl): Likewise.
8590 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8591 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
8593 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
8594 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
8595 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8596 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
8597 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
8598 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8599 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8601 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
8602 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8603 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
8604 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
8605 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8607 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
8608 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
8610 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
8611 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
8612 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
8613 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8614 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8616 2017-08-03 Florian Weimer <fweimer@redhat.com>
8619 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
8620 on memory allocation failure.
8622 2017-08-03 Alan Modra <amodra@gmail.com>
8624 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
8625 tst-tlsopt-powerpc.c with function name change and no test harness.
8626 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
8627 Call tls_get_addr_opt_test.
8628 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
8629 (modules-names): Add mod-tlsopt-powerpc.
8630 (mod-tlsopt-powerpc.so-no-z-defs): Define.
8631 (tst-tlsopt-powerpc): Depend on .so.
8632 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
8633 define. Expand use in TLS_GD and TLS_LD.
8635 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8637 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
8639 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8641 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8644 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
8645 comparing size with that of double.
8646 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8647 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8648 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8649 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8650 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8651 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
8652 unsigned __int128 types.
8654 2017-08-02 Steve Ellcey <sellcey@cavium.com>
8656 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
8657 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
8658 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
8659 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
8660 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
8662 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8664 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
8666 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8668 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
8670 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8671 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8672 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8673 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8674 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8676 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8678 2017-08-02 Joseph Myers <joseph@codesourcery.com>
8681 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
8682 bit-field expressions passed to sizeof or typeof.
8683 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8684 (__TGMATH_F128): Likewise.
8685 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8686 (__TGMATH_CF128): Likewise.
8687 (__TGMATH_UNARY_REAL_ONLY): Likewise.
8688 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8689 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
8690 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
8691 (__TGMATH_BINARY_REAL_ONLY): Likewise.
8692 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8693 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8694 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
8695 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8696 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
8697 (__TGMATH_UNARY_REAL_IMAG): Likewise.
8698 (__TGMATH_UNARY_IMAG): Likewise.
8699 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
8700 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8701 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
8703 (define_vars_for_type): Handle bit_field type specially.
8704 (Tests.__init__): Declare structure with bit-field element.
8706 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
8709 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
8710 (MEMCPY_CHK): Define only if SHARED is defined.
8711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
8713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
8716 See ChangeLog.18 for earlier changes.