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