1 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
4 * mach/stack_chk_fail_local.c: New file.
5 * hurd/stack_chk_fail_local.c: New file.
6 * mach/Machrules ($(interface-library)-routines): Add
8 * mach/Versions (GLIBC_2.4): Add __stack_chk_fail.
9 * hurd/Versions (GLIBC_2.4): Add __stack_chk_fail.
11 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
13 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
14 (index_cpu_*, index_arch_*): Removed.
16 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
18 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
19 Use uint64_t instead of unsigned long.
21 2017-08-25 Joseph Myers <joseph@codesourcery.com>
23 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
24 [__HAVE_DISTINCT_FLOAT128].
26 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
27 of <bits/math-finite.h>.
28 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29 inclusion of <bits/math-finite.h>.
30 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32 __NO_LONG_DOUBLE_MATH].
33 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
34 (__MATH_REDIRCALL_2): Likewise.
35 (__MATH_REDIRCALL_INTERNAL): Likewise.
36 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
37 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
38 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
40 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
42 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
44 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
46 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
48 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
50 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
52 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
53 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
54 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
55 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
56 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
57 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
58 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
61 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
63 * math/math.h [defined __cplusplus] (issignaling): In the long
64 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
65 is not defined. Call __issignaling, otherwise.
67 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
69 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
70 syscall definitions and replace __builtin_expect with __glibc_likely.
71 * sysdeps/unix/syscall-template.S: Update comment about cancellable
73 (SYSCALL_CANCELLABLE): Removedefinition
74 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
76 (PSEUDO_END): Likewise.
77 [IS_IN (libpthread)] (CENABLE): Likewise.
78 [IS_IN (libpthread)] (CDISABLE): Likewise.
79 [IS_IN (libc)] (CENABLE): Likewise.
80 [IS_IN (libc)] (CENABLE): Likewise.
81 [IS_IN (librt)] (CDISABLE): Likewise.
82 [IS_IN (librt)] (CDISABLE): Likewise.
83 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
84 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
86 (PSEUDO_END): Likewise.
87 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
88 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
89 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
90 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
91 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
92 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
95 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
96 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
98 (PSEUDO_END): Likewise.
99 [IS_IN (libpthread)] (CENABLE): Likewise.
100 [IS_IN (libpthread)] (CDISABLE): Likewise.
101 [IS_IN (libc)] (CENABLE): Likewise.
102 [IS_IN (libc)] (CENABLE): Likewise.
103 [IS_IN (librt)] (CDISABLE): Likewise.
104 [IS_IN (librt)] (CDISABLE): Likewise.
105 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
106 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
108 (PSEUDO_END): Likewise.
109 [IS_IN (libpthread)] (CENABLE): Likewise.
110 [IS_IN (libpthread)] (CDISABLE): Likewise.
111 [IS_IN (libc)] (CENABLE): Likewise.
112 [IS_IN (libc)] (CENABLE): Likewise.
113 [IS_IN (librt)] (CDISABLE): Likewise.
114 [IS_IN (librt)] (CDISABLE): Likewise.
115 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
116 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
118 (PSEUDO_END): Likewise.
119 [IS_IN (libpthread)] (CENABLE): Likewise.
120 [IS_IN (libpthread)] (CDISABLE): Likewise.
121 [IS_IN (libc)] (CENABLE): Likewise.
122 [IS_IN (libc)] (CENABLE): Likewise.
123 [IS_IN (librt)] (CDISABLE): Likewise.
124 [IS_IN (librt)] (CDISABLE): Likewise.
125 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
126 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
128 (PSEUDO_END): Likewise.
129 [IS_IN (libpthread)] (CENABLE): Likewise.
130 [IS_IN (libpthread)] (CDISABLE): Likewise.
131 [IS_IN (libc)] (CENABLE): Likewise.
132 [IS_IN (libc)] (CENABLE): Likewise.
133 [IS_IN (librt)] (CDISABLE): Likewise.
134 [IS_IN (librt)] (CDISABLE): Likewise.
135 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
136 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
138 (PSEUDO_END): Likewise.
139 [IS_IN (libpthread)] (CENABLE): Likewise.
140 [IS_IN (libpthread)] (CDISABLE): Likewise.
141 [IS_IN (libc)] (CENABLE): Likewise.
142 [IS_IN (libc)] (CENABLE): Likewise.
143 [IS_IN (librt)] (CDISABLE): Likewise.
144 [IS_IN (librt)] (CDISABLE): Likewise.
145 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
146 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
148 (PSEUDO_END): Likewise.
149 [IS_IN (libpthread)] (CENABLE): Likewise.
150 [IS_IN (libpthread)] (CDISABLE): Likewise.
151 [IS_IN (libc)] (CENABLE): Likewise.
152 [IS_IN (libc)] (CENABLE): Likewise.
153 [IS_IN (librt)] (CDISABLE): Likewise.
154 [IS_IN (librt)] (CDISABLE): Likewise.
155 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
156 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
158 (PSEUDO_END): Likewise.
159 [IS_IN (libpthread)] (CENABLE): Likewise.
160 [IS_IN (libpthread)] (CDISABLE): Likewise.
161 [IS_IN (libc)] (CENABLE): Likewise.
162 [IS_IN (libc)] (CENABLE): Likewise.
163 [IS_IN (librt)] (CDISABLE): Likewise.
164 [IS_IN (librt)] (CDISABLE): Likewise.
165 (SINGLE_THREAD_P): Likewise.
166 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
168 (PSEUDO_END): Likewise.
169 [IS_IN (libpthread)] (CENABLE): Likewise.
170 [IS_IN (libpthread)] (CDISABLE): Likewise.
171 [IS_IN (libc)] (CENABLE): Likewise.
172 [IS_IN (libc)] (CENABLE): Likewise.
173 [IS_IN (librt)] (CDISABLE): Likewise.
174 [IS_IN (librt)] (CDISABLE): Likewise.
175 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
176 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
178 (PSEUDO_END): Likewise.
179 [IS_IN (libpthread)] (CENABLE): Likewise.
180 [IS_IN (libpthread)] (CDISABLE): Likewise.
181 [IS_IN (libc)] (CENABLE): Likewise.
182 [IS_IN (libc)] (CENABLE): Likewise.
183 [IS_IN (librt)] (CDISABLE): Likewise.
184 [IS_IN (librt)] (CDISABLE): Likewise.
185 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
186 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
187 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
188 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
191 (PSEUDO_END): Likewise.
192 [IS_IN (libpthread)] (CENABLE): Likewise.
193 [IS_IN (libpthread)] (CDISABLE): Likewise.
194 [IS_IN (libc)] (CENABLE): Likewise.
195 [IS_IN (libc)] (CENABLE): Likewise.
196 [IS_IN (librt)] (CDISABLE): Likewise.
197 [IS_IN (librt)] (CDISABLE): Likewise.
198 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
201 (PSEUDO_END): Likewise.
202 [IS_IN (libpthread)] (CENABLE): Likewise.
203 [IS_IN (libpthread)] (CDISABLE): Likewise.
204 [IS_IN (libc)] (CENABLE): Likewise.
205 [IS_IN (libc)] (CENABLE): Likewise.
206 [IS_IN (librt)] (CDISABLE): Likewise.
207 [IS_IN (librt)] (CDISABLE): Likewise.
208 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
209 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
211 (PSEUDO_END): Likewise.
212 [IS_IN (libpthread)] (CENABLE): Likewise.
213 [IS_IN (libpthread)] (CDISABLE): Likewise.
214 [IS_IN (libc)] (CENABLE): Likewise.
215 [IS_IN (libc)] (CENABLE): Likewise.
216 [IS_IN (librt)] (CDISABLE): Likewise.
217 [IS_IN (librt)] (CDISABLE): Likewise.
218 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
220 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
221 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
222 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
224 (PSEUDO_END): Likewise.
225 [IS_IN (libpthread)] (CENABLE): Likewise.
226 [IS_IN (libpthread)] (CDISABLE): Likewise.
227 [IS_IN (libc)] (CENABLE): Likewise.
228 [IS_IN (libc)] (CENABLE): Likewise.
229 [IS_IN (librt)] (CDISABLE): Likewise.
230 [IS_IN (librt)] (CDISABLE): Likewise.
231 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
232 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
234 (PSEUDO_END): Likewise.
235 [IS_IN (libpthread)] (CENABLE): Likewise.
236 [IS_IN (libpthread)] (CDISABLE): Likewise.
237 [IS_IN (libc)] (CENABLE): Likewise.
238 [IS_IN (libc)] (CENABLE): Likewise.
239 [IS_IN (librt)] (CDISABLE): Likewise.
240 [IS_IN (librt)] (CDISABLE): Likewise.
241 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
243 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
245 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
247 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
249 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
251 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
254 * string/stratcliff.c (do_test): Declare size, nchars, inner,
255 middle and outer with size_t instead of int. Repleace %d and
256 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
257 "MAX (outer, nchars - 64)" to support unsigned outer and
258 nchars. Also exit loop when outer == 0.
260 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
262 * include/fcntl.h (__fcntl_nocancel): Remove definition.
263 * include/signal.h (__sigsuspend_nocancel): Likewise.
264 * include/time.h (__nanosleep_nocancel): Likewise.
265 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
266 * login/utmp_file.c: Include non cancellable syscall header.
267 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
270 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
272 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
273 .byte sequences with AVX512F instructions.
274 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
275 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
276 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
279 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
282 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
283 Steve Ellcey <sellcey@cavium.com>
285 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
286 Use PTR_REG macro in cmp instruction.
288 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
290 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
291 Change the return type of the ifunc resolver to match the return
292 type of the target function.
294 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
296 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
297 (preadv64): Likewise.
298 (pwrite64(: Likewise.
299 (pwritev64): Likewise.
301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
302 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
303 (LOAD_ARGS_0): Likewise.
304 (LOAD_ARGS_1): Likewise.
305 (LOAD_ARGS_2): Likewise.
306 (LOAD_ARGS_3): Likewise.
307 (LOAD_ARGS_4): Likewise.
308 (LOAD_ARGS_5): Likewise.
309 (LOAD_ARGS_6): Likewise.
310 (LOAD_REGS_0): Likewise.
311 (LOAD_REGS_1): Likewise.
312 (LOAD_REGS_2): Likewise.
313 (LOAD_REGS_3): Likewise.
314 (LOAD_REGS_4): Likewise.
315 (LOAD_REGS_5): Likewise.
316 (LOAD_REGS_6): Likewise.
317 (ASM_ARGS_0): Likewise.
318 (ASM_ARGS_1): Likewise.
319 (ASM_ARGS_2): Likewise.
320 (ASM_ARGS_3): Likewise.
321 (ASM_ARGS_4): Likewise.
322 (ASM_ARGS_5): Likewise.
323 (ASM_ARGS_6): Likewise.
324 (LOAD_ARGS_TYPES_1): Likewise.
325 (LOAD_ARGS_TYPES_2): Likewise.
326 (LOAD_ARGS_TYPES_3): Likewise.
327 (LOAD_ARGS_TYPES_4): Likewise.
328 (LOAD_ARGS_TYPES_5): Likewise.
329 (LOAD_ARGS_TYPES_6): Likewise.
330 (LOAD_REGS_TYPES_1): Likewise.
331 (LOAD_REGS_TYPES_2): Likewise.
332 (LOAD_REGS_TYPES_3): Likewise.
333 (LOAD_REGS_TYPES_4): Likewise.
334 (LOAD_REGS_TYPES_5): Likewise.
335 (LOAD_REGS_TYPES_6): Likewise.
336 (TYPEFY): New define.
338 (internal_syscall0): Likewise.
339 (internal_syscall1): Likewise.
340 (internal_syscall2): Likewise.
341 (internal_syscall3): Likewise.
342 (internal_syscall4): Likewise.
343 (internal_syscall5): Likewise.
344 (internal_syscall6): Likewise.
345 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
346 (INTERNAL_SYSCALL_NCS): Remove define.
347 (internal_syscall1): Add define.
349 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
351 * math/w_remainder_compat.c: Remove duplicate inclusion of
353 * math/w_remainderf_compat.c: Likewise.
354 * math/w_remainderl_compat.c: Likewise.
356 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
360 2017-08-22 Joseph Myers <joseph@codesourcery.com>
363 * math/tgmath.h (__floating_type): Simplify definitions.
364 (__real_integer_type): New macro.
365 (__complex_integer_type): Likewise.
366 (__expr_is_real): Likewise.
367 (__tgmath_real_type_sub): Update comment to describe handling of
369 (__tgmath_complex_type_sub): New macro.
370 (__tgmath_complex_type): Likewise.
371 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
372 (__TGMATH_CF128): Use __expr_is_real.
373 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
375 (__TGMATH_BINARY_REAL_IMAG): Likewise.
376 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
377 * math/gen-tgmath-tests.py (Type.create_type): Create complex
380 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
382 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
384 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
386 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
389 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
390 nanosleep_not_cancel with __nanosleep_nocancel.
391 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
392 (__nanosleep_nocancel): New macro.
393 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
395 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
397 (__nanosleep_nocancel): New prototype.
399 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
400 pause_not_cancel with __pause_nocancel.
401 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
402 (__pause_nocancel): New macro.
403 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
405 (__pause_nocancel): New prototype.
406 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
408 2017-08-22 Martin Sebor <msebor@redhat.com>
410 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
411 to return a pointer to the same type as the target function.
413 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
417 * include/printf.h (__printf_fphex): Add attribute_hidden.
418 (__guess_grouping): New prototype.
419 * stdio-common/printf_fp.c (__guess_grouping): Removed.
420 * stdio-common/reg-printf.c (__register_printf_specifier): Add
421 libc_hidden_proto and libc_hidden_def.
422 * stdlib/strfmon_l.c (__guess_grouping): Removed.
423 (__vstrfmon_l): Remove the third argument passed to
426 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
428 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
429 definition for issignaling that does not rely on __MATH_TG,
430 since __MATH_TG uses __builtin_types_compatible_p, which is only
432 (CFLAGS-test-math-issignaling.cc): New variable.
433 * math/Makefile [CXX] (tests): Add test-math-issignaling.
434 * math/test-math-issignaling.cc: New test for C++ implementation
435 of type-generic issignaling.
436 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
437 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
438 options of test-math-issignaling on powerpc64le.
440 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
442 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
444 (hidden_proto): Likewise.
445 (hidden_tls_proto): Likewise.
446 (__hidden_proto): Likewise.
448 2017-08-22 Florian Weimer <fweimer@redhat.com>
450 math: Statically link tests of internal functionality.
451 * math/Makefile (tests): Remove atest-exp, atest-sincos,
453 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
454 (gmp-objs): Remove assignment.
455 (atest-exp, atest-sincos, atest-exp2): Remove targets.
457 2017-08-22 Joseph Myers <joseph@codesourcery.com>
460 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
462 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
464 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
467 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
468 variable definitions above inclusion of ../Rules.
470 2017-08-21 Joseph Myers <joseph@codesourcery.com>
472 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
473 case calling __builtin_unreachable.
475 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
477 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
479 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
480 (__waitpid_nocancel): New macro.
481 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
483 (__waitpid_nocancel): Replace macro with a function.
484 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
487 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
489 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
490 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
492 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
493 __writev_nocancel_nostatus.
494 (write_call_graph): Likewise.
495 (write_bb_counts): Likewise.
496 * resolv/herror.c (herror): Likewise.
497 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
499 (__writev_nocancel_nostatus): New macro.
500 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
502 (__writev_nocancel_nostatus): New function.
504 2017-08-21 Joseph Myers <joseph@codesourcery.com>
507 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
509 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
511 (hidden_proto): Likewise.
512 (hidden_tls_proto): Likewise.
513 (__hidden_proto): Likewise.
516 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
517 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
528 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
529 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
530 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
531 GLIBC_2.0 sqrtl symbol.
533 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
534 [__USE_MISC] (_LIB_VERSION): Likewise.
535 [__USE_MISC] (struct exception): Likewise.
536 [__USE_MISC] (matherr): Likewise.
537 [__USE_MISC] (DOMAIN): Likewise.
538 [__USE_MISC] (SING): Likewise.
539 [__USE_MISC] (OVERFLOW): Likewise.
540 [__USE_MISC] (UNDERFLOW): Likewise.
541 [__USE_MISC] (TLOSS): Likewise.
542 [__USE_MISC] (PLOSS): Likewise.
543 [__USE_MISC] (HUGE): Likewise.
544 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
545 * math/math-svid-compat.h: New file.
546 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
548 * include/math.h [!_ISOMAC] (__matherr): Remove.
549 * manual/arith.texi (FP Exceptions): Do not document matherr.
550 * math/Makefile (tests): Change test-matherr to test-matherr-3.
551 (tests-internal): New variable.
552 (install-lib): Do not add libieee.a.
553 (non-lib.a): Likewise.
554 (extra-objs): Do not add libieee.a and ieee-math.o.
555 (CPPFLAGS-s_lib_version.c): Remove variable.
556 ($(objpfx)libieee.a): Remove rule.
557 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
558 * math/ieee-math.c: Remove.
559 * math/libm-test-support.c (matherr): Remove.
560 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
561 and license notices. Include <math-svid-compat.h> and
563 (matherr): Undefine as macro. Use compat_symbol_reference.
564 (_LIB_VERSION): Likewise.
565 * math/test-matherr-2.c: New file.
566 * math/test-matherr-3.c: Likewise.
567 * sysdeps/generic/math_private.h (__kernel_standard): Remove
569 (__kernel_standard_f): Likewise.
570 (__kernel_standard_l): Likewise.
571 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
572 <math_private.h>. Include <math-svid-compat.h>.
573 (_LIB_VERSION): Undefine as macro.
574 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
575 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
576 [LIBM_SVID_COMPAT], use compat_symbol.
577 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
578 <math_private.h>. Include <math-svid-compat.h>.
579 (matherr): Undefine as macro.
580 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
582 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
583 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
584 compat_symbol_reference.
585 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
586 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
587 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
588 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
589 (MATHERR_D): Remove declaration.
590 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
591 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
592 [LIBM_BUILD] (pmatherrf): Likewise.
593 [LIBM_BUILD] (pmatherr): Likewise.
594 [LIBM_BUILD] (pmatherrl): Likewise.
597 (OVERFLOW): Likewise.
598 (UNDERFLOW): Likewise.
601 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
602 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
604 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
605 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
607 * math/lgamma-compat.h: Include <math-svid-compat.h>.
608 * math/w_acos_compat.c: Likewise.
609 * math/w_acosf_compat.c: Likewise.
610 * math/w_acosh_compat.c: Likewise.
611 * math/w_acoshf_compat.c: Likewise.
612 * math/w_acoshl_compat.c: Likewise.
613 * math/w_acosl_compat.c: Likewise.
614 * math/w_asin_compat.c: Likewise.
615 * math/w_asinf_compat.c: Likewise.
616 * math/w_asinl_compat.c: Likewise.
617 * math/w_atan2_compat.c: Likewise.
618 * math/w_atan2f_compat.c: Likewise.
619 * math/w_atan2l_compat.c: Likewise.
620 * math/w_atanh_compat.c: Likewise.
621 * math/w_atanhf_compat.c: Likewise.
622 * math/w_atanhl_compat.c: Likewise.
623 * math/w_cosh_compat.c: Likewise.
624 * math/w_coshf_compat.c: Likewise.
625 * math/w_coshl_compat.c: Likewise.
626 * math/w_exp10_compat.c: Likewise.
627 * math/w_exp10f_compat.c: Likewise.
628 * math/w_exp10l_compat.c: Likewise.
629 * math/w_exp2_compat.c: Likewise.
630 * math/w_exp2f_compat.c: Likewise.
631 * math/w_exp2l_compat.c: Likewise.
632 * math/w_fmod_compat.c: Likewise.
633 * math/w_fmodf_compat.c: Likewise.
634 * math/w_fmodl_compat.c: Likewise.
635 * math/w_hypot_compat.c: Likewise.
636 * math/w_hypotf_compat.c: Likewise.
637 * math/w_hypotl_compat.c: Likewise.
638 * math/w_j0_compat.c: Likewise.
639 * math/w_j0f_compat.c: Likewise.
640 * math/w_j0l_compat.c: Likewise.
641 * math/w_j1_compat.c: Likewise.
642 * math/w_j1f_compat.c: Likewise.
643 * math/w_j1l_compat.c: Likewise.
644 * math/w_jn_compat.c: Likewise.
645 * math/w_jnf_compat.c: Likewise.
646 * math/w_jnl_compat.c: Likewise.
647 * math/w_lgamma_main.c: Likewise.
648 * math/w_lgamma_r_compat.c: Likewise.
649 * math/w_lgammaf_main.c: Likewise.
650 * math/w_lgammaf_r_compat.c: Likewise.
651 * math/w_lgammal_main.c: Likewise.
652 * math/w_lgammal_r_compat.c: Likewise.
653 * math/w_log10_compat.c: Likewise.
654 * math/w_log10f_compat.c: Likewise.
655 * math/w_log10l_compat.c: Likewise.
656 * math/w_log2_compat.c: Likewise.
657 * math/w_log2f_compat.c: Likewise.
658 * math/w_log2l_compat.c: Likewise.
659 * math/w_log_compat.c: Likewise.
660 * math/w_logf_compat.c: Likewise.
661 * math/w_logl_compat.c: Likewise.
662 * math/w_pow_compat.c: Likewise.
663 * math/w_powf_compat.c: Likewise.
664 * math/w_powl_compat.c: Likewise.
665 * math/w_remainder_compat.c: Likewise.
666 * math/w_remainderf_compat.c: Likewise.
667 * math/w_remainderl_compat.c: Likewise.
668 * math/w_scalb_compat.c: Likewise.
669 * math/w_scalbf_compat.c: Likewise.
670 * math/w_scalbl_compat.c: Likewise.
671 * math/w_sinh_compat.c: Likewise.
672 * math/w_sinhf_compat.c: Likewise.
673 * math/w_sinhl_compat.c: Likewise.
674 * math/w_sqrt_compat.c: Likewise.
675 * math/w_sqrtf_compat.c: Likewise.
676 * math/w_sqrtl_compat.c: Likewise.
677 * math/w_tgamma_compat.c: Likewise.
678 * math/w_tgammaf_compat.c: Likewise.
679 * math/w_tgammal_compat.c: Likewise.
680 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
681 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
682 * sysdeps/ieee754/k_standard.c: Likewise.
683 * sysdeps/ieee754/k_standardf.c: Likewise.
684 * sysdeps/ieee754/k_standardl.c: Likewise.
685 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
686 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
687 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
690 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
691 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
692 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
693 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
698 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
700 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
701 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
703 2017-08-21 Florian Weimer <fweimer@redhat.com>
706 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
707 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
708 Move before inclusion of ../Rules.
710 2017-08-21 Florian Weimer <fweimer@redhat.com>
713 * assert/assert.h (assert): Use static_cast (bool) for C++.
714 Use the ternary operator in the warning branch for GNU C.
715 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
716 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
717 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
718 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
719 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
721 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
724 * sysdeps/unix/sysv/linux/x86_64/init-first.c
725 (__syscall_clock_gettime): Add attribute_hidden.
726 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
727 (__start_context): Likewise.
729 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
731 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
733 (hidden_proto): Likewise.
734 (hidden_tls_proto): Likewise.
735 (__hidden_proto): Likewise.
737 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
739 * include/libc-symbols.h (attribute_hidden): Enable hidden
740 visibility in libc.a compiled with PIE.
742 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
745 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
746 Add attribute_hidden.
748 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
751 * Makerules (all-nonlib): Add $(others-extras).
752 * catgets/Makefile (others-extras): New.
753 * elf/Makefile (others-extras): Likewise.
754 * nss/Makefile (others-extras): Likewise.
756 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
759 * csu/libc-start.c (__libc_multiple_libcs): Removed.
760 * elf/dl-open.c: Include <libc-internal.h>.
761 (__libc_multiple_libcs): Removed.
762 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
764 * include/libc-internal.h (__libc_multiple_libcs): New.
765 * misc/sbrk.c: Include <libc-internal.h>.
766 (__libc_multiple_libcs): Removed.
768 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
771 * grp/initgroups.c (__nss_group_database): Removed.
772 (__nss_initgroups_database): Likewise.
773 * nscd/gai.c (__nss_hosts_database): Likewise.
774 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
775 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
776 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
777 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
778 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
779 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
781 * nss/nsswitch.c (__nss_database_custom): Define only if
783 (__nss_configure_lookup): Use __nss_database_custom only if
785 * nss/nsswitch.h (__nss_database_custom): Declare only if
786 USE_NSCD is defined. Add attribute_hidden.
787 (__nss_setent): Add attribute_hidden.
788 (__nss_endent): Likewise.
789 (__nss_getent_r): Likewise.
790 (__nss_getent): Likewise.
791 (DEFINE_DATABASE): Declare __nss_##arg##_database.
793 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
796 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
797 libc_hidden_proto and libc_hidden_def.
799 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
802 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
803 Add libc_hidden_proto.
804 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
807 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
810 * gmon/Makefile (routines): Remove bb_init_func and
812 (elide-routines.os): Removed.
813 * gmon/bb_exit_func.c: Likewise.
814 * gmon/bb_init_func.c: Likewise.
815 * include/sys/gmon.h (__bb): Likewise.
816 (__bb_init_func): Likewise.
817 (__bb_exit_func): Likewise.
818 * sysdeps/alpha/bb_init_func.S: Likewise.
820 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
822 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
823 * include/setjmp.h (____longjmp_chk): Here. Add
826 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
829 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
831 (__strspn_sse2): Likewise.
833 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
835 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
836 (close_not_cancel_no_status): Likewise.
837 (__close_nocancel): New macro.
838 (__close_nocancel_nostatus): Likewise.
839 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
841 (close_not_cancel): Likewise.
842 (close_not_cancel_no_status): Likewise.
843 (__close_nocancel): New prototype.
844 (__close_nocancel_nostatus): New function.
845 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
846 * catgets/open_catalog.c (__open_catalog): Replace
847 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
848 * gmon/gmon.c (write_gmon): Likewise.
849 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
850 * intl/loadmsgcat.c (close): Likewise.
851 * io/ftw.c (open_dir_stream): Likewise.
852 (ftw_startup): Likewise.
853 * libio/fileops.c (_IO_file_open): Likewise.
854 (_IO_file_close_mmap): Likewise.
855 (_IO_file_close): Likewise.
856 * libio/iopopen.c (_IO_dup2): Likewise.
857 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
858 * locale/loadlocale.c (_nl_load_locale): Likewise.
859 * login/utmp_file.c (pututline_file): Likewise.
860 (endutent_file): Likewise.
861 * misc/daemon.c (daemon): Likewise.
862 * nscd/nscd_getai.c (__nscd_getai): Likewise.
863 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
864 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
865 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
867 * nscd/nscd_helper.c (open_socket): Likewise.
868 (__nscd_open_socket): Likewise.
869 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
870 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
871 (__nscd_innetgr): Likewise.
872 * nss/nss_db/db-open.c (internal_setent): Likewise.
873 * resolv/res-close.c (__res_iclose): Likewise.
874 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
875 * sysdeps/posix/closedir.c (__closedir): Likewise.
876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
877 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
878 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
879 (opendir_tail): Likewise.
880 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
881 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
882 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
883 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
884 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
885 (gethostid): Likewise.
886 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
890 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
891 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
892 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
894 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
895 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
896 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
898 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
899 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
901 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
903 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
904 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
905 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
908 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
909 (openat_not_cancel_3): Likewise.
910 (openat64_not_cancel_3): Likewise).
911 (openat_not_cancel_3): Likewise).
912 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
914 (openat_not_cancel_3): Likewise.
915 (openat64_not_cancel): Likewise.
916 (openat64_not_cancel_3): Likewise.
917 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
918 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
919 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
921 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
922 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
923 * sysdeps/posix/opendir.c (__opendirat): Likewise.
925 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
928 * include/argz.h (__argz_create_sep): New function prototype.
929 (__argz_append): Likewise.
930 (__argz_add): Likewise.
931 (__argz_add_sep): Likewise.
932 (__argz_delete): Likewise.
933 (__argz_insert): Likewise.
934 (__argz_replace): Likewise.
935 * string/argz.h (__argz_create_sep): Removed.
936 (__argz_append): Likewise.
937 (__argz_add): Likewise.
938 (__argz_add_sep): Likewise.
939 (__argz_delete): Likewise.
940 (__argz_insert): Likewise.
941 (__argz_replace): Likewise.
943 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
945 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
946 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
947 (GNU_PROPERTY_STACK_SIZE): Likewie.
948 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
949 (GNU_PROPERTY_LOPROC): Likewise.
950 (GNU_PROPERTY_HIPROC): Likewise.
951 (GNU_PROPERTY_LOUSER): Likewise.
952 (GNU_PROPERTY_HIUSER): Likewise.
953 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
954 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
955 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
956 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
957 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
958 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
959 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
960 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
961 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
962 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
963 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
964 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
965 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
966 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
967 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
968 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
969 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
970 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
971 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
972 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
973 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
974 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
975 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
977 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
979 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
982 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
985 * math/math.h (isinf): Check if in C or C++ mode before using
986 __builtin_types_compatible_p, since this is a C mode feature.
988 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
990 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
991 (__write_nocancel): New macro.
992 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
993 Rewrite as a function prototype.
994 (write_not_cancel): Remove macro.
995 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
996 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
997 (write_gmon): Likewise.
998 * libio/fileops.c (_IO_new_file_write): Likewise.
999 * login/utmp_file.c (pututline_file): Likewise.
1000 (updwtmp_file): Likewise.
1001 * stdio-common/psiginfo.c (psiginfo): Likewise.
1002 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1003 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1004 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1006 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1009 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
1010 (__read_nocancel): New macro.
1011 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1013 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
1015 (__read_nocancel): New prototype.
1016 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
1017 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
1018 with __read_nocancel.
1019 * intl/loadmsgcat.c (read): Likewise.
1020 * libio/fileops.c (_IO_file_read): Likewise.
1021 * locale/loadlocale.c (_nl_load_locale): Likewise.
1022 * login/utmp_file.c (getutent_r_file): Likewise.
1023 (internal_getut_r): Likewise.
1024 (getutline_r_file): Likewise.
1025 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
1026 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1027 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1030 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
1031 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1032 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1034 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1036 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1038 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1040 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1042 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1045 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
1046 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
1049 2017-08-17 DJ Delorie <dj@redhat.com>
1051 * bug17079.c: Update to new test harness.
1052 * test-digits-dots.c: Likewise.
1053 * test-netdb.c: Likewise.
1054 * tst-field.c: Likewise.
1055 * tst-nss-getpwent.c: Likewise.
1056 * tst-nss-static.c: Likewise.
1057 * tst-nss-test1.c: Likewise.
1058 * tst-nss-test2.c: Likewise.
1059 * tst-nss-test3.c: Likewise.
1060 * tst-nss-test4.c: Likewise.
1061 * tst-nss-test5.c: Likewise.
1063 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1065 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
1066 (open_not_cancel_2): Likewise.
1067 (open_nocancel): New macro.
1068 (open64_nocancel): Likewise.
1069 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
1070 (open_not_cancel_2): Likewise.
1071 (__open_nocancel): New prototype.
1072 (__open64_nocancel): Likewise.
1073 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1075 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
1076 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
1077 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
1078 with __open_nocancel.
1079 * csu/check_fds.c (check_one_fd): Likewise.
1080 * gmon/gmon.c (write_gmon): Likewise.
1081 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
1082 * intl/loadmsgcat.c (open): Likewise.
1083 * libio/fileops.c (_IO_file_open): Likewise.
1084 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1085 * locale/loadlocale.c (_nl_load_locale): Likewise.
1086 * login/utmp_file.c (setutent_file): Likewise.
1087 * misc/daemon.c (daemon): Likewise.
1088 * nss/nss_db/db-open.c (internal_setent): Likewise.
1089 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1090 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
1091 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
1092 (__opendir): Likewise.
1093 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1094 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
1095 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1096 (gethostid): Likewise.
1097 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1101 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
1102 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1103 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1105 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1107 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1109 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1111 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1113 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1115 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1116 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1118 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
1120 * benchtests/bench-skeleton.c (main): Add support for
1121 latency benchmarking.
1122 * benchtests/scripts/bench.py: Add support for latency benchmarking.
1124 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
1126 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
1129 2017-08-17 Florian Weimer <fweimer@redhat.com>
1131 * include/sys/socket.h (__opensock): Remove internal_function.
1132 * socket/opensock.c (__opensock): Likewise.
1133 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
1135 2017-08-16 Joseph Myers <joseph@codesourcery.com>
1138 * signal/bits/types/__sigval_t.h: New file.
1139 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
1140 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
1141 and define sigval_t using __sigval_t.
1142 * include/bits/types/__sigval_t.h: New file.
1143 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
1144 instead of <bits/types/__sigval_t.h>.
1145 (struct sigevent): Use __sigval_t instead of sigval_t.
1146 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
1147 instead of <bits/types/__sigval_t.h>.
1148 (siginfo_t): Use __sigval_t instead of sigval_t.
1149 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
1150 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
1151 (struct sigevent): Use __sigval_t instead of sigval_t.
1152 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
1153 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
1154 (siginfo_t): Use __sigval_t instead of sigval_t.
1155 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
1157 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1159 * NEWS: Remove "[Add new features here]" for 2.27.
1161 2017-08-16 Joseph Myers <joseph@codesourcery.com>
1163 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
1166 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1168 * NEWS: Mention x86-64 FMA optimization.
1170 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1173 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1175 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
1176 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
1177 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
1179 2017-08-16 Andreas Schwab <schwab@suse.de>
1183 * elf/ldd.bash.in: Never run file directly.
1185 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
1188 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
1189 (L(SP_INF_0)): Likewise.
1191 2017-08-15 Florian Weimer <fweimer@redhat.com>
1193 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
1196 2017-08-15 Florian Weimer <fweimer@redhat.com>
1198 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
1199 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
1200 BROKEN_THREAD_SIGNALS code.
1201 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
1202 request_list): Remove caller_pid member used for
1203 BROKEN_THREAD_SIGNALS.
1204 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
1205 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1206 Remove BROKEN_THREAD_SIGNALS support.
1207 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1208 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
1210 2017-08-15 Florian Weimer <fweimer@redhat.com>
1212 * gmon/Makefile (tests): Add tst-gmon.
1213 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
1215 (tests-special): Add tst-gmon-prof.out.
1216 (tst-gmon.out): Depend on clean-tst-gmon-data.
1217 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
1218 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
1219 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
1221 * aclocal.m4 (GPROF): Set and substitute.
1222 * config.amke.in (GPROF): Set.
1223 * configure: Regenerate.
1225 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
1227 * elf/elf.h A (NT_PPC_TAR): New macro.
1228 (NT_PPC_PPR): Likewise.
1229 (NT_PPC_DSCR): Likewise.
1230 (NT_PPC_EBB): Likewise.
1231 (NT_PPC_PMU): Likewise.
1232 (NT_PPC_TM_CGPR): Likewise.
1233 (NT_PPC_TM_CFPR): Likewise.
1234 (NT_PPC_TM_CVMX): Likewise.
1235 (NT_PPC_TM_CVSX): Likewise.
1236 (NT_PPC_TM_SPR): Likewise.
1237 (NT_PPC_TM_CTAR): Likewise.
1238 (NT_PPC_TM_CPPR): Likewise.
1239 (NT_PPC_TM_CDSCR): Likewise.
1241 2017-08-15 Florian Weimer <fweimer@redhat.com>
1243 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
1244 regparm (2) instead of internal_function.
1245 (_MCOUNT_DECL): Adjust.
1247 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
1250 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1252 2017-08-14 Joseph Myers <joseph@codesourcery.com>
1254 * conform/data/sys/wait.h-data (si_value): Do not expect for
1257 2017-08-14 Florian Weimer <fweimer@redhat.com>
1260 NSS: Create stubs for accidentally exported lookup functions.
1261 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
1263 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
1264 (ether_hostton): Call __nss_ethers_lookup2 instead.
1265 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
1266 (ether_ntohost): Call __nss_ethers_lookup2 instead.
1267 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
1268 (setup): Call __nss_netgroup_lookup2 instead.
1269 * nss/Makefile (routines): Add compat-lookup.
1270 * nss/Versions (GLIBC_2.27): Add symbol version.
1271 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
1272 (DB_COMPAT_FCT): Remove.
1273 * nss/compat-lookup.c: New file.
1274 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
1276 * nss/service-lookup.c (NO_COMPAT): Remove definition.
1277 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
1278 (netname2user): Call __nss_publickey_lookup2 instead.
1279 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
1280 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
1283 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1284 Sergei Trofimovich <slyfox@inbox.ru>
1287 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
1288 Rename to MMAP2_PAGE_UNIT.
1289 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
1290 __OFF_T_MATCHES_OFF64_T is not defined.
1291 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
1293 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
1294 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
1296 2017-08-14 Florian Weimer <fweimer@redhat.com>
1298 i386: Do not set internal_function.
1299 * config.h.in (USE_REGPARMS, internal_function): Remove.
1300 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
1301 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
1303 2017-08-14 Florian Weimer <fweimer@redhat.com>
1305 * elf/dl-init.c (_dl_init): Remove internal_function.
1306 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
1307 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
1309 2017-08-14 Florian Weimer <fweimer@redhat.com>
1311 * elf/rtld.c (_dl_start): Remove internal_function.
1312 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
1315 2017-08-14 Florian Weimer <fweimer@redhat.com>
1317 * elf/dl-fini.c (_dl_fini): Remove internal_function
1318 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1320 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
1322 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
1323 (bit_cpu_SHSTK): Likewise.
1324 (index_cpu_IBT): Likewise.
1325 (index_cpu_SHSTK): Likewise.
1326 (reg_IBT): Likewise.
1327 (reg_SHSTK): Likewise.
1328 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
1329 Handle index_cpu_IBT and index_cpu_SHSTK.
1331 2017-08-14 Mike FABIAN <mfabian@redhat.com>
1334 * po/fr.po: Fix spelling mistake.
1336 2017-08-13 Florian Weimer <fweimer@redhat.com>
1338 * elf/dl-addr.c (_dl_addr): Remove internal_function.
1339 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
1340 (_dl_catch_error, _dl_receive_error): Likewise.
1341 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
1342 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
1343 (_dl_deallocate_tls): Likewise.
1344 * include/dlfcn.h (_dl_addr): Likewise.
1345 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
1346 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
1347 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
1350 2017-08-13 Florian Weimer <fweimer@redhat.com>
1352 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
1353 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
1355 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
1357 2017-08-13 Florian Weimer <fweimer@redhat.com>
1359 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
1361 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
1362 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
1363 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
1364 internal_function from _dl_make_stack_executable_hook member.
1365 (_dl_make_stack_executable): Remove internal_function.
1366 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
1368 * sysdeps/unix/sysv/linux/dl-execstack.c
1369 (_dl_make_stack_executable): Likewise.
1371 2017-08-13 Florian Weimer <fweimer@redhat.com>
1373 * sysdeps/unix/sysv/linux/netlinkaccess.h
1374 (__netlink_assert_response): Remove internal_function.
1375 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1376 (__netlink_assert_response): Likewise.
1378 2017-08-13 Florian Weimer <fweimer@redhat.com>
1380 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
1382 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
1384 2017-08-13 Florian Weimer <fweimer@redhat.com>
1386 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
1388 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
1389 * inet/netgroup.h (__internal_setnetgrent)
1390 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
1391 * inet/getnetgrent_r.c (__internal_setnetgrent)
1392 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
1393 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
1394 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
1395 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
1396 * nss/nsswitch.h (db_lookup_function): Likewise.
1398 2017-08-13 Florian Weimer <fweimer@redhat.com>
1400 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
1401 Remove internal_function.
1402 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
1403 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
1404 message argument on the stack.
1405 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
1408 2017-08-12 Mike FABIAN <mfabian@redhat.com>
1410 Adapt test case data to the changes in the thousands
1414 * localedata/tst-langinfo.sh: Adapt test case data.
1415 * stdlib/tst-strfmon_l.c: Likewise.
1416 * stdlib/tst-strtod4.c: Likewise.
1417 * stdlib/tst-strtod5i.c: Likewise.
1419 2017-08-11 Florian Weimer <fweimer@redhat.com>
1422 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
1423 Suppress pedantic warning resulting from statement expression.
1424 (__ASSERT_FUNCTION): Add missing __extension__.
1426 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1428 * benchtests/bench-memmove-large.c: Print output in JSON
1430 * benchtests/bench-memmove.c: Likewise.
1432 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
1433 * benchtests/bench-memchr.c (do_one_test): Likewise.
1434 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
1435 * benchtests/bench-memcpy.c (do_one_test): Likewise.
1436 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
1437 * benchtests/bench-memmove.c (do_one_test): Likewise.
1438 * benchtests/bench-memset-large.c (do_one_test): Likewise.
1439 * benchtests/bench-memset.c (do_one_test): Likewise.
1440 * benchtests/bench-string.h (test_init): Remove memsets.
1442 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
1445 (Computing the Width of an Integer Data Type): Rename section to
1446 "Width of an Integer Type". Remove inaccurate statement regarding
1447 lack of C language facilities for determining width of integer
1448 types, and reorder content to improve flow and context of
1451 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
1453 * lang.texi (va_copy): Change standard from ISO to C99.
1454 (__va_copy): Add standard and header annotation.
1455 Update description for clarity of origins and current use.
1457 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1460 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
1461 xssqrtqp requires operands to be in Vector Registers
1462 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
1463 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
1464 (__ieee754_sqrtf128): Likewise.
1466 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
1468 * sysdeps/aarch64/memcmp.S (memcmp):
1469 Rewrite of optimized memcmp.
1471 2017-08-10 Florian Weimer <fweimer@redhat.com>
1473 Introduce ld.so exceptions.
1474 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
1475 (_dl_exception_create, _dl_exception_create_format)
1476 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
1477 (_dl_catch_exception): Declare.
1478 (_dl_catch_error): Update comment.
1479 * elf/dl-error-skeleton.c (struct catch): Replace objname,
1480 errstring, malloced members with exception member.
1481 (_dl_out_of_memory): Remove.
1482 (fatal_error): New function, extracted from _dl_signal_error.
1483 (_dl_signal_exception, _dl_signal_cexception): New functions.
1484 (_dl_signal_error): Call _dl_exception_create to allocate an
1486 (_dl_catch_exception): New function, based on _dl_catch_error.
1487 (_dl_catch_error): Implement using _dl_catch_exception.
1488 * elf/dl-exception.c: New file.
1489 * elf/Makefile (dl-routines): Add dl-exception.
1490 (elide-routines.os): Likewise.
1491 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
1492 _dl_exception_create_format, _dl_exception_free.
1493 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
1494 _dl_signal_exception.
1495 * elf/dl-lookup.c (make_string): Remove.
1496 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
1497 _dl_signal_cexception, _dl_exception_free.
1498 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
1499 _dl_signal_exception.
1500 * elf/dl-sym.c (do_sym): Likewise.
1501 * elf/dl-version.c (make_string): Remove.
1502 (match_symbol): Use _dl_exception_create_format,
1503 _dl_signal_cexception, _dl_exception_free.
1504 (_dl_check_map_versions): Likewise.
1505 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
1506 _dl_catch_exception.
1507 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1508 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1509 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1510 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1511 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1512 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1513 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1514 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
1516 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1523 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1524 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1525 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
1527 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
1529 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1531 2017-08-10 Florian Weimer <fweimer@redhat.com>
1533 * inet/net-internal.h (__inet6_scopeid_pton): Remove
1534 attribute_hidden, internal_function.
1535 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
1538 2017-08-10 Florian Weimer <fweimer@redhat.com>
1540 * malloc/malloc.c (get_max_fast): Reimplement as an inline
1541 function which calls __builtin_unreachable.
1543 2017-08-10 Mike FABIAN <mfabian@redhat.com>
1545 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
1546 Indian monetary formatting
1547 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
1550 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
1552 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
1553 Fix typo in comment.
1556 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
1557 PTRACE_SEIZE_DEVEL): Remove.
1558 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
1559 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1564 2017-08-09 Joseph Myers <joseph@codesourcery.com>
1566 * posix/bits/types.h (__qaddr_t): Remove.
1569 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
1570 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1572 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
1573 (ucontext_t): Use __ctx with uc_flags.
1574 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
1576 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1578 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
1579 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1581 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
1582 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1584 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
1586 (ucontext_t): Use __ctx with uc_flags.
1587 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
1588 (ucontext_t): Use __ctx with uc_flags.
1589 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
1590 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
1591 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
1592 (ucontext_t): Use __ctx with uc_flags.
1593 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
1594 undefine further down.
1595 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
1597 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
1598 undefine further down.
1599 (ucontext_t): Use __ctx with uc_flags.
1600 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
1601 undefine further down.
1602 (ucontext_t): Use __ctx with uc_flags.
1603 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
1604 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
1605 Rename uc_pad to __glibc_reserved1.
1606 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
1607 undefine further down.
1608 (ucontext_t): Use __ctx with uc_flags.
1609 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
1611 (ucontext_t): Use __ctx with uc_flags.
1612 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
1613 __ctx with uc_flags.
1614 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
1615 (ucontext_t): Use __ctx with uc_flags.
1616 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
1617 __ctx with uc_flags.
1619 2017-08-09 Florian Weimer <fweimer@redhat.com>
1622 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
1623 before early return.
1625 2017-08-09 Andreas Schwab <schwab@suse.de>
1628 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
1632 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
1633 tst-compat-forwarder.
1634 (modules-names): Add tst-compat-forwarder-mod.
1635 ($(objpfx)tst-compat-forwarder): Depend on
1636 $(objpfx)tst-compat-forwarder-mod.so.
1637 * nptl/tst-compat-forwarder.c: New file.
1638 * nptl/tst-compat-forwarder-mod.c: New file.
1640 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
1642 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
1645 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
1646 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
1648 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
1650 (__libc_ifunc_impl_list): Add __memcpy_falkor.
1651 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1652 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
1653 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1655 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
1658 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1661 * manual/setjmp.texi (getcontex): Document uc_stack value
1662 compatibility differences.
1664 2017-08-08 Joseph Myers <joseph@codesourcery.com>
1666 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
1667 (old_malloc_hook): Likewise.
1668 (old_memalign_hook): Likewise.
1669 (old_realloc_hook): Likewise.
1670 (struct hdr): Likewise.
1672 (freehook): Likewise.
1673 (mallochook): Likewise.
1674 (memalignhook): Likewise.
1675 (reallochook): Likewise.
1677 * malloc/mtrace.c (mallwatch): Likewise.
1678 (tr_old_free_hook): Likewise.
1679 (tr_old_malloc_hook): Likewise.
1680 (tr_old_realloc_hook): Likewise.
1681 (tr_old_memalign_hook): Likewise.
1682 (tr_where): Likewise.
1683 (lock_and_info): Likewise.
1684 (tr_freehook): Likewise.
1685 (tr_mallochook): Likewise.
1686 (tr_reallochook): Likewise.
1687 (tr_memalignhook): Likewise.
1688 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
1689 * misc/mmap.c (__mmap): Likewise.
1690 * misc/mmap64.c (__mmap64): Likewise.
1691 * misc/mprotect.c (__mprotect): Likewise.
1692 * misc/msync.c (msync): Likewise.
1693 * misc/munmap.c (__munmap): Likewise.
1694 * posix/posix_madvise.c (posix_madvise): Likewise.
1695 * socket/send.c (__send): Likewise.
1696 * socket/sendto.c (__sendto): Likewise.
1697 * socket/setsockopt.c (__setsockopt): Likewise.
1698 * string/memcmp.c (__ptr_t): Remove macro.
1699 (MEMCMP): Use void * instead of ptr_t.
1700 * string/memrchr.c (__ptr_t): Remove macro.
1701 (__memrchr): Use void * instead of ptr_t.
1702 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
1703 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1704 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
1705 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
1706 * sysdeps/mach/msync.c (msync): Likewise.
1707 * sysdeps/mach/munmap.c (__munmap): Likewise.
1708 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
1710 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1711 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
1712 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
1713 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
1714 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1715 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1716 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
1717 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
1719 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1720 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
1721 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
1722 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
1723 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
1724 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
1725 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
1726 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
1727 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
1729 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
1730 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
1731 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
1732 (MEMCMP): Use void * instead of ptr_t.
1733 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
1734 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1736 2017-08-08 Florian Weimer <fweimer@redhat.com>
1738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
1741 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
1744 * csu/libc-tls.c: Include <startup.h> first.
1745 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
1746 * elf/dl-tunables.c: Include <startup.h> first.
1747 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
1748 * sysdeps/generic/startup.h: New file.
1749 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
1750 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
1751 (I386_USE_SYSENTER): New. Defined to 0.
1753 2017-08-08 Andreas Schwab <schwab@suse.de>
1756 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
1757 * nptl/pt-system.c (system): Likewise.
1759 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1762 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
1764 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
1765 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
1766 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
1767 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
1768 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
1769 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
1770 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
1772 2017-08-07 Joseph Myers <joseph@codesourcery.com>
1775 * bits/sigaction.h (struct sigaction): Define sa_handler and
1776 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
1777 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1778 [__USE_XOPEN_EXTENDED].
1779 (SA_RESTART): Likewise.
1780 (SA_NODEFER): Likewise.
1781 (SA_RESETHAND): Likewise.
1782 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
1783 (struct sigaction): Define sa_handler and sa_sigaction using union
1784 also for [__USE_XOPEN_EXTENDED].
1785 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1786 [__USE_XOPEN_EXTENDED].
1787 (SA_RESTART): Likewise.
1788 (SA_NODEFER): Likewise.
1789 (SA_RESETHAND): Likewise.
1790 * sysdeps/unix/sysv/linux/bits/sigaction.h
1791 (struct sigaction): Define sa_handler and sa_sigaction using union
1792 also for [__USE_XOPEN_EXTENDED].
1793 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1794 [__USE_XOPEN_EXTENDED].
1795 (SA_RESTART): Likewise.
1796 (SA_NODEFER): Likewise.
1797 (SA_RESETHAND): Likewise.
1798 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
1799 (struct sigaction): Define sa_handler and sa_sigaction using union
1800 also for [__USE_XOPEN_EXTENDED].
1801 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1802 [__USE_XOPEN_EXTENDED].
1803 (SA_RESTART): Likewise.
1804 (SA_NODEFER): Likewise.
1805 (SA_RESETHAND): Likewise.
1806 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
1807 (struct sigaction): Define sa_handler and sa_sigaction using union
1808 also for [__USE_XOPEN_EXTENDED].
1809 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1810 [__USE_XOPEN_EXTENDED].
1811 (SA_RESTART): Likewise.
1812 (SA_NODEFER): Likewise.
1813 (SA_RESETHAND): Likewise.
1814 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1815 (struct sigaction): Define sa_handler and sa_sigaction using union
1816 also for [__USE_XOPEN_EXTENDED].
1817 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1818 [__USE_XOPEN_EXTENDED].
1819 (SA_RESTART): Likewise.
1820 (SA_NODEFER): Likewise.
1821 (SA_RESETHAND): Likewise.
1822 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1823 (struct sigaction): Define sa_handler and sa_sigaction using union
1824 also for [__USE_XOPEN_EXTENDED].
1825 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1826 [__USE_XOPEN_EXTENDED].
1827 (SA_RESTART): Likewise.
1828 (SA_NODEFER): Likewise.
1829 (SA_RESETHAND): Likewise.
1830 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1831 (struct sigaction): Define sa_handler and sa_sigaction using union
1832 also for [__USE_XOPEN_EXTENDED].
1833 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1834 [__USE_XOPEN_EXTENDED].
1835 (SA_RESTART): Likewise.
1836 (SA_NODEFER): Likewise. Define directly rather than as alias.
1837 (SA_RESETHAND): Likewise.
1838 (SA_INTERRUPT): Define only for [__USE_MISC].
1839 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
1840 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
1842 (SA_STACK): Define only for [__USE_MISC].
1843 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
1844 (struct sigaction): Define sa_handler and sa_sigaction using union
1845 also for [__USE_XOPEN_EXTENDED].
1846 (SA_ONSTACK): Change [__USE_UNIX98] condition to
1847 [__USE_XOPEN_EXTENDED].
1848 (SA_RESTART): Likewise.
1849 (SA_NODEFER): Likewise.
1850 (SA_RESETHAND): Likewise.
1851 (SA_NOPTRACE): Define only for [__USE_MISC].
1853 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
1854 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
1855 (struct catalog_info): Likewise.
1856 * inet/htontest.c (lo): Likewise.
1858 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1859 * inet/inet_net.c (inet_network): Likewise.
1860 * inet/inet_netof.c (inet_netof): Likewise.
1861 * inet/rcmd.c (__ivaliduser): Likewise.
1862 (iruserok): Likewise.
1863 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
1864 * locale/programs/locale-spec.c (locale_special): Likewise.
1865 * nis/nis_findserv.c (struct findserv_req): Likewise.
1866 (__nis_findfastest_with_timeout): Likewise.
1867 * nss/test-netdb.c (test_network): Likewise.
1868 * resolv/inet_neta.c (inet_neta): Likewise.
1869 * resolv/ns_date.c (ns_datetosecs): Likewise.
1870 (SECS_PER_DAY): Likewise.
1871 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
1873 * resolv/res_comp.c (__putlong): Likewise.
1874 (__putshort): Likewise.
1875 (_getlong): Likewise.
1876 (_getshort): Likewise.
1877 * resolv/res_debug.c (p_time): Likewise.
1878 (precsize_ntoa): Likewise.
1879 (precsize_aton): Likewise.
1880 (latlon2ul): Likewise.
1881 (loc_aton): Likewise.
1882 (loc_ntoa): Likewise.
1883 * resolv/res_hconf.c (struct netaddr): Likewise.
1884 (_res_hconf_reorder_addrs): Likewise.
1885 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1886 (clnttcp_control): Likewise.
1887 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1888 (clntudp_control): Likewise.
1889 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1890 (clntunix_control): Likewise.
1891 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1892 * sunrpc/rpc/auth.h (union des_block): Likewise.
1893 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
1894 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
1895 (xdrrec_create): Likewise.
1896 (xdrrec_endofrecord): Likewise.
1897 (flush_out): Likewise.
1898 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
1899 (xdrstdio_putlong): Likewise.
1900 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
1903 * misc/sys/cdefs.h (__long_double_t): Remove.
1904 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
1905 instead of __long_double_t,
1906 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
1908 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
1910 * benchtests/scripts/compare_strings.py: Avoid display error when
1911 running on a text terminal.
1913 * benchtests/scripts/compare_strings.py (main): Add an
1914 optional -base option.
1915 (process_results): New argument base_func.
1917 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
1919 * benchtests/bench-memcpy-large.c (test_name): Likewise.
1920 * benchtests/bench-memcpy-random.c (test_name): Likewise.
1922 2017-08-07 Andreas Schwab <schwab@suse.de>
1924 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
1925 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1926 * intl/Makefile ($(objpfx)tst-gettext.out)
1927 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
1928 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
1929 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1930 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1931 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
1932 * posix/Makefile ($(objpfx)globtest.out)
1933 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
1934 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
1935 ($(objpfx)tst-printf.out): Likewise.
1936 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
1937 ($(objpfx)tst-setcontext3.out): Likewise.
1939 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
1941 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1942 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
1943 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
1944 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
1945 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
1947 (CFLAGS-doasin-fma.c): New.
1948 (CFLAGS-dosincos-fma.c): Likewise.
1949 (CFLAGS-e_asin-fma.c): Likewise.
1950 (CFLAGS-e_atan2-fma.c): Likewise.
1951 (CFLAGS-e_exp-fma.c): Likewise.
1952 (CFLAGS-e_log-fma.c): Likewise.
1953 (CFLAGS-e_pow-fma.c): Likewise.
1954 (CFLAGS-halfulp-fma.c): Likewise.
1955 (CFLAGS-mpa-fma.c): Likewise.
1956 (CFLAGS-mpatan-fma.c): Likewise.
1957 (CFLAGS-mpatan2-fma.c): Likewise.
1958 (CFLAGS-mpexp-fma.c): Likewise.
1959 (CFLAGS-mplog-fma.c): Likewise.
1960 (CFLAGS-mpsqrt-fma.c): Likewise.
1961 (CFLAGS-mptan-fma.c): Likewise.
1962 (CFLAGS-s_atan-fma.c): Likewise.
1963 (CFLAGS-sincos32-fma.c): Likewise.
1964 (CFLAGS-slowexp-fma.c): Likewise.
1965 (CFLAGS-slowpow-fma.c): Likewise.
1966 (CFLAGS-s_sin-fma.c): Likewise.
1967 (CFLAGS-s_tan-fma.c): Likewise.
1968 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
1969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
1970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
1971 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
1972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
1973 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
1974 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
1975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
1976 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
1977 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
1978 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
1979 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
1980 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
1981 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
1982 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
1983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
1984 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
1985 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
1986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
1987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
1988 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
1989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1990 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
1991 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
1992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1993 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1994 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1995 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1996 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1997 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1998 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2000 2017-08-04 Joseph Myers <joseph@codesourcery.com>
2002 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
2003 (min_of_type_f): New macro.
2004 (min_of_type_): Likewise.
2005 (min_of_type_l): Likewise.
2006 (min_of_type_f128): Likewise.
2007 (min_of_type): Define using __MATH_TG and taking an expression
2009 (math_check_force_underflow): Pass expression instead of type to
2011 (math_check_force_underflow_nonneg): Likewise.
2013 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2015 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2016 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
2017 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
2019 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2022 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
2023 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
2024 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
2025 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
2026 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
2027 memcpy_chk-nonshared, mempcpy_chk-nonshared,
2028 memmove_chk-nonshared and memset_chk-nonshared
2029 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
2030 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
2031 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
2033 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
2034 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
2035 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
2036 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
2037 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
2038 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
2039 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
2040 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
2042 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
2043 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
2044 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
2045 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
2046 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
2047 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
2048 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
2049 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
2050 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
2051 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
2052 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
2053 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
2054 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
2055 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
2056 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
2057 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
2058 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
2059 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
2060 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
2061 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
2062 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
2063 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
2064 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
2065 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
2066 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
2067 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
2068 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
2069 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
2070 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
2071 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
2072 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
2073 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
2074 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
2075 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
2076 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
2077 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
2078 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
2079 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
2080 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
2081 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
2082 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
2083 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
2084 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
2085 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
2086 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
2087 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
2088 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
2089 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
2090 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
2091 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
2092 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
2093 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
2094 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
2095 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
2096 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
2097 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
2098 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2099 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
2100 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2101 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2102 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2103 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2104 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2105 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2106 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2107 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2108 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2109 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2110 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2111 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2112 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2113 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2114 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2115 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2116 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2117 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2118 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2119 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2120 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2121 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2123 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2124 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2125 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2126 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2127 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2128 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2129 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2130 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2131 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2132 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2133 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2134 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2135 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2136 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2138 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2140 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
2141 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
2142 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
2143 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
2144 svml_d_log2_core-sse2, svml_d_log4_core-sse,
2145 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
2146 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
2147 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
2148 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
2149 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
2150 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
2151 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
2152 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
2153 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
2154 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
2155 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
2156 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
2157 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
2158 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
2159 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
2160 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
2161 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
2162 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
2163 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
2164 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
2165 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
2166 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
2167 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
2168 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
2169 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
2170 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
2171 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
2172 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
2173 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
2174 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
2175 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
2176 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
2177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
2178 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
2179 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
2180 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
2181 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
2182 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
2183 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
2184 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
2185 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
2186 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
2187 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
2188 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
2189 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
2190 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
2191 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
2192 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
2193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
2194 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
2195 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
2196 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
2197 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
2198 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
2200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
2201 Don't include <sysdep.h> nor <init-arch.h>.
2202 (_ZGVbN2v_cos): Removed.
2203 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
2205 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
2206 Don't include <sysdep.h> nor <init-arch.h>.
2207 (_ZGVdN4v_cos): Removed.
2208 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
2210 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
2211 Don't include <sysdep.h> nor <init-arch.h>.
2212 (_ZGVeN8v_cos): Removed.
2213 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
2215 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
2216 Don't include <sysdep.h> nor <init-arch.h>.
2217 (_ZGVbN2v_exp): Removed.
2218 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
2220 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
2221 Don't include <sysdep.h> nor <init-arch.h>.
2222 (_ZGVdN4v_exp): Removed.
2223 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
2225 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
2226 Don't include <sysdep.h> nor <init-arch.h>.
2227 (_ZGVeN8v_exp): Removed.
2228 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
2230 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
2231 Don't include <sysdep.h> nor <init-arch.h>.
2232 (_ZGVbN2v_log): Removed.
2233 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
2235 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
2236 Don't include <sysdep.h> nor <init-arch.h>.
2237 (_ZGVdN4v_log): Removed.
2238 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
2240 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
2241 Don't include <sysdep.h> nor <init-arch.h>.
2242 (_ZGVeN8v_log): Removed.
2243 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
2245 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
2246 Don't include <sysdep.h> nor <init-arch.h>.
2247 (_ZGVbN2vv_pow): Removed.
2248 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
2250 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
2251 Don't include <sysdep.h> nor <init-arch.h>.
2252 (_ZGVdN4vv_pow): Removed.
2253 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
2255 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
2256 Don't include <sysdep.h> nor <init-arch.h>.
2257 (_ZGVeN8vv_pow): Removed.
2258 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
2260 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
2261 Don't include <sysdep.h> nor <init-arch.h>.
2262 (_ZGVbN2v_sin): Removed.
2263 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
2265 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
2266 Don't include <sysdep.h> nor <init-arch.h>.
2267 (_ZGVbN4v_sin): Removed.
2268 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
2270 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
2271 Don't include <sysdep.h> nor <init-arch.h>.
2272 (_ZGVbN8v_sin): Removed.
2273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
2275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
2276 Don't include <sysdep.h> nor <init-arch.h>.
2277 (_ZGVbN2vvv_sincos): Removed.
2278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
2280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
2281 Don't include <sysdep.h> nor <init-arch.h>.
2282 (_ZGVdN4vvv_sincos): Removed.
2283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
2285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
2286 Don't include <sysdep.h> nor <init-arch.h>.
2287 (_ZGVeN8vvv_sincos): Removed.
2288 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
2290 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
2291 Don't include <sysdep.h> nor <init-arch.h>.
2292 (_ZGVeN16v_cosf): Removed.
2293 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
2295 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
2296 Don't include <sysdep.h> nor <init-arch.h>.
2297 (_ZGVbN4v_cosf): Removed.
2298 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
2300 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
2301 Don't include <sysdep.h> nor <init-arch.h>.
2302 (_ZGVdN8v_cosf): Removed.
2303 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
2305 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
2306 Don't include <sysdep.h> nor <init-arch.h>.
2307 (_ZGVeN16v_expf): Removed.
2308 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
2310 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
2311 Don't include <sysdep.h> nor <init-arch.h>.
2312 (_ZGVbN4v_expf): Removed.
2313 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
2315 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
2316 Don't include <sysdep.h> nor <init-arch.h>.
2317 (_ZGVdN8v_expf): Removed.
2318 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
2320 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
2321 Don't include <sysdep.h> nor <init-arch.h>.
2322 (_ZGVeN16v_logf): Removed.
2323 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
2325 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
2326 Don't include <sysdep.h> nor <init-arch.h>.
2327 (_ZGVbN4v_logf): Removed.
2328 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
2330 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
2331 Don't include <sysdep.h> nor <init-arch.h>.
2332 (_ZGVdN8v_logf): Removed.
2333 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
2335 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
2336 Don't include <sysdep.h> nor <init-arch.h>.
2337 (_ZGVeN16vv_powf): Removed.
2338 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
2340 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
2341 Don't include <sysdep.h> nor <init-arch.h>.
2342 (_ZGVbN4vv_powf): Removed.
2343 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
2345 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
2346 Don't include <sysdep.h> nor <init-arch.h>.
2347 (_ZGVdN8vv_powf): Removed.
2348 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
2350 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
2351 Don't include <sysdep.h> nor <init-arch.h>.
2352 (_ZGVeN16vvv_sincosf): Removed.
2353 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
2355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
2356 Don't include <sysdep.h> nor <init-arch.h>.
2357 (_ZGVbN4vvv_sincosf): Removed.
2358 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
2360 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
2361 Don't include <sysdep.h> nor <init-arch.h>.
2362 (_ZGVdN8vvv_sincosf): Removed.
2363 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
2365 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
2366 Don't include <sysdep.h> nor <init-arch.h>.
2367 (_ZGVeN16v_sinf): Removed.
2368 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
2370 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
2371 Don't include <sysdep.h> nor <init-arch.h>.
2372 (_ZGVbN4v_sinf): Removed.
2373 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
2375 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
2376 Don't include <sysdep.h> nor <init-arch.h>.
2377 (_ZGVdN8v_sinf): Removed.
2379 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2381 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2382 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
2383 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
2384 s_rint-sse4_1 and s_rintf-sse4_1.
2385 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
2386 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
2387 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
2388 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
2389 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
2390 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
2391 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
2392 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
2393 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
2394 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
2395 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
2396 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2398 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
2399 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
2400 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2402 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
2403 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
2404 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2406 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
2407 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
2408 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2409 (__floorf): Removed.
2410 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
2411 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
2412 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2413 (__nearbyint): Removed.
2414 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
2415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
2416 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2417 (__nearbyintf): Removed.
2418 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
2419 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
2420 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2422 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
2423 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
2424 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
2427 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2429 * sysdeps/i386/start.S (_start): Check Check PIC instead of
2430 SHARED. Avoid dynamic relocation against main in static PIE.
2432 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2435 * elf/Makefile (CFLAGS-tst-prelink.c): New.
2436 (LDFLAGS-tst-prelink): Likewise.
2438 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2440 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
2441 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
2442 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
2443 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2444 (INTERNAL_SYSCALL_NCS): Likewise.
2445 (LOADARGS_1): Likewise.
2446 (LOADARGS_5): Likewise.
2447 (RESTOREARGS_1): Likewise.
2448 (RESTOREARGS_5): Likewise.
2450 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2452 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
2453 (MEMPCPY_SYMBOL): Likewise.
2454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2455 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
2456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
2458 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2459 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2461 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
2462 (__hidden_ver1): Don't use in libc.a.
2463 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2464 (__mempcpy): Don't create a weak alias in libc.a.
2465 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
2467 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
2468 (__hidden_ver1): Don't use in libc.a.
2470 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2472 * config.make.in (have-insert): New.
2473 * configure.ac (libc_cv_insert): New. Set to yes if linker
2474 supports INSERT in linker script.
2475 (AC_SUBST(libc_cv_insert): New.
2476 * configure: Regenerated.
2477 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
2478 if $(have-insert) == yes.
2480 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2482 * elf/Makefile (tests): Add vismain only if
2483 $(have-protected-data) == yes.
2484 (tests-pie): Likewise.
2486 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2489 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2490 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
2492 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2495 * sysdeps/i386/i586/memset.S
2496 (__memset_zero_constant_len_parameter): Removed.
2497 * sysdeps/i386/i686/memset.S
2498 (__memset_zero_constant_len_parameter): Likewise.
2499 * sysdeps/i386/i686/multiarch/memset_chk.S
2500 (__memset_zero_constant_len_parameter): Likewise.
2501 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
2504 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
2506 * stdlib/getentropy.c (getentropy): Change return type to int.
2508 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
2510 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2512 2017-08-03 Joseph Myers <joseph@codesourcery.com>
2514 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
2516 * math/s_nexttowardf.c (__nexttowardf): Likewise.
2517 * sysdeps/generic/math_private.h (ieee_double_shape_type):
2519 (ieee_float_shape_type): Likewise.
2520 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
2521 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
2522 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2523 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2524 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2525 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
2526 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
2527 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2528 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2530 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2532 (__ieee754_yn): Likewise.
2533 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2534 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2535 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
2537 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2538 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
2539 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
2540 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
2542 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
2543 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
2544 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
2545 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
2546 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
2547 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
2549 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
2550 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
2551 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
2552 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
2553 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2554 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
2555 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
2556 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
2557 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
2558 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2559 (__issignaling): Likewise.
2560 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
2561 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
2562 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2564 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2565 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2566 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
2567 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
2569 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
2571 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
2572 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
2573 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
2574 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
2575 (__erfcf): Likewise.
2576 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
2577 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
2578 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
2579 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
2581 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
2582 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
2584 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
2585 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
2586 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
2587 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
2588 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
2589 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2590 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
2591 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
2593 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
2595 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
2597 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
2598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2600 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2602 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2603 (__ieee754_ynl): Likewise.
2604 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2605 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
2607 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
2609 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
2610 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
2611 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2613 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
2614 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
2615 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
2616 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
2617 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
2618 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
2619 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
2620 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
2622 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2623 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
2624 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
2626 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
2627 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
2628 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
2629 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2630 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
2631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2639 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
2640 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2641 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2642 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
2643 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
2644 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
2647 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2652 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2653 (__ieee754_remainderl): Likewise.
2654 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2655 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2656 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2657 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2659 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2662 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2663 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
2664 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
2665 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
2666 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2667 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2669 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2670 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
2671 (__ieee754_y0l): Likewise.
2674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2675 (__ieee754_y1l): Likewise.
2678 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2679 (__ieee754_ynl): Likewise.
2680 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
2681 (__ieee754_lgammal_r): Likewise.
2682 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
2684 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
2685 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
2686 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
2687 (__erfcl): Likewise.
2688 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2689 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
2691 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
2692 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
2693 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2694 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
2695 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
2696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2699 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
2700 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2701 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
2702 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
2703 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2705 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
2706 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
2708 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
2709 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
2710 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
2711 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2712 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
2714 2017-08-03 Florian Weimer <fweimer@redhat.com>
2717 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
2718 on memory allocation failure.
2720 2017-08-03 Alan Modra <amodra@gmail.com>
2722 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
2723 tst-tlsopt-powerpc.c with function name change and no test harness.
2724 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
2725 Call tls_get_addr_opt_test.
2726 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
2727 (modules-names): Add mod-tlsopt-powerpc.
2728 (mod-tlsopt-powerpc.so-no-z-defs): Define.
2729 (tst-tlsopt-powerpc): Depend on .so.
2730 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
2731 define. Expand use in TLS_GD and TLS_LD.
2733 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2735 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
2737 * sysdeps/posix/shm_open.c: Include <pthread.h>.
2739 2017-08-02 Joseph Myers <joseph@codesourcery.com>
2742 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
2743 comparing size with that of double.
2744 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
2745 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
2746 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
2747 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
2748 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2749 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
2750 unsigned __int128 types.
2752 2017-08-02 Steve Ellcey <sellcey@cavium.com>
2754 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
2755 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
2756 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
2757 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
2758 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
2760 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
2762 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
2764 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
2766 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
2768 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2769 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2771 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2772 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2773 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2774 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2776 2017-08-02 Joseph Myers <joseph@codesourcery.com>
2779 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
2780 bit-field expressions passed to sizeof or typeof.
2781 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2782 (__TGMATH_F128): Likewise.
2783 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2784 (__TGMATH_CF128): Likewise.
2785 (__TGMATH_UNARY_REAL_ONLY): Likewise.
2786 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
2787 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
2788 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
2789 (__TGMATH_BINARY_REAL_ONLY): Likewise.
2790 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
2791 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
2792 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
2793 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
2794 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
2795 (__TGMATH_UNARY_REAL_IMAG): Likewise.
2796 (__TGMATH_UNARY_IMAG): Likewise.
2797 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
2798 (__TGMATH_BINARY_REAL_IMAG): Likewise.
2799 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
2801 (define_vars_for_type): Handle bit_field type specially.
2802 (Tests.__init__): Declare structure with bit-field element.
2804 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
2807 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
2808 (MEMCPY_CHK): Define only if SHARED is defined.
2809 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
2811 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
2814 See ChangeLog.18 for earlier changes.